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_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 4us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodTaxus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse5400000054USD$falsetruefalse2truefalsefalse127000000127USD$falsetruefalse3truefalsefalse-340000000-340USD$falsetruefalsexbrli: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 false23false 4us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesTaxus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-68000000-68falsefalsefalse2truefalsefalse1000000010falsefalsefalse3truefalsefalse20000002falsefalsefalsexbrli: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 false24false 4us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTaxus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse244000000244falsefalsefalse2truefalsefalse-93000000-93falsefalsefalse3truefalsefalse726000000726falsefalsefalsexbrli: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 false25false 4us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTaxus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-49000000-49falsefalsefalse2truefalsefalse-117000000-117falsefalsefalse3truefalsefalse-159000000-159falsefalsefalsexbrli: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 false26false 4us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentTaxus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-8000000-8USD$falsetruefalse2truefalsefalse-165000000-165USD$falsetruefalse3truefalsefalse205000000205USD$falsetruefalsexbrli: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 false2falseOther Comprehensive Income (Loss) and Related Income Tax Effects (Parenthetical) (Detail) (USD $)MillionsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.microsoft.com/taxonomy/role/DisclosureOtherComprehensiveIncomeLossAndRelatedIncomeTaxEffectsParenthetical36