XML 144 R126.htm IDEA: XBRL DOCUMENT
v3.26.1

TAXATION - Valuation allowance (Details) - CNY (¥) ¥ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2025 | Dec. 31, 2024 | Dec. 31, 2023
Deferred Tax Assets, Valuation Allowance |  |  |
Balance at the beginning of the year | ¥ (4,127,927) | ¥ (3,385,876) | ¥ (3,310,975)
Remeasurement due to application of preferential tax rate | 0 | (1,839) | (17,011)
Additions | (687,555) | (1,280,549) | (794,643)
Reversals | 549,598 | 282,244 | 687,180
Write-offs | 341,418 | 258,093 | 49,573
Balance at the end of the year | ¥ (3,924,466) | ¥ (4,127,927) | ¥ (3,385,876)

X
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. + References No definition available. + Details
Name: | beke_DeferredTaxAssetsValuationAllowanceRollForward
Namespace Prefix: | beke_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of addition in the valuation allowance for a specified deferred tax asset. + References No definition available. + Details
Name: | beke_ValuationAllowanceDeferredTaxAssetAdditionsAmount
Namespace Prefix: | beke_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of increase (decrease) in the valuation allowance due to remeasurement due to application of preferential tax rate. + References No definition available. + Details
Name: | beke_ValuationAllowanceDeferredTaxAssetRemeasurementDueToApplicationOfPreferentialTaxRate
Namespace Prefix: | beke_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of decrease in valuation allowance due to reversal of allowance. + References No definition available. + Details
Name: | beke_ValuationAllowanceDeferredTaxAssetReversals
Namespace Prefix: | beke_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of decrease in valuation allowance due to write-offs. + References No definition available. + Details
Name: | beke_ValuationAllowanceDeferredTaxAssetWriteOffs
Namespace Prefix: | beke_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-2 + Details
Name: | us-gaap_DeferredTaxAssetsValuationAllowance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant