Fact Table Summary

Component: (Network and Table)
Network
100000 - Document - Document and Entity Information
(http://www.microsoft.com/20170630/taxonomy/role/DocumentDocumentAndEntityInformation)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Document Type10-K
20000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Amendment Flagfalse
30000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Document Period End Date2017-06-30
40000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Document Fiscal Year Focus2017
50000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Document Fiscal Period FocusFY
60000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Trading SymbolMSFT
70000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Entity Registrant NameMICROSOFT CORPORATION
80000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Entity Central Index Key0000789019
90000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Current Fiscal Year End Date--06-30
100000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Entity Well Known Seasoned IssuerYes
110000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Entity Current Reporting StatusYes
120000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Entity Voluntary FilersNo
130000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Entity Filer CategoryLarge Accelerated Filer
140000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Entity Listing Par Value Per Share0.00000625USD / SharesINF
150000789019 (http://www.sec.gov/CIK)2017-07-31Entity [Domain]Entity Common Stock Shares Outstanding7702243979SharesINF
160000789019 (http://www.sec.gov/CIK)2016-12-31Entity [Domain]Entity Public Float466500000000USD-8
170000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Entity Tax Identification Number911144442

Component: (Network and Table)
Network
100010 - Statement - INCOME STATEMENTS
(http://www.microsoft.com/20170630/taxonomy/role/StatementINCOMESTATEMENTS)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Sales Revenue Goods Net57190000000USD-6
20000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Sales Revenue Goods Net75956000000USD-6
30000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Sales Revenue Goods Net61502000000USD-6
40000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Sales Revenue Services And Other Net17624000000USD-6
50000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Sales Revenue Services And Other Net23818000000USD-6
60000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Sales Revenue Services And Other Net32760000000USD-6
70000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Sales Revenue Net85320000000USD-6PE3
80000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Sales Revenue Net89950000000USD-6PE1 , PE2
90000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Sales Revenue Net93580000000USD-6
100000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Cost Of Goods Sold15175000000USD-6
110000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Cost Of Goods Sold17880000000USD-6
120000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Cost Of Goods Sold21410000000USD-6
130000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Cost Of Services And Other11628000000USD-6
140000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Cost Of Services And Other19086000000USD-6
150000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Cost Of Services And Other14900000000USD-6
160000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Cost Of Revenue33038000000USD-6
170000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Cost Of Revenue34261000000USD-6
180000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Cost Of Revenue32780000000USD-6
190000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Gross Profit52540000000USD-6
200000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Gross Profit60542000000USD-6
210000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Gross Profit55689000000USD-6PE1
220000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Research And Development Expense13037000000USD-6
230000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Research And Development Expense11988000000USD-6
240000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Research And Development Expense12046000000USD-6
250000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Selling And Marketing Expense15539000000USD-6
260000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Selling And Marketing Expense15713000000USD-6
270000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Selling And Marketing Expense14697000000USD-6
280000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]General And Administrative Expense4563000000USD-6
290000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]General And Administrative Expense4481000000USD-6
300000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]General And Administrative Expense4611000000USD-6
310000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Impairment Integration And Restructuring Expenses306000000USD-6
320000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Impairment Integration And Restructuring Expenses1110000000USD-6
330000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Impairment Integration And Restructuring Expenses10011000000USD-6
340000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Operating Income Loss20182000000USD-6
350000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Operating Income Loss22326000000USD-6PE1
360000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Operating Income Loss18161000000USD-6
370000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Nonoperating Income Expense346000000USD-6
380000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Nonoperating Income Expense823000000USD-6
390000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Nonoperating Income Expense-431000000USD-6
400000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Income Loss From Continuing Operations Before Income Taxes Minority Interest And Income Loss From Equity Method Investments19751000000USD-6
410000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Income Loss From Continuing Operations Before Income Taxes Minority Interest And Income Loss From Equity Method Investments23149000000USD-6
420000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Income Loss From Continuing Operations Before Income Taxes Minority Interest And Income Loss From Equity Method Investments18507000000USD-6
430000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Income Tax Expense Benefit2953000000USD-6
440000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Income Tax Expense Benefit1945000000USD-6
450000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Income Tax Expense Benefit6314000000USD-6
460000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Net Income Loss16798000000USD-6PE4
470000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Net Income Loss21204000000USD-6PE1 , PE5
480000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Net Income Loss12193000000USD-6
490000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Earnings Per Share Basic2.74USD / Shares2PE1
500000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Earnings Per Share Basic2.12USD / Shares2
510000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Earnings Per Share Basic1.49USD / Shares2
520000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Earnings Per Share Diluted1.48USD / Shares2
530000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Earnings Per Share Diluted2.71USD / Shares2PE1 , PE5
540000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Earnings Per Share Diluted2.10USD / Shares2PE4
550000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Weighted Average Number Of Shares Outstanding Basic7746000000Shares-6
560000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Weighted Average Number Of Shares Outstanding Basic7925000000Shares-6
570000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Weighted Average Number Of Shares Outstanding Basic8177000000Shares-6
580000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Weighted Average Number Of Diluted Shares Outstanding8254000000Shares-6
590000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Weighted Average Number Of Diluted Shares Outstanding7832000000Shares-6
600000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Weighted Average Number Of Diluted Shares Outstanding8013000000Shares-6
610000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Common Stock Dividends Per Share Declared1.56USD / SharesINF
620000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Common Stock Dividends Per Share Declared1.44USD / SharesINF
630000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Common Stock Dividends Per Share Declared1.24USD / SharesINF

Component: (Network and Table)
Network
100020 - Statement - COMPREHENSIVE INCOME STATEMENTS
(http://www.microsoft.com/20170630/taxonomy/role/StatementCOMPREHENSIVEINCOMESTATEMENTS)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Net Income Loss16798000000USD-6PE4
20000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Net Income Loss21204000000USD-6PE1 , PE5
30000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Net Income Loss12193000000USD-6
40000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Other Comprehensive Income Loss Derivatives Qualifying As Hedges Net Of Tax-238000000USD-6
50000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Other Comprehensive Income Loss Derivatives Qualifying As Hedges Net Of Tax-218000000USD-6
60000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Other Comprehensive Income Loss Derivatives Qualifying As Hedges Net Of Tax559000000USD-6
70000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Other Comprehensive Income Loss Available For Sale Securities Adjustment Net Of Tax-1116000000USD-6
80000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Other Comprehensive Income Loss Available For Sale Securities Adjustment Net Of Tax-228000000USD-6
90000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Other Comprehensive Income Loss Available For Sale Securities Adjustment Net Of Tax-362000000USD-6
100000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Other Comprehensive Income Loss Foreign Currency Transaction And Translation Adjustment Net Of Tax228000000USD-6
110000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Other Comprehensive Income Loss Foreign Currency Transaction And Translation Adjustment Net Of Tax-1383000000USD-6
120000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Other Comprehensive Income Loss Foreign Currency Transaction And Translation Adjustment Net Of Tax-519000000USD-6
130000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent-1106000000USD-6
140000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent-985000000USD-6
150000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent-1186000000USD-6
160000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Comprehensive Income Net Of Tax11007000000USD-6
170000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Comprehensive Income Net Of Tax15813000000USD-6
180000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Comprehensive Income Net Of Tax20098000000USD-6

Component: (Network and Table)
Network
100030 - Statement - COMPREHENSIVE INCOME STATEMENTS (Parenthetical)
(http://www.microsoft.com/20170630/taxonomy/role/StatementCOMPREHENSIVEINCOMESTATEMENTSParenthetical)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Other Comprehensive Income Loss Derivatives Qualifying As Hedges Tax20000000USD-6
20000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Other Comprehensive Income Loss Derivatives Qualifying As Hedges Tax-12000000USD-6
30000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Other Comprehensive Income Loss Derivatives Qualifying As Hedges Tax-5000000USD-6
40000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Other Comprehensive Income Loss Available For Sale Securities Tax-613000000USD-6
50000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Other Comprehensive Income Loss Available For Sale Securities Tax-121000000USD-6
60000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Other Comprehensive Income Loss Available For Sale Securities Tax-197000000USD-6
70000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Other Comprehensive Income Loss Foreign Currency Translation Adjustment Tax16000000USD-6
80000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Other Comprehensive Income Loss Foreign Currency Translation Adjustment Tax9000000USD-6
90000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Other Comprehensive Income Loss Foreign Currency Translation Adjustment Tax-33000000USD-6

Component: (Network and Table)
Network
100040 - Statement - BALANCE SHEETS
(http://www.microsoft.com/20170630/taxonomy/role/StatementBALANCESHEETS)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Cash And Cash Equivalents At Carrying Value7663000000USD-6
20000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Cash And Cash Equivalents At Carrying Value6510000000USD-6
30000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Available For Sale Securities Current106730000000USD-6
40000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Available For Sale Securities Current125318000000USD-6
50000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Cash Cash Equivalents And Short Term Investments113240000000USD-6
60000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Cash Cash Equivalents And Short Term Investments132981000000USD-6
70000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Accounts Receivable Net Current18277000000USD-6
80000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Accounts Receivable Net Current19792000000USD-6
90000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Inventory Net2181000000USD-6
100000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Inventory Net2251000000USD-6
110000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Other Assets Current4897000000USD-6
120000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Other Assets Current5892000000USD-6
130000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Assets Current139660000000USD-6
140000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Assets Current159851000000USD-6
150000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Property Plant And Equipment Net18356000000USD-6
160000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Property Plant And Equipment Net23734000000USD-6
170000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Long Term Investments10431000000USD-6
180000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Long Term Investments6023000000USD-6
190000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Goodwill35122000000USD-6
200000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Goodwill17872000000USD-6
210000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Finite Lived Intangible Assets Net3733000000USD-6
220000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Finite Lived Intangible Assets Net10106000000USD-6
230000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Other Assets Noncurrent3416000000USD-6
240000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Other Assets Noncurrent6250000000USD-6
250000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Assets193468000000USD-6
260000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Assets241086000000USD-6
270000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Accounts Payable Current7390000000USD-6
280000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Accounts Payable Current6898000000USD-6
290000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Short Term Borrowings12904000000USD-6
300000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Short Term Borrowings9072000000USD-6
310000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Long Term Debt Current1049000000USD-6
320000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Long Term Debt Current0USD-6
330000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Employee Related Liabilities Current5264000000USD-6
340000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Employee Related Liabilities Current5819000000USD-6
350000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Accrued Income Taxes Current580000000USD-6
360000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Accrued Income Taxes Current718000000USD-6
370000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Deferred Revenue Current27468000000USD-6
380000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Deferred Revenue Current34102000000USD-6
390000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Deposits Received For Securities Loaned At Carrying Value294000000USD-6
400000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Deposits Received For Securities Loaned At Carrying Value97000000USD-6
410000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Other Liabilities Current6280000000USD-6
420000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Other Liabilities Current5949000000USD-6
430000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Liabilities Current59357000000USD-6
440000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Liabilities Current64527000000USD-6
450000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Long Term Debt Noncurrent76073000000USD-6
460000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Long Term Debt Noncurrent40557000000USD-6
470000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Deferred Revenue Noncurrent10377000000USD-6
480000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Deferred Revenue Noncurrent6441000000USD-6
490000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Deferred Tax Liabilities Noncurrent531000000USD-6
500000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Deferred Tax Liabilities Noncurrent1476000000USD-6
510000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Other Liabilities Noncurrent13640000000USD-6
520000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Other Liabilities Noncurrent17184000000USD-6
530000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Liabilities168692000000USD-6
540000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Liabilities121471000000USD-6
550000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Commitments And Contingencies
xsi:nil
USD
560000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Commitments And Contingencies
xsi:nil
USD
570000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Common Stocks Including Additional Paid In Capital68178000000USD-6
580000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Common Stocks Including Additional Paid In Capital69315000000USD-6
590000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Retained Earnings Accumulated Deficit2648000000USD-6
600000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Retained Earnings Accumulated Deficit2282000000USD-6
610000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Accumulated Other Comprehensive Income Loss Net Of Tax431000000USD-6
620000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Accumulated Other Comprehensive Income Loss Net Of Tax1537000000USD-6
630000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Stockholders Equity72394000000USD-6
640000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Stockholders Equity71997000000USD-6
650000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Liabilities And Stockholders Equity241086000000USD-6
660000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Liabilities And Stockholders Equity193468000000USD-6

Component: (Network and Table)
Network
100050 - Statement - BALANCE SHEETS (Parenthetical)
(http://www.microsoft.com/20170630/taxonomy/role/StatementBALANCESHEETSParenthetical)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Securities Loaned3694000000USD-6
20000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Securities Loaned204000000USD-6
30000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Allowance For Doubtful Accounts Receivable Current426000000USD-6
40000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Allowance For Doubtful Accounts Receivable Current405000000USD-6
50000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Accumulated Depreciation Depletion And Amortization Property Plant And Equipment24179000000USD-6
60000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Accumulated Depreciation Depletion And Amortization Property Plant And Equipment19800000000USD-6
70000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Common Stock Shares Authorized24000000000SharesINF
80000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Common Stock Shares Authorized24000000000SharesINF
90000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Common Stock Shares Outstanding7708000000Shares-6
100000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Common Stock Shares Outstanding7808000000Shares-6

Component: (Network and Table)
Network
100060 - Statement - CASH FLOWS STATEMENTS
(http://www.microsoft.com/20170630/taxonomy/role/StatementCASHFLOWSSTATEMENTS)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Net Income Loss16798000000USD-6PE4
20000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Net Income Loss21204000000USD-6PE1 , PE5
30000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Net Income Loss12193000000USD-6
40000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Asset Impairment Charges0USD-6
50000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Asset Impairment Charges630000000USD-6
60000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Asset Impairment Charges7498000000USD-6
70000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Depreciation Amortization And Other5957000000USD-6
80000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Depreciation Amortization And Other8778000000USD-6
90000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Depreciation Amortization And Other6622000000USD-6
100000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Share Based Compensation2668000000USD-6
110000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Share Based Compensation3266000000USD-6
120000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Share Based Compensation2574000000USD-6
130000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Gain Loss On Investments And Derivative Instruments2073000000USD-6
140000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Gain Loss On Investments And Derivative Instruments443000000USD-6
150000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Gain Loss On Investments And Derivative Instruments223000000USD-6
160000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Deferred Income Tax Expense Benefit332000000USD-6
170000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Deferred Income Tax Expense Benefit224000000USD-6
180000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Deferred Income Tax Expense Benefit-3296000000USD-6
190000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Increase Decrease In Deferred Revenue45072000000USD-6
200000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Increase Decrease In Deferred Revenue57072000000USD-6
210000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Increase Decrease In Deferred Revenue67711000000USD-6
220000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Recognition Of Deferred Revenue57735000000USD-6
230000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Recognition Of Deferred Revenue48498000000USD-6
240000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Recognition Of Deferred Revenue44920000000USD-6
250000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Increase Decrease In Accounts Receivable925000000USD-6
260000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Increase Decrease In Accounts Receivable-1456000000USD-6
270000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Increase Decrease In Accounts Receivable530000000USD-6
280000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Increase Decrease In Inventories-600000000USD-6
290000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Increase Decrease In Inventories-50000000USD-6
300000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Increase Decrease In Inventories272000000USD-6
310000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Increase Decrease In Other Current Assets-1066000000USD-6
320000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Increase Decrease In Other Current Assets-62000000USD-6
330000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Increase Decrease In Other Current Assets1167000000USD-6
340000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Increase Decrease In Other Noncurrent Assets41000000USD-6
350000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Increase Decrease In Other Noncurrent Assets-346000000USD-6
360000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Increase Decrease In Other Noncurrent Assets539000000USD-6
370000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Increase Decrease In Accounts Payable81000000USD-6
380000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Increase Decrease In Accounts Payable88000000USD-6
390000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Increase Decrease In Accounts Payable-1054000000USD-6
400000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Increase Decrease In Other Current Liabilities-624000000USD-6
410000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Increase Decrease In Other Current Liabilities386000000USD-6
420000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Increase Decrease In Other Current Liabilities-260000000USD-6
430000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Increase Decrease In Other Noncurrent Liabilities1599000000USD-6
440000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Increase Decrease In Other Noncurrent Liabilities1533000000USD-6
450000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Increase Decrease In Other Noncurrent Liabilities-766000000USD-6
460000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Net Cash Provided By Used In Operating Activities Continuing Operations29668000000USD-6
470000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Net Cash Provided By Used In Operating Activities Continuing Operations39507000000USD-6
480000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Net Cash Provided By Used In Operating Activities Continuing Operations33325000000USD-6
490000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Proceeds From Repayments Of Short Term Debt Maturing In Three Months Or Less7195000000USD-6
500000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Proceeds From Repayments Of Short Term Debt Maturing In Three Months Or Less4481000000USD-6
510000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Proceeds From Repayments Of Short Term Debt Maturing In Three Months Or Less-4963000000USD-6
520000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Proceeds From Debt Maturing In More Than Three Months10680000000USD-6
530000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Proceeds From Debt Maturing In More Than Three Months44344000000USD-6
540000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Proceeds From Debt Maturing In More Than Three Months13884000000USD-6
550000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Repayments Of Debt Maturing In More Than Three Months2796000000USD-6
560000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Repayments Of Debt Maturing In More Than Three Months7922000000USD-6
570000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Repayments Of Debt Maturing In More Than Three Months1500000000USD-6
580000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Proceeds From Issuance Of Common Stock634000000USD-6
590000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Proceeds From Issuance Of Common Stock772000000USD-6
600000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Proceeds From Issuance Of Common Stock668000000USD-6
610000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Payments For Repurchase Of Common Stock15969000000USD-6
620000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Payments For Repurchase Of Common Stock11788000000USD-6
630000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Payments For Repurchase Of Common Stock14443000000USD-6
640000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Payments Of Dividends Common Stock9882000000USD-6
650000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Payments Of Dividends Common Stock11845000000USD-6
660000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Payments Of Dividends Common Stock11006000000USD-6
670000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Proceeds From Payments For Other Financing Activities362000000USD-6
680000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Proceeds From Payments For Other Financing Activities-190000000USD-6
690000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Proceeds From Payments For Other Financing Activities-369000000USD-6
700000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Net Cash Provided By Used In Financing Activities Continuing Operations8408000000USD-6
710000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Net Cash Provided By Used In Financing Activities Continuing Operations-9668000000USD-6
720000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Net Cash Provided By Used In Financing Activities Continuing Operations-8393000000USD-6
730000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Payments To Acquire Property Plant And Equipment5944000000USD-6
740000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Payments To Acquire Property Plant And Equipment8129000000USD-6
750000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Payments To Acquire Property Plant And Equipment8343000000USD-6
760000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Acquisitions Net Of Cash Acquired And Purchases Of Intangible And Other Assets3723000000USD-6
770000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Acquisitions Net Of Cash Acquired And Purchases Of Intangible And Other Assets25944000000USD-6
780000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Acquisitions Net Of Cash Acquired And Purchases Of Intangible And Other Assets1393000000USD-6
790000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Payments To Acquire Investments176905000000USD-6
800000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Payments To Acquire Investments98729000000USD-6
810000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Payments To Acquire Investments129758000000USD-6
820000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Proceeds From Maturities Prepayments And Calls Of Available For Sale Securities28044000000USD-6
830000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Proceeds From Maturities Prepayments And Calls Of Available For Sale Securities22054000000USD-6
840000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Proceeds From Maturities Prepayments And Calls Of Available For Sale Securities15013000000USD-6
850000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Proceeds From Sale Of Available For Sale Securities93287000000USD-6
860000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Proceeds From Sale Of Available For Sale Securities136350000000USD-6
870000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Proceeds From Sale Of Available For Sale Securities70848000000USD-6
880000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Increase Decrease In Collateral Held Under Securities Lending197000000USD-6
890000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Increase Decrease In Collateral Held Under Securities Lending-203000000USD-6
900000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Increase Decrease In Collateral Held Under Securities Lending466000000USD-6
910000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Net Cash Provided By Used In Investing Activities Continuing Operations-46781000000USD-6
920000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Net Cash Provided By Used In Investing Activities Continuing Operations-23001000000USD-6
930000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Net Cash Provided By Used In Investing Activities Continuing Operations-23950000000USD-6
940000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Effect Of Exchange Rate On Cash And Cash Equivalents19000000USD-6
950000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Effect Of Exchange Rate On Cash And Cash Equivalents-73000000USD-6
960000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Effect Of Exchange Rate On Cash And Cash Equivalents-67000000USD-6
970000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Cash And Cash Equivalents Period Increase Decrease-3074000000USD-6
980000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Cash And Cash Equivalents Period Increase Decrease915000000USD-6
990000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Cash And Cash Equivalents Period Increase Decrease1153000000USD-6
1000000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Cash And Cash Equivalents At Carrying Value7663000000USD-6
1010000789019 (http://www.sec.gov/CIK)2015-06-30Entity [Domain]Cash And Cash Equivalents At Carrying Value5595000000USD-6
1020000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Cash And Cash Equivalents At Carrying Value6510000000USD-6
1030000789019 (http://www.sec.gov/CIK)2014-06-30Entity [Domain]Cash And Cash Equivalents At Carrying Value8669000000USD-6

Component: (Network and Table)
Network
100070 - Statement - STOCKHOLDERS' EQUITY STATEMENTS
(http://www.microsoft.com/20170630/taxonomy/role/StatementSTOCKHOLDERSEQUITYSTATEMENTS)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Statement Equity Components [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2015-06-30Entity [Domain]Accumulated Other Comprehensive Income [Member]Stockholders Equity2522000000USD-6
20000789019 (http://www.sec.gov/CIK)2014-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Stockholders Equity68366000000USD-6
30000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Retained Earnings [Member]Stockholders Equity2648000000USD-6
40000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Stockholders Equity69315000000USD-6
50000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Accumulated Other Comprehensive Income [Member]Stockholders Equity1537000000USD-6
60000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Equity Component [Domain]Stockholders Equity72394000000USD-6
70000789019 (http://www.sec.gov/CIK)2014-06-30Entity [Domain]Retained Earnings [Member]Stockholders Equity17710000000USD-6
80000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Retained Earnings [Member]Stockholders Equity2282000000USD-6
90000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Equity Component [Domain]Stockholders Equity71997000000USD-6
100000789019 (http://www.sec.gov/CIK)2015-06-30Entity [Domain]Equity Component [Domain]Stockholders Equity80083000000USD-6
110000789019 (http://www.sec.gov/CIK)2015-06-30Entity [Domain]Retained Earnings [Member]Stockholders Equity9096000000USD-6
120000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Accumulated Other Comprehensive Income [Member]Stockholders Equity431000000USD-6
130000789019 (http://www.sec.gov/CIK)2014-06-30Entity [Domain]Accumulated Other Comprehensive Income [Member]Stockholders Equity3708000000USD-6
140000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Stockholders Equity68178000000USD-6
150000789019 (http://www.sec.gov/CIK)2015-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Stockholders Equity68465000000USD-6
160000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Stock Issued During Period Value New Issues668000000USD-6
170000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Stock Issued During Period Value New Issues772000000USD-6
180000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Stock Issued During Period Value New Issues634000000USD-6
190000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Equity Component [Domain]Net Income Loss16798000000USD-6PE4
200000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Retained Earnings [Member]Net Income Loss21204000000USD-6
210000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Equity Component [Domain]Net Income Loss21204000000USD-6PE1 , PE5
220000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Equity Component [Domain]Net Income Loss12193000000USD-6
230000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Retained Earnings [Member]Net Income Loss12193000000USD-6
240000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Retained Earnings [Member]Net Income Loss16798000000USD-6
250000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Equity Component [Domain]Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent-1106000000USD-6
260000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Accumulated Other Comprehensive Income [Member]Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent-1186000000USD-6
270000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Accumulated Other Comprehensive Income [Member]Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent-985000000USD-6
280000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Accumulated Other Comprehensive Income [Member]Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent-1106000000USD-6
290000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Equity Component [Domain]Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent-985000000USD-6
300000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Equity Component [Domain]Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent-1186000000USD-6
310000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Retained Earnings [Member]Dividends Common Stock Cash12040000000USD-6
320000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Retained Earnings [Member]Dividends Common Stock Cash11329000000USD-6
330000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Retained Earnings [Member]Dividends Common Stock Cash10063000000USD-6
340000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Equity Component [Domain]Stock Repurchased During Period Value10283000000USD-6
350000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Retained Earnings [Member]Stock Repurchased During Period Value12283000000USD-6
360000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Equity Component [Domain]Stock Repurchased During Period Value13209000000USD-6
370000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Stock Repurchased During Period Value3689000000USD-6
380000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Equity Component [Domain]Stock Repurchased During Period Value14800000000USD-6
390000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Retained Earnings [Member]Stock Repurchased During Period Value8798000000USD-6
400000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Stock Repurchased During Period Value2987000000USD-6
410000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Stock Repurchased During Period Value3700000000USD-6
420000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Retained Earnings [Member]Stock Repurchased During Period Value10744000000USD-6
430000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Adjustments To Additional Paid In Capital Sharebased Compensation Requisite Service Period Recognition Value3266000000USD-6
440000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Adjustments To Additional Paid In Capital Sharebased Compensation Requisite Service Period Recognition Value2668000000USD-6
450000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Adjustments To Additional Paid In Capital Sharebased Compensation Requisite Service Period Recognition Value2574000000USD-6
460000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Adjustment To Additional Paid In Capital Income Tax Effect From Share Based Compensation Net588000000USD-6
470000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Adjustment To Additional Paid In Capital Income Tax Effect From Share Based Compensation Net0USD-6
480000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Adjustment To Additional Paid In Capital Income Tax Effect From Share Based Compensation Net0USD-6
490000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Stockholders Equity Other-86000000USD-6
500000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Stockholders Equity Other-66000000USD-6
510000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Stockholders Equity Other-3000000USD-6

Component: (Network and Table)
Network
100080 - Disclosure - ACCOUNTING POLICIES
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureACCOUNTINGPOLICIES)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Significant Accounting Policies [Text Block]<div> <p style="text-align:center;margin-bottom:0pt;margin-top:9pt;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:nor

Component: (Network and Table)
Network
100090 - Disclosure - EARNINGS PER SHARE
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEARNINGSPERSHARE)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Earnings Per Share [Text Block]<div> <p style="text-align:center;margin-top:13pt;margin-bottom:0pt;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100100 - Disclosure - OTHER INCOME (EXPENSE), NET
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureOTHERINCOMEEXPENSENET)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Other Nonoperating Income And Expense [Text Block]<div> <p style="text-align:center;margin-bottom:0pt;margin-top:13pt;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100110 - Disclosure - INVESTMENTS
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINVESTMENTS)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Investments In Debt And Equity Instruments Cash And Cash Equivalents Unrealized And Realized Gains Losses [Text Block]<div> <p style="text-align:center;margin-bottom:0pt;margin-top:4pt;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:nor

Component: (Network and Table)
Network
100120 - Disclosure - DERIVATIVES
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDERIVATIVES)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Derivative Instruments And Hedging Activities Disclosure [Text Block]<div> <p style="text-align:center;margin-bottom:0pt;margin-top:4pt;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:nor

Component: (Network and Table)
Network
100130 - Disclosure - FAIR VALUE MEASUREMENTS
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFAIRVALUEMEASUREMENTS)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Fair Value Disclosures [Text Block]<div> <p style="text-align:center;margin-bottom:0pt;margin-top:3pt;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:nor

Component: (Network and Table)
Network
100140 - Disclosure - INVENTORIES
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINVENTORIES)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Inventory Disclosure [Text Block]<div> <p style="text-align:center;margin-bottom:0pt;margin-top:13pt;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100150 - Disclosure - PROPERTY AND EQUIPMENT
(http://www.microsoft.com/20170630/taxonomy/role/DisclosurePROPERTYANDEQUIPMENT)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Property Plant And Equipment Disclosure [Text Block]<div> <p style="text-align:center;margin-bottom:0pt;margin-top:3pt;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:nor

Component: (Network and Table)
Network
100160 - Disclosure - BUSINESS COMBINATIONS
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureBUSINESSCOMBINATIONS)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Mergers Acquisitions And Dispositions Disclosures [Text Block]<div> <p style="text-align:center;margin-bottom:0pt;margin-top:13pt;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100170 - Disclosure - GOODWILL
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureGOODWILL)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Goodwill Disclosure [Text Block]<div> <p style="text-align:center;margin-bottom:0pt;margin-top:13pt;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100180 - Disclosure - INTANGIBLE ASSETS
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINTANGIBLEASSETS)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Intangible Assets Disclosure [Text Block]<div> <p style="text-align:center;margin-bottom:0pt;margin-top:13pt;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100190 - Disclosure - DEBT
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDEBT)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Debt Disclosure [Text Block]<div> <p style="text-align:center;margin-bottom:0pt;margin-top:3pt;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:nor

Component: (Network and Table)
Network
100200 - Disclosure - INCOME TAXES
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINCOMETAXES)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Income Tax Disclosure [Text Block]<div> <p style="text-align:center;margin-bottom:0pt;margin-top:3pt;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:nor

Component: (Network and Table)
Network
100210 - Disclosure - RESTRUCTURING CHARGES
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureRESTRUCTURINGCHARGES)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Restructuring And Related Activities Disclosure [Text Block]<div> <p style="text-align:center;margin-bottom:0pt;margin-top:13pt;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100220 - Disclosure - UNEARNED REVENUE
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureUNEARNEDREVENUE)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Deferred Revenue Disclosure [Text Block]<div> <p style="text-align:center;margin-bottom:0pt;margin-top:13pt;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100230 - Disclosure - COMMITMENTS
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureCOMMITMENTS)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Commitments Disclosure [Text Block]<div> <p style="text-align:center;margin-bottom:0pt;margin-top:13pt;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100240 - Disclosure - CONTINGENCIES
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureCONTINGENCIES)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Legal Matters And Contingencies [Text Block]<div> <p style="text-align:center;margin-bottom:0pt;margin-top:13pt;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100250 - Disclosure - STOCKHOLDERS' EQUITY
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSTOCKHOLDERSEQUITY)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Stockholders Equity Note Disclosure [Text Block]<div> <p style="text-align:center;margin-bottom:0pt;margin-top:13pt;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100260 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE INCOME
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureACCUMULATEDOTHERCOMPREHENSIVEINCOME)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Comprehensive Income Note [Text Block]<div> <p style="text-align:center;margin-bottom:0pt;margin-top:13pt;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100270 - Disclosure - EMPLOYEE STOCK AND SAVINGS PLANS
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEMPLOYEESTOCKANDSAVINGSPLANS)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Compensation And Employee Benefit Plans [Text Block]<div> <p style="text-align:center;margin-bottom:0pt;margin-top:4pt;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:nor

Component: (Network and Table)
Network
100280 - Disclosure - SEGMENT INFORMATION AND GEOGRAPHIC DATA
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSEGMENTINFORMATIONANDGEOGRAPHICDATA)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Segment Reporting Disclosure [Text Block]<div> <p style="text-align:center;margin-bottom:0pt;margin-top:13pt;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100290 - Disclosure - QUARTERLY INFORMATION (UNAUDITED)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureQUARTERLYINFORMATIONUNAUDITED)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Quarterly Financial Information [Text Block]<div> <p style="text-align:center;margin-bottom:0pt;margin-top:4pt;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:nor

Component: (Network and Table)
Network
100300 - Disclosure - ACCOUNTING POLICIES (Policies)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureACCOUNTINGPOLICIESPolicies)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Basis Of Accounting Policy Policy [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-weight:bold;font-size:10pt;font-family:Arial;font-style:norm
20000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Consolidation Policy [Text Block]<div> <p style="margin-bottom:0pt;margin-top:13pt;text-align:justify;text-indent:0%;font-weight:bold;font-size:10pt;font-family:Arial;font-style:nor
30000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Use Of Estimates<div> <p style="margin-bottom:0pt;margin-top:13pt;text-align:justify;text-indent:0%;font-weight:bold;font-size:10pt;font-family:Arial;font-style:nor
40000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Foreign Currency Transactions And Translations Policy [Text Block]<div> <p style="margin-bottom:0pt;margin-top:13pt;text-align:justify;text-indent:0%;font-weight:bold;font-size:10pt;font-family:Arial;font-style:nor
50000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Product Revenue And Service And Other Revenue Policy [Text Block]<div> <p style="margin-bottom:0pt;margin-top:13pt;text-align:justify;text-indent:0%;font-weight:bold;font-size:10pt;font-family:Arial;font-style:nor
60000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Revenue Recognition Policy [Text Block]<div> <p style="margin-bottom:0pt;margin-top:13pt;text-align:justify;text-indent:0%;font-weight:bold;font-size:10pt;font-family:Arial;font-style:nor
70000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Cost Of Sales Policy [Text Block]<div> <p style="margin-bottom:0pt;margin-top:13pt;text-align:justify;text-indent:0%;font-weight:bold;font-size:10pt;font-family:Arial;font-style:nor
80000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Standard Product Warranty Policy<div> <p style="margin-bottom:0pt;margin-top:13pt;text-align:justify;text-indent:0%;font-weight:bold;font-size:10pt;font-family:Arial;font-style:nor
90000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Research Development And Computer Software Policy [Text Block]<div> <p style="margin-bottom:0pt;margin-top:13pt;text-align:justify;text-indent:0%;font-weight:bold;font-size:10pt;font-family:Arial;font-style:nor
100000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Selling And Marketing Policy [Text Block]<div> <p style="margin-bottom:0pt;margin-top:13pt;text-align:justify;text-indent:0%;font-weight:bold;font-size:10pt;font-family:Arial;font-style:nor
110000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Share Based Compensation Option And Incentive Plans Policy<div> <p style="margin-bottom:0pt;margin-top:13pt;text-align:justify;text-indent:0%;font-weight:bold;font-size:10pt;font-family:Arial;font-style:nor
120000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Income Tax Policy [Text Block]<div> <p style="margin-top:13pt;margin-bottom:0pt;text-indent:0%;font-weight:bold;font-size:10pt;font-family:Arial;font-style:normal;text-transform:
130000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Fair Value Of Financial Instruments Policy<div> <p style="margin-bottom:0pt;margin-top:13pt;text-align:justify;text-indent:0%;font-weight:bold;font-size:10pt;font-family:Arial;font-style:nor
140000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Investment Policy [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-style:italic;font-size:10pt;font-family:Arial;font-weight:no
150000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Derivatives Policy [Text Block]<div> <p style="margin-bottom:0pt;margin-top:13pt;text-align:justify;text-indent:0%;font-style:italic;font-size:10pt;font-family:Arial;font-weight:n
160000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Trade And Other Accounts Receivable Policy<div> <p style="margin-bottom:0pt;margin-top:13pt;text-align:justify;text-indent:0%;font-weight:bold;font-size:10pt;font-family:Arial;font-style:nor
170000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Inventory Policy [Text Block]<div> <p style="margin-bottom:0pt;margin-top:4pt;text-align:justify;text-indent:0%;font-weight:bold;font-size:10pt;font-family:Arial;font-style:norm
180000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Property Plant And Equipment Policy [Text Block]<div> <p style="margin-bottom:0pt;margin-top:13pt;text-align:justify;text-indent:0%;font-weight:bold;font-size:10pt;font-family:Arial;font-style:nor
190000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Goodwill And Intangible Assets Goodwill Policy<div> <p style="margin-bottom:0pt;margin-top:13pt;text-align:justify;text-indent:0%;font-weight:bold;font-size:10pt;font-family:Arial;font-style:nor
200000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Intangible Assets Finite Lived Policy<div> <p style="margin-bottom:0pt;margin-top:13pt;text-align:justify;text-indent:0%;font-weight:bold;font-size:10pt;font-family:Arial;font-style:nor
210000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]New Accounting Pronouncements Policy Policy [Text Block]<div> <p style="margin-bottom:0pt;margin-top:13pt;text-align:justify;text-indent:0%;font-weight:bold;font-size:10pt;font-family:Arial;font-style:nor
220000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Earnings Per Share Policy [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no
230000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Segment Reporting Policy Policy [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100310 - Disclosure - ACCOUNTING POLICIES (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureACCOUNTINGPOLICIESTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Schedule Of Credit Losses For Financing Receivables Current Table [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no
20000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Schedule Of New Accounting Pronouncements And Changes In Accounting Principles [Text Block]<div> <p style="text-align:justify;margin-top:9pt;margin-bottom:0pt;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100320 - Disclosure - EARNINGS PER SHARE (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEARNINGSPERSHARETables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Schedule Of Earnings Per Share Basic And Diluted Table [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100330 - Disclosure - OTHER INCOME (EXPENSE), NET (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureOTHERINCOMEEXPENSENETTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Schedule Of Other Nonoperating Income Expense Table [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no
20000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Realized Gain Loss On Investments Table [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100340 - Disclosure - INVESTMENTS (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINVESTMENTSTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Schedule Of Cash Cash Equivalents And Investments Table [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no
20000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Schedule Of Unrealized Loss On Investments Table [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no
30000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Investments Classified By Contractual Maturity Date Table [Text Block]<div> <p style="margin-bottom:0pt;margin-top:13pt;text-align:justify;text-indent:0%;font-weight:bold;font-size:10pt;font-family:Arial;font-style:nor

Component: (Network and Table)
Network
100350 - Disclosure - DERIVATIVES (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDERIVATIVESTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Derivative Instruments Gain Loss By Hedging Relationship [Axis]Hedging Designation [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Hedging Relationship [Domain]Hedging Designation [Domain]Schedule Of Derivative Instruments In Statement Of Financial Position Fair Value [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no
20000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Cash Flow Hedging [Member]Hedging Designation [Domain]Schedule Of Derivative Instruments Gain Loss In Statement Of Financial Performance [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no
30000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Hedging Relationship [Domain]Nondesignated [Member]Schedule Of Derivative Instruments Gain Loss In Statement Of Financial Performance [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no
40000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Fair Value Hedging [Member]Hedging Designation [Domain]Schedule Of Derivative Instruments Gain Loss In Statement Of Financial Performance [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100360 - Disclosure - FAIR VALUE MEASUREMENTS (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFAIRVALUEMEASUREMENTSTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Schedule Of Fair Value Assets And Liabilities Measured On Recurring Basis Table [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no
20000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Reconciliation Of Assets Measured At Fair Value On Recurring Basis To Balance Sheet Presentation Table [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100370 - Disclosure - INVENTORIES (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINVENTORIESTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Schedule Of Inventory Current Table [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100380 - Disclosure - PROPERTY AND EQUIPMENT (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosurePROPERTYANDEQUIPMENTTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Property Plant And Equipment [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100390 - Disclosure - BUSINESS COMBINATIONS (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureBUSINESSCOMBINATIONSTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Business Acquisition [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Linked In Corporation [Member]Schedule Of Business Acquisitions By Acquisition [Text Block]<div> <p style="text-align:justify;margin-top:9pt;margin-bottom:0pt;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no
20000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Linked In Corporation [Member]Schedule Of Acquired Finite Lived Intangible Assets By Major Class [Text Block]<div> <p style="text-align:justify;margin-top:9pt;margin-bottom:0pt;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no
30000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Business Acquisition Acquiree [Domain]Schedule Of Acquired Finite Lived Intangible Assets By Major Class [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no
40000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Linked In Corporation [Member]Revenue And Operating Loss Attributable To Acquiree Since Acquisition Date Table [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no
50000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Linked In Corporation [Member]Business Acquisition Pro Forma Information [Text Block]<div> <p style="text-align:justify;margin-top:9pt;margin-bottom:0pt;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100400 - Disclosure - GOODWILL (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureGOODWILLTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Schedule Of Goodwill [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100410 - Disclosure - INTANGIBLE ASSETS (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINTANGIBLEASSETSTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Schedule Of Finite Lived Intangible Assets Table [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no
20000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Schedule Of Acquired Finite Lived Intangible Assets By Major Class [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no
30000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Scheduleof Finite Lived Intangible Assets Future Amortization Expense Table [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100420 - Disclosure - DEBT (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDEBTTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Schedule Of Debt Instruments [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no
20000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Schedule Of Maturities Of Long Term Debt Table [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100430 - Disclosure - INCOME TAXES (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINCOMETAXESTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Schedule Of Components Of Income Tax Expense Benefit Table [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no
20000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Schedule Of Income Before Income Tax Domestic And Foreign Table [Text Block]<div> <p style="margin-bottom:0pt;margin-top:0pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no
30000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Schedule Of Effective Income Tax Rate Reconciliation Table [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no
40000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Schedule Of Deferred Tax Assets And Liabilities Table [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no
50000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Summary Of Income Tax Contingencies [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100440 - Disclosure - RESTRUCTURING CHARGES (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureRESTRUCTURINGCHARGESTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Schedule Of Restructuring Reserve By Type Of Cost [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100450 - Disclosure - UNEARNED REVENUE (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureUNEARNEDREVENUETables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Deferred Revenue By Segment [Text Block]<div> <p style="text-align:justify;margin-top:9pt;margin-bottom:0pt;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100460 - Disclosure - COMMITMENTS (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureCOMMITMENTSTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Schedule Of Future Minimum Rental Payments For Operating Leases Table [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no
20000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Schedule Of Future Minimum Lease Payments For Capital Leases Table [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100470 - Disclosure - STOCKHOLDERS' EQUITY (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSTOCKHOLDERSEQUITYTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Schedule Of Common Stock Outstanding Roll Forward Table [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no
20000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Share Repurchase Program Disclosure Table [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no
30000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Dividends Declared Table [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100480 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE INCOME (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureACCUMULATEDOTHERCOMPREHENSIVEINCOMETables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Schedule Of Accumulated Other Comprehensive Income Loss Table [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100490 - Disclosure - EMPLOYEE STOCK AND SAVINGS PLANS (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEMPLOYEESTOCKANDSAVINGSPLANSTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Schedule Of Compensation Cost For Share Based Payment Arrangements Allocation Of Share Based Compensation Costs By Plan Table [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no
20000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Method Used Table [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no
30000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Disclosure Of Share Based Compensation Arrangements By Share Based Payment Award [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no
40000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Schedule Of Share Based Compensation Employee Stock Purchase Plan Activity Table [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100500 - Disclosure - SEGMENT INFORMATION AND GEOGRAPHIC DATA (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSEGMENTINFORMATIONANDGEOGRAPHICDATATables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Reconciliation Of Revenue From Segments To Consolidated [Text Block]<div> <p style="margin-bottom:0pt;margin-top:0pt;text-align:justify;text-indent:0%;font-size:9pt;">&nbsp;</p> <div> <table border="0" cellspacing="0
20000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Reconciliation Of Operating Profit Loss From Segments To Consolidated [Text Block]<div> <p style="margin-bottom:0pt;margin-top:0pt;text-align:justify;text-indent:0%;font-size:9pt;">&nbsp;</p> <div> <table border="0" cellspacing="0
30000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Schedule Of Revenue From External Customers Attributed To Foreign Countries By Geographic Area [Text Block]<div> <p style="margin-bottom:0pt;margin-top:0pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no
40000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Schedule Of Entity Wide Information Revenue From External Customers By Products And Services [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no
50000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Schedule Of Entity Wide Disclosure On Geographic Areas Long Lived Assets In Individual Foreign Countries By Country [Text Block]<div> <p style="margin-bottom:0pt;margin-top:9pt;text-align:justify;text-indent:0%;font-size:10pt;font-family:Arial;font-weight:normal;font-style:no

Component: (Network and Table)
Network
100510 - Disclosure - QUARTERLY INFORMATION (UNAUDITED) (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureQUARTERLYINFORMATIONUNAUDITEDTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Schedule Of Quarterly Financial Information Table [Text Block]<div> <p style="margin-bottom:0pt;margin-top:0pt;text-align:justify;text-indent:0%;font-size:8pt;">&nbsp;</p> <div> <table border="0" cellspacing="0

Component: (Network and Table)
Network
100520 - Disclosure - Accounting Policies - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureAccountingPoliciesAdditionalInformationDetail)
TableSignificant Accounting Policies [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Deferred Revenue Arrangement Type [Axis]Range [Axis]Property Plant And Equipment By Type [Axis]Adjustments For New Accounting Pronouncements [Axis]Statement Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Windows Ten Deferral [Member]Minimum [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Revenue Recognition PeriodP2Y
20000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Windows Ten Deferral [Member]Maximum [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Revenue Recognition PeriodP4Y
30000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Advertising Expense1500000000USD-8
40000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Advertising Expense1600000000USD-8
50000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Advertising Expense1900000000USD-8
60000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Minimum [Member]Computer Equipment [Member]Type Of Adoption [Member]Scenario Unspecified [Domain]Property Plant And Equipment Useful LifeP2Y
70000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Maximum [Member]Computer Equipment [Member]Type Of Adoption [Member]Scenario Unspecified [Domain]Property Plant And Equipment Useful LifeP3Y
80000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Maximum [Member]Building And Building Improvements [Member]Type Of Adoption [Member]Scenario Unspecified [Domain]Property Plant And Equipment Useful LifeP15Y
90000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Maximum [Member]Leasehold Improvements [Member]Type Of Adoption [Member]Scenario Unspecified [Domain]Property Plant And Equipment Useful LifeP20Y
100000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Minimum [Member]Software And Software Development Costs [Member]Type Of Adoption [Member]Scenario Unspecified [Domain]Property Plant And Equipment Useful LifeP3Y
110000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Minimum [Member]Leasehold Improvements [Member]Type Of Adoption [Member]Scenario Unspecified [Domain]Property Plant And Equipment Useful LifeP3Y
120000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Maximum [Member]Software And Software Development Costs [Member]Type Of Adoption [Member]Scenario Unspecified [Domain]Property Plant And Equipment Useful LifeP7Y
130000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Maximum [Member]Furniture And Fixtures [Member]Type Of Adoption [Member]Scenario Unspecified [Domain]Property Plant And Equipment Useful LifeP10Y
140000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Minimum [Member]Furniture And Fixtures [Member]Type Of Adoption [Member]Scenario Unspecified [Domain]Property Plant And Equipment Useful LifeP1Y
150000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Minimum [Member]Building And Building Improvements [Member]Type Of Adoption [Member]Scenario Unspecified [Domain]Property Plant And Equipment Useful LifeP5Y
160000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Maximum [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Finite Lived Intangible Asset Useful LifeP15Y
170000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Minimum [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Finite Lived Intangible Asset Useful LifeP1Y
180000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Operating Lease Right Of Use Assets6600000000USD-8
190000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Operating Lease Right Of Use Assets5200000000USD-8
200000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Operating Lease Liabilities5200000000USD-8
210000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Operating Lease Liabilities6600000000USD-8
220000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net23317000000USD-6PE1 , PE2
230000789019 (http://www.sec.gov/CIK)2017-01-01 - 2017-03-31Entity [Domain]Windows Ten Deferral [Member]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net1500000000USD-8
240000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Sales Revenue Net0USD-6
250000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net20614000000USD-6PE3
260000789019 (http://www.sec.gov/CIK)2016-01-01 - 2016-03-31Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net20531000000USD-6PE3
270000789019 (http://www.sec.gov/CIK)2015-10-01 - 2015-12-31Entity [Domain]Windows Ten Deferral [Member]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net1700000000USD-8
280000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Windows Ten Deferral [Member]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net1300000000USD-8
290000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Plan [Member]Sales Revenue Net96571000000USD-6
300000789019 (http://www.sec.gov/CIK)2016-10-01 - 2016-12-31Entity [Domain]Windows Ten Deferral [Member]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net2000000000USD-8
310000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net85320000000USD-6PE3
320000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Plan [Member]Sales Revenue Net91154000000USD-6
330000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Windows Ten Deferral [Member]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net6600000000USD-8
340000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Sales Revenue Net0USD-6
350000789019 (http://www.sec.gov/CIK)2016-01-01 - 2016-03-31Entity [Domain]Windows Ten Deferral [Member]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net1600000000USD-8
360000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Windows Ten Deferral [Member]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net1400000000USD-8
370000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Sales Revenue Net5834000000USD-6
380000789019 (http://www.sec.gov/CIK)2017-01-01 - 2017-03-31Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net22090000000USD-6PE1 , PE2
390000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Sales Revenue Net6621000000USD-6
400000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Windows Ten Deferral [Member]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net6700000000USD-8
410000789019 (http://www.sec.gov/CIK)2016-07-01 - 2016-09-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net20453000000USD-6PE1 , PE2
420000789019 (http://www.sec.gov/CIK)2016-07-01 - 2016-09-30Entity [Domain]Windows Ten Deferral [Member]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net1900000000USD-8
430000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net89950000000USD-6PE1 , PE2
440000789019 (http://www.sec.gov/CIK)2016-10-01 - 2016-12-31Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net24090000000USD-6PE1 , PE2
450000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net93580000000USD-6
460000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Windows Ten Deferral [Member]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net2000000000USD-8
470000789019 (http://www.sec.gov/CIK)2015-10-01 - 2015-12-31Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net23796000000USD-6PE3
480000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net20379000000USD-6PE3
490000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Income Tax Expense Benefit2953000000USD-6
500000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Plan [Member]Income Tax Expense Benefit4412000000USD-6
510000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Income Tax Expense Benefit1945000000USD-6
520000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Income Tax Expense Benefit2147000000USD-6
530000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Income Tax Expense Benefit0USD-6
540000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Plan [Member]Income Tax Expense Benefit5100000000USD-6
550000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Income Tax Expense Benefit6314000000USD-6
560000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Income Tax Expense Benefit2467000000USD-6
570000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Income Tax Expense Benefit0USD-6
580000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Accounts Receivable Net And Other Assets2700000000USD-8
590000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Accounts Receivable Net And Other Assets4200000000USD-8
600000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Plan [Member]Deferred Revenue26656000000USD-6
610000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Deferred Revenue44479000000USD-6
620000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Deferred Revenue-11716000000USD-6
630000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Plan [Member]Deferred Revenue22193000000USD-6
640000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Deferred Revenue0USD-6
650000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Deferred Revenue-17823000000USD-6
660000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Deferred Revenue33909000000USD-6
670000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Deferred Revenue0USD-6
680000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Deferred Tax Liabilities Noncurrent5203000000USD-6
690000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Deferred Tax Liabilities Noncurrent0USD-6
700000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Deferred Tax Liabilities Noncurrent531000000USD-6
710000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Plan [Member]Deferred Tax Liabilities Noncurrent6313000000USD-6
720000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Deferred Tax Liabilities Noncurrent1476000000USD-6
730000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Deferred Tax Liabilities Noncurrent4837000000USD-6
740000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Deferred Tax Liabilities Noncurrent0USD-6
750000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Range [Member]Property Plant And Equipment Type [Domain]Type Of Adoption [Member]Scenario Plan [Member]Deferred Tax Liabilities Noncurrent5734000000USD-6

Component: (Network and Table)
Network
100530 - Disclosure - Allowance for Doubtful Accounts (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureAllowanceForDoubtfulAccountsDetail)
TableValuation and Qualifying Accounts Disclosure [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Valuation Allowances And Reserves Type [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Allowance For Doubtful Accounts [Member]Valuation Allowances And Reserves Balance405000000USD-6
20000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Allowance For Doubtful Accounts [Member]Valuation Allowances And Reserves Balance426000000USD-6
30000789019 (http://www.sec.gov/CIK)2014-06-30Entity [Domain]Allowance For Doubtful Accounts [Member]Valuation Allowances And Reserves Balance301000000USD-6
40000789019 (http://www.sec.gov/CIK)2015-06-30Entity [Domain]Allowance For Doubtful Accounts [Member]Valuation Allowances And Reserves Balance335000000USD-6
50000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Allowance For Doubtful Accounts [Member]Valuation Allowances And Reserves Charged To Costs And Other146000000USD-6
60000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Allowance For Doubtful Accounts [Member]Valuation Allowances And Reserves Charged To Costs And Other85000000USD-6
70000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Allowance For Doubtful Accounts [Member]Valuation Allowances And Reserves Charged To Costs And Other77000000USD-6
80000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Allowance For Doubtful Accounts [Member]Valuation Allowances And Reserves Deductions43000000USD-6
90000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Allowance For Doubtful Accounts [Member]Valuation Allowances And Reserves Deductions55000000USD-6
100000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Allowance For Doubtful Accounts [Member]Valuation Allowances And Reserves Deductions106000000USD-6

Component: (Network and Table)
Network
100540 - Disclosure - Expected Impacts of Adoption of Standards Related to Revenue Recognition and Leases to Reported Results - (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureExpectedImpactsOfAdoptionOfStandardsRelatedToRevenueRecognitionAndLeasesToReportedResultsDetail)
TableNew Accounting Pronouncements Or Change In Accounting Principle [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Adjustments For New Accounting Pronouncements [Axis]Statement Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net23317000000USD-6PE1 , PE2
20000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Sales Revenue Net0USD-6
30000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net20614000000USD-6PE3
40000789019 (http://www.sec.gov/CIK)2016-01-01 - 2016-03-31Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net20531000000USD-6PE3
50000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Sales Revenue Net96571000000USD-6
60000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net85320000000USD-6PE3
70000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Sales Revenue Net91154000000USD-6
80000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Sales Revenue Net0USD-6
90000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Sales Revenue Net5834000000USD-6
100000789019 (http://www.sec.gov/CIK)2017-01-01 - 2017-03-31Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net22090000000USD-6PE1 , PE2
110000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Sales Revenue Net6621000000USD-6
120000789019 (http://www.sec.gov/CIK)2016-07-01 - 2016-09-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net20453000000USD-6PE1 , PE2
130000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net89950000000USD-6PE1 , PE2
140000789019 (http://www.sec.gov/CIK)2016-10-01 - 2016-12-31Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net24090000000USD-6PE1 , PE2
150000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net93580000000USD-6
160000789019 (http://www.sec.gov/CIK)2015-10-01 - 2015-12-31Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net23796000000USD-6PE3
170000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net20379000000USD-6PE3
180000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Income Tax Expense Benefit2953000000USD-6
190000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Income Tax Expense Benefit4412000000USD-6
200000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Income Tax Expense Benefit1945000000USD-6
210000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Income Tax Expense Benefit2147000000USD-6
220000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Income Tax Expense Benefit0USD-6
230000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Income Tax Expense Benefit5100000000USD-6
240000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Income Tax Expense Benefit6314000000USD-6
250000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Income Tax Expense Benefit2467000000USD-6
260000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Income Tax Expense Benefit0USD-6
270000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Net Income Loss16798000000USD-6PE4
280000789019 (http://www.sec.gov/CIK)2016-01-01 - 2016-03-31Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Net Income Loss3756000000USD-6
290000789019 (http://www.sec.gov/CIK)2016-10-01 - 2016-12-31Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Net Income Loss5200000000USD-6PE1
300000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Net Income Loss21204000000USD-6PE1 , PE5
310000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Net Income Loss0USD-6
320000789019 (http://www.sec.gov/CIK)2015-10-01 - 2015-12-31Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Net Income Loss5018000000USD-6
330000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Net Income Loss12193000000USD-6
340000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Net Income Loss3122000000USD-6PE4
350000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Net Income Loss4902000000USD-6
360000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Net Income Loss3741000000USD-6
370000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Net Income Loss25489000000USD-6
380000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Net Income Loss6513000000USD-6PE1 , PE5
390000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Net Income Loss0USD-6
400000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Net Income Loss20539000000USD-6
410000789019 (http://www.sec.gov/CIK)2016-07-01 - 2016-09-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Net Income Loss4690000000USD-6PE1
420000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Net Income Loss4285000000USD-6
430000789019 (http://www.sec.gov/CIK)2017-01-01 - 2017-03-31Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Net Income Loss4801000000USD-6PE1
440000789019 (http://www.sec.gov/CIK)2016-07-01 - 2016-09-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Earnings Per Share Diluted0.60USD / Shares2PE1
450000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Earnings Per Share Diluted1.48USD / Shares2
460000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Earnings Per Share Diluted0USD / Shares0
470000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Earnings Per Share Diluted2.56USD / Shares2
480000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Earnings Per Share Diluted0.83USD / Shares2PE1 , PE5
490000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Earnings Per Share Diluted0.39USD / Shares2PE4
500000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Earnings Per Share Diluted0USD / Shares0
510000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Earnings Per Share Diluted0.46USD / Shares2
520000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Earnings Per Share Diluted2.71USD / Shares2PE1 , PE5
530000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Earnings Per Share Diluted3.25USD / Shares2
540000789019 (http://www.sec.gov/CIK)2016-10-01 - 2016-12-31Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Earnings Per Share Diluted0.66USD / Shares2PE1
550000789019 (http://www.sec.gov/CIK)2015-10-01 - 2015-12-31Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Earnings Per Share Diluted0.62USD / Shares2
560000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Earnings Per Share Diluted0.54USD / Shares2
570000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Earnings Per Share Diluted2.10USD / Shares2PE4
580000789019 (http://www.sec.gov/CIK)2017-01-01 - 2017-03-31Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Earnings Per Share Diluted0.61USD / Shares2PE1
590000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Earnings Per Share Diluted0.61USD / Shares2
600000789019 (http://www.sec.gov/CIK)2016-01-01 - 2016-03-31Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Earnings Per Share Diluted0.47USD / Shares2
610000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Accounts Receivable Net Current22431000000USD-6
620000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Accounts Receivable Net Current0USD-6
630000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Accounts Receivable Net Current2359000000USD-6
640000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Accounts Receivable Net Current18277000000USD-6
650000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Accounts Receivable Net Current19792000000USD-6
660000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Accounts Receivable Net Current0USD-6
670000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Accounts Receivable Net Current20636000000USD-6
680000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Accounts Receivable Net Current2639000000USD-6
690000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Operating Lease Right Of Use Asset0USD-6
700000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Operating Lease Right Of Use Asset6555000000USD-6
710000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Operating Lease Right Of Use Asset0USD-6
720000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Operating Lease Right Of Use Asset0USD-6
730000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Operating Lease Right Of Use Asset5198000000USD-6
740000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Operating Lease Right Of Use Asset5198000000USD-6
750000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Operating Lease Right Of Use Asset0USD-6
760000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Operating Lease Right Of Use Asset6555000000USD-6
770000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Other Assets1872000000USD-6
780000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Other Assets11179000000USD-6
790000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Other Assets11147000000USD-6
800000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Other Assets0USD-6
810000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Other Assets11180000000USD-6
820000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Other Assets0USD-6
830000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Other Assets9308000000USD-6
840000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Other Assets32000000USD-6
850000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Deferred Revenue26656000000USD-6
860000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Deferred Revenue44479000000USD-6
870000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Deferred Revenue-11716000000USD-6
880000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Deferred Revenue22193000000USD-6
890000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Deferred Revenue0USD-6
900000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Deferred Revenue-17823000000USD-6
910000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Deferred Revenue33909000000USD-6
920000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Deferred Revenue0USD-6
930000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Deferred Tax Liabilities Noncurrent5203000000USD-6
940000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Deferred Tax Liabilities Noncurrent0USD-6
950000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Deferred Tax Liabilities Noncurrent531000000USD-6
960000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Deferred Tax Liabilities Noncurrent6313000000USD-6
970000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Deferred Tax Liabilities Noncurrent1476000000USD-6
980000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Deferred Tax Liabilities Noncurrent4837000000USD-6
990000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Deferred Tax Liabilities Noncurrent0USD-6
1000000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Deferred Tax Liabilities Noncurrent5734000000USD-6
1010000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Operating Lease Liability5372000000USD-6
1020000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Operating Lease Liability0USD-6
1030000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Operating Lease Liability5372000000USD-6
1040000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Operating Lease Liability4257000000USD-6
1050000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Operating Lease Liability0USD-6
1060000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Operating Lease Liability0USD-6
1070000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Operating Lease Liability0USD-6
1080000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Operating Lease Liability4257000000USD-6
1090000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Other Liabilities1183000000USD-6
1100000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Other Liabilities941000000USD-6
1110000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Other Liabilities19589000000USD-6
1120000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Other Liabilities17000000USD-6
1130000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Other Liabilities24621000000USD-6
1140000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Other Liabilities23464000000USD-6
1150000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Other Liabilities-26000000USD-6
1160000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Other Liabilities20547000000USD-6
1170000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Stockholders Equity83090000000USD-6
1180000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Stockholders Equity72394000000USD-6
1190000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Stockholders Equity0USD-6
1200000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Stockholders Equity15317000000USD-6
1210000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Stockholders Equity87711000000USD-6
1220000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Stockholders Equity11093000000USD-6
1230000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Stockholders Equity0USD-6
1240000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Stockholders Equity71997000000USD-6
1250000789019 (http://www.sec.gov/CIK)2015-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Stockholders Equity80083000000USD-6

Component: (Network and Table)
Network
100550 - Disclosure - Basic and Diluted Earnings Per Share (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureBasicAndDilutedEarningsPerShareDetail)
TableSchedule of Earnings Per Share, Basic and Diluted, by Common Class [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Net Income Loss16798000000USD-6PE4
20000789019 (http://www.sec.gov/CIK)2016-01-01 - 2016-03-31Entity [Domain]Net Income Loss3756000000USD-6
30000789019 (http://www.sec.gov/CIK)2016-10-01 - 2016-12-31Entity [Domain]Net Income Loss5200000000USD-6PE1
40000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Net Income Loss21204000000USD-6PE1 , PE5
50000789019 (http://www.sec.gov/CIK)2015-10-01 - 2015-12-31Entity [Domain]Net Income Loss5018000000USD-6
60000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Net Income Loss12193000000USD-6
70000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Net Income Loss3122000000USD-6PE4
80000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Net Income Loss4902000000USD-6
90000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Net Income Loss6513000000USD-6PE1 , PE5
100000789019 (http://www.sec.gov/CIK)2016-07-01 - 2016-09-30Entity [Domain]Net Income Loss4690000000USD-6PE1
110000789019 (http://www.sec.gov/CIK)2017-01-01 - 2017-03-31Entity [Domain]Net Income Loss4801000000USD-6PE1
120000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Weighted Average Number Of Shares Outstanding Basic7746000000Shares-6
130000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Weighted Average Number Of Shares Outstanding Basic7925000000Shares-6
140000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Weighted Average Number Of Shares Outstanding Basic8177000000Shares-6
150000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Incremental Common Shares Attributable To Share Based Payment Arrangements88000000Shares-6
160000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Incremental Common Shares Attributable To Share Based Payment Arrangements77000000Shares-6
170000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Incremental Common Shares Attributable To Share Based Payment Arrangements86000000Shares-6
180000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Weighted Average Number Of Diluted Shares Outstanding8254000000Shares-6
190000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Weighted Average Number Of Diluted Shares Outstanding7832000000Shares-6
200000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Weighted Average Number Of Diluted Shares Outstanding8013000000Shares-6
210000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Earnings Per Share Basic0.61USD / Shares2
220000789019 (http://www.sec.gov/CIK)2016-10-01 - 2016-12-31Entity [Domain]Earnings Per Share Basic0.67USD / Shares2PE1
230000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Earnings Per Share Basic0.40USD / Shares2
240000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Earnings Per Share Basic2.74USD / Shares2PE1
250000789019 (http://www.sec.gov/CIK)2017-01-01 - 2017-03-31Entity [Domain]Earnings Per Share Basic0.62USD / Shares2PE1
260000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Earnings Per Share Basic0.84USD / Shares2PE1
270000789019 (http://www.sec.gov/CIK)2015-10-01 - 2015-12-31Entity [Domain]Earnings Per Share Basic0.63USD / Shares2
280000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Earnings Per Share Basic2.12USD / Shares2
290000789019 (http://www.sec.gov/CIK)2016-07-01 - 2016-09-30Entity [Domain]Earnings Per Share Basic0.60USD / Shares2PE1
300000789019 (http://www.sec.gov/CIK)2016-01-01 - 2016-03-31Entity [Domain]Earnings Per Share Basic0.48USD / Shares2
310000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Earnings Per Share Basic1.49USD / Shares2
320000789019 (http://www.sec.gov/CIK)2016-07-01 - 2016-09-30Entity [Domain]Earnings Per Share Diluted0.60USD / Shares2PE1
330000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Earnings Per Share Diluted1.48USD / Shares2
340000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Earnings Per Share Diluted0.83USD / Shares2PE1 , PE5
350000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Earnings Per Share Diluted0.39USD / Shares2PE4
360000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Earnings Per Share Diluted2.71USD / Shares2PE1 , PE5
370000789019 (http://www.sec.gov/CIK)2016-10-01 - 2016-12-31Entity [Domain]Earnings Per Share Diluted0.66USD / Shares2PE1
380000789019 (http://www.sec.gov/CIK)2015-10-01 - 2015-12-31Entity [Domain]Earnings Per Share Diluted0.62USD / Shares2
390000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Earnings Per Share Diluted2.10USD / Shares2PE4
400000789019 (http://www.sec.gov/CIK)2017-01-01 - 2017-03-31Entity [Domain]Earnings Per Share Diluted0.61USD / Shares2PE1
410000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Earnings Per Share Diluted0.61USD / Shares2
420000789019 (http://www.sec.gov/CIK)2016-01-01 - 2016-03-31Entity [Domain]Earnings Per Share Diluted0.47USD / Shares2

Component: (Network and Table)
Network
100560 - Disclosure - Components of Other Income (Expense), Net (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureComponentsOfOtherIncomeExpenseNetDetail)
TableOther Income Expense [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Investment Income Net766000000USD-6
20000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Investment Income Net1387000000USD-6
30000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Investment Income Net903000000USD-6
40000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Interest Expense2222000000USD-6
50000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Interest Expense1243000000USD-6
60000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Interest Expense781000000USD-6
70000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Gain Loss On Investments2583000000USD-6
80000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Gain Loss On Investments716000000USD-6
90000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Gain Loss On Investments668000000USD-6
100000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Gain Loss On Derivative Instruments Net Pretax-510000000USD-6
110000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Gain Loss On Derivative Instruments Net Pretax-443000000USD-6
120000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Gain Loss On Derivative Instruments Net Pretax-423000000USD-6
130000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Foreign Currency Transaction Gain Loss Before Tax-164000000USD-6
140000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Foreign Currency Transaction Gain Loss Before Tax-121000000USD-6
150000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Foreign Currency Transaction Gain Loss Before Tax335000000USD-6
160000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Other Nonoperating Income Expense-195000000USD-6
170000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Other Nonoperating Income Expense-251000000USD-6
180000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Other Nonoperating Income Expense-267000000USD-6
190000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Nonoperating Income Expense346000000USD-6
200000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Nonoperating Income Expense823000000USD-6
210000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Nonoperating Income Expense-431000000USD-6

Component: (Network and Table)
Network
100570 - Disclosure - Net Recognized Gains (Losses) on Investments (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureNetRecognizedGainsLossesOnInvestmentsDetail)
TableSchedule of Gain (Loss) on Investments [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Marketable Securities Realized Gain Loss Other Than Temporary Impairments Amount55000000USD-6
20000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Marketable Securities Realized Gain Loss Other Than Temporary Impairments Amount322000000USD-6
30000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Marketable Securities Realized Gain Loss Other Than Temporary Impairments Amount183000000USD-6
40000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Available For Sale Securities Gross Realized Gains1376000000USD-6
50000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Available For Sale Securities Gross Realized Gains3064000000USD-6
60000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Available For Sale Securities Gross Realized Gains1176000000USD-6
70000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Available For Sale Securities Gross Realized Losses426000000USD-6
80000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Available For Sale Securities Gross Realized Losses386000000USD-6
90000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Available For Sale Securities Gross Realized Losses277000000USD-6
100000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Gain Loss On Investments2583000000USD-6
110000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Gain Loss On Investments716000000USD-6
120000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Gain Loss On Investments668000000USD-6

Component: (Network and Table)
Network
100580 - Disclosure - Investment Components, Including Associated Derivatives (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureInvestmentComponentsIncludingAssociatedDerivativesDetail)
TableCash, Cash Equivalents and Investments [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Investment Type [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Money Market Funds [Member]Available For Sale Securities Amortized Cost1478000000USD-6
20000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Amortized Cost4786000000USD-6
30000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Commercial Paper [Member]Available For Sale Securities Amortized Cost319000000USD-6
40000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Amortized Cost5276000000USD-6
50000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Money Market Funds [Member]Available For Sale Securities Amortized Cost1012000000USD-6
60000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Certificates Of Deposit [Member]Available For Sale Securities Amortized Cost1358000000USD-6
70000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Amortized Cost5597000000USD-6
80000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Investment Type Categorization [Member]Available For Sale Securities Amortized Cost136160000000USD-6
90000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Amortized Cost112119000000USD-6
100000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]U S States And Political Subdivisions [Member]Available For Sale Securities Amortized Cost285000000USD-6
110000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Amortized Cost2472000000USD-6
120000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Amortized Cost5502000000USD-6
130000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Amortized Cost6509000000USD-6
140000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Investment Type Categorization [Member]Available For Sale Securities Amortized Cost119078000000USD-6
150000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Certificates Of Deposit [Member]Available For Sale Securities Amortized Cost1000000000USD-6
160000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Amortized Cost3921000000USD-6
170000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Amortized Cost4789000000USD-6
180000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Commercial Paper [Member]Available For Sale Securities Amortized Cost298000000USD-6
190000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Amortized Cost89970000000USD-6
200000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]U S States And Political Subdivisions [Member]Available For Sale Securities Amortized Cost284000000USD-6
210000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Other Security Investments [Member]Equity Method Investment Aggregate Cost615000000USD-6
220000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Other Security Investments [Member]Equity Method Investment Aggregate Cost523000000USD-6
230000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Cash [Member]Cash3624000000USD-6
240000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Cash [Member]Cash3501000000USD-6
250000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Other Security Investments [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax0USD-6
260000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax245000000USD-6
270000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Investment Type Categorization [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax4895000000USD-6
280000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax10000000USD-6
290000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Money Market Funds [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax0USD-6
300000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]U S States And Political Subdivisions [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax43000000USD-6
310000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax110000000USD-6
320000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]U S States And Political Subdivisions [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax57000000USD-6
330000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Certificates Of Deposit [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax0USD-6
340000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax61000000USD-6
350000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax4452000000USD-6
360000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Certificates Of Deposit [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax0USD-6
370000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Investment Type Categorization [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax3267000000USD-6
380000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Commercial Paper [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax0USD-6
390000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Other Security Investments [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax0USD-6
400000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax3062000000USD-6
410000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Cash [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax0USD-6
420000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax85000000USD-6
430000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Money Market Funds [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax0USD-6
440000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax14000000USD-6
450000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax21000000USD-6
460000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Cash [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax0USD-6
470000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax2000000USD-6
480000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Commercial Paper [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax0USD-6
490000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Certificates Of Deposit [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0USD-6
500000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Commercial Paper [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0USD-6
510000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Investment Type Categorization [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax423000000USD-6
520000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Certificates Of Deposit [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0USD-6
530000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Commercial Paper [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0USD-6
540000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax35000000USD-6
550000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Investment Type Categorization [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax302000000USD-6
560000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax18000000USD-6
570000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax360000000USD-6
580000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]U S States And Political Subdivisions [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0USD-6
590000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax4000000USD-6
600000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax12000000USD-6
610000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Other Security Investments [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0USD-6
620000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Cash [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0USD-6
630000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Other Security Investments [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0USD-6
640000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax11000000USD-6
650000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax236000000USD-6
660000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Money Market Funds [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0USD-6
670000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax2000000USD-6
680000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax34000000USD-6
690000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax13000000USD-6
700000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Cash [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0USD-6
710000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Money Market Funds [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0USD-6
720000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]U S States And Political Subdivisions [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0USD-6
730000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities5500000000USD-6
740000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities6584000000USD-6
750000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Investment Type Categorization [Member]Available For Sale Securities139004000000USD-6
760000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities90204000000USD-6
770000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]U S States And Political Subdivisions [Member]Available For Sale Securities327000000USD-6
780000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities111844000000USD-6
790000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities5265000000USD-6
800000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Investment Type Categorization [Member]Available For Sale Securities123671000000USD-6
810000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]U S States And Political Subdivisions [Member]Available For Sale Securities342000000USD-6
820000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Certificates Of Deposit [Member]Available For Sale Securities1358000000USD-6
830000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Money Market Funds [Member]Available For Sale Securities1012000000USD-6
840000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities5494000000USD-6
850000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities3931000000USD-6
860000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities4808000000USD-6
870000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Money Market Funds [Member]Available For Sale Securities1478000000USD-6
880000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities4835000000USD-6
890000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Commercial Paper [Member]Available For Sale Securities298000000USD-6
900000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Commercial Paper [Member]Available For Sale Securities319000000USD-6
910000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Certificates Of Deposit [Member]Available For Sale Securities1000000000USD-6
920000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities9813000000USD-6
930000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Other Security Investments [Member]Equity Method Investments523000000USD-6
940000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Other Security Investments [Member]Equity Method Investments615000000USD-6
950000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Cash [Member]Cash And Cash Equivalents At Carrying Value3501000000USD-6
960000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Asset Backed Securities [Member]Cash And Cash Equivalents At Carrying Value0USD-6
970000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Corporate Debt Securities [Member]Cash And Cash Equivalents At Carrying Value0USD-6
980000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Commercial Paper [Member]Cash And Cash Equivalents At Carrying Value298000000USD-6
990000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]U S States And Political Subdivisions [Member]Cash And Cash Equivalents At Carrying Value0USD-6
1000000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Money Market Funds [Member]Cash And Cash Equivalents At Carrying Value1012000000USD-6
1010000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Equity Securities [Member]Cash And Cash Equivalents At Carrying Value0USD-6
1020000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Money Market Funds [Member]Cash And Cash Equivalents At Carrying Value1478000000USD-6
1030000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Investment Type Categorization [Member]Cash And Cash Equivalents At Carrying Value7663000000USD-6
1040000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Equity Securities [Member]Cash And Cash Equivalents At Carrying Value0USD-6
1050000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Commercial Paper [Member]Cash And Cash Equivalents At Carrying Value69000000USD-6
1060000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Cash And Cash Equivalents At Carrying Value100000000USD-6
1070000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Certificates Of Deposit [Member]Cash And Cash Equivalents At Carrying Value868000000USD-6
1080000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Asset Backed Securities [Member]Cash And Cash Equivalents At Carrying Value0USD-6
1090000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Certificates Of Deposit [Member]Cash And Cash Equivalents At Carrying Value972000000USD-6
1100000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Foreign Government Debt Securities [Member]Cash And Cash Equivalents At Carrying Value731000000USD-6
1110000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Foreign Government Debt Securities [Member]Cash And Cash Equivalents At Carrying Value1504000000USD-6
1120000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Corporate Debt Securities [Member]Cash And Cash Equivalents At Carrying Value0USD-6
1130000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Cash [Member]Cash And Cash Equivalents At Carrying Value3624000000USD-6
1140000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Cash And Cash Equivalents At Carrying Value16000000USD-6
1150000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Other Security Investments [Member]Cash And Cash Equivalents At Carrying Value0USD-6
1160000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]U S States And Political Subdivisions [Member]Cash And Cash Equivalents At Carrying Value0USD-6
1170000789019 (http://www.sec.gov/CIK)2015-06-30Entity [Domain]Investment Type Categorization [Member]Cash And Cash Equivalents At Carrying Value5595000000USD-6
1180000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Investment Type Categorization [Member]Cash And Cash Equivalents At Carrying Value6510000000USD-6
1190000789019 (http://www.sec.gov/CIK)2014-06-30Entity [Domain]Investment Type Categorization [Member]Cash And Cash Equivalents At Carrying Value8669000000USD-6
1200000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Other Security Investments [Member]Cash And Cash Equivalents At Carrying Value0USD-6
1210000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Current0USD-6
1220000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]U S States And Political Subdivisions [Member]Available For Sale Securities Current342000000USD-6
1230000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Current3931000000USD-6
1240000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Commercial Paper [Member]Available For Sale Securities Current250000000USD-6
1250000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Current4763000000USD-6
1260000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Commercial Paper [Member]Available For Sale Securities Current0USD-6
1270000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Cash [Member]Available For Sale Securities Current0USD-6
1280000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Other Security Investments [Member]Available For Sale Securities Current-3000000USD-6
1290000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Money Market Funds [Member]Available For Sale Securities Current0USD-6
1300000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Other Security Investments [Member]Available For Sale Securities Current0USD-6
1310000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Current3761000000USD-6
1320000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Current4808000000USD-6
1330000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Cash [Member]Available For Sale Securities Current0USD-6
1340000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Investment Type Categorization [Member]Available For Sale Securities Current106730000000USD-6
1350000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]U S States And Political Subdivisions [Member]Available For Sale Securities Current327000000USD-6
1360000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Current90104000000USD-6
1370000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Current0USD-6
1380000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Current6584000000USD-6
1390000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Current111828000000USD-6
1400000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Current4835000000USD-6
1410000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Certificates Of Deposit [Member]Available For Sale Securities Current132000000USD-6
1420000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Certificates Of Deposit [Member]Available For Sale Securities Current386000000USD-6
1430000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Investment Type Categorization [Member]Available For Sale Securities Current125318000000USD-6
1440000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Money Market Funds [Member]Available For Sale Securities Current0USD-6
1450000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Asset Backed Securities [Member]Long Term Investments0USD-6
1460000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Corporate Debt Securities [Member]Long Term Investments0USD-6
1470000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Commercial Paper [Member]Long Term Investments0USD-6
1480000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Long Term Investments0USD-6
1490000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Foreign Government Debt Securities [Member]Long Term Investments0USD-6
1500000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Long Term Investments0USD-6
1510000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Certificates Of Deposit [Member]Long Term Investments0USD-6
1520000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Other Security Investments [Member]Long Term Investments523000000USD-6
1530000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Asset Backed Securities [Member]Long Term Investments0USD-6
1540000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]U S States And Political Subdivisions [Member]Long Term Investments0USD-6
1550000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Other Security Investments [Member]Long Term Investments618000000USD-6
1560000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Foreign Government Debt Securities [Member]Long Term Investments0USD-6
1570000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Equity Securities [Member]Long Term Investments9813000000USD-6
1580000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Cash [Member]Long Term Investments0USD-6
1590000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Money Market Funds [Member]Long Term Investments0USD-6
1600000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Certificates Of Deposit [Member]Long Term Investments0USD-6
1610000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Commercial Paper [Member]Long Term Investments0USD-6
1620000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Corporate Debt Securities [Member]Long Term Investments0USD-6
1630000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Cash [Member]Long Term Investments0USD-6
1640000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Investment Type Categorization [Member]Long Term Investments10431000000USD-6
1650000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Equity Securities [Member]Long Term Investments5500000000USD-6
1660000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Money Market Funds [Member]Long Term Investments0USD-6
1670000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]U S States And Political Subdivisions [Member]Long Term Investments0USD-6
1680000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Investment Type Categorization [Member]Long Term Investments6023000000USD-6

Component: (Network and Table)
Network
100590 - Disclosure - Investments - Cost Method - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureInvestmentsCostMethodAdditionalInformationDetail)
TableSchedule of Cost method Investments [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Fair Value By Measurement Frequency [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Measurements Nonrecurring [Member]Cost Method Investments1073000000USD-6
20000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Measurements Nonrecurring [Member]Cost Method Investments767000000USD-6

Component: (Network and Table)
Network
100600 - Disclosure - Investments - Secured Borrowings and Loaned Securities - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureInvestmentsSecuredBorrowingsAndLoanedSecuritiesAdditionalInformationDetail)
TableInvestment [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Investment Type [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Securities Received As Collateral3700000000USD-8
20000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Cash [Member]Securities Received As Collateral294000000USD-6

Component: (Network and Table)
Network
100610 - Disclosure - Unrealized Losses on Investments (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureUnrealizedLossesOnInvestmentsDetail)
TableInvestments, Unrealized Loss Position [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Major Types Of Debt And Equity Securities [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value1068000000USD-6
20000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value896000000USD-6
30000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value5816000000USD-6
40000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value4006000000USD-6
50000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value1180000000USD-6
60000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value87558000000USD-6
70000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value69000000USD-6
80000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Major Types Of Debt And Equity Securities [Domain]Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value12188000000USD-6
90000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value669000000USD-6
100000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Major Types Of Debt And Equity Securities [Domain]Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value93370000000USD-6
110000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value844000000USD-6
120000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value3452000000USD-6
130000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss6000000USD-6
140000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Major Types Of Debt And Equity Securities [Domain]Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss165000000USD-6
150000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss348000000USD-6
160000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss1000000USD-6
170000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss147000000USD-6
180000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss2000000USD-6
190000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss3000000USD-6
200000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss3000000USD-6
210000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss8000000USD-6
220000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Major Types Of Debt And Equity Securities [Domain]Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss367000000USD-6
230000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss3000000USD-6
240000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss11000000USD-6
250000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value177000000USD-6
260000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value148000000USD-6
270000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value371000000USD-6
280000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value23000000USD-6
290000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value390000000USD-6
300000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Major Types Of Debt And Equity Securities [Domain]Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value1967000000USD-6
310000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value198000000USD-6
320000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value788000000USD-6
330000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value322000000USD-6
340000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value35000000USD-6
350000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Major Types Of Debt And Equity Securities [Domain]Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value917000000USD-6
360000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value432000000USD-6
370000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss28000000USD-6
380000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss1000000USD-6
390000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss12000000USD-6
400000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss4000000USD-6
410000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss15000000USD-6
420000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Major Types Of Debt And Equity Securities [Domain]Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss137000000USD-6
430000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss8000000USD-6
440000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss1000000USD-6
450000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss24000000USD-6
460000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss89000000USD-6
470000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Major Types Of Debt And Equity Securities [Domain]Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss56000000USD-6
480000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss11000000USD-6
490000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Fair Value1266000000USD-6
500000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Major Types Of Debt And Equity Securities [Domain]Available For Sale Securities Continuous Unrealized Loss Position Fair Value94287000000USD-6
510000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Fair Value6248000000USD-6
520000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Fair Value1968000000USD-6
530000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Fair Value1286000000USD-6
540000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Fair Value3487000000USD-6
550000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Fair Value87929000000USD-6
560000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Fair Value846000000USD-6
570000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Fair Value217000000USD-6
580000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Fair Value1166000000USD-6
590000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Fair Value4029000000USD-6
600000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Major Types Of Debt And Equity Securities [Domain]Available For Sale Securities Continuous Unrealized Loss Position Fair Value14155000000USD-6
610000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss13000000USD-6
620000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss18000000USD-6
630000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss12000000USD-6
640000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Major Types Of Debt And Equity Securities [Domain]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss423000000USD-6
650000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss360000000USD-6
660000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss4000000USD-6
670000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss35000000USD-6
680000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss236000000USD-6
690000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Major Types Of Debt And Equity Securities [Domain]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss302000000USD-6
700000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss11000000USD-6
710000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss2000000USD-6
720000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss34000000USD-6

Component: (Network and Table)
Network
100620 - Disclosure - Debt Investment Maturities (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDebtInvestmentMaturitiesDetail)
TableInvestments Classified by Contractual Maturity Date [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Available For Sale Securities Debt Maturities Next Rolling Twelve Months Amortized Cost Basis18212000000USD-6
20000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Available For Sale Securities Debt Maturities Rolling Year Two Through Five Amortized Cost Basis102374000000USD-6
30000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Available For Sale Securities Debt Maturities Rolling Year Six Through Ten Amortized Cost Basis6478000000USD-6
40000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Available For Sale Securities Debt Maturities Rolling After Year Ten Amortized Cost Basis999000000USD-6
50000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Available For Sale Debt Securities Amortized Cost Basis128063000000USD-6
60000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Available For Sale Securities Debt Maturities Next Rolling Twelve Months Fair Value18188000000USD-6
70000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Available For Sale Securities Debt Maturities Rolling Year Two Through Five Fair Value102168000000USD-6
80000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Available For Sale Securities Debt Maturities Rolling Year Six Through Ten Fair Value6504000000USD-6
90000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Available For Sale Securities Debt Maturities Rolling After Year Ten Fair Value1019000000USD-6
100000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Available For Sale Securities Debt Securities127879000000USD-6

Component: (Network and Table)
Network
100630 - Disclosure - Derivatives - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDerivativesAdditionalInformationDetail)
TableDerivative [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Position [Axis]Derivative Instruments Gain Loss By Hedging Relationship [Axis]Derivative Instrument Risk [Axis]Hedging Designation [Axis]Longterm Debt Type [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Position [Domain]Hedging Relationship [Domain]Derivative Contract Type [Domain]Hedging Designation [Domain]Longterm Debt Type [Domain]Maximum Length Of Time Foreign Currency Cash Flow HedgeP3Y
20000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Long [Member]Hedging Relationship [Domain]Equity Contract [Member]Designated As Hedging Instrument [Member]Longterm Debt Type [Domain]Derivative Notional Amount1600000000USD-8
30000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Short [Member]Fair Value Hedging [Member]Foreign Exchange Contract [Member]Hedging Designation [Domain]Longterm Debt Type [Domain]Derivative Notional Amount5100000000USD-8
40000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Short [Member]Hedging Relationship [Domain]Equity Contract [Member]Hedging Designation [Domain]Longterm Debt Type [Domain]Derivative Notional Amount2200000000USD-8
50000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Short [Member]Hedging Relationship [Domain]Equity Contract [Member]Designated As Hedging Instrument [Member]Longterm Debt Type [Domain]Derivative Notional Amount1800000000USD-8
60000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Short [Member]Hedging Relationship [Domain]Equity Contract [Member]Hedging Designation [Domain]Longterm Debt Type [Domain]Derivative Notional Amount2400000000USD-8
70000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Short [Member]Hedging Relationship [Domain]Foreign Exchange Contract [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount10600000000USD-8
80000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Short [Member]Cash Flow Hedging [Member]Foreign Exchange Contract [Member]Hedging Designation [Domain]Longterm Debt Type [Domain]Derivative Notional Amount8400000000USD-8
90000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Long [Member]Hedging Relationship [Domain]Mortgage Backed Securities [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount567000000USD-6
100000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Long [Member]Hedging Relationship [Domain]Credit Risk Contract [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount440000000USD-6
110000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Short [Member]Fair Value Hedging [Member]Foreign Exchange Contract [Member]Hedging Designation [Domain]Longterm Debt Type [Domain]Derivative Notional Amount5300000000USD-8
120000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Long [Member]Hedging Relationship [Domain]Interest Rate Contract [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount328000000USD-6
130000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Short [Member]Cash Flow Hedging [Member]Foreign Exchange Contract [Member]Hedging Designation [Domain]Longterm Debt Type [Domain]Derivative Notional Amount8900000000USD-8
140000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Long [Member]Hedging Relationship [Domain]Foreign Exchange Contract [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount8800000000USD-8
150000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Short [Member]Hedging Relationship [Domain]Foreign Exchange Contract [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount11700000000USD-8
160000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Short [Member]Hedging Relationship [Domain]Commodity Contract [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount162000000USD-6
170000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Short [Member]Hedging Relationship [Domain]Credit Risk Contract [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount63000000USD-6
180000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Long [Member]Hedging Relationship [Domain]Interest Rate Contract [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount233000000USD-6
190000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Short [Member]Hedging Relationship [Domain]Interest Rate Contract [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount2400000000USD-8
200000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Long [Member]Hedging Relationship [Domain]Foreign Exchange Contract [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount12000000000USD-8
210000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Long [Member]Hedging Relationship [Domain]Credit Risk Contract [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount267000000USD-6
220000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Long [Member]Hedging Relationship [Domain]Mortgage Backed Securities [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount548000000USD-6
230000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Long [Member]Hedging Relationship [Domain]Equity Contract [Member]Hedging Designation [Domain]Longterm Debt Type [Domain]Derivative Notional Amount1300000000USD-8
240000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Long [Member]Hedging Relationship [Domain]Commodity Contract [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount631000000USD-6
250000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Long [Member]Hedging Relationship [Domain]Equity Contract [Member]Designated As Hedging Instrument [Member]Longterm Debt Type [Domain]Derivative Notional Amount737000000USD-6
260000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Short [Member]Hedging Relationship [Domain]Interest Rate Contract [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount352000000USD-6
270000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Short [Member]Hedging Relationship [Domain]Equity Contract [Member]Designated As Hedging Instrument [Member]Longterm Debt Type [Domain]Derivative Notional Amount986000000USD-6
280000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Short [Member]Hedging Relationship [Domain]Credit Risk Contract [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount273000000USD-6
290000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Long [Member]Hedging Relationship [Domain]Equity Contract [Member]Hedging Designation [Domain]Longterm Debt Type [Domain]Derivative Notional Amount1900000000USD-8
300000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Long [Member]Hedging Relationship [Domain]Commodity Contract [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount19000000USD-6
310000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Position [Domain]Hedging Relationship [Domain]Derivative Contract Type [Domain]Hedging Designation [Domain]Longterm Debt Type [Domain]Financial Instrument Covenant Minimum Liquidity Requirement1000000000USDINF
320000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Position [Domain]Hedging Relationship [Domain]Derivative Contract Type [Domain]Hedging Designation [Domain]Unsecured Debt [Member]Debt Instrument Credit RatingAAA
330000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Position [Domain]Hedging Relationship [Domain]Derivative Contract Type [Domain]Hedging Designation [Domain]Longterm Debt Type [Domain]Financial Instrument Covenant Minimum Liquidity1000000000USDINF
340000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Position [Domain]Hedging Relationship [Domain]Derivative Contract Type [Domain]Hedging Designation [Domain]Longterm Debt Type [Domain]Foreign Currency Cash Flow Hedge Gain Loss To Be Reclassified During Next12 Months130000000USD-6

Component: (Network and Table)
Network
100640 - Disclosure - Fair Values of Derivative Instruments (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFairValuesOfDerivativeInstrumentsDetail)
TableFair Values Derivatives, Balance Sheet Location, by Derivative Contract Type [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Hedging Designation [Axis]Balance Sheet Location [Axis]Derivative Instrument Risk [Axis]Balance Sheet Offsetting Eligibility [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Designated As Hedging Instrument [Member]Equity And Other Investments [Member]Equity Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset18000000USD-6
20000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Other Current Assets [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Asset336000000USD-6
30000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Designated As Hedging Instrument [Member]Short Term Investments [Member]Foreign Exchange Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset80000000USD-6
40000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Designated As Hedging Instrument [Member]Other Current Assets [Member]Foreign Exchange Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset392000000USD-6
50000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Nondesignated [Member]Short Term Investments [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset20000000USD-6
60000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Nondesignated [Member]Equity And Other Investments [Member]Foreign Exchange Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset0USD-6
70000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Other Current Assets [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset336000000USD-6
80000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Short Term Investments [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Asset100000000USD-6
90000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Nondesignated [Member]Other Noncurrent Assets [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset6000000USD-6
100000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Nondesignated [Member]Other Current Assets [Member]Foreign Exchange Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset203000000USD-6
110000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Nondesignated [Member]Other Current Assets [Member]Credit Risk Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset0USD-6
120000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Designated As Hedging Instrument [Member]Short Term Investments [Member]Equity Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset0USD-6
130000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Short Term Investments [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset100000000USD-6
140000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Nondesignated [Member]Short Term Investments [Member]Interest Rate Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset10000000USD-6
150000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Designated As Hedging Instrument [Member]Short Term Investments [Member]Equity Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset0USD-6
160000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Nondesignated [Member]Short Term Investments [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset72000000USD-6
170000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Designated As Hedging Instrument [Member]Equity And Other Investments [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset67000000USD-6
180000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Designated As Hedging Instrument [Member]Other Noncurrent Assets [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset0USD-6
190000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Nondesignated [Member]Equity And Other Investments [Member]Equity Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset0USD-6
200000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Nondesignated [Member]Other Noncurrent Assets [Member]Foreign Exchange Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset6000000USD-6
210000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Nondesignated [Member]Equity And Other Investments [Member]Credit Risk Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset0USD-6
220000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Nondesignated [Member]Other Noncurrent Assets [Member]Interest Rate Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset0USD-6
230000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Designated As Hedging Instrument [Member]Other Noncurrent Assets [Member]Foreign Exchange Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset0USD-6
240000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Designated As Hedging Instrument [Member]Other Current Assets [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset392000000USD-6
250000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Nondesignated [Member]Equity And Other Investments [Member]Foreign Exchange Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset0USD-6
260000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Hedging Designation [Domain]Short Term Investments [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Asset69000000USD-6
270000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Equity And Other Investments [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Asset67000000USD-6
280000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Nondesignated [Member]Short Term Investments [Member]Foreign Exchange Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset33000000USD-6
290000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Nondesignated [Member]Equity And Other Investments [Member]Equity Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset0USD-6
300000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Designated As Hedging Instrument [Member]Short Term Investments [Member]Foreign Exchange Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset1000000USD-6
310000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Nondesignated [Member]Short Term Investments [Member]Equity Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset23000000USD-6
320000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Nondesignated [Member]Other Current Assets [Member]Interest Rate Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset0USD-6
330000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Designated As Hedging Instrument [Member]Short Term Investments [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset1000000USD-6
340000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Nondesignated [Member]Other Current Assets [Member]Interest Rate Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset0USD-6
350000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Designated As Hedging Instrument [Member]Equity And Other Investments [Member]Foreign Exchange Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset0USD-6
360000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Designated As Hedging Instrument [Member]Short Term Investments [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset80000000USD-6
370000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Hedging Designation [Domain]Other Current Assets [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Asset548000000USD-6
380000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Nondesignated [Member]Short Term Investments [Member]Foreign Exchange Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset9000000USD-6
390000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Hedging Designation [Domain]Other Current Assets [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset548000000USD-6
400000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Nondesignated [Member]Short Term Investments [Member]Credit Risk Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset6000000USD-6
410000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Designated As Hedging Instrument [Member]Other Current Assets [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset133000000USD-6
420000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Hedging Designation [Domain]Equity And Other Investments [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset18000000USD-6
430000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Designated As Hedging Instrument [Member]Equity And Other Investments [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset18000000USD-6
440000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Designated As Hedging Instrument [Member]Other Current Assets [Member]Equity Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset0USD-6
450000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Nondesignated [Member]Short Term Investments [Member]Credit Risk Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset5000000USD-6
460000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Nondesignated [Member]Other Noncurrent Assets [Member]Credit Risk Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset0USD-6
470000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Nondesignated [Member]Equity And Other Investments [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset0USD-6
480000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Nondesignated [Member]Other Noncurrent Assets [Member]Equity Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset0USD-6
490000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Nondesignated [Member]Equity And Other Investments [Member]Credit Risk Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset0USD-6
500000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Nondesignated [Member]Other Current Assets [Member]Equity Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset0USD-6
510000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Designated As Hedging Instrument [Member]Equity And Other Investments [Member]Equity Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset67000000USD-6
520000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Nondesignated [Member]Equity And Other Investments [Member]Interest Rate Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset0USD-6
530000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Designated As Hedging Instrument [Member]Equity And Other Investments [Member]Foreign Exchange Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset0USD-6
540000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Nondesignated [Member]Equity And Other Investments [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset0USD-6
550000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Nondesignated [Member]Short Term Investments [Member]Interest Rate Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset3000000USD-6
560000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Designated As Hedging Instrument [Member]Other Current Assets [Member]Foreign Exchange Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset133000000USD-6
570000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Designated As Hedging Instrument [Member]Other Current Assets [Member]Equity Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset0USD-6
580000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Other Noncurrent Assets [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Asset6000000USD-6
590000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Nondesignated [Member]Other Current Assets [Member]Foreign Exchange Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset156000000USD-6
600000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Hedging Designation [Domain]Short Term Investments [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset73000000USD-6
610000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Designated As Hedging Instrument [Member]Other Noncurrent Assets [Member]Equity Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset0USD-6
620000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Nondesignated [Member]Other Current Assets [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset156000000USD-6
630000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Nondesignated [Member]Other Current Assets [Member]Credit Risk Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset0USD-6
640000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Nondesignated [Member]Short Term Investments [Member]Equity Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset3000000USD-6
650000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Nondesignated [Member]Other Current Assets [Member]Equity Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset0USD-6
660000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Nondesignated [Member]Equity And Other Investments [Member]Interest Rate Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset0USD-6
670000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Other Noncurrent Assets [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset6000000USD-6
680000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Nondesignated [Member]Other Current Assets [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset203000000USD-6
690000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Hedging Designation [Domain]Equity And Other Investments [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Asset18000000USD-6
700000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Equity And Other Investments [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Asset67000000USD-6
710000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Hedging Designation [Domain]Short Term Investments [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Asset Fair Value Gross Liability74000000USD-6
720000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Hedging Designation [Domain]Equity And Other Investments [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Asset Fair Value Gross Liability25000000USD-6
730000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Hedging Designation [Domain]Other Current Assets [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Asset Fair Value Gross Liability302000000USD-6
740000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Equity And Other Investments [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Asset Fair Value Gross Liability67000000USD-6
750000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Other Noncurrent Assets [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Asset Fair Value Gross Liability8000000USD-6
760000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Short Term Investments [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Asset Fair Value Gross Liability20000000USD-6
770000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Other Current Assets [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Asset Fair Value Gross Liability132000000USD-6
780000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Hedging Designation [Domain]Other Current Assets [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Assets Net Amounts Presented In Balance Sheet246000000USD-6
790000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Equity And Other Investments [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Assets Net Amounts Presented In Balance Sheet0USD-6
800000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Hedging Designation [Domain]Short Term Investments [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Assets Net Amounts Presented In Balance Sheet-5000000USD-6
810000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Other Noncurrent Assets [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Assets Net Amounts Presented In Balance Sheet-2000000USD-6
820000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Short Term Investments [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Assets Net Amounts Presented In Balance Sheet80000000USD-6
830000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Hedging Designation [Domain]Equity And Other Investments [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Assets Net Amounts Presented In Balance Sheet-7000000USD-6
840000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Other Current Assets [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Assets Net Amounts Presented In Balance Sheet204000000USD-6
850000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Equity And Other Investments [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Asset Amount Not Offset0USD-6
860000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Hedging Designation [Domain]Other Current Assets [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Asset Amount Not Offset0USD-6
870000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Hedging Designation [Domain]Equity And Other Investments [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Asset Amount Not Offset0USD-6
880000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Other Noncurrent Assets [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Asset Amount Not Offset0USD-6
890000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Hedging Designation [Domain]Short Term Investments [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Asset Amount Not Offset0USD-6
900000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Short Term Investments [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Asset Amount Not Offset0USD-6
910000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Other Current Assets [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Asset Amount Not Offset0USD-6
920000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Other Noncurrent Assets [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Collateral Right To Reclaim Cash0USD-6
930000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Hedging Designation [Domain]Equity And Other Investments [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Collateral Right To Reclaim Cash0USD-6
940000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Hedging Designation [Domain]Other Current Assets [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Collateral Right To Reclaim Cash0USD-6
950000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Short Term Investments [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Collateral Right To Reclaim Cash0USD-6
960000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Other Current Assets [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Collateral Right To Reclaim Cash0USD-6
970000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Equity And Other Investments [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Collateral Right To Reclaim Cash0USD-6
980000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Hedging Designation [Domain]Short Term Investments [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Collateral Right To Reclaim Cash0USD-6
990000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Equity And Other Investments [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Assets Potential Net Amounts Not Presented In Balance Sheet0USD-6
1000000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Hedging Designation [Domain]Equity And Other Investments [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Assets Potential Net Amounts Not Presented In Balance Sheet-7000000USD-6
1010000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Other Current Assets [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Assets Potential Net Amounts Not Presented In Balance Sheet204000000USD-6
1020000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Hedging Designation [Domain]Short Term Investments [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Assets Potential Net Amounts Not Presented In Balance Sheet-5000000USD-6
1030000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Hedging Designation [Domain]Other Current Assets [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Assets Potential Net Amounts Not Presented In Balance Sheet246000000USD-6
1040000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Short Term Investments [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Assets Potential Net Amounts Not Presented In Balance Sheet80000000USD-6
1050000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Other Noncurrent Assets [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Assets Potential Net Amounts Not Presented In Balance Sheet-2000000USD-6
1060000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Nondesignated [Member]Other Current Liabilities [Member]Interest Rate Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Liability25000000USD-6
1070000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Designated As Hedging Instrument [Member]Other Current Liabilities [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Liability189000000USD-6
1080000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Other Current Liabilities [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Liability334000000USD-6
1090000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Designated As Hedging Instrument [Member]Other Current Liabilities [Member]Foreign Exchange Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Liability263000000USD-6
1100000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Nondesignated [Member]Other Current Liabilities [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Liability148000000USD-6
1110000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Designated As Hedging Instrument [Member]Other Current Liabilities [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Liability288000000USD-6
1120000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Other Noncurrent Liabilities [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Liability8000000USD-6
1130000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Nondesignated [Member]Other Current Liabilities [Member]Equity Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Liability6000000USD-6
1140000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Other Current Liabilities [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Liability337000000USD-6
1150000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Designated As Hedging Instrument [Member]Other Noncurrent Liabilities [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Liability0USD-6
1160000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Nondesignated [Member]Other Current Liabilities [Member]Credit Risk Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Liability5000000USD-6
1170000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Nondesignated [Member]Other Current Liabilities [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Liability342000000USD-6
1180000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Hedging Designation [Domain]Other Current Liabilities [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Liability630000000USD-6
1190000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Nondesignated [Member]Other Noncurrent Liabilities [Member]Interest Rate Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Liability0USD-6
1200000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Nondesignated [Member]Other Current Liabilities [Member]Foreign Exchange Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Liability134000000USD-6
1210000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Nondesignated [Member]Other Noncurrent Liabilities [Member]Credit Risk Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Liability0USD-6
1220000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Designated As Hedging Instrument [Member]Other Noncurrent Liabilities [Member]Foreign Exchange Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Liability0USD-6
1230000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Nondesignated [Member]Other Noncurrent Liabilities [Member]Equity Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Liability0USD-6
1240000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Nondesignated [Member]Other Current Liabilities [Member]Equity Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Liability16000000USD-6
1250000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Other Noncurrent Liabilities [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Liability8000000USD-6
1260000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Hedging Designation [Domain]Other Current Liabilities [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Liability630000000USD-6
1270000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Nondesignated [Member]Other Noncurrent Liabilities [Member]Foreign Exchange Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Liability8000000USD-6
1280000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Nondesignated [Member]Other Current Liabilities [Member]Foreign Exchange Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Liability296000000USD-6
1290000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Designated As Hedging Instrument [Member]Other Current Liabilities [Member]Equity Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Liability186000000USD-6
1300000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Designated As Hedging Instrument [Member]Other Current Liabilities [Member]Foreign Exchange Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Liability3000000USD-6
1310000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Nondesignated [Member]Other Noncurrent Liabilities [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Liability8000000USD-6
1320000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Designated As Hedging Instrument [Member]Other Current Liabilities [Member]Equity Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Liability25000000USD-6
1330000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Nondesignated [Member]Other Current Liabilities [Member]Interest Rate Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Liability7000000USD-6
1340000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Designated As Hedging Instrument [Member]Other Noncurrent Liabilities [Member]Equity Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Liability0USD-6
1350000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Nondesignated [Member]Other Current Liabilities [Member]Credit Risk Contract [Member]Balance Sheet Offsetting Eligibility [Domain]Derivative Fair Value Of Derivative Liability1000000USD-6
1360000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Other Current Liabilities [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Liability Fair Value Gross Asset221000000USD-6
1370000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Other Noncurrent Liabilities [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Liability Fair Value Gross Asset7000000USD-6
1380000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Hedging Designation [Domain]Other Current Liabilities [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Liability Fair Value Gross Asset398000000USD-6
1390000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Hedging Designation [Domain]Other Current Liabilities [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Liabilities Net Amounts Presented In Balance Sheet232000000USD-6
1400000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Other Current Liabilities [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Liabilities Net Amounts Presented In Balance Sheet113000000USD-6
1410000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Other Noncurrent Liabilities [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Liabilities Net Amounts Presented In Balance Sheet1000000USD-6
1420000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Other Current Liabilities [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Liability Amount Not Offset0USD-6
1430000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Other Noncurrent Liabilities [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Liability Amount Not Offset0USD-6
1440000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Hedging Designation [Domain]Other Current Liabilities [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Liability Amount Not Offset0USD-6
1450000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Other Noncurrent Liabilities [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Collateral Obligation To Return Cash0USD-6
1460000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Other Current Liabilities [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Collateral Obligation To Return Cash228000000USD-6
1470000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Hedging Designation [Domain]Other Current Liabilities [Member]Derivative Contract Type [Domain]Eligible For Offsetting [Member]Derivative Collateral Obligation To Return Cash250000000USD-6
1480000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Hedging Designation [Domain]Other Current Liabilities [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Liabilities Potential Net Amounts Not Presented In Balance Sheet482000000USD-6
1490000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Other Noncurrent Liabilities [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Liabilities Potential Net Amounts Not Presented In Balance Sheet1000000USD-6
1500000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Hedging Designation [Domain]Other Current Liabilities [Member]Derivative Contract Type [Domain]Balance Sheet Offsetting Eligibility [Domain]Derivative Liabilities Potential Net Amounts Not Presented In Balance Sheet341000000USD-6

Component: (Network and Table)
Network
100650 - Disclosure - Gains (Losses) on Fair Value Hedges and Related Hedged Items (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureGainsLossesOnFairValueHedgesAndRelatedHedgedItemsDetail)
TableDerivative Instruments, Gain (Loss) [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Derivative Instrument Risk [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Equity Contract [Member]Change In Unrealized Gain Loss On Fair Value Hedging Instruments1-76000000USD-6
20000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Equity Contract [Member]Change In Unrealized Gain Loss On Fair Value Hedging Instruments1-107000000USD-6
30000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Equity Contract [Member]Change In Unrealized Gain Loss On Fair Value Hedging Instruments1-74000000USD-6
40000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Foreign Exchange Contract [Member]Change In Unrealized Gain Loss On Fair Value Hedging Instruments1-797000000USD-6
50000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Foreign Exchange Contract [Member]Change In Unrealized Gain Loss On Fair Value Hedging Instruments1741000000USD-6
60000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Foreign Exchange Contract [Member]Change In Unrealized Gain Loss On Fair Value Hedging Instruments1441000000USD-6
70000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Foreign Exchange Contract [Member]Change In Unrealized Gain Loss On Hedged Item In Fair Value Hedge1-386000000USD-6
80000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Equity Contract [Member]Change In Unrealized Gain Loss On Hedged Item In Fair Value Hedge1107000000USD-6
90000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Foreign Exchange Contract [Member]Change In Unrealized Gain Loss On Hedged Item In Fair Value Hedge1838000000USD-6
100000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Foreign Exchange Contract [Member]Change In Unrealized Gain Loss On Hedged Item In Fair Value Hedge1-725000000USD-6
110000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Equity Contract [Member]Change In Unrealized Gain Loss On Hedged Item In Fair Value Hedge176000000USD-6
120000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Equity Contract [Member]Change In Unrealized Gain Loss On Hedged Item In Fair Value Hedge174000000USD-6
130000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Foreign Exchange Contract [Member]Gain Loss On Fair Value Hedge Ineffectiveness Net41000000USD-6
140000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Foreign Exchange Contract [Member]Gain Loss On Fair Value Hedge Ineffectiveness Net16000000USD-6
150000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Equity Contract [Member]Gain Loss On Fair Value Hedge Ineffectiveness Net0USD-6
160000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Equity Contract [Member]Gain Loss On Fair Value Hedge Ineffectiveness Net0USD-6
170000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Equity Contract [Member]Gain Loss On Fair Value Hedge Ineffectiveness Net0USD-6
180000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Foreign Exchange Contract [Member]Gain Loss On Fair Value Hedge Ineffectiveness Net55000000USD-6
190000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Equity Contract [Member]Gain Loss From Components Excluded From Assessment Of Fair Value Hedge Effectiveness Net0USD-6
200000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Equity Contract [Member]Gain Loss From Components Excluded From Assessment Of Fair Value Hedge Effectiveness Net-80000000USD-6
210000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Equity Contract [Member]Gain Loss From Components Excluded From Assessment Of Fair Value Hedge Effectiveness Net-10000000USD-6

Component: (Network and Table)
Network
100660 - Disclosure - Gains (Losses) Related to Cash Flow Hedges (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureGainsLossesRelatedToCashFlowHedgesDetail)
TableDerivative Instruments, Gain (Loss) [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Hedging Designation [Axis]Derivative Instrument Risk [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Designated As Hedging Instrument [Member]Foreign Exchange Contract [Member]Other Comprehensive Income Unrealized Gain Loss On Derivatives Arising During Period Net Of Tax328000000USD-6
20000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Designated As Hedging Instrument [Member]Foreign Exchange Contract [Member]Other Comprehensive Income Unrealized Gain Loss On Derivatives Arising During Period Net Of Tax1152000000USD-6
30000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Designated As Hedging Instrument [Member]Foreign Exchange Contract [Member]Other Comprehensive Income Unrealized Gain Loss On Derivatives Arising During Period Net Of Tax351000000USD-6
40000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Designated As Hedging Instrument [Member]Foreign Exchange Contract [Member]Foreign Currency Cash Flow Hedge Gain Loss Reclassified To Earnings Net608000000USD-6
50000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Designated As Hedging Instrument [Member]Foreign Exchange Contract [Member]Foreign Currency Cash Flow Hedge Gain Loss Reclassified To Earnings Net625000000USD-6
60000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Designated As Hedging Instrument [Member]Foreign Exchange Contract [Member]Foreign Currency Cash Flow Hedge Gain Loss Reclassified To Earnings Net555000000USD-6
70000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Designated As Hedging Instrument [Member]Foreign Exchange Contract [Member]Derivative Instruments Gain Loss Recognized In Income Ineffective Portion And Amount Excluded From Effectiveness Testing Net-354000000USD-6
80000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Designated As Hedging Instrument [Member]Foreign Exchange Contract [Member]Derivative Instruments Gain Loss Recognized In Income Ineffective Portion And Amount Excluded From Effectiveness Testing Net-389000000USD-6
90000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Designated As Hedging Instrument [Member]Foreign Exchange Contract [Member]Derivative Instruments Gain Loss Recognized In Income Ineffective Portion And Amount Excluded From Effectiveness Testing Net-346000000USD-6

Component: (Network and Table)
Network
100670 - Disclosure - Gains (Losses) Related to Cash Flow Hedges (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureGainsLossesRelatedToCashFlowHedgesParentheticalDetail)
TableDerivative Instruments, Gain (Loss) [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Hedging Designation [Axis]Derivative Instrument Risk [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Designated As Hedging Instrument [Member]Foreign Exchange Contract [Member]Other Comprehensive Income Unrealized Gain Loss On Derivatives Arising During Period Tax35000000USD-6
20000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Designated As Hedging Instrument [Member]Foreign Exchange Contract [Member]Other Comprehensive Income Unrealized Gain Loss On Derivatives Arising During Period Tax4000000USD-6
30000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Designated As Hedging Instrument [Member]Foreign Exchange Contract [Member]Other Comprehensive Income Unrealized Gain Loss On Derivatives Arising During Period Tax24000000USD-6

Component: (Network and Table)
Network
100680 - Disclosure - Non-Designated Derivative Gains (Losses) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureNonDesignatedDerivativeGainsLossesDetail)
TableDerivative Instruments, Gain (Loss) [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Derivative Instrument Risk [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Derivative Contract Type [Domain]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-234000000USD-6
20000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Foreign Exchange Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-483000000USD-6
30000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Interest Rate Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net23000000USD-6
40000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Equity Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-19000000USD-6
50000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Interest Rate Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net10000000USD-6
60000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Derivative Contract Type [Domain]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-154000000USD-6
70000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Foreign Exchange Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-117000000USD-6
80000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Commodity Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-223000000USD-6
90000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Credit Risk Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-1000000USD-6
100000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Credit Risk Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net5000000USD-6
110000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Credit Risk Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-1000000USD-6
120000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Commodity Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-22000000USD-6
130000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Commodity Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-87000000USD-6
140000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Derivative Contract Type [Domain]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-703000000USD-6
150000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Foreign Exchange Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-55000000USD-6
160000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Interest Rate Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net14000000USD-6
170000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Equity Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-21000000USD-6
180000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Equity Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-114000000USD-6

Component: (Network and Table)
Network
100690 - Disclosure - Financial Assets and Liabilities Measured at Fair Value on Recurring Basis (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail)
TableFair Value Measurements, Recurring and Nonrecurring [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Fair Value By Liability Class [Axis]Right Of Offset And Netting [Axis]Fair Value By Asset Class [Axis]Fair Value By Fair Value Hierarchy Level [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Money Market Funds [Member]Fair Value Inputs Level1 [Member]Assets Fair Value Disclosure Recurring1012000000USD-6
20000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]U S States And Political Subdivisions [Member]Fair Value Inputs Level2 [Member]Assets Fair Value Disclosure Recurring342000000USD-6
30000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Net [Member]Commercial Paper [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring298000000USD-6
40000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Netting [Member]Equity Securities [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring0USD-6PE6
50000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Certificates Of Deposit [Member]Fair Value Inputs Level3 [Member]Assets Fair Value Disclosure Recurring0USD-6
60000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Asset Backed Securities [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring4803000000USD-6
70000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Money Market Funds [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring1012000000USD-6
80000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Equity Securities [Member]Fair Value Inputs Level3 [Member]Assets Fair Value Disclosure Recurring18000000USD-6
90000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Asset Backed Securities [Member]Fair Value Inputs Level2 [Member]Assets Fair Value Disclosure Recurring3934000000USD-6
100000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Netting [Member]Asset Backed Securities [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring0USD-6PE6
110000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Net [Member]U S States And Political Subdivisions [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring327000000USD-6
120000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Commercial Paper [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring319000000USD-6
130000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]U S Government Agencies Debt Securities [Member]Fair Value Inputs Level1 [Member]Assets Fair Value Disclosure Recurring109228000000USD-6
140000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Net [Member]Money Market Funds [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring1012000000USD-6
150000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Derivative Financial Instruments Assets [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring509000000USD-6
160000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Foreign Government Debt Securities [Member]Fair Value Inputs Level1 [Member]Assets Fair Value Disclosure Recurring0USD-6
170000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Corporate Debt Securities [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring4830000000USD-6
180000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Money Market Funds [Member]Fair Value Inputs Level1 [Member]Assets Fair Value Disclosure Recurring1478000000USD-6
190000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Net [Member]Derivative Financial Instruments Assets [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring282000000USD-6
200000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Netting [Member]U S Government Agencies Debt Securities [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring0USD-6PE6
210000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Corporate Debt Securities [Member]Fair Value Inputs Level3 [Member]Assets Fair Value Disclosure Recurring1000000USD-6
220000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Netting [Member]Certificates Of Deposit [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring0USD-6PE6
230000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Derivative Financial Instruments Assets [Member]Fair Value Inputs Level1 [Member]Assets Fair Value Disclosure Recurring6000000USD-6
240000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Netting [Member]Corporate Debt Securities [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring0USD-6PE6
250000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Netting [Member]U S States And Political Subdivisions [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring0USD-6PE6
260000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Foreign Government Debt Securities [Member]Fair Value Inputs Level3 [Member]Assets Fair Value Disclosure Recurring0USD-6
270000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Net [Member]Foreign Government Debt Securities [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring5715000000USD-6
280000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Commercial Paper [Member]Fair Value Inputs Level3 [Member]Assets Fair Value Disclosure Recurring0USD-6
290000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Asset Backed Securities [Member]Fair Value Inputs Level2 [Member]Assets Fair Value Disclosure Recurring4803000000USD-6
300000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Certificates Of Deposit [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring1000000000USD-6
310000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]Fair Value Inputs Level3 [Member]Assets Fair Value Disclosure Recurring19000000USD-6
320000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Derivative Financial Instruments Assets [Member]Fair Value Inputs Level2 [Member]Assets Fair Value Disclosure Recurring633000000USD-6
330000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Foreign Government Debt Securities [Member]Fair Value Inputs Level2 [Member]Assets Fair Value Disclosure Recurring5187000000USD-6
340000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Equity Securities [Member]Fair Value Inputs Level1 [Member]Assets Fair Value Disclosure Recurring6918000000USD-6
350000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Right Of Offset And Netting [Domain]Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring119019000000USD-6
360000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Netting [Member]Certificates Of Deposit [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring0USD-6PE6
370000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Net [Member]Equity Securities [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring9050000000USD-6
380000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Money Market Funds [Member]Fair Value Inputs Level2 [Member]Assets Fair Value Disclosure Recurring0USD-6
390000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Net [Member]Certificates Of Deposit [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring1358000000USD-6
400000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Money Market Funds [Member]Fair Value Inputs Level3 [Member]Assets Fair Value Disclosure Recurring0USD-6
410000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]U S Government Agencies Debt Securities [Member]Fair Value Inputs Level3 [Member]Assets Fair Value Disclosure Recurring0USD-6
420000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]U S States And Political Subdivisions [Member]Fair Value Inputs Level1 [Member]Assets Fair Value Disclosure Recurring0USD-6
430000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Net [Member]Commercial Paper [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring319000000USD-6
440000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Equity Securities [Member]Fair Value Inputs Level2 [Member]Assets Fair Value Disclosure Recurring1994000000USD-6
450000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Derivative Financial Instruments Assets [Member]Fair Value Inputs Level2 [Member]Assets Fair Value Disclosure Recurring508000000USD-6
460000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Asset Backed Securities [Member]Fair Value Inputs Level3 [Member]Assets Fair Value Disclosure Recurring0USD-6
470000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]U S States And Political Subdivisions [Member]Fair Value Inputs Level1 [Member]Assets Fair Value Disclosure Recurring0USD-6
480000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Netting [Member]Equity Securities [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring0USD-6PE6
490000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]U S Government Agencies Debt Securities [Member]Fair Value Inputs Level2 [Member]Assets Fair Value Disclosure Recurring3707000000USD-6
500000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Corporate Debt Securities [Member]Fair Value Inputs Level1 [Member]Assets Fair Value Disclosure Recurring0USD-6
510000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Asset Backed Securities [Member]Fair Value Inputs Level1 [Member]Assets Fair Value Disclosure Recurring0USD-6
520000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Asset Backed Securities [Member]Fair Value Inputs Level1 [Member]Assets Fair Value Disclosure Recurring0USD-6
530000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Certificates Of Deposit [Member]Fair Value Inputs Level3 [Member]Assets Fair Value Disclosure Recurring0USD-6
540000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Netting [Member]Money Market Funds [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring0USD-6PE6
550000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Netting [Member]Corporate Debt Securities [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring0USD-6PE6
560000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring119420000000USD-6
570000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Commercial Paper [Member]Fair Value Inputs Level3 [Member]Assets Fair Value Disclosure Recurring0USD-6
580000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]U S States And Political Subdivisions [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring342000000USD-6
590000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Equity Securities [Member]Fair Value Inputs Level2 [Member]Assets Fair Value Disclosure Recurring2114000000USD-6
600000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]U S Government Agencies Debt Securities [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring111844000000USD-6
610000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Corporate Debt Securities [Member]Fair Value Inputs Level1 [Member]Assets Fair Value Disclosure Recurring0USD-6
620000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Netting [Member]Commercial Paper [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring0USD-6PE6
630000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Commercial Paper [Member]Fair Value Inputs Level2 [Member]Assets Fair Value Disclosure Recurring298000000USD-6
640000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Net [Member]Foreign Government Debt Securities [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring5187000000USD-6
650000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Netting [Member]U S Government Agencies Debt Securities [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring0USD-6PE6
660000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]U S States And Political Subdivisions [Member]Fair Value Inputs Level3 [Member]Assets Fair Value Disclosure Recurring0USD-6
670000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Equity Securities [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring9050000000USD-6
680000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Net [Member]Certificates Of Deposit [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring1000000000USD-6
690000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Corporate Debt Securities [Member]Fair Value Inputs Level2 [Member]Assets Fair Value Disclosure Recurring6361000000USD-6
700000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Money Market Funds [Member]Fair Value Inputs Level2 [Member]Assets Fair Value Disclosure Recurring0USD-6
710000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Foreign Government Debt Securities [Member]Fair Value Inputs Level3 [Member]Assets Fair Value Disclosure Recurring0USD-6
720000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Net [Member]Asset Backed Securities [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring3934000000USD-6
730000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Net [Member]U S Government Agencies Debt Securities [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring90199000000USD-6
740000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Netting [Member]Foreign Government Debt Securities [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring0USD-6PE6
750000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]U S States And Political Subdivisions [Member]Fair Value Inputs Level2 [Member]Assets Fair Value Disclosure Recurring327000000USD-6
760000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Netting [Member]Derivative Financial Instruments Assets [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring-401000000USD-6PE6
770000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]U S States And Political Subdivisions [Member]Fair Value Inputs Level3 [Member]Assets Fair Value Disclosure Recurring0USD-6
780000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Corporate Debt Securities [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring6362000000USD-6
790000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Corporate Debt Securities [Member]Fair Value Inputs Level3 [Member]Assets Fair Value Disclosure Recurring1000000USD-6
800000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Derivative Financial Instruments Assets [Member]Fair Value Inputs Level3 [Member]Assets Fair Value Disclosure Recurring0USD-6
810000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Derivative Financial Instruments Assets [Member]Fair Value Inputs Level1 [Member]Assets Fair Value Disclosure Recurring1000000USD-6
820000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Asset Backed Securities [Member]Fair Value Inputs Level3 [Member]Assets Fair Value Disclosure Recurring0USD-6
830000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]Fair Value Inputs Level2 [Member]Assets Fair Value Disclosure Recurring21072000000USD-6
840000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Certificates Of Deposit [Member]Fair Value Inputs Level2 [Member]Assets Fair Value Disclosure Recurring1000000000USD-6
850000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Net [Member]Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring133985000000USD-6
860000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Netting [Member]Commercial Paper [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring0USD-6PE6
870000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Net [Member]Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring119019000000USD-6
880000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Equity Securities [Member]Fair Value Inputs Level3 [Member]Assets Fair Value Disclosure Recurring18000000USD-6
890000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Equity Securities [Member]Fair Value Inputs Level1 [Member]Assets Fair Value Disclosure Recurring2414000000USD-6
900000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]Fair Value Inputs Level1 [Member]Assets Fair Value Disclosure Recurring113121000000USD-6
910000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Derivative Financial Instruments Assets [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring639000000USD-6
920000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Commercial Paper [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring298000000USD-6
930000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Netting [Member]U S States And Political Subdivisions [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring0USD-6PE6
940000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring134212000000USD-6
950000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Netting [Member]Asset Backed Securities [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring0USD-6PE6
960000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Certificates Of Deposit [Member]Fair Value Inputs Level2 [Member]Assets Fair Value Disclosure Recurring1358000000USD-6
970000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]U S Government Agencies Debt Securities [Member]Fair Value Inputs Level1 [Member]Assets Fair Value Disclosure Recurring86492000000USD-6
980000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]Fair Value Inputs Level3 [Member]Assets Fair Value Disclosure Recurring19000000USD-6
990000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Commercial Paper [Member]Fair Value Inputs Level2 [Member]Assets Fair Value Disclosure Recurring319000000USD-6
1000000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Foreign Government Debt Securities [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring5187000000USD-6
1010000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]U S Government Agencies Debt Securities [Member]Fair Value Inputs Level3 [Member]Assets Fair Value Disclosure Recurring0USD-6
1020000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Money Market Funds [Member]Fair Value Inputs Level3 [Member]Assets Fair Value Disclosure Recurring0USD-6
1030000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]Fair Value Inputs Level2 [Member]Assets Fair Value Disclosure Recurring24963000000USD-6
1040000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Net [Member]U S Government Agencies Debt Securities [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring111844000000USD-6
1050000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Net [Member]Equity Securities [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring4426000000USD-6
1060000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Equity Securities [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring4426000000USD-6
1070000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Netting [Member]Money Market Funds [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring0USD-6PE6
1080000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Certificates Of Deposit [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring1358000000USD-6
1090000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Net [Member]Corporate Debt Securities [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring6362000000USD-6
1100000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Right Of Offset And Netting [Domain]Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring133985000000USD-6
1110000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Commercial Paper [Member]Fair Value Inputs Level1 [Member]Assets Fair Value Disclosure Recurring0USD-6
1120000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Certificates Of Deposit [Member]Fair Value Inputs Level1 [Member]Assets Fair Value Disclosure Recurring0USD-6
1130000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Foreign Government Debt Securities [Member]Fair Value Inputs Level1 [Member]Assets Fair Value Disclosure Recurring10000000USD-6
1140000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]U S States And Political Subdivisions [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring327000000USD-6
1150000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Corporate Debt Securities [Member]Fair Value Inputs Level2 [Member]Assets Fair Value Disclosure Recurring4829000000USD-6
1160000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Foreign Government Debt Securities [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring5715000000USD-6
1170000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Net [Member]Derivative Financial Instruments Assets [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring238000000USD-6
1180000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Netting [Member]Derivative Financial Instruments Assets [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring-227000000USD-6PE6
1190000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]U S Government Agencies Debt Securities [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring90199000000USD-6
1200000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]U S Government Agencies Debt Securities [Member]Fair Value Inputs Level2 [Member]Assets Fair Value Disclosure Recurring2616000000USD-6
1210000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Foreign Government Debt Securities [Member]Fair Value Inputs Level2 [Member]Assets Fair Value Disclosure Recurring5705000000USD-6
1220000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Netting [Member]Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring-227000000USD-6PE6
1230000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Netting [Member]Foreign Government Debt Securities [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring0USD-6PE6
1240000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Certificates Of Deposit [Member]Fair Value Inputs Level1 [Member]Assets Fair Value Disclosure Recurring0USD-6
1250000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Commercial Paper [Member]Fair Value Inputs Level1 [Member]Assets Fair Value Disclosure Recurring0USD-6
1260000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Netting [Member]Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring-401000000USD-6PE6
1270000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Net [Member]Corporate Debt Securities [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring4830000000USD-6
1280000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Derivative Financial Instruments Assets [Member]Fair Value Inputs Level3 [Member]Assets Fair Value Disclosure Recurring0USD-6
1290000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Net [Member]Money Market Funds [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring1478000000USD-6
1300000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Net [Member]Asset Backed Securities [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring4803000000USD-6
1310000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Asset Backed Securities [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring3934000000USD-6
1320000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Net [Member]U S States And Political Subdivisions [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring342000000USD-6
1330000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]Fair Value Inputs Level1 [Member]Assets Fair Value Disclosure Recurring94438000000USD-6
1340000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]Gross [Member]Money Market Funds [Member]Fair Value Measurements Fair Value Hierarchy [Domain]Assets Fair Value Disclosure Recurring1478000000USD-6
1350000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Derivative Financial Instruments Liabilities [Member]Gross [Member]Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]Fair Value Inputs Level2 [Member]Liabilities Fair Value Disclosure Recurring345000000USD-6
1360000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Derivative Financial Instruments Liabilities [Member]Gross [Member]Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]Fair Value Measurements Fair Value Hierarchy [Domain]Liabilities Fair Value Disclosure Recurring630000000USD-6
1370000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Derivative Financial Instruments Liabilities [Member]Gross [Member]Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]Fair Value Inputs Level1 [Member]Liabilities Fair Value Disclosure Recurring17000000USD-6
1380000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Derivative Financial Instruments Liabilities [Member]Gross [Member]Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]Fair Value Inputs Level2 [Member]Liabilities Fair Value Disclosure Recurring613000000USD-6
1390000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Derivative Financial Instruments Liabilities [Member]Netting [Member]Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]Fair Value Measurements Fair Value Hierarchy [Domain]Liabilities Fair Value Disclosure Recurring-398000000USD-6PE6
1400000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Derivative Financial Instruments Liabilities [Member]Netting [Member]Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]Fair Value Measurements Fair Value Hierarchy [Domain]Liabilities Fair Value Disclosure Recurring-228000000USD-6PE6
1410000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Derivative Financial Instruments Liabilities [Member]Gross [Member]Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]Fair Value Measurements Fair Value Hierarchy [Domain]Liabilities Fair Value Disclosure Recurring384000000USD-6
1420000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Derivative Financial Instruments Liabilities [Member]Gross [Member]Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]Fair Value Inputs Level1 [Member]Liabilities Fair Value Disclosure Recurring0USD-6
1430000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Derivative Financial Instruments Liabilities [Member]Gross [Member]Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]Fair Value Inputs Level3 [Member]Liabilities Fair Value Disclosure Recurring39000000USD-6
1440000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Derivative Financial Instruments Liabilities [Member]Net [Member]Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]Fair Value Measurements Fair Value Hierarchy [Domain]Liabilities Fair Value Disclosure Recurring232000000USD-6
1450000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Derivative Financial Instruments Liabilities [Member]Net [Member]Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]Fair Value Measurements Fair Value Hierarchy [Domain]Liabilities Fair Value Disclosure Recurring156000000USD-6
1460000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Derivative Financial Instruments Liabilities [Member]Gross [Member]Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]Fair Value Inputs Level3 [Member]Liabilities Fair Value Disclosure Recurring0USD-6

Component: (Network and Table)
Network
100700 - Disclosure - Reconciliation of Total Assets Measured at Fair Value on Recurring Basis to Balance Sheet Presentation (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureReconciliationOfTotalAssetsMeasuredAtFairValueOnRecurringBasisToBalanceSheetPresentationDetail)
TableFair Value Measurements, Recurring and Nonrecurring [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Fair Value By Measurement Frequency [Axis]Balance Sheet Location [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Measurement Frequency [Domain]Balance Sheet Location [Domain]Assets Fair Value Disclosure Recurring119019000000USD-6
20000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Measurement Frequency [Domain]Balance Sheet Location [Domain]Assets Fair Value Disclosure Recurring133985000000USD-6
30000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Measurements Recurring [Member]Balance Sheet Location [Domain]Cash3624000000USD-6
40000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Measurements Recurring [Member]Balance Sheet Location [Domain]Cash3501000000USD-6
50000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Measurements Nonrecurring [Member]Balance Sheet Location [Domain]Cost Method Investments1073000000USD-6
60000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Measurements Nonrecurring [Member]Balance Sheet Location [Domain]Cost Method Investments767000000USD-6
70000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Measurements Nonrecurring [Member]Balance Sheet Location [Domain]Equity Method Investments618000000USD-6
80000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Measurements Nonrecurring [Member]Balance Sheet Location [Domain]Equity Method Investments523000000USD-6
90000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Measurement Frequency [Domain]Other Assets [Member]Derivative Assets202000000USD-6
100000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Measurement Frequency [Domain]Other Assets [Member]Derivative Assets246000000USD-6
110000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Measurement Frequency [Domain]Balance Sheet Location [Domain]Other Assets Fair Value Disclosure1000000USD-6
120000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Measurement Frequency [Domain]Balance Sheet Location [Domain]Other Assets Fair Value Disclosure12000000USD-6
130000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Fair Value Measurement Frequency [Domain]Balance Sheet Location [Domain]Available For Sale Securities139004000000USD-6
140000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Fair Value Measurement Frequency [Domain]Balance Sheet Location [Domain]Available For Sale Securities123671000000USD-6

Component: (Network and Table)
Network
100710 - Disclosure - Components of Inventories (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureComponentsOfInventoriesDetail)
TableInventory, Current [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Inventory Raw Materials Net Of Reserves797000000USD-6
20000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Inventory Raw Materials Net Of Reserves612000000USD-6
30000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Inventory Work In Process Net Of Reserves158000000USD-6
40000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Inventory Work In Process Net Of Reserves145000000USD-6
50000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Inventory Finished Goods Net Of Reserves1239000000USD-6
60000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Inventory Finished Goods Net Of Reserves1481000000USD-6
70000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Inventory Net2181000000USD-6
80000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Inventory Net2251000000USD-6

Component: (Network and Table)
Network
100720 - Disclosure - Components of Property and Equipment (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureComponentsOfPropertyAndEquipmentDetail)
TableProperty, Plant and Equipment [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Land824000000USD-6
20000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Land1107000000USD-6
30000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Buildings And Improvements Gross16284000000USD-6
40000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Buildings And Improvements Gross12393000000USD-6
50000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Leasehold Improvements Gross3659000000USD-6
60000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Leasehold Improvements Gross5064000000USD-6
70000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Computer Hardware And Software21414000000USD-6
80000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Computer Hardware And Software17391000000USD-6
90000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Furniture And Fixtures Gross4044000000USD-6
100000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Furniture And Fixtures Gross3889000000USD-6
110000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Property Plant And Equipment Gross38156000000USD-6
120000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Property Plant And Equipment Gross47913000000USD-6
130000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Accumulated Depreciation Depletion And Amortization Property Plant And Equipment24179000000USD-6
140000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Accumulated Depreciation Depletion And Amortization Property Plant And Equipment19800000000USD-6
150000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Property Plant And Equipment Net18356000000USD-6
160000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Property Plant And Equipment Net23734000000USD-6

Component: (Network and Table)
Network
100730 - Disclosure - Property and Equipment - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosurePropertyAndEquipmentAdditionalInformationDetail)
TableProperty, Plant and Equipment [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Capital Leased Assets Gross2700000000USD-8
20000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Capital Leased Assets Gross865000000USD-6
30000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Capital Leases Lessee Balance Sheet Assets By Major Class Accumulated Deprecation57000000USD-6
40000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Capital Leases Lessee Balance Sheet Assets By Major Class Accumulated Deprecation161000000USD-6
50000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Capital Lease Obligations Incurred413000000USD-6
60000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Capital Lease Obligations Incurred1800000000USD-8
70000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Depreciation4900000000USD-8
80000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Depreciation6100000000USD-8
90000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Depreciation4100000000USD-8

Component: (Network and Table)
Network
100740 - Disclosure - Business Combinations - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureBusinessCombinationsAdditionalInformationDetail)
TableSchedule of Business Acquisitions, by Acquisition [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Business Acquisition [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-12-07 - 2016-12-08Entity [Domain]Linked In Corporation [Member]Business Acquisition Effective Date Of Acquisition12016-12-08
20000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Linked In Corporation [Member]Business Acquisition Name Of Acquired EntityLinkedIn
30000789019 (http://www.sec.gov/CIK)2016-12-07 - 2016-12-08Entity [Domain]Linked In Corporation [Member]Business Combination Consideration Transferred127000000000USD-8
40000789019 (http://www.sec.gov/CIK)2016-12-07 - 2016-12-08Entity [Domain]Linked In Corporation [Member]Payments To Acquire Businesses Gross26900000000USD-8

Component: (Network and Table)
Network
100750 - Disclosure - Major Classes of Assets and Liabilities to Which We Allocated the Purchase Price (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureMajorClassesOfAssetsAndLiabilitiesToWhichWeAllocatedPurchasePriceDetail)
TableSchedule of Business Acquisitions, by Acquisition [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Business Acquisition [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-12-08Entity [Domain]Linked In Corporation [Member]Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Cash And Equivalents1328000000USD-6
20000789019 (http://www.sec.gov/CIK)2016-12-08Entity [Domain]Linked In Corporation [Member]Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Current Assets Marketable Securities2110000000USD-6
30000789019 (http://www.sec.gov/CIK)2016-12-08Entity [Domain]Linked In Corporation [Member]Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Current Assets Other697000000USD-6
40000789019 (http://www.sec.gov/CIK)2016-12-08Entity [Domain]Linked In Corporation [Member]Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Property Plant And Equipment1529000000USD-6
50000789019 (http://www.sec.gov/CIK)2016-12-08Entity [Domain]Linked In Corporation [Member]Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Intangibles7887000000USD-6
60000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Business Acquisition Acquiree [Domain]Goodwill35122000000USD-6
70000789019 (http://www.sec.gov/CIK)2016-12-08Entity [Domain]Linked In Corporation [Member]Goodwill16803000000USD-6PE7
80000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Business Acquisition Acquiree [Domain]Goodwill17872000000USD-6
90000789019 (http://www.sec.gov/CIK)2015-06-30Entity [Domain]Business Acquisition Acquiree [Domain]Goodwill16939000000USD-6
100000789019 (http://www.sec.gov/CIK)2016-12-08Entity [Domain]Linked In Corporation [Member]Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Current Liabilities Short Term Debt1323000000USD-6PE8
110000789019 (http://www.sec.gov/CIK)2016-12-08Entity [Domain]Linked In Corporation [Member]Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Current Liabilities Other1117000000USD-6
120000789019 (http://www.sec.gov/CIK)2016-12-08Entity [Domain]Linked In Corporation [Member]Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Deferred Tax Liabilities Noncurrent774000000USD-6
130000789019 (http://www.sec.gov/CIK)2016-12-08Entity [Domain]Linked In Corporation [Member]Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Other Liabilities Net131000000USD-6
140000789019 (http://www.sec.gov/CIK)2016-12-08Entity [Domain]Linked In Corporation [Member]Business Combination Recognized Identifiable Assets Acquired Goodwill And Liabilities Assumed Net27009000000USD-6

Component: (Network and Table)
Network
100760 - Disclosure - Major Classes of Assets and Liabilities to Which We Allocated the Purchase Price (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureMajorClassesOfAssetsAndLiabilitiesToWhichWeAllocatedPurchasePriceParentheticalDetail)
TableSchedule of Business Acquisitions, by Acquisition [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Business Acquisition [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-12-08Entity [Domain]Linked In Corporation [Member]Business Acquisition Purchase Price Allocation Goodwill Expected Tax Deductible Amount0USDINF
20000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Business Acquisition Acquiree [Domain]Debt Instrument Face Amount40949000000USD-6
30000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Business Acquisition Acquiree [Domain]Debt Instrument Face Amount77837000000USD-6
40000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Linked In Corporation [Member]Debt Instrument Face Amount18000000USD-6

Component: (Network and Table)
Network
100770 - Disclosure - Acquired Intangible Assets (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureAcquiredIntangibleAssetsDetail)
TableFinite Lived Intangible Assets Acquired as Part of Business Combination [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Business Acquisition [Axis]Finite Lived Intangible Assets By Major Class [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-12-08Entity [Domain]Linked In Corporation [Member]Technology Based Intangible Assets [Member]Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Intangibles2109000000USD-6
20000789019 (http://www.sec.gov/CIK)2016-12-08Entity [Domain]Linked In Corporation [Member]Finite Lived Intangible Assets Major Class Name [Domain]Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Intangibles7887000000USD-6
30000789019 (http://www.sec.gov/CIK)2016-12-08Entity [Domain]Linked In Corporation [Member]Customer Relationships [Member]Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Intangibles3607000000USD-6
40000789019 (http://www.sec.gov/CIK)2016-12-08Entity [Domain]Linked In Corporation [Member]Marketing Related Intangible Assets [Member]Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Intangibles2148000000USD-6
50000789019 (http://www.sec.gov/CIK)2016-12-08Entity [Domain]Linked In Corporation [Member]Contractual Rights [Member]Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Intangibles23000000USD-6
60000789019 (http://www.sec.gov/CIK)2016-12-07 - 2016-12-08Entity [Domain]Linked In Corporation [Member]Finite Lived Intangible Assets Major Class Name [Domain]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP9Y
70000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Business Acquisition Acquiree [Domain]Technology Based Intangible Assets [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP2Y
80000789019 (http://www.sec.gov/CIK)2016-12-07 - 2016-12-08Entity [Domain]Linked In Corporation [Member]Contractual Rights [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP5Y
90000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Business Acquisition Acquiree [Domain]Customer Relationships [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP7Y
100000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Business Acquisition Acquiree [Domain]Technology Based Intangible Assets [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP4Y
110000789019 (http://www.sec.gov/CIK)2016-12-07 - 2016-12-08Entity [Domain]Linked In Corporation [Member]Technology Based Intangible Assets [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP3Y
120000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Business Acquisition Acquiree [Domain]Marketing Related Intangible Assets [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP1Y
130000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Business Acquisition Acquiree [Domain]Marketing Related Intangible Assets [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP19Y
140000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Business Acquisition Acquiree [Domain]Finite Lived Intangible Assets Major Class Name [Domain]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP9Y
150000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Business Acquisition Acquiree [Domain]Customer Relationships [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP3Y
160000789019 (http://www.sec.gov/CIK)2016-12-07 - 2016-12-08Entity [Domain]Linked In Corporation [Member]Customer Relationships [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP7Y
170000789019 (http://www.sec.gov/CIK)2016-12-07 - 2016-12-08Entity [Domain]Linked In Corporation [Member]Marketing Related Intangible Assets [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP20Y
180000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Business Acquisition Acquiree [Domain]Contractual Rights [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP6Y
190000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Business Acquisition Acquiree [Domain]Finite Lived Intangible Assets Major Class Name [Domain]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP4Y

Component: (Network and Table)
Network
100780 - Disclosure - Revenue and Operating Loss Attributable to Acquiree, Since the Date of Acquisition (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureRevenueAndOperatingLossAttributableToAcquireeSinceDateOfAcquisitionDetail)
TableSchedule of Business Acquisitions, by Acquisition [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Business Acquisition [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Linked In Corporation [Member]Business Combination Pro Forma Information Revenue Of Acquiree Since Acquisition Date Actual2268000000USD-6
20000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Linked In Corporation [Member]Business Combination Pro Forma Information Earnings Or Loss Of Acquiree Since Acquisition Date Actual-948000000USD-6

Component: (Network and Table)
Network
100790 - Disclosure - Supplemental Consolidated Financial Results on Unaudited Pro Forma Basis, as If the Acquisition Had Been Consummated on Beginning of Period (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSupplementalConsolidatedFinancialResultsOnUnauditedProFormaBasisAsIfAcquisitionHadBeenConsummatedOnBeginningOfPeriodDetail)
TableSchedule of Business Acquisitions, by Acquisition [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Business Acquisition [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Linked In Corporation [Member]Business Acquisitions Pro Forma Revenue91668000000USD-6
20000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Linked In Corporation [Member]Business Acquisitions Pro Forma Revenue88652000000USD-6
30000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Linked In Corporation [Member]Business Acquisitions Pro Forma Net Income Loss20894000000USD-6
40000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Linked In Corporation [Member]Business Acquisitions Pro Forma Net Income Loss15383000000USD-6
50000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Linked In Corporation [Member]Business Acquisition Pro Forma Earnings Per Share Diluted1.92USD / Shares2
60000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Linked In Corporation [Member]Business Acquisition Pro Forma Earnings Per Share Diluted2.67USD / Shares2

Component: (Network and Table)
Network
100800 - Disclosure - Carrying Amount of Goodwill (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureCarryingAmountOfGoodwillDetail)
TableSchedule of Goodwill [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Statement Business Segments [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2015-06-30Entity [Domain]Productivity And Business Processes [Member]Goodwill6309000000USD-6
20000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]More Personal Computing [Member]Goodwill5727000000USD-6
30000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Productivity And Business Processes [Member]Goodwill23739000000USD-6
40000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]More Personal Computing [Member]Goodwill5828000000USD-6
50000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Productivity And Business Processes [Member]Goodwill6678000000USD-6
60000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Segment [Domain]Goodwill35122000000USD-6
70000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Intelligent Cloud [Member]Goodwill5467000000USD-6
80000789019 (http://www.sec.gov/CIK)2015-06-30Entity [Domain]Intelligent Cloud [Member]Goodwill4917000000USD-6
90000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Intelligent Cloud [Member]Goodwill5555000000USD-6
100000789019 (http://www.sec.gov/CIK)2015-06-30Entity [Domain]More Personal Computing [Member]Goodwill5713000000USD-6
110000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Segment [Domain]Goodwill17872000000USD-6
120000789019 (http://www.sec.gov/CIK)2015-06-30Entity [Domain]Segment [Domain]Goodwill16939000000USD-6
130000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Segment [Domain]Goodwill Acquired During Period17236000000USD-6
140000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Intelligent Cloud [Member]Goodwill Acquired During Period49000000USD-6
150000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Productivity And Business Processes [Member]Goodwill Acquired During Period17072000000USD-6PE9
160000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Segment [Domain]Goodwill Acquired During Period1092000000USD-6
170000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]More Personal Computing [Member]Goodwill Acquired During Period115000000USD-6
180000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Productivity And Business Processes [Member]Goodwill Acquired During Period443000000USD-6
190000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]More Personal Computing [Member]Goodwill Acquired During Period100000000USD-6
200000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Intelligent Cloud [Member]Goodwill Acquired During Period549000000USD-6
210000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Productivity And Business Processes [Member]Goodwill Other Increase Decrease-74000000USD-6
220000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Intelligent Cloud [Member]Goodwill Other Increase Decrease1000000USD-6
230000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Intelligent Cloud [Member]Goodwill Other Increase Decrease39000000USD-6
240000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Productivity And Business Processes [Member]Goodwill Other Increase Decrease-11000000USD-6
250000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]More Personal Computing [Member]Goodwill Other Increase Decrease-14000000USD-6
260000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Segment [Domain]Goodwill Other Increase Decrease14000000USD-6
270000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]More Personal Computing [Member]Goodwill Other Increase Decrease-86000000USD-6
280000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Segment [Domain]Goodwill Other Increase Decrease-159000000USD-6

Component: (Network and Table)
Network
100810 - Disclosure - Goodwill - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureGoodwillAdditionalInformationDetail)
TableSchedule of Goodwill [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Statement Business Segments [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Segment [Domain]Goodwill Impaired Accumulated Impairment Loss11300000000USD-8
20000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Segment [Domain]Goodwill Impaired Accumulated Impairment Loss11300000000USD-8
30000789019 (http://www.sec.gov/CIK)2016-05-01 - 2016-05-01Entity [Domain]Segment [Domain]Goodwill Impairment Loss0USDINF
40000789019 (http://www.sec.gov/CIK)2017-05-01 - 2017-05-01Entity [Domain]Segment [Domain]Goodwill Impairment Loss0USDINF
50000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Phone Hardware [Member]Goodwill Impairment Loss5100000000USD-8

Component: (Network and Table)
Network
100820 - Disclosure - Finite-Lived Intangible Assets (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFiniteLivedIntangibleAssetsDetail)
TableSchedule of Finite Lived Intangible Assets [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Finite Lived Intangible Assets By Major Class [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Customer Relationships [Member]Finite Lived Intangible Assets Gross465000000USD-6
20000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Technology Based Intangible Assets [Member]Finite Lived Intangible Assets Gross7765000000USD-6PE10
30000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Marketing Related Intangible Assets [Member]Finite Lived Intangible Assets Gross4016000000USD-6
40000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Marketing Related Intangible Assets [Member]Finite Lived Intangible Assets Gross1869000000USD-6
50000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Contractual Rights [Member]Finite Lived Intangible Assets Gross796000000USD-6
60000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Technology Based Intangible Assets [Member]Finite Lived Intangible Assets Gross5970000000USD-6PE10
70000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Contractual Rights [Member]Finite Lived Intangible Assets Gross841000000USD-6
80000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Finite Lived Intangible Assets Major Class Name [Domain]Finite Lived Intangible Assets Gross9100000000USD-6
90000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Customer Relationships [Member]Finite Lived Intangible Assets Gross4045000000USD-6
100000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Finite Lived Intangible Assets Major Class Name [Domain]Finite Lived Intangible Assets Gross16667000000USD-6PE11
110000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Marketing Related Intangible Assets [Member]Finite Lived Intangible Assets Accumulated Amortization616000000USD-6
120000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Marketing Related Intangible Assets [Member]Finite Lived Intangible Assets Accumulated Amortization829000000USD-6
130000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Finite Lived Intangible Assets Major Class Name [Domain]Finite Lived Intangible Assets Accumulated Amortization6561000000USD-6
140000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Technology Based Intangible Assets [Member]Finite Lived Intangible Assets Accumulated Amortization4318000000USD-6PE10
150000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Contractual Rights [Member]Finite Lived Intangible Assets Accumulated Amortization722000000USD-6
160000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Finite Lived Intangible Assets Major Class Name [Domain]Finite Lived Intangible Assets Accumulated Amortization5367000000USD-6
170000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Customer Relationships [Member]Finite Lived Intangible Assets Accumulated Amortization385000000USD-6
180000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Customer Relationships [Member]Finite Lived Intangible Assets Accumulated Amortization692000000USD-6
190000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Contractual Rights [Member]Finite Lived Intangible Assets Accumulated Amortization718000000USD-6
200000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Technology Based Intangible Assets [Member]Finite Lived Intangible Assets Accumulated Amortization3648000000USD-6PE10
210000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Finite Lived Intangible Assets Major Class Name [Domain]Finite Lived Intangible Assets Net3733000000USD-6
220000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Technology Based Intangible Assets [Member]Finite Lived Intangible Assets Net3447000000USD-6PE10
230000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Marketing Related Intangible Assets [Member]Finite Lived Intangible Assets Net3187000000USD-6
240000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Finite Lived Intangible Assets Major Class Name [Domain]Finite Lived Intangible Assets Net10106000000USD-6
250000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Marketing Related Intangible Assets [Member]Finite Lived Intangible Assets Net1253000000USD-6
260000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Customer Relationships [Member]Finite Lived Intangible Assets Net80000000USD-6
270000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Contractual Rights [Member]Finite Lived Intangible Assets Net119000000USD-6
280000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Technology Based Intangible Assets [Member]Finite Lived Intangible Assets Net2322000000USD-6PE10
290000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Contractual Rights [Member]Finite Lived Intangible Assets Net78000000USD-6
300000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Customer Relationships [Member]Finite Lived Intangible Assets Net3353000000USD-6

Component: (Network and Table)
Network
100830 - Disclosure - Finite-Lived Intangible Assets (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFiniteLivedIntangibleAssetsParentheticalDetail)
TableSchedule of Finite Lived Intangible Assets [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Finite Lived Intangible Assets By Major Class [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Technology Based Intangible Assets [Member]Capitalized Software Development Costs For Software Sold To Customers59000000USD-6
20000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Technology Based Intangible Assets [Member]Capitalized Software Development Costs For Software Sold To Customers115000000USD-6

Component: (Network and Table)
Network
100840 - Disclosure - Intangible Assets - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureIntangibleAssetsAdditionalInformationDetail)
TableSchedule of Finite Lived Intangible Assets [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Statement Business Segments [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Devices [Member]Impairment Of Intangible Assets Finitelived480000000USD-6
20000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Phone Hardware [Member]Impairment Of Intangible Assets Finitelived2200000000USD-8
30000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Segment [Domain]Amortization Of Intangible Assets1700000000USD-8
40000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Segment [Domain]Amortization Of Intangible Assets1300000000USD-8
50000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Segment [Domain]Amortization Of Intangible Assets978000000USD-6
60000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Segment [Domain]Capitalized Computer Software Amortization179000000USD-6
70000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Segment [Domain]Capitalized Computer Software Amortization169000000USD-6
80000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Segment [Domain]Capitalized Computer Software Amortization155000000USD-6

Component: (Network and Table)
Network
100850 - Disclosure - Intangible Assets Acquired (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureIntangibleAssetsAcquiredDetail)
TableSchedule of Acquired Finite Lived Intangible Asset by Major Class [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Finite Lived Intangible Assets By Major Class [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Technology Based Intangible Assets [Member]Acquired Finite Lived Intangible Assets361000000USD-6
20000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Finite Lived Intangible Assets Major Class Name [Domain]Acquired Finite Lived Intangible Assets8083000000USD-6
30000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Technology Based Intangible Assets [Member]Acquired Finite Lived Intangible Assets2265000000USD-6
40000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Customer Relationships [Member]Acquired Finite Lived Intangible Assets30000000USD-6
50000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Contractual Rights [Member]Acquired Finite Lived Intangible Assets0USD-6
60000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Marketing Related Intangible Assets [Member]Acquired Finite Lived Intangible Assets2148000000USD-6
70000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Marketing Related Intangible Assets [Member]Acquired Finite Lived Intangible Assets2000000USD-6
80000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Contractual Rights [Member]Acquired Finite Lived Intangible Assets63000000USD-6
90000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Customer Relationships [Member]Acquired Finite Lived Intangible Assets3607000000USD-6
100000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Finite Lived Intangible Assets Major Class Name [Domain]Acquired Finite Lived Intangible Assets393000000USD-6
110000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Technology Based Intangible Assets [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP2Y
120000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Customer Relationships [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP7Y
130000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Technology Based Intangible Assets [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP4Y
140000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Marketing Related Intangible Assets [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP1Y
150000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Marketing Related Intangible Assets [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP19Y
160000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Finite Lived Intangible Assets Major Class Name [Domain]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP9Y
170000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Customer Relationships [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP3Y
180000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Contractual Rights [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP6Y
190000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Finite Lived Intangible Assets Major Class Name [Domain]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP4Y

Component: (Network and Table)
Network
100860 - Disclosure - Estimated Future Amortization Expense Related to Intangible Assets (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEstimatedFutureAmortizationExpenseRelatedToIntangibleAssetsDetail)
TableSchedule of Finite Lived Intangible Assets [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Finite Lived Intangible Assets Amortization Expense Next Twelve Months2190000000USD-6
20000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Finite Lived Intangible Assets Amortization Expense Year Two1698000000USD-6
30000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Finite Lived Intangible Assets Amortization Expense Year Three1180000000USD-6
40000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Finite Lived Intangible Assets Amortization Expense Year Four1006000000USD-6
50000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Finite Lived Intangible Assets Amortization Expense Year Five932000000USD-6
60000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Finite Lived Intangible Assets Amortization Expense After Year Five3100000000USD-6
70000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Finite Lived Intangible Assets Net3733000000USD-6
80000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Finite Lived Intangible Assets Net10106000000USD-6

Component: (Network and Table)
Network
100870 - Disclosure - Debt - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDebtAdditionalInformationDetail)
TableSchedule of Long term Debt Instruments [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Short Term Debt Type [Axis]Range [Axis]Debt Instrument [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Short Term Debt Type [Domain]Range [Member]Debt Instrument Name [Domain]Commercial Paper9100000000USD-8
20000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Short Term Debt Type [Domain]Range [Member]Debt Instrument Name [Domain]Commercial Paper12900000000USD-8
30000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Commercial Paper [Member]Range [Member]Debt Instrument Name [Domain]Short Term Debt Weighted Average Interest Rate0.0043Pure4
40000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Commercial Paper [Member]Range [Member]Debt Instrument Name [Domain]Short Term Debt Weighted Average Interest Rate0.0101Pure4
50000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Commercial Paper [Member]Maximum [Member]Debt Instrument Name [Domain]Debt Instrument TermP264D
60000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Commercial Paper [Member]Minimum [Member]Debt Instrument Name [Domain]Debt Instrument TermP1D
70000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Commercial Paper [Member]Minimum [Member]Debt Instrument Name [Domain]Debt Instrument TermP25D
80000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Commercial Paper [Member]Maximum [Member]Debt Instrument Name [Domain]Debt Instrument TermP99D
90000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Short Term Debt Type [Domain]Range [Member]Credit Facility Expire On October Thirty One Twenty Seventeen [Member]Line Of Credit Facility Maximum Borrowing Capacity5000000000USDINF
100000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Short Term Debt Type [Domain]Range [Member]Credit Facility Expire On November Fourteen Twenty Eighteen [Member]Line Of Credit Facility Maximum Borrowing Capacity5000000000USDINF
110000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Short Term Debt Type [Domain]Range [Member]Credit Facility Expire On November Fourteen Twenty Eighteen [Member]Line Of Credit Facility Expiration Date12018-11-14
120000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Short Term Debt Type [Domain]Range [Member]Credit Facility Expire On October Thirty One Twenty Seventeen [Member]Line Of Credit Facility Expiration Date12017-10-31
130000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Short Term Debt Type [Domain]Range [Member]Debt Instrument Name [Domain]Line Of Credit Facility Covenant ComplianceAs of June 30, 2017, we were in compliance with the only financial covenant in both credit agreements, which requires us to maintain a coverage ratio of at least three times earnings before interest, taxes, depreciation, and amortization to interest expense, as defined in the credit agreements.
140000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Short Term Debt Type [Domain]Range [Member]Debt Instrument Name [Domain]Proceeds From Lines Of Credit0USDINF
150000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Short Term Debt Type [Domain]Range [Member]Debt Instrument Name [Domain]Proceeds From Lines Of Credit0USDINF
160000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Short Term Debt Type [Domain]Range [Member]Debt Instrument Name [Domain]Long Term Debt77100000000USD-8
170000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Short Term Debt Type [Domain]Range [Member]Debt Instrument Name [Domain]Long Term Debt40600000000USD-8
180000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Short Term Debt Type [Domain]Range [Member]Debt Instrument Name [Domain]Long Term Debt Fair Value44000000000USD-8
190000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Short Term Debt Type [Domain]Range [Member]Debt Instrument Name [Domain]Long Term Debt Fair Value80300000000USD-8
200000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Short Term Debt Type [Domain]Range [Member]Debt Instrument Name [Domain]Interest Paid1100000000USD-8
210000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Short Term Debt Type [Domain]Range [Member]Debt Instrument Name [Domain]Interest Paid1600000000USD-8
220000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Short Term Debt Type [Domain]Range [Member]Debt Instrument Name [Domain]Interest Paid620000000USD-6
230000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Short Term Debt Type [Domain]Range [Member]Debt Instrument Name [Domain]Debt Instrument Unamortized Discount Premium And Debt Issuance Costs Net715000000USD-6
240000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Short Term Debt Type [Domain]Range [Member]Debt Instrument Name [Domain]Debt Instrument Unamortized Discount Premium And Debt Issuance Costs Net392000000USD-6

Component: (Network and Table)
Network
100880 - Disclosure - Long-term Debt (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureLongTermDebtDetail)
TableSchedule of Long term Debt Instruments [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Debt Instrument [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Four Point Two Five Percent Due February Six Twenty Forty Seven [Member]Debt Instrument Maturity Date2047-02-06PE12
20000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Two Point Zero Percent Due November Three Twenty Twenty [Member]Debt Instrument Maturity Date2020-11-03
30000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Five Point Three Percent Due February Eight Twenty Forty One [Member]Debt Instrument Maturity Date2041-02-08
40000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Four Percent Due February Twelve Twenty Fifty Five [Member]Debt Instrument Maturity Date2055-02-12
50000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes One Point Six Two Five Percent Due December Six Twenty Eighteen [Member]Debt Instrument Maturity Date2018-12-06
60000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Four Point Five Percent Due October One Twenty Forty [Member]Debt Instrument Maturity Date2040-10-01
70000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Three Point Seven Percent Due August Eight Twenty Forty Six [Member]Debt Instrument Maturity Date2046-08-08PE13
80000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Zero Point Eight Seven Five Percent Due November Fifteen Twenty Seventeen [Member]Debt Instrument Maturity Date2017-11-15
90000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes One Point One Percent Due August Eight Twenty Nineteen [Member]Debt Instrument Maturity Date2019-08-08PE13
100000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Three Point Seven Five Percent Due February Twelve Twenty Forty Five [Member]Debt Instrument Maturity Date2045-02-12
110000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Two Point One Two Five Percent Due December Six Twenty Twenty One [Member]Debt Instrument Maturity Date2021-12-06PE14
120000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes One Point Eight Five Percent Due February Twelve Twenty Twenty [Member]Debt Instrument Maturity Date2020-02-12
130000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Three Point Five Percent Due February Twelve Twenty Thirty Five [Member]Debt Instrument Maturity Date2035-02-12
140000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes Two Point One Two Five Percent Due December Six Twenty Twenty One [Member]Debt Instrument Maturity Date2021-12-06PE14
150000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes Four Point Eight Seven Five Percent Due December Fifteen Twenty Forty Three [Member]Debt Instrument Maturity Date2043-12-15
160000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Two Point One Two Five Percent Due November Fifteen Twenty Twenty Two [Member]Debt Instrument Maturity Date2022-11-15
170000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes Three Point One Two Five Percent Due December Six Twenty Twenty Eight [Member]Debt Instrument Maturity Date2028-12-06PE14
180000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes Four Point Five Percent Due October One Twenty Forty [Member]Debt Instrument Maturity Date2040-10-01
190000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes Four Point Four Five Percent Due November Three Twenty Forty Five [Member]Debt Instrument Maturity Date2045-11-03
200000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Three Point Three Percent Due February Six Twenty Twenty Seven [Member]Debt Instrument Maturity Date2027-02-06PE12
210000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Three Point One Two Five Percent Due December Six Twenty Twenty Eight [Member]Debt Instrument Maturity Date2028-12-06PE14
220000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Four Point Eight Seven Five Percent Due December Fifteen Twenty Forty Three [Member]Debt Instrument Maturity Date2043-12-15
230000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes Two Point Zero Percent Due November Three Twenty Twenty [Member]Debt Instrument Maturity Date2020-11-03
240000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes Five Point Three Percent Due February Eight Twenty Forty One [Member]Debt Instrument Maturity Date2041-02-08
250000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Two Point Three Seven Five Percent Due February Twelve Twenty Twenty Two [Member]Debt Instrument Maturity Date2022-02-12
260000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes Two Point Six Five Percent Due November Three Twenty Twenty Two [Member]Debt Instrument Maturity Date2022-11-03
270000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes Five Point Two Percent Due June One Twenty Thirty Nine [Member]Debt Instrument Maturity Date2039-06-01
280000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Three Point Seven Five Percent Due May One Twenty Forty Three [Member]Debt Instrument Maturity Date2043-05-01
290000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes Two Point Three Seven Five Percent Due May One Twenty Twenty Three [Member]Debt Instrument Maturity Date2023-05-01
300000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes Three Point Six Two Five Percent Due December Fifteen Twenty Twenty Three [Member]Debt Instrument Maturity Date2023-12-15
310000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Two Point Three Seven Five Percent Due May One Twenty Twenty Three [Member]Debt Instrument Maturity Date2023-05-01
320000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes Two Point Six Two Five Percent Due May Two Twenty Thirty Three [Member]Debt Instrument Maturity Date2033-05-02PE14
330000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes One Point Five Five Percent Due August Eight Twenty Twenty One [Member]Debt Instrument Maturity Date2021-08-08PE13
340000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes Four Point Zero Percent Due February Eight Twenty Twenty One [Member]Debt Instrument Maturity Date2021-02-08
350000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes Two Point Seven Percent Due February Twelve Twenty Twenty Five [Member]Debt Instrument Maturity Date2025-02-12
360000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes One Point Three Zero Percent Due November Three Twenty Eighteen [Member]Debt Instrument Maturity Date2018-11-03
370000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Four Point Two Percent Due November Three Twenty Thirty Five [Member]Debt Instrument Maturity Date2035-11-03
380000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes One Point Zero Percent Due May One Twenty Eighteen [Member]Debt Instrument Maturity Date2018-05-01
390000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes One Point Zero Percent Due May One Twenty Eighteen [Member]Debt Instrument Maturity Date2018-05-01
400000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Four Point Five Percent Due February Six Twenty Fifty Seven [Member]Debt Instrument Maturity Date2057-02-06PE12
410000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Two Point Eight Seven Five Percent Due February Six Twenty Twenty Four [Member]Debt Instrument Maturity Date2024-02-06PE12
420000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes Zero Point Eight Seven Five Percent Due November Fifteen Twenty Seventeen [Member]Debt Instrument Maturity Date2017-11-15
430000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes Four Point Seven Five Percent Due November Three Twenty Fifty Five [Member]Debt Instrument Maturity Date2055-11-03
440000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes One Point Eight Five Percent Due February Six Twenty Twenty [Member]Debt Instrument Maturity Date2020-02-06PE12
450000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Three Point Zero Percent Due October One Twenty Twenty [Member]Debt Instrument Maturity Date2020-10-01
460000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes One Point Eight Five Percent Due February Twelve Twenty Twenty [Member]Debt Instrument Maturity Date2020-02-12
470000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes Three Point Zero Percent Due October One Twenty Twenty [Member]Debt Instrument Maturity Date2020-10-01
480000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Three Point One Two Five Percent Due November Three Twenty Twenty Five [Member]Debt Instrument Maturity Date2025-11-03
490000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes Three Point One Two Five Percent Due November Three Twenty Twenty Five [Member]Debt Instrument Maturity Date2025-11-03
500000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes Two Point Three Seven Five Percent Due February Twelve Twenty Twenty Two [Member]Debt Instrument Maturity Date2022-02-12
510000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Two Point Four Percent Due February Six Twenty Twenty Two [Member]Debt Instrument Maturity Date2022-02-06PE12
520000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Four Point Four Five Percent Due November Three Twenty Forty Five [Member]Debt Instrument Maturity Date2045-11-03
530000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Three Point Five Percent Due November Fifteen Twenty Forty Two [Member]Debt Instrument Maturity Date2042-11-15
540000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Two Point Zero Percent Due August Eight Twenty Twenty Three [Member]Debt Instrument Maturity Date2023-08-08PE13
550000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes Two Point One Two Five Percent Due November Fifteen Twenty Twenty Two [Member]Debt Instrument Maturity Date2022-11-15
560000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes Four Point Two Percent Due November Three Twenty Thirty Five [Member]Debt Instrument Maturity Date2035-11-03
570000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Four Point Two Percent Due June One Twenty Nineteen [Member]Debt Instrument Maturity Date2019-06-01
580000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes Four Percent Due February Twelve Twenty Fifty Five [Member]Debt Instrument Maturity Date2055-02-12
590000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Three Point Four Five Percent Due August Eight Twenty Thirty Six [Member]Debt Instrument Maturity Date2036-08-08PE13
600000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Zero Point Five Percent Due November One Twenty Nineteen [Member]Debt Instrument Maturity Date2019-11-01PE15
610000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Three Point Six Two Five Percent Due December Fifteen Twenty Twenty Three [Member]Debt Instrument Maturity Date2023-12-15
620000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Two Point Seven Percent Due February Twelve Twenty Twenty Five [Member]Debt Instrument Maturity Date2025-02-12
630000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Four Point One Percent Due February Six Twenty Thirty Seven [Member]Debt Instrument Maturity Date2037-02-06PE12
640000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes Three Point Seven Five Percent Due May One Twenty Forty Three [Member]Debt Instrument Maturity Date2043-05-01
650000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Four Point Seven Five Percent Due November Three Twenty Fifty Five [Member]Debt Instrument Maturity Date2055-11-03
660000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes Three Point Seven Five Percent Due February Twelve Twenty Forty Five [Member]Debt Instrument Maturity Date2045-02-12
670000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Two Point Four Percent Due August Eight Twenty Twenty Six [Member]Debt Instrument Maturity Date2026-08-08PE13
680000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes Four Point Two Percent Due June One Twenty Nineteen [Member]Debt Instrument Maturity Date2019-06-01
690000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Four Point Zero Percent Due February Eight Twenty Twenty One [Member]Debt Instrument Maturity Date2021-02-08
700000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Five Point Two Percent Due June One Twenty Thirty Nine [Member]Debt Instrument Maturity Date2039-06-01
710000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Two Point Six Two Five Percent Due May Two Twenty Thirty Three [Member]Debt Instrument Maturity Date2033-05-02PE14
720000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes One Point Six Two Five Percent Due December Six Twenty Eighteen [Member]Debt Instrument Maturity Date2018-12-06
730000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Two Point Six Five Percent Due November Three Twenty Twenty Two [Member]Debt Instrument Maturity Date2022-11-03
740000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes One Point Three Zero Percent Due November Three Twenty Eighteen [Member]Debt Instrument Maturity Date2018-11-03
750000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes Three Point Five Percent Due February Twelve Twenty Thirty Five [Member]Debt Instrument Maturity Date2035-02-12
760000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Notes Three Point Nine Five Percent Due August Eight Twenty Fifty Six [Member]Debt Instrument Maturity Date2056-08-08PE13
770000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Notes Three Point Five Percent Due November Fifteen Twenty Forty Two [Member]Debt Instrument Maturity Date2042-11-15
780000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point Six Two Five Percent Due December Fifteen Twenty Twenty Three [Member]Debt Instrument Face Amount1500000000USD-6
790000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point Seven Percent Due August Eight Twenty Forty Six [Member]Debt Instrument Face Amount4500000000USD-6PE13
800000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point Zero Percent Due November Three Twenty Twenty [Member]Debt Instrument Face Amount2250000000USD-6
810000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point Eight Seven Five Percent Due February Six Twenty Twenty Four [Member]Debt Instrument Face Amount2250000000USD-6PE12
820000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Two Point Three Seven Five Percent Due May One Twenty Twenty Three [Member]Debt Instrument Face Amount1000000000USD-6
830000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Two Point One Two Five Percent Due November Fifteen Twenty Twenty Two [Member]Debt Instrument Face Amount750000000USD-6
840000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point One Two Five Percent Due December Six Twenty Twenty Eight [Member]Debt Instrument Face Amount1996000000USD-6PE14
850000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point Five Percent Due February Twelve Twenty Thirty Five [Member]Debt Instrument Face Amount1500000000USD-6
860000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Three Point Five Percent Due February Twelve Twenty Thirty Five [Member]Debt Instrument Face Amount1500000000USD-6
870000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Two Point One Two Five Percent Due December Six Twenty Twenty One [Member]Debt Instrument Face Amount1944000000USD-6PE14
880000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Two Point Six Two Five Percent Due May Two Twenty Thirty Three [Member]Debt Instrument Face Amount611000000USD-6PE14
890000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Debt Instrument Name [Domain]Debt Instrument Face Amount40949000000USD-6
900000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes One Point Zero Percent Due May One Twenty Eighteen [Member]Debt Instrument Face Amount450000000USD-6
910000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Three Point Five Percent Due November Fifteen Twenty Forty Two [Member]Debt Instrument Face Amount900000000USD-6
920000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Four Point Zero Percent Due February Eight Twenty Twenty One [Member]Debt Instrument Face Amount500000000USD-6
930000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Two Point Seven Percent Due February Twelve Twenty Twenty Five [Member]Debt Instrument Face Amount2250000000USD-6
940000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Four Point Eight Seven Five Percent Due December Fifteen Twenty Forty Three [Member]Debt Instrument Face Amount500000000USD-6
950000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Point Two Percent Due November Three Twenty Thirty Five [Member]Debt Instrument Face Amount1000000000USD-6
960000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point Seven Five Percent Due February Twelve Twenty Forty Five [Member]Debt Instrument Face Amount1750000000USD-6
970000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Zero Point Eight Seven Five Percent Due November Fifteen Twenty Seventeen [Member]Debt Instrument Face Amount600000000USD-6
980000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point Six Five Percent Due November Three Twenty Twenty Two [Member]Debt Instrument Face Amount1000000000USD-6
990000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Two Point Zero Percent Due November Three Twenty Twenty [Member]Debt Instrument Face Amount2250000000USD-6
1000000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Four Point Seven Five Percent Due November Three Twenty Fifty Five [Member]Debt Instrument Face Amount1000000000USD-6
1010000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point Three Percent Due February Six Twenty Twenty Seven [Member]Debt Instrument Face Amount4000000000USD-6PE12
1020000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Point Eight Seven Five Percent Due December Fifteen Twenty Forty Three [Member]Debt Instrument Face Amount500000000USD-6
1030000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Four Percent Due February Twelve Twenty Fifty Five [Member]Debt Instrument Face Amount2250000000USD-6
1040000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Five Point Two Percent Due June One Twenty Thirty Nine [Member]Debt Instrument Face Amount750000000USD-6
1050000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point Four Percent Due February Six Twenty Twenty Two [Member]Debt Instrument Face Amount1750000000USD-6PE12
1060000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Point Two Five Percent Due February Six Twenty Forty Seven [Member]Debt Instrument Face Amount3000000000USD-6PE12
1070000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes One Point Three Zero Percent Due November Three Twenty Eighteen [Member]Debt Instrument Face Amount1750000000USD-6
1080000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Two Point Six Five Percent Due November Three Twenty Twenty Two [Member]Debt Instrument Face Amount1000000000USD-6
1090000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes One Point Zero Percent Due May One Twenty Eighteen [Member]Debt Instrument Face Amount450000000USD-6
1100000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Two Point Three Seven Five Percent Due February Twelve Twenty Twenty Two [Member]Debt Instrument Face Amount1500000000USD-6
1110000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point Three Seven Five Percent Due May One Twenty Twenty Three [Member]Debt Instrument Face Amount1000000000USD-6
1120000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point Six Two Five Percent Due May Two Twenty Thirty Three [Member]Debt Instrument Face Amount627000000USD-6PE14
1130000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes One Point Five Five Percent Due August Eight Twenty Twenty One [Member]Debt Instrument Face Amount2750000000USD-6PE13
1140000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Point Seven Five Percent Due November Three Twenty Fifty Five [Member]Debt Instrument Face Amount1000000000USD-6
1150000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Point One Percent Due February Six Twenty Thirty Seven [Member]Debt Instrument Face Amount2500000000USD-6PE12
1160000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes One Point Eight Five Percent Due February Six Twenty Twenty [Member]Debt Instrument Face Amount1500000000USD-6PE12
1170000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point Four Five Percent Due August Eight Twenty Thirty Six [Member]Debt Instrument Face Amount2250000000USD-6PE13
1180000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point Three Seven Five Percent Due February Twelve Twenty Twenty Two [Member]Debt Instrument Face Amount1500000000USD-6
1190000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Point Five Percent Due October One Twenty Forty [Member]Debt Instrument Face Amount1000000000USD-6
1200000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Five Point Three Percent Due February Eight Twenty Forty One [Member]Debt Instrument Face Amount1000000000USD-6
1210000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Three Point Seven Five Percent Due February Twelve Twenty Forty Five [Member]Debt Instrument Face Amount1750000000USD-6
1220000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point One Two Five Percent Due November Three Twenty Twenty Five [Member]Debt Instrument Face Amount3000000000USD-6
1230000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Three Point One Two Five Percent Due December Six Twenty Twenty Eight [Member]Debt Instrument Face Amount1944000000USD-6PE14
1240000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point Seven Five Percent Due May One Twenty Forty Three [Member]Debt Instrument Face Amount500000000USD-6
1250000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Four Point Five Percent Due October One Twenty Forty [Member]Debt Instrument Face Amount1000000000USD-6
1260000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes One Point Six Two Five Percent Due December Six Twenty Eighteen [Member]Debt Instrument Face Amount1250000000USD-6
1270000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Four Point Four Five Percent Due November Three Twenty Forty Five [Member]Debt Instrument Face Amount3000000000USD-6
1280000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point Zero Percent Due August Eight Twenty Twenty Three [Member]Debt Instrument Face Amount1500000000USD-6PE13
1290000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes One Point Eight Five Percent Due February Twelve Twenty Twenty [Member]Debt Instrument Face Amount1500000000USD-6
1300000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Zero Point Five Percent Due November One Twenty Nineteen [Member]Debt Instrument Face Amount18000000USD-6PE15
1310000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Three Point One Two Five Percent Due November Three Twenty Twenty Five [Member]Debt Instrument Face Amount3000000000USD-6
1320000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Zero Point Eight Seven Five Percent Due November Fifteen Twenty Seventeen [Member]Debt Instrument Face Amount600000000USD-6
1330000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Three Point Seven Five Percent Due May One Twenty Forty Three [Member]Debt Instrument Face Amount500000000USD-6
1340000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Four Point Two Percent Due November Three Twenty Thirty Five [Member]Debt Instrument Face Amount1000000000USD-6
1350000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Four Point Two Percent Due June One Twenty Nineteen [Member]Debt Instrument Face Amount1000000000USD-6
1360000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Debt Instrument Name [Domain]Debt Instrument Face Amount77837000000USD-6
1370000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point Five Percent Due November Fifteen Twenty Forty Two [Member]Debt Instrument Face Amount900000000USD-6
1380000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point One Two Five Percent Due November Fifteen Twenty Twenty Two [Member]Debt Instrument Face Amount750000000USD-6
1390000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Five Point Two Percent Due June One Twenty Thirty Nine [Member]Debt Instrument Face Amount750000000USD-6
1400000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point Seven Percent Due February Twelve Twenty Twenty Five [Member]Debt Instrument Face Amount2250000000USD-6
1410000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Three Point Six Two Five Percent Due December Fifteen Twenty Twenty Three [Member]Debt Instrument Face Amount1500000000USD-6
1420000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Five Point Three Percent Due February Eight Twenty Forty One [Member]Debt Instrument Face Amount1000000000USD-6
1430000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point Zero Percent Due October One Twenty Twenty [Member]Debt Instrument Face Amount1000000000USD-6
1440000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point One Two Five Percent Due December Six Twenty Twenty One [Member]Debt Instrument Face Amount1996000000USD-6PE14
1450000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes One Point Three Zero Percent Due November Three Twenty Eighteen [Member]Debt Instrument Face Amount1750000000USD-6
1460000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Point Five Percent Due February Six Twenty Fifty Seven [Member]Debt Instrument Face Amount2000000000USD-6PE12
1470000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes One Point Six Two Five Percent Due December Six Twenty Eighteen [Member]Debt Instrument Face Amount1250000000USD-6
1480000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Point Two Percent Due June One Twenty Nineteen [Member]Debt Instrument Face Amount1000000000USD-6
1490000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Point Zero Percent Due February Eight Twenty Twenty One [Member]Debt Instrument Face Amount500000000USD-6
1500000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Percent Due February Twelve Twenty Fifty Five [Member]Debt Instrument Face Amount2250000000USD-6
1510000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes One Point One Percent Due August Eight Twenty Nineteen [Member]Debt Instrument Face Amount2500000000USD-6PE13
1520000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point Four Percent Due August Eight Twenty Twenty Six [Member]Debt Instrument Face Amount4000000000USD-6PE13
1530000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Point Four Five Percent Due November Three Twenty Forty Five [Member]Debt Instrument Face Amount3000000000USD-6
1540000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes One Point Eight Five Percent Due February Twelve Twenty Twenty [Member]Debt Instrument Face Amount1500000000USD-6
1550000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point Nine Five Percent Due August Eight Twenty Fifty Six [Member]Debt Instrument Face Amount2250000000USD-6PE13
1560000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Three Point Zero Percent Due October One Twenty Twenty [Member]Debt Instrument Face Amount1000000000USD-6
1570000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Two Point Seven Percent Due February Twelve Twenty Twenty Five [Member]Debt Instrument Interest Rate Stated Percentage0.02700PureINF
1580000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Two Point One Two Five Percent Due December Six Twenty Twenty One [Member]Debt Instrument Interest Rate Stated Percentage0.02125PureINFPE14
1590000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Three Point Six Two Five Percent Due December Fifteen Twenty Twenty Three [Member]Debt Instrument Interest Rate Stated Percentage0.03625PureINF
1600000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Point Seven Five Percent Due November Three Twenty Fifty Five [Member]Debt Instrument Interest Rate Stated Percentage0.04750PureINF
1610000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Two Point Zero Percent Due November Three Twenty Twenty [Member]Debt Instrument Interest Rate Stated Percentage0.02000PureINF
1620000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes One Point Eight Five Percent Due February Twelve Twenty Twenty [Member]Debt Instrument Interest Rate Stated Percentage0.01850PureINF
1630000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point Zero Percent Due November Three Twenty Twenty [Member]Debt Instrument Interest Rate Stated Percentage0.02000PureINF
1640000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Point Two Percent Due June One Twenty Nineteen [Member]Debt Instrument Interest Rate Stated Percentage0.04200PureINF
1650000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point Six Two Five Percent Due May Two Twenty Thirty Three [Member]Debt Instrument Interest Rate Stated Percentage0.02625PureINFPE14
1660000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Point Eight Seven Five Percent Due December Fifteen Twenty Forty Three [Member]Debt Instrument Interest Rate Stated Percentage0.04875PureINF
1670000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Three Point Seven Five Percent Due February Twelve Twenty Forty Five [Member]Debt Instrument Interest Rate Stated Percentage0.03750PureINF
1680000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes One Point Eight Five Percent Due February Six Twenty Twenty [Member]Debt Instrument Interest Rate Stated Percentage0.01850PureINFPE12
1690000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point Four Five Percent Due August Eight Twenty Thirty Six [Member]Debt Instrument Interest Rate Stated Percentage0.03450PureINFPE13
1700000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Three Point One Two Five Percent Due November Three Twenty Twenty Five [Member]Debt Instrument Interest Rate Stated Percentage0.03125PureINF
1710000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes One Point Five Five Percent Due August Eight Twenty Twenty One [Member]Debt Instrument Interest Rate Stated Percentage0.01550PureINFPE13
1720000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point Six Two Five Percent Due December Fifteen Twenty Twenty Three [Member]Debt Instrument Interest Rate Stated Percentage0.03625PureINF
1730000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point Five Percent Due November Fifteen Twenty Forty Two [Member]Debt Instrument Interest Rate Stated Percentage0.03500PureINF
1740000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes One Point Three Zero Percent Due November Three Twenty Eighteen [Member]Debt Instrument Interest Rate Stated Percentage0.01300PureINF
1750000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Two Point Three Seven Five Percent Due May One Twenty Twenty Three [Member]Debt Instrument Interest Rate Stated Percentage0.02375PureINF
1760000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Point One Percent Due February Six Twenty Thirty Seven [Member]Debt Instrument Interest Rate Stated Percentage0.04100PureINFPE12
1770000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Point Four Five Percent Due November Three Twenty Forty Five [Member]Debt Instrument Interest Rate Stated Percentage0.04450PureINF
1780000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes One Point Three Zero Percent Due November Three Twenty Eighteen [Member]Debt Instrument Interest Rate Stated Percentage0.01300PureINF
1790000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point Zero Percent Due August Eight Twenty Twenty Three [Member]Debt Instrument Interest Rate Stated Percentage0.02000PureINFPE13
1800000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point One Two Five Percent Due November Fifteen Twenty Twenty Two [Member]Debt Instrument Interest Rate Stated Percentage0.02125PureINF
1810000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Four Point Four Five Percent Due November Three Twenty Forty Five [Member]Debt Instrument Interest Rate Stated Percentage0.04450PureINF
1820000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point Five Percent Due February Twelve Twenty Thirty Five [Member]Debt Instrument Interest Rate Stated Percentage0.03500PureINF
1830000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Three Point Seven Five Percent Due May One Twenty Forty Three [Member]Debt Instrument Interest Rate Stated Percentage0.03750PureINF
1840000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point Four Percent Due August Eight Twenty Twenty Six [Member]Debt Instrument Interest Rate Stated Percentage0.02400PureINFPE13
1850000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point One Two Five Percent Due November Three Twenty Twenty Five [Member]Debt Instrument Interest Rate Stated Percentage0.03125PureINF
1860000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Four Point Two Percent Due June One Twenty Nineteen [Member]Debt Instrument Interest Rate Stated Percentage0.04200PureINF
1870000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes One Point Six Two Five Percent Due December Six Twenty Eighteen [Member]Debt Instrument Interest Rate Stated Percentage0.01625PureINF
1880000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Three Point One Two Five Percent Due December Six Twenty Twenty Eight [Member]Debt Instrument Interest Rate Stated Percentage0.03125PureINFPE14
1890000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Zero Point Eight Seven Five Percent Due November Fifteen Twenty Seventeen [Member]Debt Instrument Interest Rate Stated Percentage0.00875PureINF
1900000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes One Point One Percent Due August Eight Twenty Nineteen [Member]Debt Instrument Interest Rate Stated Percentage0.01100PureINFPE13
1910000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point Eight Seven Five Percent Due February Six Twenty Twenty Four [Member]Debt Instrument Interest Rate Stated Percentage0.02875PureINFPE12
1920000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Three Point Zero Percent Due October One Twenty Twenty [Member]Debt Instrument Interest Rate Stated Percentage0.03000PureINF
1930000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point Six Five Percent Due November Three Twenty Twenty Two [Member]Debt Instrument Interest Rate Stated Percentage0.02650PureINF
1940000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Five Point Two Percent Due June One Twenty Thirty Nine [Member]Debt Instrument Interest Rate Stated Percentage0.05200PureINF
1950000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Four Point Eight Seven Five Percent Due December Fifteen Twenty Forty Three [Member]Debt Instrument Interest Rate Stated Percentage0.04875PureINF
1960000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Four Point Seven Five Percent Due November Three Twenty Fifty Five [Member]Debt Instrument Interest Rate Stated Percentage0.04750PureINF
1970000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point Three Seven Five Percent Due May One Twenty Twenty Three [Member]Debt Instrument Interest Rate Stated Percentage0.02375PureINF
1980000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Four Percent Due February Twelve Twenty Fifty Five [Member]Debt Instrument Interest Rate Stated Percentage0.04000PureINF
1990000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes One Point Eight Five Percent Due February Twelve Twenty Twenty [Member]Debt Instrument Interest Rate Stated Percentage0.01850PureINF
2000000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Five Point Three Percent Due February Eight Twenty Forty One [Member]Debt Instrument Interest Rate Stated Percentage0.05300PureINF
2010000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Two Point One Two Five Percent Due November Fifteen Twenty Twenty Two [Member]Debt Instrument Interest Rate Stated Percentage0.02125PureINF
2020000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point Zero Percent Due October One Twenty Twenty [Member]Debt Instrument Interest Rate Stated Percentage0.03000PureINF
2030000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes One Point Six Two Five Percent Due December Six Twenty Eighteen [Member]Debt Instrument Interest Rate Stated Percentage0.01625PureINF
2040000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point Three Seven Five Percent Due February Twelve Twenty Twenty Two [Member]Debt Instrument Interest Rate Stated Percentage0.02375PureINF
2050000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point One Two Five Percent Due December Six Twenty Twenty Eight [Member]Debt Instrument Interest Rate Stated Percentage0.03125PureINFPE14
2060000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Four Point Two Percent Due November Three Twenty Thirty Five [Member]Debt Instrument Interest Rate Stated Percentage0.04200PureINF
2070000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Zero Point Five Percent Due November One Twenty Nineteen [Member]Debt Instrument Interest Rate Stated Percentage0.00500PureINFPE15
2080000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point Three Percent Due February Six Twenty Twenty Seven [Member]Debt Instrument Interest Rate Stated Percentage0.03300PureINFPE12
2090000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Percent Due February Twelve Twenty Fifty Five [Member]Debt Instrument Interest Rate Stated Percentage0.04000PureINF
2100000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point Seven Five Percent Due May One Twenty Forty Three [Member]Debt Instrument Interest Rate Stated Percentage0.03750PureINF
2110000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point Seven Percent Due August Eight Twenty Forty Six [Member]Debt Instrument Interest Rate Stated Percentage0.03700PureINFPE13
2120000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Two Point Six Five Percent Due November Three Twenty Twenty Two [Member]Debt Instrument Interest Rate Stated Percentage0.02650PureINF
2130000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Point Two Five Percent Due February Six Twenty Forty Seven [Member]Debt Instrument Interest Rate Stated Percentage0.04250PureINFPE12
2140000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Point Two Percent Due November Three Twenty Thirty Five [Member]Debt Instrument Interest Rate Stated Percentage0.04200PureINF
2150000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point One Two Five Percent Due December Six Twenty Twenty One [Member]Debt Instrument Interest Rate Stated Percentage0.02125PureINFPE14
2160000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Two Point Six Two Five Percent Due May Two Twenty Thirty Three [Member]Debt Instrument Interest Rate Stated Percentage0.02625PureINFPE14
2170000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Four Point Five Percent Due October One Twenty Forty [Member]Debt Instrument Interest Rate Stated Percentage0.04500PureINF
2180000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Three Point Five Percent Due November Fifteen Twenty Forty Two [Member]Debt Instrument Interest Rate Stated Percentage0.03500PureINF
2190000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes One Point Zero Percent Due May One Twenty Eighteen [Member]Debt Instrument Interest Rate Stated Percentage0.01000PureINF
2200000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point Seven Percent Due February Twelve Twenty Twenty Five [Member]Debt Instrument Interest Rate Stated Percentage0.02700PureINF
2210000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point Four Percent Due February Six Twenty Twenty Two [Member]Debt Instrument Interest Rate Stated Percentage0.02400PureINFPE12
2220000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point Seven Five Percent Due February Twelve Twenty Forty Five [Member]Debt Instrument Interest Rate Stated Percentage0.03750PureINF
2230000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point Nine Five Percent Due August Eight Twenty Fifty Six [Member]Debt Instrument Interest Rate Stated Percentage0.03950PureINFPE13
2240000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Three Point Five Percent Due February Twelve Twenty Thirty Five [Member]Debt Instrument Interest Rate Stated Percentage0.03500PureINF
2250000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes One Point Zero Percent Due May One Twenty Eighteen [Member]Debt Instrument Interest Rate Stated Percentage0.01000PureINF
2260000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Four Point Zero Percent Due February Eight Twenty Twenty One [Member]Debt Instrument Interest Rate Stated Percentage0.04000PureINF
2270000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Point Zero Percent Due February Eight Twenty Twenty One [Member]Debt Instrument Interest Rate Stated Percentage0.04000PureINF
2280000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Zero Point Eight Seven Five Percent Due November Fifteen Twenty Seventeen [Member]Debt Instrument Interest Rate Stated Percentage0.00875PureINF
2290000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Five Point Three Percent Due February Eight Twenty Forty One [Member]Debt Instrument Interest Rate Stated Percentage0.05300PureINF
2300000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Point Five Percent Due October One Twenty Forty [Member]Debt Instrument Interest Rate Stated Percentage0.04500PureINF
2310000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Five Point Two Percent Due June One Twenty Thirty Nine [Member]Debt Instrument Interest Rate Stated Percentage0.05200PureINF
2320000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Two Point Three Seven Five Percent Due February Twelve Twenty Twenty Two [Member]Debt Instrument Interest Rate Stated Percentage0.02375PureINF
2330000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Point Five Percent Due February Six Twenty Fifty Seven [Member]Debt Instrument Interest Rate Stated Percentage0.04500PureINFPE12
2340000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Point Two Five Percent Due February Six Twenty Forty Seven [Member]Debt Instrument Interest Rate Effective Percentage0.04287Pure5PE12
2350000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point One Two Five Percent Due November Three Twenty Twenty Five [Member]Debt Instrument Interest Rate Effective Percentage0.03176Pure5
2360000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point Seven Percent Due August Eight Twenty Forty Six [Member]Debt Instrument Interest Rate Effective Percentage0.03743Pure5PE13
2370000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Three Point Five Percent Due February Twelve Twenty Thirty Five [Member]Debt Instrument Interest Rate Effective Percentage0.03604Pure5
2380000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes One Point Three Zero Percent Due November Three Twenty Eighteen [Member]Debt Instrument Interest Rate Effective Percentage0.01396Pure5
2390000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Three Point Zero Percent Due October One Twenty Twenty [Member]Debt Instrument Interest Rate Effective Percentage0.03137Pure5
2400000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes One Point Six Two Five Percent Due December Six Twenty Eighteen [Member]Debt Instrument Interest Rate Effective Percentage0.01824Pure5
2410000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Point Zero Percent Due February Eight Twenty Twenty One [Member]Debt Instrument Interest Rate Effective Percentage0.04082Pure5
2420000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Two Point One Two Five Percent Due December Six Twenty Twenty One [Member]Debt Instrument Interest Rate Effective Percentage0.02233Pure5PE14
2430000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Three Point Seven Five Percent Due February Twelve Twenty Forty Five [Member]Debt Instrument Interest Rate Effective Percentage0.03800Pure5
2440000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point Four Percent Due February Six Twenty Twenty Two [Member]Debt Instrument Interest Rate Effective Percentage0.02520Pure5PE12
2450000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Four Point Five Percent Due October One Twenty Forty [Member]Debt Instrument Interest Rate Effective Percentage0.04567Pure5
2460000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Zero Point Eight Seven Five Percent Due November Fifteen Twenty Seventeen [Member]Debt Instrument Interest Rate Effective Percentage0.01084Pure5
2470000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point Zero Percent Due August Eight Twenty Twenty Three [Member]Debt Instrument Interest Rate Effective Percentage0.02101Pure5PE13
2480000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Point Two Percent Due November Three Twenty Thirty Five [Member]Debt Instrument Interest Rate Effective Percentage0.04260Pure5
2490000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Zero Point Five Percent Due November One Twenty Nineteen [Member]Debt Instrument Interest Rate Effective Percentage0.00500Pure5PE15
2500000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point Zero Percent Due October One Twenty Twenty [Member]Debt Instrument Interest Rate Effective Percentage0.03137Pure5
2510000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point One Two Five Percent Due December Six Twenty Twenty Eight [Member]Debt Instrument Interest Rate Effective Percentage0.03218Pure5PE14
2520000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Three Point Seven Five Percent Due May One Twenty Forty Three [Member]Debt Instrument Interest Rate Effective Percentage0.03829Pure5
2530000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point Six Five Percent Due November Three Twenty Twenty Two [Member]Debt Instrument Interest Rate Effective Percentage0.02717Pure5
2540000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point Eight Seven Five Percent Due February Six Twenty Twenty Four [Member]Debt Instrument Interest Rate Effective Percentage0.03041Pure5PE12
2550000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point Four Percent Due August Eight Twenty Twenty Six [Member]Debt Instrument Interest Rate Effective Percentage0.02464Pure5PE13
2560000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Two Point Three Seven Five Percent Due February Twelve Twenty Twenty Two [Member]Debt Instrument Interest Rate Effective Percentage0.02466Pure5
2570000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Five Point Two Percent Due June One Twenty Thirty Nine [Member]Debt Instrument Interest Rate Effective Percentage0.05240Pure5
2580000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point Six Two Five Percent Due December Fifteen Twenty Twenty Three [Member]Debt Instrument Interest Rate Effective Percentage0.03726Pure5
2590000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Point Four Five Percent Due November Three Twenty Forty Five [Member]Debt Instrument Interest Rate Effective Percentage0.04492Pure5
2600000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Four Point Seven Five Percent Due November Three Twenty Fifty Five [Member]Debt Instrument Interest Rate Effective Percentage0.04782Pure5
2610000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes One Point One Percent Due August Eight Twenty Nineteen [Member]Debt Instrument Interest Rate Effective Percentage0.01203Pure5PE13
2620000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes One Point Zero Percent Due May One Twenty Eighteen [Member]Debt Instrument Interest Rate Effective Percentage0.01106Pure5
2630000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Two Point Seven Percent Due February Twelve Twenty Twenty Five [Member]Debt Instrument Interest Rate Effective Percentage0.02772Pure5
2640000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Two Point Zero Percent Due November Three Twenty Twenty [Member]Debt Instrument Interest Rate Effective Percentage0.02093Pure5
2650000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Point Five Percent Due February Six Twenty Fifty Seven [Member]Debt Instrument Interest Rate Effective Percentage0.04528Pure5PE12
2660000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Three Point One Two Five Percent Due November Three Twenty Twenty Five [Member]Debt Instrument Interest Rate Effective Percentage0.03176Pure5
2670000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point Four Five Percent Due August Eight Twenty Thirty Six [Member]Debt Instrument Interest Rate Effective Percentage0.03510Pure5PE13
2680000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Zero Point Eight Seven Five Percent Due November Fifteen Twenty Seventeen [Member]Debt Instrument Interest Rate Effective Percentage0.01084Pure5
2690000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point One Two Five Percent Due November Fifteen Twenty Twenty Two [Member]Debt Instrument Interest Rate Effective Percentage0.02239Pure5
2700000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes One Point Eight Five Percent Due February Six Twenty Twenty [Member]Debt Instrument Interest Rate Effective Percentage0.01952Pure5PE12
2710000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Point Five Percent Due October One Twenty Forty [Member]Debt Instrument Interest Rate Effective Percentage0.04567Pure5
2720000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Four Percent Due February Twelve Twenty Fifty Five [Member]Debt Instrument Interest Rate Effective Percentage0.04063Pure5
2730000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point Three Seven Five Percent Due May One Twenty Twenty Three [Member]Debt Instrument Interest Rate Effective Percentage0.02465Pure5
2740000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point Five Percent Due November Fifteen Twenty Forty Two [Member]Debt Instrument Interest Rate Effective Percentage0.03571Pure5
2750000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Two Point Six Five Percent Due November Three Twenty Twenty Two [Member]Debt Instrument Interest Rate Effective Percentage0.02717Pure5
2760000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Four Point Two Percent Due November Three Twenty Thirty Five [Member]Debt Instrument Interest Rate Effective Percentage0.04260Pure5
2770000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Three Point Five Percent Due November Fifteen Twenty Forty Two [Member]Debt Instrument Interest Rate Effective Percentage0.03571Pure5
2780000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Point Seven Five Percent Due November Three Twenty Fifty Five [Member]Debt Instrument Interest Rate Effective Percentage0.04782Pure5
2790000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes One Point Eight Five Percent Due February Twelve Twenty Twenty [Member]Debt Instrument Interest Rate Effective Percentage0.01935Pure5
2800000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Four Point Zero Percent Due February Eight Twenty Twenty One [Member]Debt Instrument Interest Rate Effective Percentage0.04082Pure5
2810000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point One Two Five Percent Due December Six Twenty Twenty One [Member]Debt Instrument Interest Rate Effective Percentage0.02233Pure5PE14
2820000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Two Point Six Two Five Percent Due May Two Twenty Thirty Three [Member]Debt Instrument Interest Rate Effective Percentage0.02690Pure5PE14
2830000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes One Point Zero Percent Due May One Twenty Eighteen [Member]Debt Instrument Interest Rate Effective Percentage0.01106Pure5
2840000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Percent Due February Twelve Twenty Fifty Five [Member]Debt Instrument Interest Rate Effective Percentage0.04063Pure5
2850000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Five Point Three Percent Due February Eight Twenty Forty One [Member]Debt Instrument Interest Rate Effective Percentage0.05361Pure5
2860000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point Five Percent Due February Twelve Twenty Thirty Five [Member]Debt Instrument Interest Rate Effective Percentage0.03604Pure5
2870000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes One Point Eight Five Percent Due February Twelve Twenty Twenty [Member]Debt Instrument Interest Rate Effective Percentage0.01935Pure5
2880000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Point Eight Seven Five Percent Due December Fifteen Twenty Forty Three [Member]Debt Instrument Interest Rate Effective Percentage0.04918Pure5
2890000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Point Two Percent Due June One Twenty Nineteen [Member]Debt Instrument Interest Rate Effective Percentage0.04379Pure5
2900000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point Three Seven Five Percent Due February Twelve Twenty Twenty Two [Member]Debt Instrument Interest Rate Effective Percentage0.02466Pure5
2910000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Two Point Three Seven Five Percent Due May One Twenty Twenty Three [Member]Debt Instrument Interest Rate Effective Percentage0.02465Pure5
2920000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point Seven Percent Due February Twelve Twenty Twenty Five [Member]Debt Instrument Interest Rate Effective Percentage0.02772Pure5
2930000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Five Point Three Percent Due February Eight Twenty Forty One [Member]Debt Instrument Interest Rate Effective Percentage0.05361Pure5
2940000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes One Point Five Five Percent Due August Eight Twenty Twenty One [Member]Debt Instrument Interest Rate Effective Percentage0.01642Pure5PE13
2950000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point Six Two Five Percent Due May Two Twenty Thirty Three [Member]Debt Instrument Interest Rate Effective Percentage0.02690Pure5PE14
2960000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point Seven Five Percent Due May One Twenty Forty Three [Member]Debt Instrument Interest Rate Effective Percentage0.03829Pure5
2970000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Three Point One Two Five Percent Due December Six Twenty Twenty Eight [Member]Debt Instrument Interest Rate Effective Percentage0.03218Pure5PE14
2980000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes One Point Six Two Five Percent Due December Six Twenty Eighteen [Member]Debt Instrument Interest Rate Effective Percentage0.01824Pure5
2990000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point Nine Five Percent Due August Eight Twenty Fifty Six [Member]Debt Instrument Interest Rate Effective Percentage0.04033Pure5PE13
3000000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point Three Percent Due February Six Twenty Twenty Seven [Member]Debt Instrument Interest Rate Effective Percentage0.03383Pure5PE12
3010000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Five Point Two Percent Due June One Twenty Thirty Nine [Member]Debt Instrument Interest Rate Effective Percentage0.05240Pure5
3020000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Three Point Seven Five Percent Due February Twelve Twenty Forty Five [Member]Debt Instrument Interest Rate Effective Percentage0.03800Pure5
3030000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Four Point Two Percent Due June One Twenty Nineteen [Member]Debt Instrument Interest Rate Effective Percentage0.04379Pure5
3040000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Two Point One Two Five Percent Due November Fifteen Twenty Twenty Two [Member]Debt Instrument Interest Rate Effective Percentage0.02239Pure5
3050000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Four Point Eight Seven Five Percent Due December Fifteen Twenty Forty Three [Member]Debt Instrument Interest Rate Effective Percentage0.04918Pure5
3060000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Two Point Zero Percent Due November Three Twenty Twenty [Member]Debt Instrument Interest Rate Effective Percentage0.02093Pure5
3070000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Three Point Six Two Five Percent Due December Fifteen Twenty Twenty Three [Member]Debt Instrument Interest Rate Effective Percentage0.03726Pure5
3080000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes Four Point Four Five Percent Due November Three Twenty Forty Five [Member]Debt Instrument Interest Rate Effective Percentage0.04492Pure5
3090000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Notes One Point Three Zero Percent Due November Three Twenty Eighteen [Member]Debt Instrument Interest Rate Effective Percentage0.01396Pure5
3100000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Notes Four Point One Percent Due February Six Twenty Thirty Seven [Member]Debt Instrument Interest Rate Effective Percentage0.04152Pure5PE12

Component: (Network and Table)
Network
100890 - Disclosure - Long-term Debt (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureLongTermDebtParentheticalDetail)
TableSchedule of Long term Debt Instruments [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Debt Instrument [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Debt Instrument Name [Domain]Debt Instrument Face Amount40949000000USD-6
20000789019 (http://www.sec.gov/CIK)2016-08-31Entity [Domain]U S D Debt Issued In Period [Member]Debt Instrument Face Amount19800000000USD-8
30000789019 (http://www.sec.gov/CIK)2017-02-28Entity [Domain]U S D Debt Issued In Period [Member]Debt Instrument Face Amount17000000000USD-8
40000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Debt Instrument Name [Domain]Debt Instrument Face Amount77837000000USD-6

Component: (Network and Table)
Network
100900 - Disclosure - Maturities of Long-term Debt (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureMaturitiesOfLongTermDebtDetail)
TableSchedule of Long term Debt Instruments [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Long Term Debt Maturities Repayments Of Principal In Next Twelve Months1050000000USD-6
20000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Long Term Debt Maturities Repayments Of Principal In Year Two4000000000USD-6
30000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Long Term Debt Maturities Repayments Of Principal In Year Three5518000000USD-6
40000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Long Term Debt Maturities Repayments Of Principal In Year Four3750000000USD-6
50000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Long Term Debt Maturities Repayments Of Principal In Year Five7996000000USD-6
60000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Long Term Debt Maturities Repayments Of Principal After Year Five55523000000USD-6
70000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Debt Instrument Face Amount40949000000USD-6
80000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Debt Instrument Face Amount77837000000USD-6

Component: (Network and Table)
Network
100910 - Disclosure - Provision for Income Taxes (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureProvisionForIncomeTaxesDetail)
TableReconciliation of Provision of Income Taxes [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Current Federal Tax Expense Benefit3661000000USD-6
20000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Current Federal Tax Expense Benefit545000000USD-6
30000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Current Federal Tax Expense Benefit2739000000USD-6
40000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Current State And Local Tax Expense Benefit136000000USD-6
50000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Current State And Local Tax Expense Benefit364000000USD-6
60000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Current State And Local Tax Expense Benefit30000000USD-6
70000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Current Foreign Tax Expense Benefit2472000000USD-6
80000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Current Foreign Tax Expense Benefit2065000000USD-6
90000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Current Foreign Tax Expense Benefit1940000000USD-6
100000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Current Income Tax Expense Benefit2621000000USD-6
110000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Current Income Tax Expense Benefit6090000000USD-6
120000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Current Income Tax Expense Benefit5241000000USD-6
130000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Deferred Income Tax Expense Benefit332000000USD-6
140000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Deferred Income Tax Expense Benefit224000000USD-6
150000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Deferred Income Tax Expense Benefit-3296000000USD-6
160000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Income Tax Expense Benefit2953000000USD-6
170000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Income Tax Expense Benefit1945000000USD-6
180000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Income Tax Expense Benefit6314000000USD-6

Component: (Network and Table)
Network
100920 - Disclosure - Income Taxes - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetail)
TableIncome Taxes [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Statement Business Segments [Axis]Income Statement Location [Axis]Deferred Revenue Arrangement Type [Axis]Income Tax Authority [Axis]Statement Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Deferred Federal State And Local Tax Expense Benefit-2700000000USD-8
20000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Deferred Foreign Income Tax Expense Benefit-617000000USD-6
30000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Income Loss From Continuing Operations Before Income Taxes Domestic-325000000USD-6
40000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Income Loss From Continuing Operations Before Income Taxes Domestic7363000000USD-6
50000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Windows Ten Deferral [Member]Income Tax Authority [Domain]Scenario Unspecified [Domain]Income Loss From Continuing Operations Before Income Taxes Domestic6400000000USD-8
60000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Windows Ten Deferral [Member]Income Tax Authority [Domain]Scenario Unspecified [Domain]Income Loss From Continuing Operations Before Income Taxes Domestic6000000000USD-8
70000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Income Loss From Continuing Operations Before Income Taxes Domestic453000000USD-6
80000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Phone Business [Member]Impairment Integration And Restructuring Expenses [Member]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Income Loss From Continuing Operations Before Income Taxes Domestic-1100000000USD-8
90000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Phone Business [Member]Impairment Integration And Restructuring Expenses [Member]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Income Loss From Continuing Operations Before Income Taxes Foreign-8900000000USD-8
100000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Windows Ten Deferral [Member]Income Tax Authority [Domain]Scenario Unspecified [Domain]Income Loss From Continuing Operations Before Income Taxes Foreign588000000USD-6
110000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Income Loss From Continuing Operations Before Income Taxes Foreign20076000000USD-6
120000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Income Loss From Continuing Operations Before Income Taxes Foreign11144000000USD-6
130000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Windows Ten Deferral [Member]Income Tax Authority [Domain]Scenario Unspecified [Domain]Income Loss From Continuing Operations Before Income Taxes Foreign317000000USD-6
140000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Income Loss From Continuing Operations Before Income Taxes Foreign22696000000USD-6
150000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Regional Operating Centers [Member]Scenario Unspecified [Domain]Foreign Earnings Taxed At Rates Lower Than Us Rate0.64Pure2
160000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Regional Operating Centers [Member]Scenario Unspecified [Domain]Foreign Earnings Taxed At Rates Lower Than Us Rate0.69Pure2
170000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Regional Operating Centers [Member]Scenario Unspecified [Domain]Foreign Earnings Taxed At Rates Lower Than Us Rate0.73Pure2
180000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Deferred Tax Assets Operating Loss Carryforwards4809000000USD-6
190000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Deferred Tax Assets Operating Loss Carryforwards4252000000USD-6
200000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Restatement Adjustment [Member]Deferred Tax Assets Operating Loss Carryforwards2500000000USD-8
210000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Restatement Adjustment [Member]Deferred Tax Assets Valuation Allowance2500000000USD-8
220000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Deferred Tax Assets Valuation Allowance4729000000USD-6
230000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Deferred Tax Assets Valuation Allowance3310000000USD-6
240000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Foreign Country [Member]Scenario Unspecified [Domain]Operating Loss Carryforwards11100000000USD-8
250000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Operating Loss Carryforwards13700000000USD-8
260000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Undistributed Earnings Of Foreign Subsidiaries142000000000USD-9
270000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Deferred Tax Liability Not Recognized Amount Of Unrecognized Deferred Tax Liability Undistributed Earnings Of Foreign Subsidiaries45000000000USD-9
280000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Income Taxes Paid Net3900000000USD-8
290000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Income Taxes Paid Net2400000000USD-8
300000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Income Taxes Paid Net4400000000USD-8
310000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Accrued Income Taxes Noncurrent11800000000USD-8
320000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Accrued Income Taxes Noncurrent13500000000USD-8
330000789019 (http://www.sec.gov/CIK)2014-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Unrecognized Tax Benefits8714000000USD-6
340000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Unrecognized Tax Benefits11737000000USD-6
350000789019 (http://www.sec.gov/CIK)2015-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Unrecognized Tax Benefits9599000000USD-6
360000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Unrecognized Tax Benefits10164000000USD-6
370000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Unrecognized Tax Benefits That Would Impact Effective Tax Rate8800000000USD-8
380000789019 (http://www.sec.gov/CIK)2015-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Unrecognized Tax Benefits That Would Impact Effective Tax Rate7900000000USD-8
390000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Unrecognized Tax Benefits That Would Impact Effective Tax Rate10200000000USD-8
400000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Unrecognized Tax Benefits Income Tax Penalties And Interest Accrued1900000000USD-8
410000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Unrecognized Tax Benefits Income Tax Penalties And Interest Accrued2300000000USD-8
420000789019 (http://www.sec.gov/CIK)2015-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Unrecognized Tax Benefits Income Tax Penalties And Interest Accrued1700000000USD-8
430000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Unrecognized Tax Benefits Income Tax Penalties And Interest Expense163000000USD-6
440000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Unrecognized Tax Benefits Income Tax Penalties And Interest Expense237000000USD-6
450000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Segment [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Income Tax Authority [Domain]Scenario Unspecified [Domain]Unrecognized Tax Benefits Income Tax Penalties And Interest Expense399000000USD-6

Component: (Network and Table)
Network
100930 - Disclosure - Income (Loss) Before Income Taxes (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureIncomeLossBeforeIncomeTaxesDetail)
TableSchedule of Components of Income Before Income Tax Expense (Benefit) [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Income Loss From Continuing Operations Before Income Taxes Domestic-325000000USD-6
20000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Income Loss From Continuing Operations Before Income Taxes Domestic7363000000USD-6
30000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Income Loss From Continuing Operations Before Income Taxes Domestic453000000USD-6
40000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Income Loss From Continuing Operations Before Income Taxes Foreign20076000000USD-6
50000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Income Loss From Continuing Operations Before Income Taxes Foreign11144000000USD-6
60000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Income Loss From Continuing Operations Before Income Taxes Foreign22696000000USD-6
70000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Income Loss From Continuing Operations Before Income Taxes Minority Interest And Income Loss From Equity Method Investments19751000000USD-6
80000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Income Loss From Continuing Operations Before Income Taxes Minority Interest And Income Loss From Equity Method Investments23149000000USD-6
90000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Income Loss From Continuing Operations Before Income Taxes Minority Interest And Income Loss From Equity Method Investments18507000000USD-6

Component: (Network and Table)
Network
100940 - Disclosure - Difference Between Income Taxes Computed at Federal Statutory Rate and Provision for Income Taxes (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDifferenceBetweenIncomeTaxesComputedAtFederalStatutoryRateAndProvisionForIncomeTaxesDetail)
TableReconciliation of Statutory Federal Tax Rate [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Effective Income Tax Rate Reconciliation At Federal Statutory Income Tax Rate0.350PureINF
20000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Effective Income Tax Rate Reconciliation At Federal Statutory Income Tax Rate0.350PureINF
30000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Effective Income Tax Rate Reconciliation At Federal Statutory Income Tax Rate0.350PureINF
40000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Foreign Income Tax Rate Differential-0.157Pure3
50000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Foreign Income Tax Rate Differential-0.209Pure3
60000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Foreign Income Tax Rate Differential-0.194Pure3
70000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Phone Business Gains Losses-0.073Pure3
80000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Phone Business Gains Losses0.191Pure3
90000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Phone Business Gains Losses0.013Pure3
100000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Deductions Excess Tax Benefits Stock Based Compensation0.020Pure3
110000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Deductions Excess Tax Benefits Stock Based Compensation0.027Pure3
120000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Deductions Excess Tax Benefits Stock Based Compensation0.00Pure2
130000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Deductions Qualified Production Activities0.014Pure3
140000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Deductions Qualified Production Activities0.006Pure3
150000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Deductions Qualified Production Activities0.024Pure3
160000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Interest Income Expense0.015Pure3
170000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Interest Income Expense0.012Pure3
180000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Interest Income Expense0.018Pure3
190000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Other Adjustments0.018Pure3
200000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Other Adjustments-0.005Pure3
210000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Other Adjustments-0.013Pure3
220000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Effective Income Tax Rate Continuing Operations0.341Pure3
230000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Effective Income Tax Rate Continuing Operations0.084Pure3
240000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Effective Income Tax Rate Continuing Operations0.150Pure3

Component: (Network and Table)
Network
100950 - Disclosure - Deferred Income Tax Assets and Liabilities (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDeferredIncomeTaxAssetsAndLiabilitiesDetail)
TableSchedule of Deferred Income Tax Assets and Liabilities [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Balance Sheet Location [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Tax Deferred Expense Compensation And Benefits Share Based Compensation Cost809000000USD-6
20000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Tax Deferred Expense Compensation And Benefits Share Based Compensation Cost777000000USD-6
30000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Tax Deferred Expense Other1609000000USD-6
40000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Tax Deferred Expense Other1550000000USD-6
50000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Tax Deferred Expense Reserves And Accruals Restructuring Charges66000000USD-6
60000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Tax Deferred Expense Reserves And Accruals Restructuring Charges284000000USD-6
70000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Deferred Income494000000USD-6
80000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Deferred Income1889000000USD-6
90000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Tax Deferred Expense Reserves And Accruals Impairment Losses59000000USD-6
100000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Tax Deferred Expense Reserves And Accruals Impairment Losses226000000USD-6
110000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Operating Loss Carryforwards4809000000USD-6
120000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Operating Loss Carryforwards4252000000USD-6
130000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Depreciation And Amortization115000000USD-6
140000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Depreciation And Amortization53000000USD-6
150000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Other89000000USD-6
160000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Other130000000USD-6
170000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Gross7878000000USD-6
180000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Gross9333000000USD-6
190000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Valuation Allowance4729000000USD-6
200000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Valuation Allowance3310000000USD-6
210000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Net6023000000USD-6
220000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Net3149000000USD-6
230000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Liabilities Undistributed Foreign Earnings1242000000USD-6
240000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Liabilities Undistributed Foreign Earnings1107000000USD-6
250000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Liabilities Unrealized Gains Investments And Debt1384000000USD-6
260000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Liabilities Unrealized Gains Investments And Debt2102000000USD-6
270000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Liabilities Depreciation And Amortization1008000000USD-6
280000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Liabilities Depreciation And Amortization1630000000USD-6
290000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Liabilities Other21000000USD-6
300000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Liabilities Other54000000USD-6
310000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Income Tax Liabilities4142000000USD-6
320000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Income Tax Liabilities4406000000USD-6
330000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Other Noncurrent Assets [Member]Deferred Tax Assets Liabilities Net219000000USD-6
340000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Other Noncurrent Assets [Member]Deferred Tax Assets Liabilities Net2412000000USD-6
350000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Liabilities Net1881000000USD-6
360000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Deferred Income Tax Liabilities Noncurrent [Member]Deferred Tax Liabilities531000000USD-6
370000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Liabilities1257000000USD-6
380000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Deferred Income Tax Liabilities Noncurrent [Member]Deferred Tax Liabilities1476000000USD-6

Component: (Network and Table)
Network
100960 - Disclosure - Changes in Unrecognized Tax Benefits (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureChangesInUnrecognizedTaxBenefitsDetail)
TableIncome Tax Contingency [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2014-06-30Entity [Domain]Unrecognized Tax Benefits8714000000USD-6
20000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Unrecognized Tax Benefits11737000000USD-6
30000789019 (http://www.sec.gov/CIK)2015-06-30Entity [Domain]Unrecognized Tax Benefits9599000000USD-6
40000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Unrecognized Tax Benefits10164000000USD-6
50000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Unrecognized Tax Benefits Decreases Resulting From Settlements With Taxing Authorities201000000USD-6
60000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Unrecognized Tax Benefits Decreases Resulting From Settlements With Taxing Authorities50000000USD-6
70000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Unrecognized Tax Benefits Decreases Resulting From Settlements With Taxing Authorities4000000USD-6
80000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Unrecognized Tax Benefits Increases Resulting From Current Period Tax Positions1086000000USD-6
90000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Unrecognized Tax Benefits Increases Resulting From Current Period Tax Positions1091000000USD-6
100000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Unrecognized Tax Benefits Increases Resulting From Current Period Tax Positions1277000000USD-6
110000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Unrecognized Tax Benefits Increases Resulting From Prior Period Tax Positions94000000USD-6
120000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Unrecognized Tax Benefits Increases Resulting From Prior Period Tax Positions397000000USD-6
130000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Unrecognized Tax Benefits Increases Resulting From Prior Period Tax Positions115000000USD-6
140000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Unrecognized Tax Benefits Decreases Resulting From Prior Period Tax Positions49000000USD-6
150000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Unrecognized Tax Benefits Decreases Resulting From Prior Period Tax Positions144000000USD-6
160000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Unrecognized Tax Benefits Decreases Resulting From Prior Period Tax Positions317000000USD-6
170000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Unrecognized Tax Benefits Reductions Resulting From Lapse Of Applicable Statute Of Limitations118000000USD-6
180000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Unrecognized Tax Benefits Reductions Resulting From Lapse Of Applicable Statute Of Limitations48000000USD-6
190000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Unrecognized Tax Benefits Reductions Resulting From Lapse Of Applicable Statute Of Limitations106000000USD-6

Component: (Network and Table)
Network
100970 - Disclosure - Income Taxes - Additional Information Regarding Examinations (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationRegardingExaminationsDetail)
TableIncome Tax Examination [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Income Tax Authority Name [Axis]Tax Period [Axis]Income Tax Authority [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2011-01-01 - 2011-03-31Entity [Domain]Internal Revenue Service I R S [Member]Latest Tax Year [Member]Income Tax Authority [Domain]Income Tax Examination Year Under Examination2006
20000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Internal Revenue Service I R S [Member]Earliest Tax Year [Member]Income Tax Authority [Domain]Income Tax Examination Year Under Examination2007
30000789019 (http://www.sec.gov/CIK)2011-01-01 - 2011-03-31Entity [Domain]Internal Revenue Service I R S [Member]Earliest Tax Year [Member]Income Tax Authority [Domain]Income Tax Examination Year Under Examination2004
40000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Internal Revenue Service I R S [Member]Latest Tax Year [Member]Income Tax Authority [Domain]Income Tax Examination Year Under Examination2009
50000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Income Tax Authority Name [Domain]Latest Tax Year [Member]Foreign Country [Member]Open Tax Year2017
60000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Internal Revenue Service I R S [Member]Earliest Tax Year [Member]Income Tax Authority [Domain]Open Tax Year2010
70000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Income Tax Authority Name [Domain]Earliest Tax Year [Member]Foreign Country [Member]Open Tax Year1996
80000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Internal Revenue Service I R S [Member]Latest Tax Year [Member]Income Tax Authority [Domain]Open Tax Year2016

Component: (Network and Table)
Network
100980 - Disclosure - Restructuring Charges - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureRestructuringChargesAdditionalInformationDetail)
TableSchedule of Restructuring and Related Costs [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Restructuring Plan [Axis]Restructuring Cost And Reserve [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Phone Hardware Restructuring Plan [Member]Type Of Restructuring [Domain]Restructuring And Related Cost Number Of Positions Eliminated7400Position0
20000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Twenty Sixteen Restructuring Plan [Member]Type Of Restructuring [Domain]Restructuring And Related Cost Number Of Positions Eliminated4700Position0
30000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Phone Hardware Restructuring Plan [Member]Type Of Restructuring [Domain]Restructuring Charges780000000USD-6
40000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Twenty Seventeen Restructuring Plan [Member]Employee Severance [Member]Restructuring Charges306000000USD-6
50000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Restructuring Plan [Domain]Employee Severance [Member]Restructuring Charges306000000USD-6
60000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Twenty Sixteen Restructuring Plan [Member]Type Of Restructuring [Domain]Restructuring Charges480000000USD-6
70000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Restructuring Charges306000000USD-6
80000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Twenty Sixteen Restructuring Plan [Member]Type Of Restructuring [Domain]Restructuring Charges501000000USD-6
90000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Phone Hardware Restructuring Plan [Member]Type Of Restructuring [Domain]Restructuring Reserve Accrual Adjustment1-21000000USD-6
100000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Phone Hardware Restructuring Plan [Member]Type Of Restructuring [Domain]Restructuring And Related Activities Completion Date2017-06-30
110000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Twenty Sixteen Restructuring Plan [Member]Type Of Restructuring [Domain]Restructuring And Related Activities Completion Date2017-06-30
120000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Twenty Seventeen Restructuring Plan [Member]Type Of Restructuring [Domain]Restructuring And Related Activities Completion Date2018-06-30

Component: (Network and Table)
Network
100990 - Disclosure - Changes in Restructuring Liability (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureChangesInRestructuringLiabilityDetail)
TableSchedule of Restructuring and Related Costs [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Restructuring Cost And Reserve [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Type Of Restructuring [Domain]Restructuring Reserve709000000USD-6
20000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Other Restructuring [Member]Restructuring Reserve239000000USD-6PE16
30000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Employee Severance [Member]Restructuring Reserve373000000USD-6
40000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Type Of Restructuring [Domain]Restructuring Reserve432000000USD-6
50000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Employee Severance [Member]Restructuring Reserve470000000USD-6
60000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Other Restructuring [Member]Restructuring Reserve59000000USD-6PE16
70000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Employee Severance [Member]Restructuring Charges306000000USD-6
80000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Other Restructuring [Member]Restructuring Charges0USD-6PE16
90000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Type Of Restructuring [Domain]Restructuring Charges306000000USD-6
100000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Employee Severance [Member]Payments For Restructuring367000000USD-6
110000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Type Of Restructuring [Domain]Payments For Restructuring468000000USD-6
120000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Other Restructuring [Member]Payments For Restructuring101000000USD-6PE16
130000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Other Restructuring [Member]Restructuring Reserve Settled Without Cash279000000USD-6PE16
140000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Type Of Restructuring [Domain]Restructuring Reserve Settled Without Cash2115000000USD-6
150000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Employee Severance [Member]Restructuring Reserve Settled Without Cash236000000USD-6

Component: (Network and Table)
Network
101000 - Disclosure - Unearned Revenue by Segment (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureUnearnedRevenueBySegmentDetail)
TableDeferred Revenue Arrangement, by Type [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Consolidation Items [Axis]Statement Business Segments [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Deferred Revenue44479000000USD-6
20000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Operating Segments [Member]More Personal Computing [Member]Deferred Revenue3420000000USD-6
30000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Operating Segments [Member]More Personal Computing [Member]Deferred Revenue3334000000USD-6
40000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Operating Segments [Member]Intelligent Cloud [Member]Deferred Revenue11472000000USD-6
50000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Deferred Revenue33909000000USD-6
60000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Corporate And Reconciling Items [Member]Segment [Domain]Deferred Revenue6606000000USD-6
70000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Operating Segments [Member]Productivity And Business Processes [Member]Deferred Revenue12497000000USD-6
80000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Corporate And Reconciling Items [Member]Segment [Domain]Deferred Revenue13304000000USD-6
90000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Operating Segments [Member]Productivity And Business Processes [Member]Deferred Revenue14291000000USD-6
100000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Operating Segments [Member]Intelligent Cloud [Member]Deferred Revenue13464000000USD-6

Component: (Network and Table)
Network
101010 - Disclosure - Commitments - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureCommitmentsAdditionalInformationDetail)
TableCommitments [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Long Term Purchase Commitment By Category Of Item Purchased [Axis]Property Subject To Or Available For Operating Lease [Axis]Balance Sheet Location [Axis]Unrecorded Unconditional Purchase Obligation By Category Of Item Purchased [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Building Building Improvements And Leasehold Improvements [Member]Property Subject To Or Available For Operating Lease [Domain]Balance Sheet Location [Domain]Unconditional Purchase Obligation Category Of Goods Or Services Acquired [Domain]Commitments Fair Value Disclosure1100000000USD-8
20000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Long Term Purchase Commitment Category Of Item Purchased [Domain]Building [Member]Balance Sheet Location [Domain]Unconditional Purchase Obligation Category Of Goods Or Services Acquired [Domain]Lease And Rental Expense989000000USD-6
30000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Long Term Purchase Commitment Category Of Item Purchased [Domain]Building [Member]Balance Sheet Location [Domain]Unconditional Purchase Obligation Category Of Goods Or Services Acquired [Domain]Lease And Rental Expense1300000000USD-8
40000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Long Term Purchase Commitment Category Of Item Purchased [Domain]Building [Member]Balance Sheet Location [Domain]Unconditional Purchase Obligation Category Of Goods Or Services Acquired [Domain]Lease And Rental Expense1000000000USD-8
50000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Long Term Purchase Commitment Category Of Item Purchased [Domain]Property Subject To Or Available For Operating Lease [Domain]Other Current Liabilities [Member]Unconditional Purchase Obligation Category Of Goods Or Services Acquired [Domain]Capital Lease Obligations Current25000000USD-6
60000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Long Term Purchase Commitment Category Of Item Purchased [Domain]Property Subject To Or Available For Operating Lease [Domain]Other Current Liabilities [Member]Unconditional Purchase Obligation Category Of Goods Or Services Acquired [Domain]Capital Lease Obligations Current113000000USD-6
70000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Long Term Purchase Commitment Category Of Item Purchased [Domain]Property Subject To Or Available For Operating Lease [Domain]Other Noncurrent Liabilities [Member]Unconditional Purchase Obligation Category Of Goods Or Services Acquired [Domain]Capital Lease Obligations Noncurrent761000000USD-6
80000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Long Term Purchase Commitment Category Of Item Purchased [Domain]Property Subject To Or Available For Operating Lease [Domain]Other Noncurrent Liabilities [Member]Unconditional Purchase Obligation Category Of Goods Or Services Acquired [Domain]Capital Lease Obligations Noncurrent2400000000USD-8
90000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Long Term Purchase Commitment Category Of Item Purchased [Domain]Property Subject To Or Available For Operating Lease [Domain]Balance Sheet Location [Domain]Capital Lease [Member]Unrecorded Unconditional Purchase Obligation Balance Sheet Amount3200000000USD-8

Component: (Network and Table)
Network
101020 - Disclosure - Future Minimum Rental Commitments Under Non-cancellable Operating Leases (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFutureMinimumRentalCommitmentsUnderNonCancellableOperatingLeasesDetail)
TableSchedule of Operating Leased Assets [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Property Plant And Equipment By Type [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Building [Member]Operating Leases Future Minimum Payments Due Current1292000000USD-6
20000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Building [Member]Operating Leases Future Minimum Payments Due In Two Years1220000000USD-6
30000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Building [Member]Operating Leases Future Minimum Payments Due In Three Years1115000000USD-6
40000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Building [Member]Operating Leases Future Minimum Payments Due In Four Years908000000USD-6
50000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Building [Member]Operating Leases Future Minimum Payments Due In Five Years749000000USD-6
60000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Building [Member]Operating Leases Future Minimum Payments Due Thereafter2588000000USD-6
70000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Building [Member]Operating Leases Future Minimum Payments Due7872000000USD-6

Component: (Network and Table)
Network
101030 - Disclosure - Future Minimum Lease Payments under Non-cancellable Capital Leases (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesDetail)
TableFuture Minimum Lease Payments Under Non Cancellable Capital Leases [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Capital Leases Future Minimum Payments Due Current209000000USD-6
20000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Capital Leases Future Minimum Payments Due In Two Years217000000USD-6
30000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Capital Leases Future Minimum Payments Due In Three Years222000000USD-6
40000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Capital Leases Future Minimum Payments Due In Four Years227000000USD-6
50000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Capital Leases Future Minimum Payments Due In Five Years232000000USD-6
60000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Capital Leases Future Minimum Payments Due Thereafter2353000000USD-6
70000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Capital Leases Future Minimum Payments Due3460000000USD-6PE17

Component: (Network and Table)
Network
101040 - Disclosure - Future Minimum Lease Payments under Non-cancellable Capital Leases (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesParentheticalDetail)
TableFuture Minimum Lease Payments Under Non Cancellable Capital Leases [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Capital Leases Future Minimum Payments Interest Included In Payments922000000USD-6

Component: (Network and Table)
Network
101050 - Disclosure - Contingencies - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureContingenciesAdditionalInformationDetail)
TableLoss Contingencies [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Loss Contingency Accrual Carrying Value Current352000000USD-6
20000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Loss Contingency Range Of Possible Loss Portion Not Accrued1000000000USD-8

Component: (Network and Table)
Network
101060 - Disclosure - Shares of Common Stock Outstanding (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSharesOfCommonStockOutstandingDetail)
TableSchedule of Capital Units [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Common Stock Shares Outstanding7708000000Shares-6
20000789019 (http://www.sec.gov/CIK)2014-06-30Entity [Domain]Common Stock Shares Outstanding8239000000Shares-6
30000789019 (http://www.sec.gov/CIK)2015-06-30Entity [Domain]Common Stock Shares Outstanding8027000000Shares-6
40000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Common Stock Shares Outstanding7808000000Shares-6
50000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Stock Issued During Period Shares New Issues75000000Shares-6
60000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Stock Issued During Period Shares New Issues83000000Shares-6
70000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Stock Issued During Period Shares New Issues70000000Shares-6
80000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Stock Repurchased During Period Shares294000000Shares-6
90000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Stock Repurchased During Period Shares170000000Shares-6
100000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Stock Repurchased During Period Shares295000000Shares-6

Component: (Network and Table)
Network
101070 - Disclosure - Stockholders' Equity - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureStockholdersEquityAdditionalInformationDetail)
TableShare Repurchases [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Share Repurchase Program [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2013-09-16Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchase Program Authorized Amount140000000000USDINF
20000789019 (http://www.sec.gov/CIK)2016-09-20Entity [Domain]Share Repurchase Program Twenty Sixteen [Member]Stock Repurchase Program Authorized Amount140000000000USDINF
30000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Share Repurchase Program Twenty Sixteen [Member]Stock Repurchase Program Remaining Authorized Repurchase Amount136800000000USD-8

Component: (Network and Table)
Network
101080 - Disclosure - Share Repurchases (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureShareRepurchasesDetail)
TableShare Repurchases [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Share Repurchase Program [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Share Repurchase Program [Domain]Stock Repurchased During Period Shares294000000Shares-6
20000789019 (http://www.sec.gov/CIK)2016-07-01 - 2016-09-30Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Shares63000000Shares-6
30000789019 (http://www.sec.gov/CIK)2014-10-01 - 2014-12-31Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Shares43000000Shares-6
40000789019 (http://www.sec.gov/CIK)2015-10-01 - 2015-12-31Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Shares66000000Shares-6
50000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Share Repurchase Program [Domain]Stock Repurchased During Period Shares170000000Shares-6
60000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Share Repurchase Program Twenty Sixteen [Member]Stock Repurchased During Period Shares23000000Shares-6
70000789019 (http://www.sec.gov/CIK)2016-01-01 - 2016-03-31Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Shares69000000Shares-6
80000789019 (http://www.sec.gov/CIK)2014-07-01 - 2014-09-30Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Shares43000000Shares-6
90000789019 (http://www.sec.gov/CIK)2017-01-01 - 2017-03-31Entity [Domain]Share Repurchase Program Twenty Sixteen [Member]Stock Repurchased During Period Shares25000000Shares-6
100000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Share Repurchase Program [Domain]Stock Repurchased During Period Shares295000000Shares-6
110000789019 (http://www.sec.gov/CIK)2016-10-01 - 2016-12-31Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Shares59000000Shares-6
120000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Shares89000000Shares-6
130000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Shares70000000Shares-6
140000789019 (http://www.sec.gov/CIK)2015-01-01 - 2015-03-31Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Shares116000000Shares-6
150000789019 (http://www.sec.gov/CIK)2015-04-01 - 2015-06-30Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Shares93000000Shares-6
160000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Share Repurchase Program [Domain]Stock Repurchased During Period Value10283000000USD-6
170000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Share Repurchase Program Twenty Sixteen [Member]Stock Repurchased During Period Value1600000000USD-6
180000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Share Repurchase Program [Domain]Stock Repurchased During Period Value13209000000USD-6
190000789019 (http://www.sec.gov/CIK)2015-01-01 - 2015-03-31Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Value5000000000USD-6
200000789019 (http://www.sec.gov/CIK)2017-01-01 - 2017-03-31Entity [Domain]Share Repurchase Program Twenty Sixteen [Member]Stock Repurchased During Period Value1600000000USD-6
210000789019 (http://www.sec.gov/CIK)2014-07-01 - 2014-09-30Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Value2000000000USD-6
220000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Value4000000000USD-6
230000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Value3600000000USD-6
240000789019 (http://www.sec.gov/CIK)2016-10-01 - 2016-12-31Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Value3533000000USD-6
250000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Share Repurchase Program [Domain]Stock Repurchased During Period Value14800000000USD-6
260000789019 (http://www.sec.gov/CIK)2016-07-01 - 2016-09-30Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Value3550000000USD-6
270000789019 (http://www.sec.gov/CIK)2015-10-01 - 2015-12-31Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Value3600000000USD-6
280000789019 (http://www.sec.gov/CIK)2014-10-01 - 2014-12-31Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Value2000000000USD-6
290000789019 (http://www.sec.gov/CIK)2015-04-01 - 2015-06-30Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Value4209000000USD-6
300000789019 (http://www.sec.gov/CIK)2016-01-01 - 2016-03-31Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Value3600000000USD-6

Component: (Network and Table)
Network
101090 - Disclosure - Dividends Declared (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDividendsDeclaredDetail)
TableDividends [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-01-01 - 2016-03-31Entity [Domain]Dividends Payable Date Declared Day Month And Year2016-03-15
20000789019 (http://www.sec.gov/CIK)2016-10-01 - 2016-12-31Entity [Domain]Dividends Payable Date Declared Day Month And Year2016-11-30
30000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Dividends Payable Date Declared Day Month And Year2015-09-15
40000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Dividends Payable Date Declared Day Month And Year2017-06-13
50000789019 (http://www.sec.gov/CIK)2017-01-01 - 2017-03-31Entity [Domain]Dividends Payable Date Declared Day Month And Year2017-03-14
60000789019 (http://www.sec.gov/CIK)2015-10-01 - 2015-12-31Entity [Domain]Dividends Payable Date Declared Day Month And Year2015-12-02
70000789019 (http://www.sec.gov/CIK)2016-07-01 - 2016-09-30Entity [Domain]Dividends Payable Date Declared Day Month And Year2016-09-20
80000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Dividends Payable Date Declared Day Month And Year2016-06-14
90000789019 (http://www.sec.gov/CIK)2016-01-01 - 2016-03-31Entity [Domain]Common Stock Dividends Per Share Declared0.36USD / SharesINF
100000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Common Stock Dividends Per Share Declared1.56USD / SharesINF
110000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Common Stock Dividends Per Share Declared1.44USD / SharesINF
120000789019 (http://www.sec.gov/CIK)2015-10-01 - 2015-12-31Entity [Domain]Common Stock Dividends Per Share Declared0.36USD / SharesINF
130000789019 (http://www.sec.gov/CIK)2016-10-01 - 2016-12-31Entity [Domain]Common Stock Dividends Per Share Declared0.39USD / SharesINF
140000789019 (http://www.sec.gov/CIK)2017-01-01 - 2017-03-31Entity [Domain]Common Stock Dividends Per Share Declared0.39USD / SharesINF
150000789019 (http://www.sec.gov/CIK)2016-07-01 - 2016-09-30Entity [Domain]Common Stock Dividends Per Share Declared0.39USD / SharesINF
160000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Common Stock Dividends Per Share Declared0.39USD / SharesINF
170000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Common Stock Dividends Per Share Declared0.36USD / SharesINF
180000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Common Stock Dividends Per Share Declared1.24USD / SharesINF
190000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Common Stock Dividends Per Share Declared0.36USD / SharesINF
200000789019 (http://www.sec.gov/CIK)2016-10-01 - 2016-12-31Entity [Domain]Dividends Payable Date Of Record Day Month And Year2017-02-16
210000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Dividends Payable Date Of Record Day Month And Year2017-08-17
220000789019 (http://www.sec.gov/CIK)2016-01-01 - 2016-03-31Entity [Domain]Dividends Payable Date Of Record Day Month And Year2016-05-19
230000789019 (http://www.sec.gov/CIK)2015-10-01 - 2015-12-31Entity [Domain]Dividends Payable Date Of Record Day Month And Year2016-02-18
240000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Dividends Payable Date Of Record Day Month And Year2015-11-19
250000789019 (http://www.sec.gov/CIK)2016-07-01 - 2016-09-30Entity [Domain]Dividends Payable Date Of Record Day Month And Year2016-11-17
260000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Dividends Payable Date Of Record Day Month And Year2016-08-18
270000789019 (http://www.sec.gov/CIK)2017-01-01 - 2017-03-31Entity [Domain]Dividends Payable Date Of Record Day Month And Year2017-05-18
280000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Dividends Common Stock Cash3006000000USD-6
290000789019 (http://www.sec.gov/CIK)2015-10-01 - 2015-12-31Entity [Domain]Dividends Common Stock Cash2842000000USD-6
300000789019 (http://www.sec.gov/CIK)2016-10-01 - 2016-12-31Entity [Domain]Dividends Common Stock Cash3012000000USD-6
310000789019 (http://www.sec.gov/CIK)2017-01-01 - 2017-03-31Entity [Domain]Dividends Common Stock Cash3009000000USD-6
320000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Dividends Common Stock Cash2868000000USD-6
330000789019 (http://www.sec.gov/CIK)2016-07-01 - 2016-09-30Entity [Domain]Dividends Common Stock Cash3024000000USD-6
340000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Dividends Common Stock Cash2800000000USD-6
350000789019 (http://www.sec.gov/CIK)2016-01-01 - 2016-03-31Entity [Domain]Dividends Common Stock Cash2821000000USD-6
360000789019 (http://www.sec.gov/CIK)2015-10-01 - 2015-12-31Entity [Domain]Dividend Payable Date To Be Paid Day Month And Year2016-03-10
370000789019 (http://www.sec.gov/CIK)2016-10-01 - 2016-12-31Entity [Domain]Dividend Payable Date To Be Paid Day Month And Year2017-03-09
380000789019 (http://www.sec.gov/CIK)2017-01-01 - 2017-03-31Entity [Domain]Dividend Payable Date To Be Paid Day Month And Year2017-06-08
390000789019 (http://www.sec.gov/CIK)2016-01-01 - 2016-03-31Entity [Domain]Dividend Payable Date To Be Paid Day Month And Year2016-06-09
400000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Dividend Payable Date To Be Paid Day Month And Year2017-09-14
410000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Dividend Payable Date To Be Paid Day Month And Year2015-12-10
420000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Dividend Payable Date To Be Paid Day Month And Year2016-09-08
430000789019 (http://www.sec.gov/CIK)2016-07-01 - 2016-09-30Entity [Domain]Dividend Payable Date To Be Paid Day Month And Year2016-12-08

Component: (Network and Table)
Network
101100 - Disclosure - Summary of Changes in Accumulated Other Comprehensive Income by Component (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSummaryOfChangesInAccumulatedOtherComprehensiveIncomeByComponentDetail)
TableAccumulated Other Comprehensive Income (Loss) [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Statement Equity Components [Axis]Income Statement Location [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2015-06-30Entity [Domain]Accumulated Other Comprehensive Income [Member]Income Statement Location [Domain]Stockholders Equity2522000000USD-6
20000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Accumulated Translation Adjustment And Other [Member]Income Statement Location [Domain]Stockholders Equity-1528000000USD-6
30000789019 (http://www.sec.gov/CIK)2014-06-30Entity [Domain]Accumulated Net Unrealized Investment Gain Loss [Member]Income Statement Location [Domain]Stockholders Equity3531000000USD-6
40000789019 (http://www.sec.gov/CIK)2015-06-30Entity [Domain]Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Income Statement Location [Domain]Stockholders Equity590000000USD-6
50000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Accumulated Other Comprehensive Income [Member]Income Statement Location [Domain]Stockholders Equity1537000000USD-6
60000789019 (http://www.sec.gov/CIK)2015-06-30Entity [Domain]Accumulated Translation Adjustment And Other [Member]Income Statement Location [Domain]Stockholders Equity-1237000000USD-6
70000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Equity Component [Domain]Income Statement Location [Domain]Stockholders Equity72394000000USD-6
80000789019 (http://www.sec.gov/CIK)2015-06-30Entity [Domain]Accumulated Net Unrealized Investment Gain Loss [Member]Income Statement Location [Domain]Stockholders Equity3169000000USD-6
90000789019 (http://www.sec.gov/CIK)2014-06-30Entity [Domain]Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Income Statement Location [Domain]Stockholders Equity31000000USD-6
100000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Accumulated Net Unrealized Investment Gain Loss [Member]Income Statement Location [Domain]Stockholders Equity2941000000USD-6
110000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Income Statement Location [Domain]Stockholders Equity134000000USD-6
120000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Accumulated Net Unrealized Investment Gain Loss [Member]Income Statement Location [Domain]Stockholders Equity1825000000USD-6
130000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Accumulated Translation Adjustment And Other [Member]Income Statement Location [Domain]Stockholders Equity-1756000000USD-6
140000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Equity Component [Domain]Income Statement Location [Domain]Stockholders Equity71997000000USD-6
150000789019 (http://www.sec.gov/CIK)2015-06-30Entity [Domain]Equity Component [Domain]Income Statement Location [Domain]Stockholders Equity80083000000USD-6
160000789019 (http://www.sec.gov/CIK)2014-06-30Entity [Domain]Accumulated Translation Adjustment And Other [Member]Income Statement Location [Domain]Stockholders Equity146000000USD-6
170000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Accumulated Other Comprehensive Income [Member]Income Statement Location [Domain]Stockholders Equity431000000USD-6
180000789019 (http://www.sec.gov/CIK)2014-06-30Entity [Domain]Accumulated Other Comprehensive Income [Member]Income Statement Location [Domain]Stockholders Equity3708000000USD-6
190000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Income Statement Location [Domain]Stockholders Equity352000000USD-6
200000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Income Statement Location [Domain]Oci Before Reclassifications Net Of Tax Attributable To Parent351000000USD-6
210000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Accumulated Net Unrealized Investment Gain Loss [Member]Income Statement Location [Domain]Oci Before Reclassifications Net Of Tax Attributable To Parent517000000USD-6
220000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Income Statement Location [Domain]Oci Before Reclassifications Net Of Tax Attributable To Parent1152000000USD-6
230000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Income Statement Location [Domain]Oci Before Reclassifications Net Of Tax Attributable To Parent328000000USD-6
240000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Accumulated Net Unrealized Investment Gain Loss [Member]Income Statement Location [Domain]Oci Before Reclassifications Net Of Tax Attributable To Parent219000000USD-6
250000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Accumulated Net Unrealized Investment Gain Loss [Member]Income Statement Location [Domain]Oci Before Reclassifications Net Of Tax Attributable To Parent110000000USD-6
260000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Sales [Member]Reclassification From Aoci Current Period Before Tax Attributable To Parent608000000USD-6
270000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Accumulated Net Unrealized Investment Gain Loss [Member]Nonoperating Income Expense [Member]Reclassification From Aoci Current Period Before Tax Attributable To Parent728000000USD-6
280000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Accumulated Net Unrealized Investment Gain Loss [Member]Nonoperating Income Expense [Member]Reclassification From Aoci Current Period Before Tax Attributable To Parent2513000000USD-6
290000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Sales [Member]Reclassification From Aoci Current Period Before Tax Attributable To Parent625000000USD-6
300000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Sales [Member]Reclassification From Aoci Current Period Before Tax Attributable To Parent555000000USD-6
310000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Accumulated Net Unrealized Investment Gain Loss [Member]Nonoperating Income Expense [Member]Reclassification From Aoci Current Period Before Tax Attributable To Parent688000000USD-6
320000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Income Statement Location [Domain]Reclassification From Aoci Current Period Tax36000000USD-6
330000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Accumulated Net Unrealized Investment Gain Loss [Member]Income Statement Location [Domain]Reclassification From Aoci Current Period Tax880000000USD-6
340000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Income Statement Location [Domain]Reclassification From Aoci Current Period Tax9000000USD-6
350000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Accumulated Net Unrealized Investment Gain Loss [Member]Income Statement Location [Domain]Reclassification From Aoci Current Period Tax256000000USD-6
360000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Income Statement Location [Domain]Reclassification From Aoci Current Period Tax15000000USD-6
370000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Accumulated Net Unrealized Investment Gain Loss [Member]Income Statement Location [Domain]Reclassification From Aoci Current Period Tax241000000USD-6
380000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Income Statement Location [Domain]Reclassification From Aoci Current Period Net Of Tax Attributable To Parent589000000USD-6
390000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Accumulated Net Unrealized Investment Gain Loss [Member]Income Statement Location [Domain]Reclassification From Aoci Current Period Net Of Tax Attributable To Parent1633000000USD-6
400000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Income Statement Location [Domain]Reclassification From Aoci Current Period Net Of Tax Attributable To Parent593000000USD-6
410000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Accumulated Net Unrealized Investment Gain Loss [Member]Income Statement Location [Domain]Reclassification From Aoci Current Period Net Of Tax Attributable To Parent472000000USD-6
420000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Income Statement Location [Domain]Reclassification From Aoci Current Period Net Of Tax Attributable To Parent546000000USD-6
430000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Accumulated Net Unrealized Investment Gain Loss [Member]Income Statement Location [Domain]Reclassification From Aoci Current Period Net Of Tax Attributable To Parent447000000USD-6
440000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Income Statement Location [Domain]Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent559000000USD-6
450000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Accumulated Translation Adjustment And Other [Member]Income Statement Location [Domain]Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent-519000000USD-6
460000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Accumulated Net Unrealized Investment Gain Loss [Member]Income Statement Location [Domain]Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent-228000000USD-6
470000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Equity Component [Domain]Income Statement Location [Domain]Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent-1106000000USD-6
480000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Accumulated Other Comprehensive Income [Member]Income Statement Location [Domain]Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent-1186000000USD-6
490000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Accumulated Net Unrealized Investment Gain Loss [Member]Income Statement Location [Domain]Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent-362000000USD-6
500000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Accumulated Other Comprehensive Income [Member]Income Statement Location [Domain]Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent-985000000USD-6
510000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Accumulated Other Comprehensive Income [Member]Income Statement Location [Domain]Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent-1106000000USD-6
520000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Income Statement Location [Domain]Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent-218000000USD-6
530000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Accumulated Net Unrealized Investment Gain Loss [Member]Income Statement Location [Domain]Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent-1116000000USD-6
540000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Accumulated Translation Adjustment And Other [Member]Income Statement Location [Domain]Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent228000000USD-6
550000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Equity Component [Domain]Income Statement Location [Domain]Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent-985000000USD-6
560000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Income Statement Location [Domain]Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent-238000000USD-6
570000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Equity Component [Domain]Income Statement Location [Domain]Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent-1186000000USD-6
580000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Accumulated Translation Adjustment And Other [Member]Income Statement Location [Domain]Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent-1383000000USD-6

Component: (Network and Table)
Network
101110 - Disclosure - Summary of Changes in Accumulated Other Comprehensive Income by Component (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSummaryOfChangesInAccumulatedOtherComprehensiveIncomeByComponentParentheticalDetail)
TableAccumulated Other Comprehensive Income (Loss) [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Statement Equity Components [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Accumulated Net Unrealized Investment Gain Loss [Member]Other Comprehensive Income Loss Before Reclassifications Tax59000000USD-6
20000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Other Comprehensive Income Loss Before Reclassifications Tax4000000USD-6
30000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Accumulated Net Unrealized Investment Gain Loss [Member]Other Comprehensive Income Loss Before Reclassifications Tax120000000USD-6
40000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Accumulated Net Unrealized Investment Gain Loss [Member]Other Comprehensive Income Loss Before Reclassifications Tax267000000USD-6
50000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Other Comprehensive Income Loss Before Reclassifications Tax24000000USD-6
60000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Other Comprehensive Income Loss Before Reclassifications Tax35000000USD-6
70000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Accumulated Translation Adjustment And Other [Member]Other Comprehensive Income Loss Tax Portion Attributable To Parent1-33000000USD-6
80000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Accumulated Translation Adjustment And Other [Member]Other Comprehensive Income Loss Tax Portion Attributable To Parent116000000USD-6
90000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Accumulated Translation Adjustment And Other [Member]Other Comprehensive Income Loss Tax Portion Attributable To Parent19000000USD-6

Component: (Network and Table)
Network
101120 - Disclosure - Employee Stock and Savings Plans - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEmployeeStockAndSavingsPlansAdditionalInformationDetail)
TableCompensation Related Costs Disclosure [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Award Type [Axis]Range [Axis]Plan Name [Axis]Deferred Compensation Arrangement With Individual Postretirement Benefits By Type Of Deferred Compensation [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Restricted Stock [Member]Range [Member]Plan Name [Domain]Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]Share Based Compensation Arrangement By Share Based Payment Award Number Of Shares Available For Grant127000000Shares-6
20000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Employee Stock [Member]Range [Member]Plan Name [Domain]Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]Share Based Compensation Arrangement By Share Based Payment Award Number Of Shares Available For Grant129000000Shares-6
30000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Restricted Stock [Member]Minimum [Member]Plan Name [Domain]Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]Share Based Compensation Arrangement By Share Based Payment Award Award Vesting Period1P4Y
40000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Restricted Stock Units R S U [Member]Range [Member]Executive Incentive Plan [Member]Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]Share Based Compensation Arrangement By Share Based Payment Award Award Vesting Period1P4Y
50000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Restricted Stock [Member]Maximum [Member]Plan Name [Domain]Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]Share Based Compensation Arrangement By Share Based Payment Award Award Vesting Period1P5Y
60000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Performance Shares [Member]Range [Member]Executive Incentive Plan [Member]Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]Share Based Compensation Arrangement By Share Based Payment Award Award Vesting Period1P3Y
70000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Restricted Stock [Member]Range [Member]Plan Name [Domain]Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]Employee Service Share Based Compensation Nonvested Awards Total Compensation Cost Not Yet Recognized6500000000USD-8
80000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Restricted Stock [Member]Range [Member]Plan Name [Domain]Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]Employee Service Share Based Compensation Nonvested Awards Total Compensation Cost Not Yet Recognized Period For Recognition1P3Y
90000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Restricted Stock [Member]Range [Member]Plan Name [Domain]Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Grants In Period Weighted Average Grant Date Fair Value42.36USD / Shares2
100000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Restricted Stock [Member]Range [Member]Plan Name [Domain]Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Grants In Period Weighted Average Grant Date Fair Value41.51USD / Shares2
110000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Restricted Stock [Member]Range [Member]Plan Name [Domain]Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Grants In Period Weighted Average Grant Date Fair Value55.64USD / Shares2PE18
120000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Restricted Stock [Member]Range [Member]Plan Name [Domain]Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested In Period Total Fair Value3900000000USD-8
130000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Restricted Stock [Member]Range [Member]Plan Name [Domain]Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested In Period Total Fair Value4200000000USD-8
140000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Restricted Stock [Member]Range [Member]Plan Name [Domain]Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested In Period Total Fair Value4800000000USD-8
150000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Employee Stock [Member]Range [Member]Plan Name [Domain]Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]Sharebased Compensation Arrangement By Sharebased Payment Award Purchase Price Of Common Stock Percent0.90PureINF
160000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Employee Stock [Member]Range [Member]Plan Name [Domain]Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]Sharebased Compensation Arrangement By Sharebased Payment Award Purchase Price Of Common Stock Percent0.90PureINF
170000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Employee Stock [Member]Range [Member]Plan Name [Domain]Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]Sharebased Compensation Arrangement By Sharebased Payment Award Purchase Price Of Common Stock Percent0.90PureINF
180000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Employee Stock [Member]Range [Member]Plan Name [Domain]Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]Share Based Compensation Arrangement By Share Based Payment Award Maximum Employee Subscription Rate0.15PureINF
190000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Employee Stock [Member]Range [Member]Plan Name [Domain]Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]Share Based Compensation Arrangement By Share Based Payment Award Maximum Employee Subscription Rate0.15PureINF
200000789019 (http://www.sec.gov/CIK)2015-06-30Entity [Domain]Employee Stock [Member]Range [Member]Plan Name [Domain]Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]Share Based Compensation Arrangement By Share Based Payment Award Maximum Employee Subscription Rate0.15PureINF
210000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Share Based Compensation Arrangements By Share Based Payment Award Award Type And Plan Name [Domain]Range [Member]Plan Name [Domain]First Six Percent Of Participant Contributions [Member]Defined Contribution Plan Employer Matching Contribution Percent Of Match0.50PureINF
220000789019 (http://www.sec.gov/CIK)2016-01-01 - 2017-06-30Entity [Domain]Share Based Compensation Arrangements By Share Based Payment Award Award Type And Plan Name [Domain]Range [Member]Plan Name [Domain]Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]Defined Contribution Plan Employer Matching Contribution Percent Of Match0.50PureINF
230000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-12-31Entity [Domain]Share Based Compensation Arrangements By Share Based Payment Award Award Type And Plan Name [Domain]Range [Member]Plan Name [Domain]First Six Percent Of Participant Contributions [Member]Defined Contribution Plan Employer Matching Contribution Percent Of Match0.50PureINF
240000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-12-31Entity [Domain]Share Based Compensation Arrangements By Share Based Payment Award Award Type And Plan Name [Domain]Maximum [Member]Plan Name [Domain]Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]Defined Contribution Plan Employer Matching Contribution Percent0.03PureINF
250000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-12-31Entity [Domain]Share Based Compensation Arrangements By Share Based Payment Award Award Type And Plan Name [Domain]Maximum [Member]Plan Name [Domain]I R S Compensation Limit [Member]Defined Contribution Plan Employer Matching Contribution Percent0.03PureINF
260000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Share Based Compensation Arrangements By Share Based Payment Award Award Type And Plan Name [Domain]Maximum [Member]Plan Name [Domain]I R S Compensation Limit [Member]Defined Contribution Plan Employer Matching Contribution Percent0.03PureINF
270000789019 (http://www.sec.gov/CIK)2016-01-01 - 2017-06-30Entity [Domain]Share Based Compensation Arrangements By Share Based Payment Award Award Type And Plan Name [Domain]Maximum [Member]Plan Name [Domain]I R S Compensation Limit [Member]Defined Contribution Plan Employer Matching Contribution Percent0.50PureINF
280000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Share Based Compensation Arrangements By Share Based Payment Award Award Type And Plan Name [Domain]Maximum [Member]Plan Name [Domain]Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]Defined Contribution Plan Employer Matching Contribution Percent0.03PureINF
290000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Share Based Compensation Arrangements By Share Based Payment Award Award Type And Plan Name [Domain]Range [Member]Plan Name [Domain]Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]Defined Contribution Plan Cost Recognized734000000USD-6
300000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Share Based Compensation Arrangements By Share Based Payment Award Award Type And Plan Name [Domain]Range [Member]Plan Name [Domain]Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]Defined Contribution Plan Cost Recognized454000000USD-6
310000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Share Based Compensation Arrangements By Share Based Payment Award Award Type And Plan Name [Domain]Range [Member]Plan Name [Domain]Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]Defined Contribution Plan Cost Recognized549000000USD-6

Component: (Network and Table)
Network
101130 - Disclosure - Stock-Based Compensation Expense and Related Income Tax Benefits (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureStockBasedCompensationExpenseAndRelatedIncomeTaxBenefitsDetail)
TableSchedule of Employee Service Share based Compensation, Allocation of Recognized Period Costs [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Allocated Share Based Compensation Expense3266000000USD-6
20000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Allocated Share Based Compensation Expense2668000000USD-6
30000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Allocated Share Based Compensation Expense2574000000USD-6
40000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Employee Service Share Based Compensation Tax Benefit From Compensation Expense882000000USD-6
50000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Employee Service Share Based Compensation Tax Benefit From Compensation Expense868000000USD-6
60000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Employee Service Share Based Compensation Tax Benefit From Compensation Expense1066000000USD-6

Component: (Network and Table)
Network
101140 - Disclosure - Assumptions Used in Estimating the Fair Value of Stock Award Grants (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureAssumptionsUsedInEstimatingFairValueOfStockAwardGrantsDetail)
TableShare based Compensation Arrangement by Share based Payment Award, Fair Value Assumptions, Method Used [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Range [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Minimum [Member]Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Expected Dividends Per Share0.36USD / SharesINF
20000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Minimum [Member]Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Expected Dividends Per Share0.31USD / SharesINF
30000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Maximum [Member]Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Expected Dividends Per Share0.39USD / SharesINF
40000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Maximum [Member]Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Expected Dividends Per Share0.31USD / SharesINF
50000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Minimum [Member]Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Expected Dividends Per Share0.28USD / SharesINF
60000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Maximum [Member]Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Expected Dividends Per Share0.36USD / SharesINF
70000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Range [Member]Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Risk Free Interest Rate Minimum0.011Pure3
80000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Range [Member]Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Risk Free Interest Rate Minimum0.012Pure3
90000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Range [Member]Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Risk Free Interest Rate Minimum0.012Pure3
100000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Range [Member]Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Risk Free Interest Rate Maximum0.022Pure3
110000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Range [Member]Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Risk Free Interest Rate Maximum0.018Pure3
120000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Range [Member]Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Risk Free Interest Rate Maximum0.019Pure3

Component: (Network and Table)
Network
101150 - Disclosure - Stock Plan Activity (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureStockPlanActivityDetail)
TableSchedule of Share based Compensation Arrangements by Share based Payment Award [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Award Type [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Restricted Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Nonvested Number201000000Shares-6
20000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Restricted Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Nonvested Number194000000Shares-6
30000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Restricted Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Grants In Period84000000Shares-6PE18
40000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Restricted Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Assumed Acquisition In Period23000000Shares-6PE19
50000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Restricted Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested In Period80000000Shares-6
60000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Restricted Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Forfeited In Period20000000Shares-6
70000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Restricted Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Nonvested Weighted Average Grant Date Fair Value36.92USD / Shares2
80000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Restricted Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Nonvested Weighted Average Grant Date Fair Value46.32USD / Shares2
90000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Restricted Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Grants In Period Weighted Average Grant Date Fair Value42.36USD / Shares2
100000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Restricted Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Grants In Period Weighted Average Grant Date Fair Value41.51USD / Shares2
110000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Restricted Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Grants In Period Weighted Average Grant Date Fair Value55.64USD / Shares2PE18
120000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Restricted Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Assumed In Acquisitions Weighted Average Grant Date Fair Value59.09USD / Shares2PE19
130000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Restricted Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested In Period Weighted Average Grant Date Fair Value37.36USD / Shares2
140000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Restricted Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Forfeitures Weighted Average Grant Date Fair Value43.71USD / Shares2

Component: (Network and Table)
Network
101160 - Disclosure - Stock Plan Activity (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureStockPlanActivityParentheticalDetail)
TableSchedule of Share based Compensation Arrangements by Share based Payment Award [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Award Type [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Performance Shares [Member]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Grants In Period1000000Shares-6
20000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Performance Shares [Member]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Grants In Period1000000Shares-6
30000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Performance Shares [Member]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Grants In Period2000000Shares-6

Component: (Network and Table)
Network
101170 - Disclosure - Employee Purchased Shares (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEmployeePurchasedSharesDetail)
TableEmployee Stock Purchase Plan [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Stock Issued During Period Shares Employee Stock Purchase Plans13000000Shares-6
20000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Stock Issued During Period Shares Employee Stock Purchase Plans16000000Shares-6
30000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Stock Issued During Period Shares Employee Stock Purchase Plans15000000Shares-6
40000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Stock Issued Employee Stock Purchase Plan Average Price Per Share44.83USD / Shares2
50000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Stock Issued Employee Stock Purchase Plan Average Price Per Share56.36USD / Shares2
60000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Stock Issued Employee Stock Purchase Plan Average Price Per Share39.87USD / Shares2

Component: (Network and Table)
Network
101180 - Disclosure - Segment Revenue (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSegmentRevenueDetail)
TableSchedule of Segment Reporting Information, by Segment [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Consolidation Items [Axis]Statement Business Segments [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Sales Revenue Net23317000000USD-6PE1 , PE2
20000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Sales Revenue Net20614000000USD-6PE3
30000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Operating Segments [Member]Intelligent Cloud [Member]Sales Revenue Net27440000000USD-6
40000789019 (http://www.sec.gov/CIK)2016-01-01 - 2016-03-31Entity [Domain]Consolidation Items [Domain]Segment [Domain]Sales Revenue Net20531000000USD-6PE3
50000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Corporate And Reconciling Items [Member]Segment [Domain]Sales Revenue Net-6643000000USD-6
60000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Corporate And Reconciling Items [Member]Segment [Domain]Sales Revenue Net-6707000000USD-6
70000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Operating Segments [Member]Intelligent Cloud [Member]Sales Revenue Net23715000000USD-6
80000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Operating Segments [Member]More Personal Computing [Member]Sales Revenue Net38773000000USD-6
90000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Sales Revenue Net85320000000USD-6PE3
100000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Operating Segments [Member]Productivity And Business Processes [Member]Sales Revenue Net26487000000USD-6
110000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Operating Segments [Member]More Personal Computing [Member]Sales Revenue Net40434000000USD-6
120000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Operating Segments [Member]Productivity And Business Processes [Member]Sales Revenue Net30444000000USD-6
130000789019 (http://www.sec.gov/CIK)2017-01-01 - 2017-03-31Entity [Domain]Consolidation Items [Domain]Segment [Domain]Sales Revenue Net22090000000USD-6PE1 , PE2
140000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Operating Segments [Member]More Personal Computing [Member]Sales Revenue Net43435000000USD-6
150000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Operating Segments [Member]Productivity And Business Processes [Member]Sales Revenue Net26430000000USD-6
160000789019 (http://www.sec.gov/CIK)2016-07-01 - 2016-09-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Sales Revenue Net20453000000USD-6PE1 , PE2
170000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Corporate And Reconciling Items [Member]Segment [Domain]Sales Revenue Net0USD-6
180000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Sales Revenue Net89950000000USD-6PE1 , PE2
190000789019 (http://www.sec.gov/CIK)2016-10-01 - 2016-12-31Entity [Domain]Consolidation Items [Domain]Segment [Domain]Sales Revenue Net24090000000USD-6PE1 , PE2
200000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Sales Revenue Net93580000000USD-6
210000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Operating Segments [Member]Intelligent Cloud [Member]Sales Revenue Net25042000000USD-6
220000789019 (http://www.sec.gov/CIK)2015-10-01 - 2015-12-31Entity [Domain]Consolidation Items [Domain]Segment [Domain]Sales Revenue Net23796000000USD-6PE3
230000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Sales Revenue Net20379000000USD-6PE3

Component: (Network and Table)
Network
101190 - Disclosure - Operating Income (Loss) by Segment (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureOperatingIncomeLossBySegmentDetail)
TableSchedule of Segment Reporting Information, by Segment [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Consolidation Items [Axis]Statement Business Segments [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Operating Segments [Member]Productivity And Business Processes [Member]Operating Income Loss13274000000USD-6
20000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Operating Segments [Member]Intelligent Cloud [Member]Operating Income Loss9803000000USD-6
30000789019 (http://www.sec.gov/CIK)2015-10-01 - 2015-12-31Entity [Domain]Consolidation Items [Domain]Segment [Domain]Operating Income Loss6026000000USD-6
40000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Corporate And Reconciling Items [Member]Segment [Domain]Operating Income Loss-10011000000USD-6
50000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Corporate And Reconciling Items [Member]Segment [Domain]Operating Income Loss-7753000000USD-6
60000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Operating Income Loss3080000000USD-6
70000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Operating Income Loss5330000000USD-6PE1
80000789019 (http://www.sec.gov/CIK)2016-10-01 - 2016-12-31Entity [Domain]Consolidation Items [Domain]Segment [Domain]Operating Income Loss6177000000USD-6PE1
90000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Operating Segments [Member]Productivity And Business Processes [Member]Operating Income Loss11913000000USD-6
100000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Operating Income Loss20182000000USD-6
110000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Operating Segments [Member]Productivity And Business Processes [Member]Operating Income Loss12418000000USD-6
120000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Operating Income Loss22326000000USD-6PE1
130000789019 (http://www.sec.gov/CIK)2016-07-01 - 2016-09-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Operating Income Loss5225000000USD-6PE1
140000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Corporate And Reconciling Items [Member]Segment [Domain]Operating Income Loss-7013000000USD-6
150000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Operating Income Loss5793000000USD-6
160000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Operating Segments [Member]More Personal Computing [Member]Operating Income Loss8288000000USD-6
170000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Operating Segments [Member]More Personal Computing [Member]Operating Income Loss6202000000USD-6
180000789019 (http://www.sec.gov/CIK)2017-01-01 - 2017-03-31Entity [Domain]Consolidation Items [Domain]Segment [Domain]Operating Income Loss5594000000USD-6PE1
190000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Operating Segments [Member]More Personal Computing [Member]Operating Income Loss5095000000USD-6
200000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Operating Segments [Member]Intelligent Cloud [Member]Operating Income Loss9138000000USD-6
210000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Operating Income Loss18161000000USD-6
220000789019 (http://www.sec.gov/CIK)2016-01-01 - 2016-03-31Entity [Domain]Consolidation Items [Domain]Segment [Domain]Operating Income Loss5283000000USD-6
230000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Operating Segments [Member]Intelligent Cloud [Member]Operating Income Loss9315000000USD-6

Component: (Network and Table)
Network
101200 - Disclosure - Corporate and Other Operating Income (Loss) Activity (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureCorporateAndOtherOperatingIncomeLossActivityDetail)
TableReconciliation of Operating Profit (Loss) from Segments to Consolidated [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Consolidation Items [Axis]Income Statement Location [Axis]Deferred Revenue Arrangement Type [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Corporate And Reconciling Items [Member]Impairment Integration And Restructuring Expenses [Member]Deferred Revenue Arrangement Type [Domain]Operating Income Loss-1110000000USD-6
20000789019 (http://www.sec.gov/CIK)2015-10-01 - 2015-12-31Entity [Domain]Consolidation Items [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Operating Income Loss6026000000USD-6
30000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Corporate And Reconciling Items [Member]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Operating Income Loss-10011000000USD-6
40000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Corporate And Reconciling Items [Member]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Operating Income Loss-7753000000USD-6
50000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Consolidation Items [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Operating Income Loss3080000000USD-6
60000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Corporate And Reconciling Items [Member]Income Statement Location [Domain]Windows Ten Deferral [Member]Operating Income Loss-6643000000USD-6
70000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Consolidation Items [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Operating Income Loss5330000000USD-6PE1
80000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Corporate And Reconciling Items [Member]Impairment Integration And Restructuring Expenses [Member]Deferred Revenue Arrangement Type [Domain]Operating Income Loss-306000000USD-6
90000789019 (http://www.sec.gov/CIK)2016-10-01 - 2016-12-31Entity [Domain]Consolidation Items [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Operating Income Loss6177000000USD-6PE1
100000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Consolidation Items [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Operating Income Loss20182000000USD-6
110000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Consolidation Items [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Operating Income Loss22326000000USD-6PE1
120000789019 (http://www.sec.gov/CIK)2016-07-01 - 2016-09-30Entity [Domain]Consolidation Items [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Operating Income Loss5225000000USD-6PE1
130000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Corporate And Reconciling Items [Member]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Operating Income Loss-7013000000USD-6
140000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Consolidation Items [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Operating Income Loss5793000000USD-6
150000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Corporate And Reconciling Items [Member]Income Statement Location [Domain]Windows Ten Deferral [Member]Operating Income Loss-6707000000USD-6
160000789019 (http://www.sec.gov/CIK)2017-01-01 - 2017-03-31Entity [Domain]Consolidation Items [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Operating Income Loss5594000000USD-6PE1
170000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Consolidation Items [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Operating Income Loss18161000000USD-6
180000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Corporate And Reconciling Items [Member]Impairment Integration And Restructuring Expenses [Member]Deferred Revenue Arrangement Type [Domain]Operating Income Loss-10011000000USD-6
190000789019 (http://www.sec.gov/CIK)2016-01-01 - 2016-03-31Entity [Domain]Consolidation Items [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Operating Income Loss5283000000USD-6
200000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Corporate And Reconciling Items [Member]Income Statement Location [Domain]Windows Ten Deferral [Member]Operating Income Loss0USD-6

Component: (Network and Table)
Network
101210 - Disclosure - Segment Information and Geographic Data - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSegmentInformationAndGeographicDataAdditionalInformationDetail)
TableSchedule of Segment Reporting Information, by Segment [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Segment Reporting Disclosure Of Major CustomersNo sales to an individual customer or country other than the United States accounted for more than 10% of fiscal year 2017, 2016, or 2015 revenue.

Component: (Network and Table)
Network
101220 - Disclosure - Revenue Classified by Major Geographic Areas (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureRevenueClassifiedByMajorGeographicAreasDetail)
TableGeographic Information [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Statement Geographical [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Segment Geographical [Domain]Sales Revenue Net23317000000USD-6PE1 , PE2
20000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Segment Geographical [Domain]Sales Revenue Net20614000000USD-6PE3
30000789019 (http://www.sec.gov/CIK)2016-01-01 - 2016-03-31Entity [Domain]Segment Geographical [Domain]Sales Revenue Net20531000000USD-6PE3
40000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]UNITED STATESSales Revenue Net45248000000USD-6PE20
50000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Segment Geographical [Domain]Sales Revenue Net85320000000USD-6PE3
60000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Non Us [Member]Sales Revenue Net50639000000USD-6
70000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]UNITED STATESSales Revenue Net40578000000USD-6PE20
80000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Non Us [Member]Sales Revenue Net44742000000USD-6
90000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Non Us [Member]Sales Revenue Net44702000000USD-6
100000789019 (http://www.sec.gov/CIK)2017-01-01 - 2017-03-31Entity [Domain]Segment Geographical [Domain]Sales Revenue Net22090000000USD-6PE1 , PE2
110000789019 (http://www.sec.gov/CIK)2016-07-01 - 2016-09-30Entity [Domain]Segment Geographical [Domain]Sales Revenue Net20453000000USD-6PE1 , PE2
120000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Segment Geographical [Domain]Sales Revenue Net89950000000USD-6PE1 , PE2
130000789019 (http://www.sec.gov/CIK)2016-10-01 - 2016-12-31Entity [Domain]Segment Geographical [Domain]Sales Revenue Net24090000000USD-6PE1 , PE2
140000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Segment Geographical [Domain]Sales Revenue Net93580000000USD-6
150000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]UNITED STATESSales Revenue Net42941000000USD-6PE20
160000789019 (http://www.sec.gov/CIK)2015-10-01 - 2015-12-31Entity [Domain]Segment Geographical [Domain]Sales Revenue Net23796000000USD-6PE3
170000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Segment Geographical [Domain]Sales Revenue Net20379000000USD-6PE3

Component: (Network and Table)
Network
101230 - Disclosure - Revenue Classified by Significant Product and Service Offerings (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureRevenueClassifiedBySignificantProductAndServiceOfferingsDetail)
TableRevenue from External Customers by Products and Services [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Product Or Service [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Microsoft Office System [Member]Sales Revenue Net25389000000USD-6
20000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Products And Services [Domain]Sales Revenue Net23317000000USD-6PE1 , PE2
30000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Products And Services [Domain]Sales Revenue Net20614000000USD-6PE3
40000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Server Products And Tools [Member]Sales Revenue Net18612000000USD-6
50000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Advertising [Member]Sales Revenue Net6098000000USD-6
60000789019 (http://www.sec.gov/CIK)2016-01-01 - 2016-03-31Entity [Domain]Products And Services [Domain]Sales Revenue Net20531000000USD-6PE3
70000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Consulting And Product Support Services [Member]Sales Revenue Net5641000000USD-6
80000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Xbox [Member]Sales Revenue Net9121000000USD-6
90000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Other Products And Services [Member]Sales Revenue Net5851000000USD-6
100000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Microsoft Office System [Member]Sales Revenue Net23538000000USD-6
110000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Windows Operating Systems For Computing Devices [Member]Sales Revenue Net14826000000USD-6
120000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Products And Services [Domain]Sales Revenue Net85320000000USD-6PE3
130000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Other Products And Services [Member]Sales Revenue Net5538000000USD-6
140000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Linked In Corporation [Member]Sales Revenue Net0USD-6
150000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Other Products And Services [Member]Sales Revenue Net6234000000USD-6
160000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Advertising [Member]Sales Revenue Net6971000000USD-6
170000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Microsoft Office System [Member]Sales Revenue Net23588000000USD-6
180000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Devices [Member]Sales Revenue Net4557000000USD-6
190000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Advertising [Member]Sales Revenue Net4557000000USD-6
200000789019 (http://www.sec.gov/CIK)2017-01-01 - 2017-03-31Entity [Domain]Products And Services [Domain]Sales Revenue Net22090000000USD-6PE1 , PE2
210000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Server Products And Tools [Member]Sales Revenue Net21758000000USD-6
220000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Consulting And Product Support Services [Member]Sales Revenue Net5090000000USD-6
230000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Xbox [Member]Sales Revenue Net9395000000USD-6
240000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Linked In Corporation [Member]Sales Revenue Net0USD-6
250000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Xbox [Member]Sales Revenue Net9256000000USD-6
260000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Devices [Member]Sales Revenue Net7466000000USD-6
270000789019 (http://www.sec.gov/CIK)2016-07-01 - 2016-09-30Entity [Domain]Products And Services [Domain]Sales Revenue Net20453000000USD-6PE1 , PE2
280000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Consulting And Product Support Services [Member]Sales Revenue Net5588000000USD-6
290000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Linked In Corporation [Member]Sales Revenue Net2268000000USD-6PE21
300000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Devices [Member]Sales Revenue Net11602000000USD-6
310000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Server Products And Tools [Member]Sales Revenue Net19177000000USD-6
320000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Products And Services [Domain]Sales Revenue Net89950000000USD-6PE1 , PE2
330000789019 (http://www.sec.gov/CIK)2016-10-01 - 2016-12-31Entity [Domain]Products And Services [Domain]Sales Revenue Net24090000000USD-6PE1 , PE2
340000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Windows Operating Systems For Computing Devices [Member]Sales Revenue Net8625000000USD-6PE22
350000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Products And Services [Domain]Sales Revenue Net93580000000USD-6
360000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Windows Operating Systems For Computing Devices [Member]Sales Revenue Net8104000000USD-6PE22
370000789019 (http://www.sec.gov/CIK)2015-10-01 - 2015-12-31Entity [Domain]Products And Services [Domain]Sales Revenue Net23796000000USD-6PE3
380000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Products And Services [Domain]Sales Revenue Net20379000000USD-6PE3

Component: (Network and Table)
Network
101240 - Disclosure - Revenue Classified by Significant Product and Service Offerings (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureRevenueClassifiedBySignificantProductAndServiceOfferingsParentheticalDetail)
TableRevenue from External Customers by Products and Services [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Products Or Services Secondary Categorization [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Products Or Services Name Secondary Categorization [Domain]Sales Revenue Net23317000000USD-6PE1 , PE2
20000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Products Or Services Name Secondary Categorization [Domain]Sales Revenue Net20614000000USD-6PE3
30000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Commercial Cloud [Member]Sales Revenue Net14900000000USD-8
40000789019 (http://www.sec.gov/CIK)2016-01-01 - 2016-03-31Entity [Domain]Products Or Services Name Secondary Categorization [Domain]Sales Revenue Net20531000000USD-6PE3
50000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Products Or Services Name Secondary Categorization [Domain]Sales Revenue Net85320000000USD-6PE3
60000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Commercial Cloud [Member]Sales Revenue Net5800000000USD-8
70000789019 (http://www.sec.gov/CIK)2017-01-01 - 2017-03-31Entity [Domain]Products Or Services Name Secondary Categorization [Domain]Sales Revenue Net22090000000USD-6PE1 , PE2
80000789019 (http://www.sec.gov/CIK)2016-07-01 - 2016-09-30Entity [Domain]Products Or Services Name Secondary Categorization [Domain]Sales Revenue Net20453000000USD-6PE1 , PE2
90000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Products Or Services Name Secondary Categorization [Domain]Sales Revenue Net89950000000USD-6PE1 , PE2
100000789019 (http://www.sec.gov/CIK)2016-10-01 - 2016-12-31Entity [Domain]Products Or Services Name Secondary Categorization [Domain]Sales Revenue Net24090000000USD-6PE1 , PE2
110000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Products Or Services Name Secondary Categorization [Domain]Sales Revenue Net93580000000USD-6
120000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Commercial Cloud [Member]Sales Revenue Net9500000000USD-8
130000789019 (http://www.sec.gov/CIK)2015-10-01 - 2015-12-31Entity [Domain]Products Or Services Name Secondary Categorization [Domain]Sales Revenue Net23796000000USD-6PE3
140000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Products Or Services Name Secondary Categorization [Domain]Sales Revenue Net20379000000USD-6PE3

Component: (Network and Table)
Network
101250 - Disclosure - Long-Lived Assets, Excluding Financial Instruments and Tax Assets, Classified by Location of Controlling Statutory Company (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureLongLivedAssetsExcludingFinancialInstrumentsAndTaxAssetsClassifiedByLocationOfControllingStatutoryCompanyDetail)
TableCertain Long Lived Assets by Geography [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Statement Geographical [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]UNITED STATESNoncurrent Assets22819000000USD-6
20000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]IRELANDNoncurrent Assets2078000000USD-6
30000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Other Countries [Member]Noncurrent Assets10123000000USD-6
40000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]IRELANDNoncurrent Assets12876000000USD-6
50000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]LUXEMBOURGNoncurrent Assets6854000000USD-6
60000789019 (http://www.sec.gov/CIK)2015-06-30Entity [Domain]LUXEMBOURGNoncurrent Assets6879000000USD-6
70000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]Segment Geographical [Domain]Noncurrent Assets68962000000USD-6
80000789019 (http://www.sec.gov/CIK)2015-06-30Entity [Domain]IRELANDNoncurrent Assets1595000000USD-6
90000789019 (http://www.sec.gov/CIK)2015-06-30Entity [Domain]Other Countries [Member]Noncurrent Assets8469000000USD-6
100000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Segment Geographical [Domain]Noncurrent Assets39961000000USD-6
110000789019 (http://www.sec.gov/CIK)2015-06-30Entity [Domain]UNITED STATESNoncurrent Assets19562000000USD-6
120000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]UNITED STATESNoncurrent Assets39118000000USD-6
130000789019 (http://www.sec.gov/CIK)2016-06-30Entity [Domain]Other Countries [Member]Noncurrent Assets8210000000USD-6
140000789019 (http://www.sec.gov/CIK)2015-06-30Entity [Domain]Segment Geographical [Domain]Noncurrent Assets36505000000USD-6
150000789019 (http://www.sec.gov/CIK)2017-06-30Entity [Domain]LUXEMBOURGNoncurrent Assets6845000000USD-6

Component: (Network and Table)
Network
101260 - Disclosure - Quarterly Information (Unaudited) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureQuarterlyInformationUnauditedDetail)
TableQuarterly Financial Information [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Sales Revenue Net23317000000USD-6PE1 , PE2
20000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Sales Revenue Net20614000000USD-6PE3
30000789019 (http://www.sec.gov/CIK)2016-01-01 - 2016-03-31Entity [Domain]Sales Revenue Net20531000000USD-6PE3
40000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Sales Revenue Net85320000000USD-6PE3
50000789019 (http://www.sec.gov/CIK)2017-01-01 - 2017-03-31Entity [Domain]Sales Revenue Net22090000000USD-6PE1 , PE2
60000789019 (http://www.sec.gov/CIK)2016-07-01 - 2016-09-30Entity [Domain]Sales Revenue Net20453000000USD-6PE1 , PE2
70000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Sales Revenue Net89950000000USD-6PE1 , PE2
80000789019 (http://www.sec.gov/CIK)2016-10-01 - 2016-12-31Entity [Domain]Sales Revenue Net24090000000USD-6PE1 , PE2
90000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Sales Revenue Net93580000000USD-6
100000789019 (http://www.sec.gov/CIK)2015-10-01 - 2015-12-31Entity [Domain]Sales Revenue Net23796000000USD-6PE3
110000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Sales Revenue Net20379000000USD-6PE3
120000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Gross Profit14861000000USD-6PE1
130000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Gross Profit52540000000USD-6
140000789019 (http://www.sec.gov/CIK)2016-01-01 - 2016-03-31Entity [Domain]Gross Profit12809000000USD-6
150000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Gross Profit60542000000USD-6
160000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Gross Profit13172000000USD-6
170000789019 (http://www.sec.gov/CIK)2016-10-01 - 2016-12-31Entity [Domain]Gross Profit14189000000USD-6PE1
180000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Gross Profit55689000000USD-6PE1
190000789019 (http://www.sec.gov/CIK)2017-01-01 - 2017-03-31Entity [Domain]Gross Profit14030000000USD-6PE1
200000789019 (http://www.sec.gov/CIK)2016-07-01 - 2016-09-30Entity [Domain]Gross Profit12609000000USD-6PE1
210000789019 (http://www.sec.gov/CIK)2015-10-01 - 2015-12-31Entity [Domain]Gross Profit13924000000USD-6
220000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Gross Profit12635000000USD-6
230000789019 (http://www.sec.gov/CIK)2015-10-01 - 2015-12-31Entity [Domain]Operating Income Loss6026000000USD-6
240000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Operating Income Loss3080000000USD-6
250000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Operating Income Loss5330000000USD-6PE1
260000789019 (http://www.sec.gov/CIK)2016-10-01 - 2016-12-31Entity [Domain]Operating Income Loss6177000000USD-6PE1
270000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Operating Income Loss20182000000USD-6
280000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Operating Income Loss22326000000USD-6PE1
290000789019 (http://www.sec.gov/CIK)2016-07-01 - 2016-09-30Entity [Domain]Operating Income Loss5225000000USD-6PE1
300000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Operating Income Loss5793000000USD-6
310000789019 (http://www.sec.gov/CIK)2017-01-01 - 2017-03-31Entity [Domain]Operating Income Loss5594000000USD-6PE1
320000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Operating Income Loss18161000000USD-6
330000789019 (http://www.sec.gov/CIK)2016-01-01 - 2016-03-31Entity [Domain]Operating Income Loss5283000000USD-6
340000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Net Income Loss16798000000USD-6PE4
350000789019 (http://www.sec.gov/CIK)2016-01-01 - 2016-03-31Entity [Domain]Net Income Loss3756000000USD-6
360000789019 (http://www.sec.gov/CIK)2016-10-01 - 2016-12-31Entity [Domain]Net Income Loss5200000000USD-6PE1
370000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Net Income Loss21204000000USD-6PE1 , PE5
380000789019 (http://www.sec.gov/CIK)2015-10-01 - 2015-12-31Entity [Domain]Net Income Loss5018000000USD-6
390000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Net Income Loss12193000000USD-6
400000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Net Income Loss3122000000USD-6PE4
410000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Net Income Loss4902000000USD-6
420000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Net Income Loss6513000000USD-6PE1 , PE5
430000789019 (http://www.sec.gov/CIK)2016-07-01 - 2016-09-30Entity [Domain]Net Income Loss4690000000USD-6PE1
440000789019 (http://www.sec.gov/CIK)2017-01-01 - 2017-03-31Entity [Domain]Net Income Loss4801000000USD-6PE1
450000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Earnings Per Share Basic0.61USD / Shares2
460000789019 (http://www.sec.gov/CIK)2016-10-01 - 2016-12-31Entity [Domain]Earnings Per Share Basic0.67USD / Shares2PE1
470000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Earnings Per Share Basic0.40USD / Shares2
480000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Earnings Per Share Basic2.74USD / Shares2PE1
490000789019 (http://www.sec.gov/CIK)2017-01-01 - 2017-03-31Entity [Domain]Earnings Per Share Basic0.62USD / Shares2PE1
500000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Earnings Per Share Basic0.84USD / Shares2PE1
510000789019 (http://www.sec.gov/CIK)2015-10-01 - 2015-12-31Entity [Domain]Earnings Per Share Basic0.63USD / Shares2
520000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Earnings Per Share Basic2.12USD / Shares2
530000789019 (http://www.sec.gov/CIK)2016-07-01 - 2016-09-30Entity [Domain]Earnings Per Share Basic0.60USD / Shares2PE1
540000789019 (http://www.sec.gov/CIK)2016-01-01 - 2016-03-31Entity [Domain]Earnings Per Share Basic0.48USD / Shares2
550000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Earnings Per Share Basic1.49USD / Shares2
560000789019 (http://www.sec.gov/CIK)2016-07-01 - 2016-09-30Entity [Domain]Earnings Per Share Diluted0.60USD / Shares2PE1
570000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Earnings Per Share Diluted1.48USD / Shares2
580000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Earnings Per Share Diluted0.83USD / Shares2PE1 , PE5
590000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Earnings Per Share Diluted0.39USD / Shares2PE4
600000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Earnings Per Share Diluted2.71USD / Shares2PE1 , PE5
610000789019 (http://www.sec.gov/CIK)2016-10-01 - 2016-12-31Entity [Domain]Earnings Per Share Diluted0.66USD / Shares2PE1
620000789019 (http://www.sec.gov/CIK)2015-10-01 - 2015-12-31Entity [Domain]Earnings Per Share Diluted0.62USD / Shares2
630000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Earnings Per Share Diluted2.10USD / Shares2PE4
640000789019 (http://www.sec.gov/CIK)2017-01-01 - 2017-03-31Entity [Domain]Earnings Per Share Diluted0.61USD / Shares2PE1
650000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Earnings Per Share Diluted0.61USD / Shares2
660000789019 (http://www.sec.gov/CIK)2016-01-01 - 2016-03-31Entity [Domain]Earnings Per Share Diluted0.47USD / Shares2

Component: (Network and Table)
Network
101270 - Disclosure - Quarterly Information (Unaudited) (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureQuarterlyInformationUnauditedParentheticalDetail)
TableQuarterly Financial Information [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Deferred Revenue Arrangement Type [Axis]Restructuring Plan [Axis]Restructuring Cost And Reserve [Axis]Statement Business Segments [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net23317000000USD-6PE1 , PE2
20000789019 (http://www.sec.gov/CIK)2017-01-01 - 2017-03-31Entity [Domain]Windows Ten Deferral [Member]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net1500000000USD-8
30000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net20614000000USD-6PE3
40000789019 (http://www.sec.gov/CIK)2016-01-01 - 2016-03-31Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net20531000000USD-6PE3
50000789019 (http://www.sec.gov/CIK)2015-10-01 - 2015-12-31Entity [Domain]Windows Ten Deferral [Member]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net1700000000USD-8
60000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Windows Ten Deferral [Member]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net1300000000USD-8
70000789019 (http://www.sec.gov/CIK)2016-10-01 - 2016-12-31Entity [Domain]Windows Ten Deferral [Member]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net2000000000USD-8
80000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net85320000000USD-6PE3
90000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Windows Ten Deferral [Member]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net6600000000USD-8
100000789019 (http://www.sec.gov/CIK)2016-01-01 - 2016-03-31Entity [Domain]Windows Ten Deferral [Member]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net1600000000USD-8
110000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Windows Ten Deferral [Member]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net1400000000USD-8
120000789019 (http://www.sec.gov/CIK)2017-01-01 - 2017-03-31Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net22090000000USD-6PE1 , PE2
130000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Windows Ten Deferral [Member]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net6700000000USD-8
140000789019 (http://www.sec.gov/CIK)2016-07-01 - 2016-09-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net20453000000USD-6PE1 , PE2
150000789019 (http://www.sec.gov/CIK)2016-07-01 - 2016-09-30Entity [Domain]Windows Ten Deferral [Member]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net1900000000USD-8
160000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net89950000000USD-6PE1 , PE2
170000789019 (http://www.sec.gov/CIK)2016-10-01 - 2016-12-31Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net24090000000USD-6PE1 , PE2
180000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net93580000000USD-6
190000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Windows Ten Deferral [Member]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net2000000000USD-8
200000789019 (http://www.sec.gov/CIK)2015-10-01 - 2015-12-31Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net23796000000USD-6PE3
210000789019 (http://www.sec.gov/CIK)2015-07-01 - 2015-09-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net20379000000USD-6PE3
220000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Employee Severance [Member]Segment [Domain]Restructuring Charges306000000USD-6
230000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Twenty Sixteen Restructuring Plan [Member]Type Of Restructuring [Domain]Segment [Domain]Restructuring Charges480000000USD-6
240000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Sales And Marketing Restructuring Plan [Member]Employee Severance [Member]Segment [Domain]Restructuring Charges306000000USD-6
250000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Restructuring Charges306000000USD-6
260000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Twenty Sixteen Restructuring Plan [Member]Type Of Restructuring [Domain]Segment [Domain]Restructuring Charges501000000USD-6
270000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Impairment Integration And Restructuring Effect On Operating Income Loss After Tax1100000000USD-8
280000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Impairment Integration And Restructuring Effect On Operating Income Loss After Tax306000000USD-6
290000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Impairment Integration And Restructuring Effect On Earnings After Tax895000000USD-6
300000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Impairment Integration And Restructuring Effect On Earnings After Tax243000000USD-6
310000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Impairment Integration And Restructuring Effect On Earnings Per Share After Tax0.11USD / Shares2
320000789019 (http://www.sec.gov/CIK)2017-04-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Impairment Integration And Restructuring Effect On Earnings Per Share After Tax0.03USD / Shares2
330000789019 (http://www.sec.gov/CIK)2016-07-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Asset Impairment Charges0USD-6
340000789019 (http://www.sec.gov/CIK)2015-07-01 - 2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Asset Impairment Charges630000000USD-6
350000789019 (http://www.sec.gov/CIK)2014-07-01 - 2015-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Asset Impairment Charges7498000000USD-6
360000789019 (http://www.sec.gov/CIK)2016-04-01 - 2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Phone Business [Member]Asset Impairment Charges630000000USD-6