2.4.0.81105 - Disclosure - Other Comprehensive Income (Loss) and Related Income Tax Effects (Parenthetical) (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
3msft_OtherComprehensiveIncomeLossLineItemsmsft_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
2false
4us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodTaxus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse5400000054USD$falsetruefalse | 2truefalsefalse127000000127USD$falsetruefalse | 3truefalsefalse-340000000-340USD$falsetruefalse | xbrli:monetaryItemTypemonetaryAmount of tax expense (benefit), before reclassification adjustments, related to 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 10A
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=28358780&loc=SL7669646-108580
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 220
-SubTopic 10
-Section 45
-Paragraph 12
-URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e640-108580
false2
3false
4us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesTaxus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse-68000000-68falsefalsefalse | 2truefalsefalse1000000010falsefalsefalse | 3truefalsefalse20000002falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of tax expense (benefit) of reclassification adjustment from accumulated other comprehensive income of accumulated gain (loss) realized from derivative instruments designated and qualifying as the effective portion of cash flow hedges and an entity's share of an equity investee's 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 12
-URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e640-108580
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 50
-Paragraph 4
-Subparagraph c
-URI http://asc.fasb.org/extlink&oid=7476318&loc=d3e41638-113959
false2
4false
4us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTaxus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse244000000244falsefalsefalse | 2truefalsefalse-93000000-93falsefalsefalse | 3truefalsefalse726000000726falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of tax expense (benefit) before reclassification adjustments of unrealized holding gain (loss) on available-for-sale securities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 220
-SubTopic 10
-Section 45
-Paragraph 12
-URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e640-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 (e,f)
-URI http://asc.fasb.org/extlink&oid=28358780&loc=SL7669646-108580
false2
5false
4us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTaxus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse-49000000-49falsefalsefalse | 2truefalsefalse-117000000-117falsefalsefalse | 3truefalsefalse-159000000-159falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of tax expense (benefit) of reclassification adjustment from accumulated other comprehensive income for unrealized gain (loss) realized upon the sale of available-for-sale securities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 9
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27357-111563
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 220
-SubTopic 10
-Section 45
-Paragraph 12
-URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e640-108580
false2
6false
4us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentTaxus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse-8000000-8USD$falsetruefalse | 2truefalsefalse-165000000-165USD$falsetruefalse | 3truefalsefalse205000000205USD$falsetruefalse | xbrli:monetaryItemTypemonetaryAmount of tax expense (benefit), after reclassification adjustments of gain (loss) on foreign currency translation adjustments, foreign currency transactions designated and effective as economic hedges of a net investment in a foreign entity and intra-entity foreign currency transactions that are of a long-term-investment nature.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 220
-SubTopic 10
-Section 45
-Paragraph 10A
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=28358780&loc=SL7669646-108580
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 220
-SubTopic 10
-Section 45
-Paragraph 12
-URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e640-108580
false2
falseOther Comprehensive Income (Loss) and Related Income Tax Effects (Parenthetical) (Detail) (USD $)MillionsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.microsoft.com/taxonomy/role/DisclosureOtherComprehensiveIncomeLossAndRelatedIncomeTaxEffectsParenthetical36