XML 116 R98.htm IDEA: XBRL DOCUMENT
v3.26.1

LEASES - Weighted average remaining lease term and discount rate (Details) | Dec. 31, 2025 | Dec. 31, 2024 | Dec. 31, 2023
--- | --- | --- | ---
Weighted-average remaining lease term (in years) |  |  |
Operating leases | 2 years 29 days | 2 years 4 months 17 days | 2 years 5 months 4 days
Weighted-average discount rate |  |  |
Operating leases | 3.40% | 3.80% | 4.30%
Land use rights |  |  |
Weighted-average remaining lease term (in years) |  |  |
Operating leases | 38 years 8 months 4 days | 39 years 8 months 4 days | 43 years 2 months 4 days
Weighted-average discount rate |  |  |
Operating leases | 4.00% | 4.00% | 4.70%

X
- Definition Weighted Average Discount Rate [Abstract] + References No definition available. + Details
Name: | beke_WeightedAverageDiscountRateAbstract
Namespace Prefix: | beke_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Weighted average discount rate for operating lease calculated at point in time. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 53 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479589/842-20-55-53 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (g)(4) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478964/842-20-50-4 + Details
Name: | us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Weighted average remaining lease term for operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 53 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479589/842-20-55-53 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (g)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478964/842-20-50-4 + Details
Name: | us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_UseRightsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |