XML 85 R73.htm IDEA: XBRL DOCUMENT
v3.21.1

Unearned Revenue - Additional Information (Detail) $ in Billions | Mar. 31, 2021 USD ($)
--- | ---
Contract With Customer Liability [Line Items] |
Revenue allocated to remaining performance obligations | $ 121
Commercial Customers |
Contract With Customer Liability [Line Items] |
Revenue allocated to remaining performance obligations | $ 117

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 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 -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 13 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121604090&loc=SL49130556-203045 + 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: |