2.2.0.7 false Employees Purchased Shares (Detail) (USD $) 1109 - Disclosure - Employees Purchased Shares (Detail) true false Share data in Millions false false 1 USD false false iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 shares Standard http://www.xbrl.org/2003/instance shares 0 iso4217_USD_per_shares Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares 0 pure Standard http://www.xbrl.org/2003/instance pure 0 $ false 2 USD false false iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 shares Standard http://www.xbrl.org/2003/instance shares 0 iso4217_USD_per_shares Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares 0 pure Standard http://www.xbrl.org/2003/instance pure 0 $ false 3 USD false false shares Standard http://www.xbrl.org/2003/instance shares 0 iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 iso4217_USD_per_shares Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares 0 pure Standard http://www.xbrl.org/2003/instance pure 0 $ 5 3 us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans us-gaap true na duration No definition available. false false false false false false false false false false false false 1 false true false false 20000000 20 false false false 2 false true false false 24000000 24 false false false 3 false true false false 18000000 18 false false false xbrli:sharesItemType shares Number 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 false 6 3 msft_StockIssuedEmployeeStockPurchasePlanAveragePricePerShare msft false credit duration The average price per share of stock purchased by employees under the Employee Stock Purchase Plan during the period. false false false false false false false false false false false false 1 true true false false 23.73 23.73 false false false 2 true true false false 20.13 20.13 false false false 3 true true false false 26.78 26.78 false false false xbrli:monetaryItemType monetary The average price per share of stock purchased by employees under the Employee Stock Purchase Plan during the period. No authoritative reference available. false 3 2 false NoRounding Millions UnKnown false true