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_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
2false
5us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTaxus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse101000000101USD$falsetruefalse | 2truefalsefalse236000000236USD$falsetruefalse | 3truefalsefalse-632000000-632USD$falsetruefalse | xbrli: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
false2
3false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4false
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$nanafalse0
4true
4msft_GainLossOnCashFlowHedgeEffectivenessNetTotalAbstractmsft_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
5false
5us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTaxus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse101000000101USD$falsefalsefalse | 2truefalsefalse236000000236USD$falsefalsefalse | 3truefalsefalse-632000000-632USD$falsefalsefalse | xbrli: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
false2
6false
5us-gaap_ForeignCurrencyCashFlowHedgeGainLossReclassifiedToEarningsNetus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse195000000195USD$falsefalsefalse | 2truefalsefalse-27000000-27USD$falsefalsefalse | 3truefalsefalse-7000000-7USD$falsefalsefalse | xbrli: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
false2
7true
4us-gaap_DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNetAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
8false
5us-gaap_DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNetus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse-168000000-168USD$falsetruefalse | 2truefalsefalse-231000000-231USD$falsetruefalse | 3truefalsefalse-276000000-276USD$falsetruefalse | xbrli: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
false2
falseGains (Losses) Related to Cash Flow Hedges (Detail) (USD $)MillionsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.microsoft.com/taxonomy/role/DisclosureGainsLossesRelatedToCashFlowHedges38