2.2.0.7 false Income Taxes - Additional Information (Detail) (USD $) 1090 - Disclosure - Income Taxes - Additional Information (Detail) true false 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 $ false 2 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 $ false 3 USD false false shares Standard http://www.xbrl.org/2003/instance shares 0 iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 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 us-gaap_DeferredTaxLiabilityNotRecognizedCumulativeAmountOfTemporaryDifference us-gaap true credit instant No definition available. false false false false false false false false false false false false 1 true true false false 29500000000 29500000000 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:monetaryItemType monetary The cumulative amount of the temporary difference for which a deferred tax liability has not been provided because of the exceptions to comprehensive recognition of deferred taxes. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 109 -Paragraph 44 -Subparagraph b false 6 3 us-gaap_DeferredTaxLiabilityNotRecognizedAmountOfUnrecognizedDeferredTaxLiability us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false true false false 9200000000 9200000000 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false xbrli:monetaryItemType monetary The amount of the deferred tax liability which was not recognized because of the exceptions to comprehensive recognition of deferred taxes. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 109 -Paragraph 44 -Subparagraph c, d false 7 3 us-gaap_IncomeTaxesPaidNet us-gaap true credit duration No definition available. false false false false false false false false false false false false 1 false true false false 4100000000 4100000000 false false false 2 false true false false 6600000000 6600000000 false false false 3 false true false false 5400000000 5400000000 false false false xbrli:monetaryItemType monetary The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income, net of any cash received during the current period as refunds for the overpayment of taxes. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 29 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 27 -Subparagraph f false 8 3 msft_DeferredTaxAssetsUnrecognizedTaxBenefits msft false debit instant Deferred Tax Assets, Unrecognized Tax Benefits false false false false false false false false false false false verboselabel false 1 false true false false 6500000000 6500000000 false false false 2 false true false false 5400000000 5400000000 false false false 3 false false false false 0 0 false false false xbrli:monetaryItemType monetary Deferred Tax Assets, Unrecognized Tax Benefits No authoritative reference available. false 9 3 us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate us-gaap true credit instant No definition available. false false false false false false false false false false false false 1 false true false false 5600000000 5600000000 false false false 2 false true false false 4400000000 4400000000 false false false 3 false false false false 0 0 false false false xbrli:monetaryItemType monetary The total amount of unrecognized tax benefits that, if recognized, would affect the effective tax rate. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Interpretation (FIN) -Number 48 -Paragraph 21 -Subparagraph b false 10 3 us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestExpense us-gaap true debit duration No definition available. false false false false false false false false false false false false 1 false true false false 193000000 193000000 false false false 2 false true false false 230000000 230000000 false false false 3 false true false false 121000000 121000000 false false false xbrli:monetaryItemType monetary This element represents the total of interest expense recognized for an underpayment of income taxes computed by applying the applicable statutory rate of interest to the difference between a tax position recognized for financial reporting purposes and the amount previously taken or expected to be taken in a tax return of the entity and the amount of statutory penalties in the period in which the entity claims or expects to claim a tax position, in its tax return, that does not meet the minimum statutory threshold to avoid payment of penalties. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Interpretation (FIN) -Number 48 -Paragraph 21 -Subparagraph c Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Interpretation (FIN) -Number 48 -Paragraph 15, 16 false 11 3 us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued us-gaap true credit instant No definition available. false false false false false false false false false false false false 1 true true false false 747000000 747000000 false false false 2 true true false false 554000000 554000000 false false false 3 true true false false 324000000 324000000 false false false xbrli:monetaryItemType monetary This element represents the total of accruals as of the date of the statement of financial position for interest recognized for an underpayment of income taxes computed by applying the applicable statutory rate of interest to the difference between a tax position recognized for financial reporting purposes and the amount previously taken or expected to be taken in a tax return of the entity and the amount of statutory penalties for a tax position claimed or expected to be claimed by the entity, in its tax return, that does not meet the minimum statutory threshold to avoid payment of penalties. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Interpretation (FIN) -Number 48 -Paragraph 21 -Subparagraph c Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Interpretation (FIN) -Number 48 -Paragraph 15, 16 false 3 7 false NoRounding UnKnown UnKnown false true