2.2.0.7trueLong-term Debt (Detail) (USD $)1084 - Disclosure - Long-term Debt (Detail)truefalseIn Millionsfalsefalse1USDfalsefalseiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170pureStandardhttp://www.xbrl.org/2003/instancepure0sharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0$32us-gaap_LongTermNotesPayableus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1truetruefalsefalse37500000003750falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying value as of the balance sheet date of notes payable (with maturities initially due after one year or beyond the operating cycle if longer), excluding current portion.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 22
-Article 5
false42us-gaap_DebtInstrumentUnamortizedDiscountus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsetruenegatedfalse1falsetruefalsefalse-61000000-61falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of debt discount that was originally recognized at the issuance of the instrument that has yet to be amortized.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number APB14-1
-Paragraph 31
-Subparagraph b
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Principles Board Opinion (APB)
-Number 21
-Paragraph 16, 20
false52msft_LongTermNotesPayableNetOfUnamortizedDiscountmsftfalsecreditinstantThe carrying value of long-term notes payable net of the associated unamortized discount.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse49390000004939falsefalsefalsexbrli:monetaryItemTypemonetaryThe carrying value of long-term notes payable net of the associated unamortized discount.No authoritative reference available.true60natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurelongtermdebtfalse1falsefalsefalsefalse00falsefalsefalsefalse2USDtruefalsefalsefalseConvertible Debt Due June 15th 2013us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldimsft_ZeroCouponConvertibleUnsecuredDebtDueJune15th2013Memberus-gaap_DebtInstrumentAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170pureStandardhttp://www.xbrl.org/2003/instancepure0$naNo definition available.No authoritative reference available.false72us-gaap_ConvertibleDebtus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse12500000001250falsefalsefalsexbrli:monetaryItemTypemonetaryIncluding the current and noncurrent portions, carrying amount of debt identified as being convertible into another form of financial instrument (typically the entity's common stock) as of the balance-sheet date, which originally required full repayment more than twelve months after issuance or greater than the normal operating cycle of the company.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 19, 20, 22
-Article 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 9
false110natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurelongtermdebtfalse1falsefalsefalsefalse00falsefalsefalsefalse3USDtruefalsefalsefalseNotes 2.95 Percent Due June 1st 2014us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldimsft_Notes2.95PercentDueJune1st2014Memberus-gaap_DebtInstrumentAxisexplicitMemberpureStandardhttp://www.xbrl.org/2003/instancepure0iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false132us-gaap_LongTermNotesPayableus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse20000000002000falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying value as of the balance sheet date of notes payable (with maturities initially due after one year or beyond the operating cycle if longer), excluding current portion.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 22
-Article 5
false160natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurelongtermdebtfalse1falsefalsefalsefalse00falsefalsefalsefalse4USDtruefalsefalsefalseNotes 4.2 Percent Due June 1st 2019us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldimsft_Notes4.2PercentDueJune1st2019Memberus-gaap_DebtInstrumentAxisexplicitMemberpureStandardhttp://www.xbrl.org/2003/instancepure0iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false182us-gaap_LongTermNotesPayableus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse10000000001000falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying value as of the balance sheet date of notes payable (with maturities initially due after one year or beyond the operating cycle if longer), excluding current portion.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 22
-Article 5
false210natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurelongtermdebtfalse1falsefalsefalsefalse00falsefalsefalsefalse5USDtruefalsefalsefalseNotes 5.2 Percent Due June 1st 2039us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldimsft_Notes5.2PercentDueJune1st2039Memberus-gaap_DebtInstrumentAxisexplicitMemberpureStandardhttp://www.xbrl.org/2003/instancepure0iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false232us-gaap_LongTermNotesPayableus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1truetruefalsefalse750000000750falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying value as of the balance sheet date of notes payable (with maturities initially due after one year or beyond the operating cycle if longer), excluding current portion.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 22
-Article 5
false111falseMillionsUnKnownUnKnownfalsetrue