v3.25.1

Related party transactions - Schedule of Allowance for Credit Loss Provision Related to Amounts Due from Related Parties (Details) - CNY (¥) ¥ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
Expected Credit Loss Provision Related To Amounts Due From to Related Parties [Abstract] |  |  |
Balance at beginning of the year | ¥ (217) | ¥ (302) | ¥ (393)
Current year provision | (100) | (219) | (139)
Current year reversal | 15 | 304 | 230
Balance at end of the year | ¥ (302) | ¥ (217) | ¥ (302)

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
- References No definition available. + Details
Name: | huya_ExpectedCreditLossProvisionRelatedToAmountsDueFromToRelatedPartiesAbstract
Namespace Prefix: | huya_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Provision for related party transactions allowance for credit loss. + References No definition available. + Details
Name: | huya_ProvisionForRelatedPartyTransactionsAllowanceForCreditLoss
Namespace Prefix: | huya_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Reversal of related party transactions allowance for credit loss. + References No definition available. + Details
Name: | huya_ReversalOfRelatedPartyTransactionsAllowanceForCreditLoss
Namespace Prefix: | huya_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration