v3.25.1

Principal accounting policies (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2024
Principal accounting policies |
Schedule of Property and equipment Estimated useful lives and Residual rate | ​
​ ​ ​ | ​ | ​ | ​ | ​ | ​
​ |  | Estimated useful lives |  | Residual rate | ​
Servers, computers and equipment | ​ | 3-4 years | ​ | 0 | %
Leasehold improvements | ​ | Shorter of lease term or the estimated useful lives of the assets | ​ | 0 | %
Office furniture and others | ​ | 3-5 years | ​ | 0%-5 | %
Schedule of amortization of finite-lived intangible assets is computed using the straight-line method over their estimated useful lives | ​
​ | ​ | ​
​ |  | Estimated useful lives
Copyrights of video content | ​ | 1 – 4 years
License | ​ | 15 years
Software | ​ | 1 – 10 years
Domain names | ​ | 15 years
Trademarks | ​ | 5-11 years
Platform content | ​ | 7 years
Technology | ​ | 4 years
Schedule of disaggregation of revenue | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | For the year ended December 31,
​ |  | 2022 |  | 2023 |  | 2024
​ | ​ | RMB | ​ | RMB | ​ | RMB
Live streaming |  | 8,195,907 | ​ | 6,450,782 | ​ | 4,745,195
Game-related services, advertising and others (i) |  | 1,068,444 | ​ | 543,546 | ​ | 1,333,920
Total |  | 9,264,351 | ​ | 6,994,328 | ​ | 6,079,115
(i)Game-related services, advertising and others mainly include in-game item sales, game distribution and advertising services.
Summary of revenue related to performance obligation | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | 2025 |  | 2026 and after |  | Total
​ | ​ | RMB | ​ | RMB | ​ | RMB
Revenue expected to be recognized |  | 265,628 | ​ | 35,786 | ​ | 301,414

X
- Definition Property plant and equipment estimated useful lives and residual rate. + References No definition available. + Details
Name: | huya_PropertyPlantAndEquipmentEstimatedUsefulLivesAndResidualRateTableTextBlock
Namespace Prefix: | huya_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Schedule of useful life of finite lived intangible assets. + References No definition available. + Details
Name: | huya_ScheduleOfUsefulLifeOfFiniteLivedIntangibleAssetsTableTextBlock
Namespace Prefix: | huya_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Tabular disclosure of disaggregation of revenue into categories depicting how nature, amount, timing, and uncertainty of revenue and cash flows are affected by economic factor. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479806/606-10-50-5 + Details
Name: | us-gaap_DisaggregationOfRevenueTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of expected timing for satisfying remaining performance obligation. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (b)(1) -SubTopic 10 -Topic 606 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479806/606-10-50-13 + Details
Name: | us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration