XML 50 R42.htm IDEA: XBRL DOCUMENT
v3.25.1

Accounting Policies - Additional Information (Detail) - USD ($) $ in Billions | Mar. 31, 2025 | Jun. 30, 2024
--- | --- | ---
Significant Accounting Policies [Line Items] |  |
Long-term accounts receivable, net of allowance for doubtful accounts | $ 4.9 | $ 4.9
Other receivables related to purchase of components | 10.8 | 10.5
Financing receivables, net | 2.6 | $ 4.5
OpenAI Global, LLC |  |
Significant Accounting Policies [Line Items] |  |
Total funding commitments | $ 13.0 |
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 Total funding commitments made related to equity method investments. + References No definition available. + Details
Name: | msft_EquityMethodInvestmentsTotalFundingCommitments
Namespace Prefix: | msft_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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/2009/role/commonPracticeRef -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/2147478546/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_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=msft_OpenAIGlobalLlcMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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: |