v3.25.1

Accounts receivable, net - Credit loss provision (Details) - CNY (¥) ¥ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
Accounts receivable, net |  |  |
Balance at beginning of the year | ¥ (15,717) | ¥ (2,303) | ¥ (2,296)
Current year provision | (6,501) | (13,888) | (993)
Current year reversal | 12,534 | 474 | 986
Balance at end of the year | ¥ (9,684) | ¥ (15,717) | ¥ (2,303)

X
- Definition Provision of accounts and financing receivable allowance for credit loss. + References No definition available. + Details
Name: | huya_ProvisionOfAccountsAndFinancingReceivableAllowanceForCreditLoss
Namespace Prefix: | huya_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Reversal of accounts and financing receivable allowance for credit loss. + References No definition available. + Details
Name: | huya_ReversalOfAccountsAndFinancingReceivableAllowanceForCreditLoss
Namespace Prefix: | huya_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of allowance for credit loss on accounts receivable, classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479344/326-20-45-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-4 + Details
Name: | us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_ReceivablesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration