XML 160 R142.htm IDEA: XBRL DOCUMENT
v3.26.1

RELATED PARTY TRANSACTIONS - Lease balances and transactions (Details) - CNY (¥) ¥ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2025 | Dec. 31, 2024 | Dec. 31, 2023
RELATED PARTY TRANSACTIONS |  |  |
Operating Lease, Lease Income, Statement of Income or Comprehensive Income [Extensible Enumeration] | Revenue from Contract with Customer, Excluding Assessed Tax | Revenue from Contract with Customer, Excluding Assessed Tax | Revenue from Contract with Customer, Excluding Assessed Tax
Operating lease, Total | ¥ 18,515,803 | ¥ 12,977,296 | ¥ 5,533,035
Yuanjing Mingde |  |  |
RELATED PARTY TRANSACTIONS |  |  |
Total operating lease cost | 0 | 6,050 | 12,133
Ziroom |  |  |
RELATED PARTY TRANSACTIONS |  |  |
Total operating lease cost | 0 | 0 | 72
Brokerage firms |  |  |
RELATED PARTY TRANSACTIONS |  |  |
Total operating lease cost | 42 | 42 | 35
Operating lease liabilities, current | 41 | 7 |
Operating lease liabilities, non-current | 7 |  |
Brokerage firms | Administrative office leases |  |  |
RELATED PARTY TRANSACTIONS |  |  |
Total operating lease assets | 48 | 7 |
Related party |  |  |
RELATED PARTY TRANSACTIONS |  |  |
Total operating lease cost | 42 | 6,092 | 12,240
Operating lease, Total | 3,118 | 3,895 | 3,046
Total operating lease assets | 48 | 7 |
Total operating lease liabilities | 48 | 7 |
Suofeiya Shengdu |  |  |
RELATED PARTY TRANSACTIONS |  |  |
Operating lease, Total | ¥ 3,118 | ¥ 3,895 | ¥ 3,046

X
- Definition Amount of single lease cost, calculated by allocation of remaining cost of lease over remaining lease term, from lease arrangements with related parties. Includes, but is not limited to, single lease cost, after impairment of right-of-use asset, calculated by amortization of remaining right-of-use asset and accretion of lease liability. + References No definition available. + Details
Name: | beke_OperatingLeaseCostRelatedParties
Namespace Prefix: | beke_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Present value of lessee's discounted obligation for lease payments from operating lease arrangements with related parties, classified as current. + References No definition available. + Details
Name: | beke_OperatingLeaseLiabilityCurrentRelatedParties
Namespace Prefix: | beke_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Present value of lessee's discounted obligation for lease payments from operating lease arrangements with related parties, classified as noncurrent. + References No definition available. + Details
Name: | beke_OperatingLeaseLiabilityNoncurrentRelatedParties
Namespace Prefix: | beke_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Present value of lessee's discounted obligation for lease payments from operating lease arrangements with related parties. + References No definition available. + Details
Name: | beke_OperatingLeaseLiabilityRelatedParties
Namespace Prefix: | beke_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of lessee's right to use underlying asset under operating lease arrangements with related parties. + References No definition available. + Details
Name: | beke_OperatingLeaseRightOfUseAssetsRelatedParties
Namespace Prefix: | beke_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Indicates line item in statement of income or comprehensive income that includes operating lease income. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479016/842-30-45-3 + Details
Name: | us-gaap_OperatingLeaseIncomeComprehensiveIncomeExtensibleList
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of operating lease income from lease payments and variable lease payments paid and payable to lessor. Includes, but is not limited to, variable lease payments not included in measurement of lease receivable. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479773/842-30-50-5 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 270 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6A -Publisher FASB -URI https://asc.fasb.org/1943274/2147482964/270-10-50-6A Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479016/842-30-45-3 + Details
Name: | us-gaap_OperatingLeaseLeaseIncome
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 850 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483326/850-10-50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 850 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483326/850-10-50-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 850 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483326/850-10-50-3 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-1 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(k)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(k)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 13 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481990/310-10-45-13 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(c)(2)(i)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(c)(2)(ii)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(g)(3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 + Details
Name: | us-gaap_RelatedPartyTransactionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_CounterpartyNameAxis=beke_YuanjingMingdeManagementConsultingCoLtdMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=beke_ZiroomIncAndItsSubsidiariesZiroomMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=beke_BrokerageFirmsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=beke_AdministrativeOfficeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=us-gaap_RelatedPartyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=srt_AffiliatedEntityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |