v3.25.1

Taxation - Additional Information (Details) ¥ in Thousands, $ in Millions | 12 Months Ended | 36 Months Ended | 60 Months Ended | 72 Months Ended
--- | --- | --- | --- | ---
Dec. 31, 2024 HKD ($) | Dec. 31, 2023 CNY (¥) | Dec. 31, 2022 CNY (¥) | Dec. 31, 2026 | Dec. 31, 2024 CNY (¥) | Dec. 31, 2025
Income Tax Disclosure [Line Items] |  |  |  |  |  |
Value added tax rate | 6.00% | 6.00% | 6.00% |  |  |
Income tax rate percentage | 25.00% | 25.00% | 25.00% |  |  |
Effect of different tax rates available to different jurisdictions | 64.80% | 22.80% | 2.00% |  |  |
Deferred tax liability |  |  |  |  | ¥ 0 |
Unrecognized tax benefits |  | ¥ 0 | ¥ 0 |  | 0 |
Inland revenue, singapore (IRAS) | 4 years from 2008 |  |  |  |  |  |
Income Tax Disclosure [Line Items] |  |  |  |  |  |
Period for which under paid taxes may be recovered | 4 years |  |  |  |  |
HONG KONG |  |  |  |  |  |
Income Tax Disclosure [Line Items] |  |  |  |  |  |
Income tax rate percentage | 16.50% |  |  |  |  |
Taxable income | $ | $ 2 |  |  |  |  |
Minimum ownership percentage to be held by foreign investors | 25.00% |  |  |  |  |
HONG KONG | Taxable income below threshold amount |  |  |  |  |  |
Income Tax Disclosure [Line Items] |  |  |  |  |  |
Income tax rate percentage | 8.25% |  |  |  |  |
HONG KONG | Taxable income over threshold amount |  |  |  |  |  |
Income Tax Disclosure [Line Items] |  |  |  |  |  |
Income tax rate percentage | 16.50% |  |  |  |  |
CHINA |  |  |  |  |  |
Income Tax Disclosure [Line Items] |  |  |  |  |  |
Income tax rate percentage | 25.00% |  |  |  |  |
Percentage of research and development expenses entitled to claim by enterprise | 100.00% | 100.00% | 75.00% |  |  |
PRC withholding tax rate | 10.00% |  |  |  |  |
Undistributed earnings of subsidiaries |  | ¥ 2,530,069 |  |  | 2,360,401 |
Net tax operating losses from PRC subsidiaries |  |  |  |  | ¥ 1,823,935 |
CHINA | High and New Technology Enterprises |  |  |  |  |  |
Income Tax Disclosure [Line Items] |  |  |  |  |  |
Exemption period for income tax | 3 years |  |  |  |  |
Preferential tax rate | 15.00% | 15.00% | 15.00% | 15.00% |  |
CHINA | VIEs |  |  |  |  |  |
Income Tax Disclosure [Line Items] |  |  |  |  |  |
Income tax rate percentage | 25.00% |  |  |  |  |
CHINA | Encouraged Industrial Enterprises |  |  |  |  |  |
Income Tax Disclosure [Line Items] |  |  |  |  |  |
Preferential tax rate | 15.00% |  |  |  | 15.00% | 15.00%
SINGAPORE |  |  |  |  |  |
Income Tax Disclosure [Line Items] |  |  |  |  |  |
Effect of different tax rates available to different jurisdictions | 17.00% | 17.00% | 17.00% |  |  |
Accumulated operating loss carryforwards not subject to expiration |  |  |  |  | ¥ 931,154 |
Inland revenue, hong kong |  |  |  |  |  |
Income Tax Disclosure [Line Items] |  |  |  |  |  |
PRC withholding tax rate | 5.00% |  |  |  |  |
CAYMAN ISLANDS |  |  |  |  |  |
Income Tax Disclosure [Line Items] |  |  |  |  |  |
Effect of different tax rates available to different jurisdictions | 0.00% | 0.00% | 0.00% |  |  |

X
- Definition The amount of deferred tax liability on withholding tax. + References No definition available. + Details
Name: | huya_DeferredTaxLiabilityOnWithholdingTax
Namespace Prefix: | huya_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Effective income tax rate percentage to be claimed for research and development expense. + References No definition available. + Details
Name: | huya_EffectiveIncomeTaxRatePercentageToBeClaimedForResearchAndDevelopmentExpense
Namespace Prefix: | huya_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Income Tax Disclosure [Line Items] + References No definition available. + Details
Name: | huya_IncomeTaxDisclosureLineItems
Namespace Prefix: | huya_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Income tax exempted period. + References No definition available. + Details
Name: | huya_IncomeTaxExemptedPeriod
Namespace Prefix: | huya_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Minimum ownership percentage to be held by foreign investors. + References No definition available. + Details
Name: | huya_MinimumOwnershipPercentageToBeHeldByForeignInvestors
Namespace Prefix: | huya_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period for which underpaid taxes may be recovered. + References No definition available. + Details
Name: | huya_PeriodForWhichUnderpaidTaxesMayBeRecovered
Namespace Prefix: | huya_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Preferential enterprise income tax rate. + References No definition available. + Details
Name: | huya_PreferentialEnterpriseIncomeTaxRate
Namespace Prefix: | huya_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of threshold amount of taxable income. + References No definition available. + Details
Name: | huya_TaxableIncome
Namespace Prefix: | huya_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Value Added Tax Rate + References No definition available. + Details
Name: | huya_ValueAddedTaxRate
Namespace Prefix: | huya_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Withholding income tax rate. + References No definition available. + Details
Name: | huya_WithholdingIncomeTaxRate
Namespace Prefix: | huya_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards that are not subject to expiration dates. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-6 + Details
Name: | us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Percentage of domestic federal statutory tax rate applicable to pretax income (loss). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-12 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 231 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482663/740-10-55-231 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 6.I.1.Q1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479360/740-10-S99-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(h)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 + Details
Name: | us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations applicable to statutory income tax expense (benefit) outside of the country of domicile. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 231 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482663/740-10-55-231 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 12 -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-12 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 12A -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-12A Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-12 Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(h)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 + Details
Name: | us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-3 + Details
Name: | us-gaap_OperatingLossCarryforwards
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of undistributed earnings of foreign subsidiaries intended to be permanently reinvested outside the country of domicile. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 740 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482603/740-30-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 25 -Paragraph 3 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482620/740-10-25-3 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b) -SubTopic 740 -Topic 942 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477617/942-740-50-1 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b) -SubTopic 740 -Topic 944 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478822/944-740-50-1 + Details
Name: | us-gaap_UndistributedEarningsOfForeignSubsidiaries
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of unrecognized tax benefits. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 217 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482663/740-10-55-217 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-15A Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 10B -Publisher FASB -URI https://asc.fasb.org/1943274/2147482525/740-10-45-10B + Details
Name: | us-gaap_UnrecognizedTaxBenefits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_IncomeTaxAuthorityNameAxis=us-gaap_InlandRevenueSingaporeIRASMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=huya_FourYearsFromTwoThousandAndEightMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=country_HK
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementScenarioAxis=huya_TaxableIncomeBelowThresholdAmountMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementScenarioAxis=huya_TaxableIncomeOverThresholdAmountMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=country_CN
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=country_SG
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=us-gaap_InlandRevenueHongKongMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=country_KY
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |