XML 81 R69.htm IDEA: XBRL DOCUMENT
v3.26.1

Unearned Revenue - Additional Information (Detail) $ in Billions | Mar. 31, 2026 USD ($)
--- | ---
Contract With Customer Liability [Line Items] |
Revenue allocated to remaining performance obligations | $ 633
Commercial Customers |
Contract With Customer Liability [Line Items] |
Revenue allocated to remaining performance obligations | $ 627
Weighted-average duration of remaining performance obligation | 2 years 6 months

X
- Definition Contract with Customer Liability [Line Items] + References No definition available. + Details
Name: | msft_ContractWithCustomerLiabilityLineItems
Namespace Prefix: | msft_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Remaining weighted-average duration of performance obligation. + References No definition available. + Details
Name: | msft_RevenueRemainingPerformanceObligationWeightedAverageDuration
Namespace Prefix: | msft_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of transaction price allocated to performance obligation that has not been recognized as revenue. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (a) -SubTopic 10 -Topic 606 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479806/606-10-50-13 + Details
Name: | us-gaap_RevenueRemainingPerformanceObligation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | srt_MajorCustomersAxis=msft_CommercialCustomersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |