2.2.0.7 false Gains (Losses) Related to Cash Flow Hedges (Detail) (USD $) 1066 - Disclosure - Gains (Losses) Related to Cash Flow Hedges (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 $ 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 $ 5 3 us-gaap_EffectOfCashFlowHedgesOnResultsOfOperationsAbstract us-gaap true na duration No definition available. false false false false false true false false false false false false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false xbrli:stringItemType string No definition available. false 6 4 msft_UnrealizedGainLossOnForeignCurrencyDerivativesNetOfTax msft false credit duration The amount of gains (losses) net of tax, on foreign currency cash flow hedges recognized in Other Comprehensive Income (OCI)... false false false false false false false false false false false false 1 true true false false 349000000 349 false false false 2 true true false false 876000000 876 false false false xbrli:monetaryItemType monetary The amount of gains (losses) net of tax, on foreign currency cash flow hedges recognized in Other Comprehensive Income (OCI) during the period. No authoritative reference available. false 7 4 us-gaap_ForeignCurrencyCashFlowHedgeGainLossReclassifiedToEarningsNet 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 495000000 495 false false false 2 false true false false 884000000 884 false false false xbrli:monetaryItemType monetary The amount of net gains (losses) on foreign currency cash flow hedges reclassified during the period to earnings from accumulated other comprehensive income upon the hedged transaction affecting earnings. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 133 -Paragraph 45 -Subparagraph b(2), b(4) false 8 3 us-gaap_GainLossOnForeignCurrencyFairValueHedgeIneffectivenessDisclosuresAbstract us-gaap true na duration No definition available. false false false false false true false false false false false false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false xbrli:stringItemType string No definition available. false 9 4 us-gaap_GainLossOnComponentsExcludedFromAssessmentOfForeignCurrencyCashFlowHedgeEffectiveness us-gaap true credit duration No definition available. false false false false false false false false false false false false 1 true true false false -174000000 -174 false false false 2 true true false false -314000000 -314 false false false xbrli:monetaryItemType monetary The net gain (loss) relating to components of the gain (loss) on foreign currency cash flow hedging instruments excluded from the assessment of fair value hedge effectiveness. Recognized in earnings. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 133 -Paragraph 45 -Subparagraph b(1) false 2 5 false Millions UnKnown UnKnown false true