XML 50 R42.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Accounting Policies - Additional Information (Detail) - USD ($) $ in Billions | Mar. 31, 2024 | Jun. 30, 2023
--- | --- | ---
Significant Accounting Policies [Line Items] |  |
Long-term accounts receivable, net of allowance for doubtful accounts | $ 4.8 | $ 4.5
Other receivables related to purchase of components | 10.1 | 9.2
Financing receivables, net | $ 2.7 | $ 5.3
Maximum | Reprogrammed Interchange LLC | Inflection AI, Inc |  |
Significant Accounting Policies [Line Items] |  |
Equity interest percentage | 10.00% |
Maximum | Greylock Ventures | Inflection AI, Inc |  |
Significant Accounting Policies [Line Items] |  |
Equity interest percentage | 10.00% |

X
- Definition Equity interest percentage. + References No definition available. + Details
Name: | msft_EquityInterestPercentage
Namespace Prefix: | msft_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

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
- Definition Significant accounting policies. + References No definition available. + Details
Name: | msft_SignificantAccountingPoliciesLineItems
Namespace Prefix: | msft_
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

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=msft_ReprogrammedInterchangeLLCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | dei_LegalEntityAxis=msft_GreylockVenturesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |