XML 49 R42.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Accounting Policies - Additional Information (Detail) - USD ($) $ in Billions | Dec. 31, 2023 | Jun. 30, 2023
--- | --- | ---
Accounting Policies [Abstract] |  |
Long-term accounts receivable, net of allowance for doubtful accounts | $ 4.8 | $ 4.5
Other receivables related to purchase of components | 8.8 | 9.2
Financing receivables, net | $ 3.6 | $ 5.3

X
- Definition Amount, after allowance for credit loss, of financing receivable. + References No definition available. + Details
Name: | msft_FinanceReceivablesNet
Namespace Prefix: | msft_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Other receivables related to purchase of components. + References No definition available. + Details
Name: | msft_OtherReceivablesRelatedToPurchaseOfComponents
Namespace Prefix: | msft_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business, classified as noncurrent. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481990/310-10-45-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(9)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479853/942-210-S99-1 + Details
Name: | us-gaap_AccountsReceivableNetNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant