v3.25.1

Related party transactions - Schedule of the Amounts Due from/to Related Parties (Details) ¥ in Thousands, $ in Thousands | Dec. 31, 2024 CNY (¥) | Dec. 31, 2024 USD ($) | Dec. 31, 2023 CNY (¥) | Dec. 31, 2022 CNY (¥) | Dec. 31, 2021 CNY (¥)
--- | --- | --- | --- | --- | ---
Related party transactions |  |  |  |  |
Less: credit loss provision | ¥ (302) |  | ¥ (217) | ¥ (302) | ¥ (393)
Prepaid assets and amounts due from related parties, net | 207,565 |  | 148,648 |  |
Amounts due to related parties | 161,529 | $ 22,129 | 177,714 |  |
Tencent Holdings Limited |  |  |  |  |
Related party transactions |  |  |  |  |
Prepaid assets and amounts due from related parties, gross | 202,157 |  | 147,776 |  |
Amounts due to related parties | 142,662 |  | 141,743 |  |
Others |  |  |  |  |
Related party transactions |  |  |  |  |
Prepaid assets and amounts due from related parties, gross | 5,710 |  | 1,089 |  |
Amounts due to related parties | ¥ 18,867 |  | ¥ 35,971 |  |

X
- Definition The aggregate amount of receivables to be collected from related parties where one party can exercise control or significant influence over another party; including affiliates, owners or officers and their immediate families, pension trusts, and so forth, at the financial statement date. which are usually due within one year (or one business cycle). + References No definition available. + Details
Name: | huya_AmountsDueFromRelatedPartiesCurrent
Namespace Prefix: | huya_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Carrying amount as of the balance sheet date of obligations due all related parties. For classified balance sheets, represents the current portion of such liabilities (due within one year or within the normal operating cycle if longer). + References No definition available. + Details
Name: | huya_AmountsDueToRelatedPartiesCurrent
Namespace Prefix: | huya_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The aggregate amount of receivables to be collected from related parties where one party can exercise control or significant influence over another party; including affiliates, owners or officers and their immediate families, pension trusts, and so forth, at the financial statement date. which are usually due within one year (or one business cycle). + References No definition available. + Details
Name: | huya_DueFromRelatedPartiesGrossCurrent
Namespace Prefix: | huya_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Expected allowance for credit loss related party. + References No definition available. + Details
Name: | huya_ExpectedAllowanceForCreditLossRelatedParty
Namespace Prefix: | huya_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 13 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481990/310-10-45-13 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(c)(2)(i)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(c)(2)(ii)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(g)(3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 + Details
Name: | us-gaap_RelatedPartyTransactionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_CounterpartyNameAxis=huya_TencentHoldingsLimitedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=huya_OtherRelatedPartyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |