XML 55 R65.htm IDEA: XBRL DOCUMENT
v3.19.3.a.u2

Unearned Revenue - Additional Information (Detail) $ in Billions | Dec. 31, 2019 USD ($)
--- | ---
Contract With Customer Liability [Line Items] |
Revenue allocated to remaining performance obligations | $ 93
Commercial Customers |
Contract With Customer Liability [Line Items] |
Revenue allocated to remaining performance obligations | $ 90

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=118956577&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: |