XML 82 R71.htm IDEA: XBRL DOCUMENT
v3.22.4

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

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 https://asc.fasb.org/extlink&oid=126920106&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: |