2.2.0.25truefalse148 - Disclosure - Gains (Losses) on Fair Value Hedges and Related Hedged Items (Detail)truefalseIn Millionsfalse1falsefalseUSDtruefalse{us-gaap_DerivativeInstrumentRiskAxis} : Foreign Exchange Contracts 1/1/2011 - 3/31/2011 USD ($) $eol_PE8528----1110-Q0004_STD_90_20110331_0_451532x449846http://www.sec.gov/CIK0000789019duration2011-01-01T00:00:002011-03-31T00:00:00falsefalseForeign Exchange Contractsus-gaap_DerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignExchangeContractMemberus-gaap_DerivativeInstrumentRiskAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falsefalseUSDtruefalse{us-gaap_DerivativeInstrumentRiskAxis} : Foreign Exchange Contracts 1/1/2010 - 3/31/2010 USD ($) $eol_PE8528----1110-Q0004_STD_90_20100331_0_451532x449846http://www.sec.gov/CIK0000789019duration2010-01-01T00:00:002010-03-31T00:00:00falsefalseForeign Exchange Contractsus-gaap_DerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignExchangeContractMemberus-gaap_DerivativeInstrumentRiskAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3falsefalseUSDtruefalse{us-gaap_DerivativeInstrumentRiskAxis} : Foreign Exchange Contracts 7/1/2010 - 3/31/2011 USD ($) $eol_PE8528----1110-Q0004_STD_274_20110331_0_451532x449846http://www.sec.gov/CIK0000789019duration2010-07-01T00:00:002011-03-31T00:00:00falsefalseForeign Exchange Contractsus-gaap_DerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignExchangeContractMemberus-gaap_DerivativeInstrumentRiskAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$4falsefalseUSDtruefalse{us-gaap_DerivativeInstrumentRiskAxis} : Foreign Exchange Contracts 7/1/2009 - 3/31/2010 USD ($) $eol_PE8528----1110-Q0004_STD_274_20100331_0_451532x449846http://www.sec.gov/CIK0000789019duration2009-07-01T00:00:002010-03-31T00:00:00falsefalseForeign Exchange Contractsus-gaap_DerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignExchangeContractMemberus-gaap_DerivativeInstrumentRiskAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2true0msft_DerivativeInstrumentsAndHedgingActivitiesDisclosureLineItemsmsftfalsenadurationDerivative Instruments and Hedging Activities Disclosure [Line Items]falsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalsefalsefalse2falsefalsefalse00falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalse4falsefalsefalse00falsefalsefalsefalsefalseOtherxbrli:stringItemTypestringDerivative Instruments and Hedging Activities Disclosure [Line Items]falsefalse3false0us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstrumentsus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsetruenegated1truefalsefalse-28000000-28falsetruefalsefalsefalse2truefalsefalse-2000000-2falsetruefalsefalsefalse3truefalsefalse-78000000-78falsetruefalsefalsefalse4truefalsefalse-106000000-106falsetruefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryThe amount recognized in earnings related to the change in fair value during the period of derivative or nonderivative instruments designated as fair value hedging instruments.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 133 -Paragraph 45 -Subparagraph a(1) -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. falsefalse4false0us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedgeus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsetruenegated1truefalsefalse2600000026falsefalsefalsefalsefalse2truefalsefalse40000004falsefalsefalsefalsefalse3truefalsefalse7400000074falsefalsefalsefalsefalse4truefalsefalse107000000107falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryThe amount recognized in earnings related to the change in fair value during the period of the hedged item in a fair value hedge.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 133 -Paragraph 45 -Subparagraph a(1) -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 25 -Section 50 -Paragraph 1 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=6886632&loc=d3e76258-113986 falsefalse5false0us-gaap_GainLossOnFairValueHedgesRecognizedInEarningsus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabel1truefalsefalse-2000000-2falsetruefalsefalsefalse2truefalsefalse20000002falsetruefalsefalsefalse3truefalsefalse-4000000-4falsetruefalsefalsefalse4truefalsefalse10000001falsetruefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryTotal amount of gain (loss) derived from fair value hedges recognized in earnings in the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 133 -Paragraph 45 -Subparagraph a(1) -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6935481&loc=SL5624171-113959 truefalse44Gains (Losses) on Fair Value Hedges and Related Hedged Items (Detail) (Foreign Exchange Contracts, USD $)MillionsUnKnownUnKnownUnKnownfalsetrue