2.2.0.7 false Business Combinations - Additional Information (Detail) (USD $) 1076 - Disclosure - Business Combinations - Additional Information (Detail) true false In Millions false false 1 USD false false iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 shares Standard http://www.xbrl.org/2003/instance shares 0 iso4217_USD_per_shares Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares 0 pure Standard http://www.xbrl.org/2003/instance pure 0 $ 5 3 msft_BusinessAcquisitionNumberOfEntitiesAcquired msft false na instant The number of entities acquired during the period. false false false false false false false false false false false false 1 false true false false 5 5 false false false xbrli:integerItemType integer The number of entities acquired during the period. No authoritative reference available. false 6 3 us-gaap_BusinessAcquisitionCostOfAcquiredEntityCashPaid us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 true true false false 267000000 267 false false false xbrli:monetaryItemType monetary Amount of cash paid to acquire the entity. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 141R -Paragraph 68 -Subparagraph f(1) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 141 -Paragraph 51 -Subparagraph d false 7 3 msft_BusinessDispositionsNumberOfEntitiesSold msft false na instant The number of entities sold during the period. false false false false false false false false false false false false 1 false true false false 3 3 false false false xbrli:integerItemType integer The number of entities sold during the period. No authoritative reference available. false 8 3 us-gaap_ProceedsFromDivestitureOfBusinesses us-gaap true debit duration No definition available. false false false false false false false false false false false false 1 true true false false 600000000 600 false false false xbrli:monetaryItemType monetary The cash inflow associated with the amount received from the sale of a portion of the company's business, for example a segment, division, branch or other business, during the period. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 15, 16 false 1 4 false Millions UnKnown UnKnown false true