2.2.0.7falseGains (Losses) Related to Cash Flow Hedges (Detail) (USD $)1066 - Disclosure - Gains (Losses) Related to Cash Flow Hedges (Detail)truefalseIn Millionsfalsefalse1USDfalsefalseiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170sharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0pureStandardhttp://www.xbrl.org/2003/instancepure0$false2USDfalsefalseiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170sharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0pureStandardhttp://www.xbrl.org/2003/instancepure0$53us-gaap_EffectOfCashFlowHedgesOnResultsOfOperationsAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false64msft_UnrealizedGainLossOnForeignCurrencyDerivativesNetOfTaxmsftfalsecreditdurationThe amount of gains (losses) net of tax, on foreign currency cash flow hedges recognized in Other Comprehensive Income (OCI)...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1truetruefalsefalse349000000349falsefalsefalse2truetruefalsefalse876000000876falsefalsefalsexbrli:monetaryItemTypemonetaryThe 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.false74us-gaap_ForeignCurrencyCashFlowHedgeGainLossReclassifiedToEarningsNetus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse495000000495falsefalsefalse2falsetruefalsefalse884000000884falsefalsefalsexbrli:monetaryItemTypemonetaryThe 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)
false83us-gaap_GainLossOnForeignCurrencyFairValueHedgeIneffectivenessDisclosuresAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false94us-gaap_GainLossOnComponentsExcludedFromAssessmentOfForeignCurrencyCashFlowHedgeEffectivenessus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1truetruefalsefalse-174000000-174falsefalsefalse2truetruefalsefalse-314000000-314falsefalsefalsexbrli:monetaryItemTypemonetaryThe 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)
false25falseMillionsUnKnownUnKnownfalsetrue