2.4.0.81065 - Disclosure - Gains (Losses) Related to Cash Flow Hedges (Detail)truefalseIn Millions, unless otherwise specifiedfalse1false USDfalsefalse$eol_PE8528----1310-K0013_STD_365_20130630_0http://www.sec.gov/CIK0000789019duration2012-07-01T00:00:002013-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false USDfalsefalse$eol_PE8528----1310-K0013_STD_366_20120630_0http://www.sec.gov/CIK0000789019duration2011-07-01T00:00:002012-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3false USDfalsefalse$eol_PE8528----1310-K0013_STD_365_20110630_0http://www.sec.gov/CIK0000789019duration2010-07-01T00:00:002011-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true 4msft_GainLossOnCashFlowHedgeEffectivenessNetTotalAbstractmsft_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 5us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTaxus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse101000000101USD$falsetruefalse2truefalsefalse236000000236USD$falsetruefalse3truefalsefalse-632000000-632USD$falsetruefalsexbrli:monetaryItemTypemonetaryAmount after tax of increase (decrease) in accumulated gain (loss) from derivative instruments designated and qualifying as the effective portion of cash flow hedges and an entity's share of an equity investee's increase (decrease) in deferred hedging gain (loss).Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e637-108580 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 10A -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=28358780&loc=SL7669646-108580 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6441202&loc=d3e80720-113993 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5624171-113959 false23false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4false USDtruefalse$eol_PE8528----1310-K0013_STD_365_20130630_0_713532x708963_715632x710071http://www.sec.gov/CIK0000789019duration2012-07-01T00:00:002013-06-30T00:00:00falsefalseDesignated hedge derivativesus-gaap_HedgingDesignationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_DesignatedAsHedgingInstrumentMemberus-gaap_HedgingDesignationAxisexplicitMemberfalsefalseForeign Exchange Contractsus-gaap_DerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignExchangeContractMemberus-gaap_DerivativeInstrumentRiskAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse04true 4msft_GainLossOnCashFlowHedgeEffectivenessNetTotalAbstractmsft_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse05false 5us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTaxus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse101000000101USD$falsefalsefalse2truefalsefalse236000000236USD$falsefalsefalse3truefalsefalse-632000000-632USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount after tax of increase (decrease) in accumulated gain (loss) from derivative instruments designated and qualifying as the effective portion of cash flow hedges and an entity's share of an equity investee's increase (decrease) in deferred hedging gain (loss).Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e637-108580 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 10A -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=28358780&loc=SL7669646-108580 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6441202&loc=d3e80720-113993 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5624171-113959 false26false 5us-gaap_ForeignCurrencyCashFlowHedgeGainLossReclassifiedToEarningsNetus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse195000000195USD$falsefalsefalse2truefalsefalse-27000000-27USD$falsefalsefalse3truefalsefalse-7000000-7USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of net gains or 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 Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5624171-113959 false27true 4us-gaap_DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNetAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse08false 5us-gaap_DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNetus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-168000000-168USD$falsetruefalse2truefalsefalse-231000000-231USD$falsetruefalse3truefalsefalse-276000000-276USD$falsetruefalsexbrli:monetaryItemTypemonetaryThe portion of gains and losses (net) on derivative instruments designated and qualifying as hedging instruments representing (a) the amount of the hedge ineffectiveness and (b) the amount, if any, excluded from the assessment of hedge effectiveness.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5624171-113959 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),(2) -URI http://asc.fasb.org/extlink&oid=6886632&loc=d3e76258-113986 false2falseGains (Losses) Related to Cash Flow Hedges (Detail) (USD $)MillionsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.microsoft.com/taxonomy/role/DisclosureGainsLossesRelatedToCashFlowHedges38