v3.25.1

Organization and principal activities - Schedule of Condensed Consolidated Statements Data for the VIEs (Parenthetical) (Details) - CNY (¥) ¥ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
VIEs |  |  |
Investments in and Advances to Affiliates |  |  |
Outstanding balances for Variable Interest Entity fees Charged | ¥ 0 | ¥ 0 | ¥ 0
Service fees receivable from variable interest entity set off against intercompany receivables | 212,000 | 139,000 | 415,000
Wholly foreign-owned enterprise And Other Subsidiaries |  |  |
Investments in and Advances to Affiliates |  |  |
Variable interest entity service fees charged amount | 4,622,000 | 5,530,000 | 6,863,000
Payment of Variable Interest Entity Service Fees | ¥ 4,410,000 | ¥ 5,391,000 | ¥ 6,433,000

X
- Definition Payment of variable interest entity service fees. + References No definition available. + Details
Name: | huya_PaymentOfVariableInterestEntityServiceFees
Namespace Prefix: | huya_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Service fees receivable from variable interest entity set off against intercompany receivables. + References No definition available. + Details
Name: | huya_ServiceFeesReceivableFromVariableInterestEntitySetOffAgainstIntercompanyReceivables
Namespace Prefix: | huya_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Variable interest entity service fees charged amount. + References No definition available. + Details
Name: | huya_VariableInterestEntityServiceFeesChargedAmount
Namespace Prefix: | huya_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Variable interest entity service fees charged outstanding balances. + References No definition available. + Details
Name: | huya_VariableInterestEntityServiceFeesChargedOutstandingBalances
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 No definition available. + Details
Name: | us-gaap_InvestmentsInAndAdvancesToAffiliatesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=us-gaap_VariableInterestEntityPrimaryBeneficiaryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=huya_WhollyForeignownedEnterpriseAndOtherSubsidiariesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |