2.2.0.7falseEmployees Purchased Shares (Detail) (USD $)1109 - Disclosure - Employees Purchased Shares (Detail)truefalseShare data in Millionsfalsefalse1USDfalsefalseiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170sharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0pureStandardhttp://www.xbrl.org/2003/instancepure0$false2USDfalsefalseiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170sharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0pureStandardhttp://www.xbrl.org/2003/instancepure0$false3USDfalsefalsesharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0pureStandardhttp://www.xbrl.org/2003/instancepure0$53us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlansus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse2000000020falsefalsefalse2falsetruefalsefalse2400000024falsefalsefalse3falsetruefalsefalse1800000018falsefalsefalsexbrli:sharesItemTypesharesNumber of shares issued during the period as a result of an employee stock purchase plan.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30
-Article 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Principles Board Opinion (APB)
-Number 12
-Paragraph 10
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 129
-Paragraph 5
false63msft_StockIssuedEmployeeStockPurchasePlanAveragePricePerSharemsftfalsecreditdurationThe average price per share of stock purchased by employees under the Employee Stock Purchase Plan during the period.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1truetruefalsefalse23.7323.73falsefalsefalse2truetruefalsefalse20.1320.13falsefalsefalse3truetruefalsefalse26.7826.78falsefalsefalsexbrli:monetaryItemTypemonetaryThe average price per share of stock purchased by employees under the Employee Stock Purchase Plan during the period.No authoritative reference available.false32falseNoRoundingMillionsUnKnownfalsetrue