Fact Table Summary

Component: (Network and Table)
Network
100000 - Document - Document and Entity Information
(http://www.xbrlsite.com/msft/role/DocumentDocumentAndEntityInformation)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Document Type10-K
2http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Amendment Flagfalse
3http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Document Period End Date2017-06-30
4http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Document Fiscal Year Focus2017
5http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Document Fiscal Period FocusFY
6http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Trading SymbolMSFT
7http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Entity Registrant NameMICROSOFT CORPORATION
8http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Entity Central Index Key0000789019
9http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Current Fiscal Year End Date--06-30
10http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Entity Well Known Seasoned IssuerYes
11http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Entity Current Reporting StatusYes
12http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Entity Voluntary FilersNo
13http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Entity Filer CategoryLarge Accelerated Filer
14http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Entity Listing Par Value Per Share0.00000625USD / SharesINF
15http://www.sec.gov/CIK (0000789019)2017-07-31Entity [Domain]Entity Common Stock Shares Outstanding7702243979SharesINF
16http://www.sec.gov/CIK (0000789019)2016-12-31Entity [Domain]Entity Public Float466500000000USD-8
17http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Entity Tax Identification Number911144442

Component: (Network and Table)
Network
100010 - Statement - INCOME STATEMENTS
(http://www.xbrlsite.com/msft/role/StatementINCOMESTATEMENTS)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Sales Revenue Goods Net57190000000USD-6
2http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Sales Revenue Goods Net61502000000USD-6
3http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Sales Revenue Goods Net75956000000USD-6
4http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Sales Revenue Services And Other Net17624000000USD-6
5http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Sales Revenue Services And Other Net23818000000USD-6
6http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Sales Revenue Services And Other Net32760000000USD-6
7http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Sales Revenue Net89950000000USD-6
8http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Sales Revenue Net85320000000USD-6
9http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Sales Revenue Net93580000000USD-6
10http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Cost Of Goods Sold21410000000USD-6
11http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Cost Of Goods Sold15175000000USD-6
12http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Cost Of Goods Sold17880000000USD-6
13http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Cost Of Services And Other14900000000USD-6
14http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Cost Of Services And Other11628000000USD-6
15http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Cost Of Services And Other19086000000USD-6
16http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Cost Of Revenue33038000000USD-6
17http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Cost Of Revenue34261000000USD-6
18http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Cost Of Revenue32780000000USD-6
19http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Gross Profit60542000000USD-6
20http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Gross Profit55689000000USD-6
21http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Gross Profit52540000000USD-6
22http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Research And Development Expense12046000000USD-6
23http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Research And Development Expense13037000000USD-6
24http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Research And Development Expense11988000000USD-6
25http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Selling And Marketing Expense14697000000USD-6
26http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Selling And Marketing Expense15713000000USD-6
27http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Selling And Marketing Expense15539000000USD-6
28http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]General And Administrative Expense4563000000USD-6
29http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]General And Administrative Expense4481000000USD-6
30http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]General And Administrative Expense4611000000USD-6
31http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Impairment Integration And Restructuring Expenses306000000USD-6
32http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Impairment Integration And Restructuring Expenses10011000000USD-6
33http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Impairment Integration And Restructuring Expenses1110000000USD-6
34http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Operating Income Loss18161000000USD-6
35http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Operating Income Loss22326000000USD-6
36http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Operating Income Loss20182000000USD-6
37http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Nonoperating Income Expense346000000USD-6
38http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Nonoperating Income Expense-431000000USD-6
39http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Nonoperating Income Expense823000000USD-6
40http://www.sec.gov/CIK (0000789019)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
41http://www.sec.gov/CIK (0000789019)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
42http://www.sec.gov/CIK (0000789019)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
43http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Income Tax Expense Benefit2953000000USD-6
44http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Income Tax Expense Benefit1945000000USD-6
45http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Income Tax Expense Benefit6314000000USD-6
46http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Net Income Loss21204000000USD-6
47http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Net Income Loss12193000000USD-6
48http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Net Income Loss16798000000USD-6
49http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Earnings Per Share Basic2.12USD / Shares2
50http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Earnings Per Share Basic2.74USD / Shares2
51http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Earnings Per Share Basic1.49USD / Shares2
52http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Earnings Per Share Diluted1.48USD / Shares2
53http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Earnings Per Share Diluted2.71USD / Shares2
54http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Earnings Per Share Diluted2.10USD / Shares2
55http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Weighted Average Number Of Shares Outstanding Basic7746000000Shares-6
56http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Weighted Average Number Of Shares Outstanding Basic7925000000Shares-6
57http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Weighted Average Number Of Shares Outstanding Basic8177000000Shares-6
58http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Weighted Average Number Of Diluted Shares Outstanding8254000000Shares-6
59http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Weighted Average Number Of Diluted Shares Outstanding8013000000Shares-6
60http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Weighted Average Number Of Diluted Shares Outstanding7832000000Shares-6
61http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Common Stock Dividends Per Share Declared1.24USD / SharesINF
62http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Common Stock Dividends Per Share Declared1.56USD / SharesINF
63http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Common Stock Dividends Per Share Declared1.44USD / SharesINF

Component: (Network and Table)
Network
100020 - Statement - COMPREHENSIVE INCOME STATEMENTS
(http://www.xbrlsite.com/msft/role/StatementCOMPREHENSIVEINCOMESTATEMENTS)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Net Income Loss21204000000USD-6
2http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Net Income Loss12193000000USD-6
3http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Net Income Loss16798000000USD-6
4http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Other Comprehensive Income Loss Derivatives Qualifying As Hedges Net Of Tax-218000000USD-6
5http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Other Comprehensive Income Loss Derivatives Qualifying As Hedges Net Of Tax559000000USD-6
6http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Other Comprehensive Income Loss Derivatives Qualifying As Hedges Net Of Tax-238000000USD-6
7http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Other Comprehensive Income Loss Available For Sale Securities Adjustment Net Of Tax-362000000USD-6
8http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Other Comprehensive Income Loss Available For Sale Securities Adjustment Net Of Tax-228000000USD-6
9http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Other Comprehensive Income Loss Available For Sale Securities Adjustment Net Of Tax-1116000000USD-6
10http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Other Comprehensive Income Loss Foreign Currency Transaction And Translation Adjustment Net Of Tax-1383000000USD-6
11http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Other Comprehensive Income Loss Foreign Currency Transaction And Translation Adjustment Net Of Tax-519000000USD-6
12http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Other Comprehensive Income Loss Foreign Currency Transaction And Translation Adjustment Net Of Tax228000000USD-6
13http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent-1106000000USD-6
14http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent-985000000USD-6
15http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent-1186000000USD-6
16http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Comprehensive Income Net Of Tax20098000000USD-6
17http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Comprehensive Income Net Of Tax15813000000USD-6
18http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Comprehensive Income Net Of Tax11007000000USD-6

Component: (Network and Table)
Network
100030 - Statement - COMPREHENSIVE INCOME STATEMENTS (Parenthetical)
(http://www.xbrlsite.com/msft/role/StatementCOMPREHENSIVEINCOMESTATEMENTSParenthetical)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Other Comprehensive Income Loss Derivatives Qualifying As Hedges Tax-5000000USD-6
2http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Other Comprehensive Income Loss Derivatives Qualifying As Hedges Tax20000000USD-6
3http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Other Comprehensive Income Loss Derivatives Qualifying As Hedges Tax-12000000USD-6
4http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Other Comprehensive Income Loss Available For Sale Securities Tax-197000000USD-6
5http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Other Comprehensive Income Loss Available For Sale Securities Tax-613000000USD-6
6http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Other Comprehensive Income Loss Available For Sale Securities Tax-121000000USD-6
7http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Other Comprehensive Income Loss Foreign Currency Translation Adjustment Tax9000000USD-6
8http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Other Comprehensive Income Loss Foreign Currency Translation Adjustment Tax-33000000USD-6
9http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Other Comprehensive Income Loss Foreign Currency Translation Adjustment Tax16000000USD-6

Component: (Network and Table)
Network
100040 - Statement - BALANCE SHEETS
(http://www.xbrlsite.com/msft/role/StatementBALANCESHEETS)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Cash And Cash Equivalents At Carrying Value6510000000USD-6
2http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Cash And Cash Equivalents At Carrying Value7663000000USD-6
3http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Available For Sale Securities Current106730000000USD-6
4http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Available For Sale Securities Current125318000000USD-6
5http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Cash Cash Equivalents And Short Term Investments113240000000USD-6
6http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Cash Cash Equivalents And Short Term Investments132981000000USD-6
7http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Accounts Receivable Net Current19792000000USD-6
8http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Accounts Receivable Net Current18277000000USD-6
9http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Inventory Net2181000000USD-6
10http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Inventory Net2251000000USD-6
11http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Other Assets Current4897000000USD-6
12http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Other Assets Current5892000000USD-6
13http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Assets Current139660000000USD-6
14http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Assets Current159851000000USD-6
15http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Property Plant And Equipment Net23734000000USD-6
16http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Property Plant And Equipment Net18356000000USD-6
17http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Long Term Investments6023000000USD-6
18http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Long Term Investments10431000000USD-6
19http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Goodwill35122000000USD-6
20http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Goodwill17872000000USD-6
21http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Finite Lived Intangible Assets Net3733000000USD-6
22http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Finite Lived Intangible Assets Net10106000000USD-6
23http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Other Assets Noncurrent3416000000USD-6
24http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Other Assets Noncurrent6250000000USD-6
25http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Assets193468000000USD-6
26http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Assets241086000000USD-6
27http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Accounts Payable Current6898000000USD-6
28http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Accounts Payable Current7390000000USD-6
29http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Short Term Borrowings12904000000USD-6
30http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Short Term Borrowings9072000000USD-6
31http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Long Term Debt Current0USD-6
32http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Long Term Debt Current1049000000USD-6
33http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Employee Related Liabilities Current5264000000USD-6
34http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Employee Related Liabilities Current5819000000USD-6
35http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Accrued Income Taxes Current718000000USD-6
36http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Accrued Income Taxes Current580000000USD-6
37http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Deferred Revenue Current34102000000USD-6
38http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Deferred Revenue Current27468000000USD-6
39http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Deposits Received For Securities Loaned At Carrying Value97000000USD-6
40http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Deposits Received For Securities Loaned At Carrying Value294000000USD-6
41http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Other Liabilities Current5949000000USD-6
42http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Other Liabilities Current6280000000USD-6
43http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Liabilities Current59357000000USD-6
44http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Liabilities Current64527000000USD-6
45http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Long Term Debt Noncurrent40557000000USD-6
46http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Long Term Debt Noncurrent76073000000USD-6
47http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Deferred Revenue Noncurrent10377000000USD-6
48http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Deferred Revenue Noncurrent6441000000USD-6
49http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Deferred Tax Liabilities Noncurrent1476000000USD-6
50http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Deferred Tax Liabilities Noncurrent531000000USD-6
51http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Other Liabilities Noncurrent13640000000USD-6
52http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Other Liabilities Noncurrent17184000000USD-6
53http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Liabilities168692000000USD-6
54http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Liabilities121471000000USD-6
55http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Commitments And Contingencies
xsi:nil
USD
56http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Commitments And Contingencies
xsi:nil
USD
57http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Common Stocks Including Additional Paid In Capital69315000000USD-6
58http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Common Stocks Including Additional Paid In Capital68178000000USD-6
59http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Retained Earnings Accumulated Deficit2282000000USD-6
60http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Retained Earnings Accumulated Deficit2648000000USD-6
61http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Accumulated Other Comprehensive Income Loss Net Of Tax431000000USD-6
62http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Accumulated Other Comprehensive Income Loss Net Of Tax1537000000USD-6
63http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Stockholders Equity71997000000USD-6
64http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Stockholders Equity72394000000USD-6
65http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Liabilities And Stockholders Equity241086000000USD-6
66http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Liabilities And Stockholders Equity193468000000USD-6

Component: (Network and Table)
Network
100050 - Statement - BALANCE SHEETS (Parenthetical)
(http://www.xbrlsite.com/msft/role/StatementBALANCESHEETSParenthetical)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Securities Loaned204000000USD-6
2http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Securities Loaned3694000000USD-6
3http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Allowance For Doubtful Accounts Receivable Current426000000USD-6
4http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Allowance For Doubtful Accounts Receivable Current405000000USD-6
5http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Accumulated Depreciation Depletion And Amortization Property Plant And Equipment19800000000USD-6
6http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Accumulated Depreciation Depletion And Amortization Property Plant And Equipment24179000000USD-6
7http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Common Stock Shares Authorized24000000000SharesINF
8http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Common Stock Shares Authorized24000000000SharesINF
9http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Common Stock Shares Outstanding7708000000Shares-6
10http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Common Stock Shares Outstanding7808000000Shares-6

Component: (Network and Table)
Network
100060 - Statement - CASH FLOWS STATEMENTS
(http://www.xbrlsite.com/msft/role/StatementCASHFLOWSSTATEMENTS)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Net Income Loss21204000000USD-6
2http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Net Income Loss12193000000USD-6
3http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Net Income Loss16798000000USD-6
4http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Asset Impairment Charges7498000000USD-6
5http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Asset Impairment Charges0USD-6
6http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Asset Impairment Charges630000000USD-6
7http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Depreciation Amortization And Other5957000000USD-6
8http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Depreciation Amortization And Other6622000000USD-6
9http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Depreciation Amortization And Other8778000000USD-6
10http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Share Based Compensation2574000000USD-6
11http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Share Based Compensation2668000000USD-6
12http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Share Based Compensation3266000000USD-6
13http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Gain Loss On Investments And Derivative Instruments223000000USD-6
14http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Gain Loss On Investments And Derivative Instruments2073000000USD-6
15http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Gain Loss On Investments And Derivative Instruments443000000USD-6
16http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Deferred Income Tax Expense Benefit224000000USD-6
17http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Deferred Income Tax Expense Benefit332000000USD-6
18http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Deferred Income Tax Expense Benefit-3296000000USD-6
19http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Increase Decrease In Deferred Revenue57072000000USD-6
20http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Increase Decrease In Deferred Revenue45072000000USD-6
21http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Increase Decrease In Deferred Revenue67711000000USD-6
22http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Recognition Of Deferred Revenue57735000000USD-6
23http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Recognition Of Deferred Revenue44920000000USD-6
24http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Recognition Of Deferred Revenue48498000000USD-6
25http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Increase Decrease In Accounts Receivable-1456000000USD-6
26http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Increase Decrease In Accounts Receivable925000000USD-6
27http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Increase Decrease In Accounts Receivable530000000USD-6
28http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Increase Decrease In Inventories-50000000USD-6
29http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Increase Decrease In Inventories-600000000USD-6
30http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Increase Decrease In Inventories272000000USD-6
31http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Increase Decrease In Other Current Assets-1066000000USD-6
32http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Increase Decrease In Other Current Assets-62000000USD-6
33http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Increase Decrease In Other Current Assets1167000000USD-6
34http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Increase Decrease In Other Noncurrent Assets539000000USD-6
35http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Increase Decrease In Other Noncurrent Assets-346000000USD-6
36http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Increase Decrease In Other Noncurrent Assets41000000USD-6
37http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Increase Decrease In Accounts Payable88000000USD-6
38http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Increase Decrease In Accounts Payable-1054000000USD-6
39http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Increase Decrease In Accounts Payable81000000USD-6
40http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Increase Decrease In Other Current Liabilities386000000USD-6
41http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Increase Decrease In Other Current Liabilities-624000000USD-6
42http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Increase Decrease In Other Current Liabilities-260000000USD-6
43http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Increase Decrease In Other Noncurrent Liabilities1599000000USD-6
44http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Increase Decrease In Other Noncurrent Liabilities1533000000USD-6
45http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Increase Decrease In Other Noncurrent Liabilities-766000000USD-6
46http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Net Cash Provided By Used In Operating Activities Continuing Operations39507000000USD-6
47http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Net Cash Provided By Used In Operating Activities Continuing Operations33325000000USD-6
48http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Net Cash Provided By Used In Operating Activities Continuing Operations29668000000USD-6
49http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Proceeds From Repayments Of Short Term Debt Maturing In Three Months Or Less-4963000000USD-6
50http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Proceeds From Repayments Of Short Term Debt Maturing In Three Months Or Less7195000000USD-6
51http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Proceeds From Repayments Of Short Term Debt Maturing In Three Months Or Less4481000000USD-6
52http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Proceeds From Debt Maturing In More Than Three Months10680000000USD-6
53http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Proceeds From Debt Maturing In More Than Three Months13884000000USD-6
54http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Proceeds From Debt Maturing In More Than Three Months44344000000USD-6
55http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Repayments Of Debt Maturing In More Than Three Months2796000000USD-6
56http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Repayments Of Debt Maturing In More Than Three Months1500000000USD-6
57http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Repayments Of Debt Maturing In More Than Three Months7922000000USD-6
58http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Proceeds From Issuance Of Common Stock668000000USD-6
59http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Proceeds From Issuance Of Common Stock634000000USD-6
60http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Proceeds From Issuance Of Common Stock772000000USD-6
61http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Payments For Repurchase Of Common Stock11788000000USD-6
62http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Payments For Repurchase Of Common Stock14443000000USD-6
63http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Payments For Repurchase Of Common Stock15969000000USD-6
64http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Payments Of Dividends Common Stock9882000000USD-6
65http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Payments Of Dividends Common Stock11006000000USD-6
66http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Payments Of Dividends Common Stock11845000000USD-6
67http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Proceeds From Payments For Other Financing Activities-369000000USD-6
68http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Proceeds From Payments For Other Financing Activities-190000000USD-6
69http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Proceeds From Payments For Other Financing Activities362000000USD-6
70http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Net Cash Provided By Used In Financing Activities Continuing Operations8408000000USD-6
71http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Net Cash Provided By Used In Financing Activities Continuing Operations-8393000000USD-6
72http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Net Cash Provided By Used In Financing Activities Continuing Operations-9668000000USD-6
73http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Payments To Acquire Property Plant And Equipment8129000000USD-6
74http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Payments To Acquire Property Plant And Equipment8343000000USD-6
75http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Payments To Acquire Property Plant And Equipment5944000000USD-6
76http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Acquisitions Net Of Cash Acquired And Purchases Of Intangible And Other Assets1393000000USD-6
77http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Acquisitions Net Of Cash Acquired And Purchases Of Intangible And Other Assets3723000000USD-6
78http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Acquisitions Net Of Cash Acquired And Purchases Of Intangible And Other Assets25944000000USD-6
79http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Payments To Acquire Investments129758000000USD-6
80http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Payments To Acquire Investments176905000000USD-6
81http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Payments To Acquire Investments98729000000USD-6
82http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Proceeds From Maturities Prepayments And Calls Of Available For Sale Securities22054000000USD-6
83http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Proceeds From Maturities Prepayments And Calls Of Available For Sale Securities15013000000USD-6
84http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Proceeds From Maturities Prepayments And Calls Of Available For Sale Securities28044000000USD-6
85http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Proceeds From Sale Of Available For Sale Securities136350000000USD-6
86http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Proceeds From Sale Of Available For Sale Securities93287000000USD-6
87http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Proceeds From Sale Of Available For Sale Securities70848000000USD-6
88http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Increase Decrease In Collateral Held Under Securities Lending-203000000USD-6
89http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Increase Decrease In Collateral Held Under Securities Lending466000000USD-6
90http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Increase Decrease In Collateral Held Under Securities Lending197000000USD-6
91http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Net Cash Provided By Used In Investing Activities Continuing Operations-23001000000USD-6
92http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Net Cash Provided By Used In Investing Activities Continuing Operations-23950000000USD-6
93http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Net Cash Provided By Used In Investing Activities Continuing Operations-46781000000USD-6
94http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Effect Of Exchange Rate On Cash And Cash Equivalents19000000USD-6
95http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Effect Of Exchange Rate On Cash And Cash Equivalents-73000000USD-6
96http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Effect Of Exchange Rate On Cash And Cash Equivalents-67000000USD-6
97http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Cash And Cash Equivalents Period Increase Decrease1153000000USD-6
98http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Cash And Cash Equivalents Period Increase Decrease915000000USD-6
99http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Cash And Cash Equivalents Period Increase Decrease-3074000000USD-6
100http://www.sec.gov/CIK (0000789019)2014-06-30Entity [Domain]Cash And Cash Equivalents At Carrying Value8669000000USD-6
101http://www.sec.gov/CIK (0000789019)2015-06-30Entity [Domain]Cash And Cash Equivalents At Carrying Value5595000000USD-6
102http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Cash And Cash Equivalents At Carrying Value6510000000USD-6
103http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Cash And Cash Equivalents At Carrying Value7663000000USD-6

Component: (Network and Table)
Network
100070 - Statement - STOCKHOLDERS' EQUITY STATEMENTS
(http://www.xbrlsite.com/msft/role/StatementSTOCKHOLDERSEQUITYSTATEMENTS)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Statement Equity Components [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Stockholders Equity68178000000USD-6
2http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Equity Component [Domain]Stockholders Equity71997000000USD-6
3http://www.sec.gov/CIK (0000789019)2014-06-30Entity [Domain]Retained Earnings [Member]Stockholders Equity17710000000USD-6
4http://www.sec.gov/CIK (0000789019)2014-06-30Entity [Domain]Accumulated Other Comprehensive Income [Member]Stockholders Equity3708000000USD-6
5http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Retained Earnings [Member]Stockholders Equity2648000000USD-6
6http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Stockholders Equity69315000000USD-6
7http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Equity Component [Domain]Stockholders Equity72394000000USD-6
8http://www.sec.gov/CIK (0000789019)2015-06-30Entity [Domain]Equity Component [Domain]Stockholders Equity80083000000USD-6
9http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Retained Earnings [Member]Stockholders Equity2282000000USD-6
10http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Accumulated Other Comprehensive Income [Member]Stockholders Equity431000000USD-6
11http://www.sec.gov/CIK (0000789019)2014-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Stockholders Equity68366000000USD-6
12http://www.sec.gov/CIK (0000789019)2015-06-30Entity [Domain]Accumulated Other Comprehensive Income [Member]Stockholders Equity2522000000USD-6
13http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Accumulated Other Comprehensive Income [Member]Stockholders Equity1537000000USD-6
14http://www.sec.gov/CIK (0000789019)2015-06-30Entity [Domain]Retained Earnings [Member]Stockholders Equity9096000000USD-6
15http://www.sec.gov/CIK (0000789019)2015-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Stockholders Equity68465000000USD-6
16http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Stock Issued During Period Value New Issues668000000USD-6
17http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Stock Issued During Period Value New Issues772000000USD-6
18http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Stock Issued During Period Value New Issues634000000USD-6
19http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Retained Earnings [Member]Net Income Loss21204000000USD-6
20http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Retained Earnings [Member]Net Income Loss16798000000USD-6
21http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Retained Earnings [Member]Net Income Loss12193000000USD-6
22http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Equity Component [Domain]Net Income Loss21204000000USD-6
23http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Equity Component [Domain]Net Income Loss12193000000USD-6
24http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Equity Component [Domain]Net Income Loss16798000000USD-6
25http://www.sec.gov/CIK (0000789019)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
26http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Equity Component [Domain]Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent-1106000000USD-6
27http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Equity Component [Domain]Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent-985000000USD-6
28http://www.sec.gov/CIK (0000789019)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
29http://www.sec.gov/CIK (0000789019)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
30http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Equity Component [Domain]Other Comprehensive Income Loss Net Of Tax Portion Attributable To Parent-1186000000USD-6
31http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Retained Earnings [Member]Dividends Common Stock Cash11329000000USD-6
32http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Retained Earnings [Member]Dividends Common Stock Cash12040000000USD-6
33http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Retained Earnings [Member]Dividends Common Stock Cash10063000000USD-6
34http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Stock Repurchased During Period Value3700000000USD-6
35http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Equity Component [Domain]Stock Repurchased During Period Value10283000000USD-6
36http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Retained Earnings [Member]Stock Repurchased During Period Value12283000000USD-6
37http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Retained Earnings [Member]Stock Repurchased During Period Value10744000000USD-6
38http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Retained Earnings [Member]Stock Repurchased During Period Value8798000000USD-6
39http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Equity Component [Domain]Stock Repurchased During Period Value14800000000USD-6
40http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Equity Component [Domain]Stock Repurchased During Period Value13209000000USD-6
41http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Stock Repurchased During Period Value2987000000USD-6
42http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Stock Repurchased During Period Value3689000000USD-6
43http://www.sec.gov/CIK (0000789019)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
44http://www.sec.gov/CIK (0000789019)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
45http://www.sec.gov/CIK (0000789019)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
46http://www.sec.gov/CIK (0000789019)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
47http://www.sec.gov/CIK (0000789019)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
48http://www.sec.gov/CIK (0000789019)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
49http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Stockholders Equity Other-66000000USD-6
50http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Stockholders Equity Other-3000000USD-6
51http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Common Stock Including Additional Paid In Capital [Member]Stockholders Equity Other-86000000USD-6

Component: (Network and Table)
Network
100080 - Disclosure - ACCOUNTING POLICIES
(http://www.xbrlsite.com/msft/role/DisclosureACCOUNTINGPOLICIES)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureEARNINGSPERSHARE)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureOTHERINCOMEEXPENSENET)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureINVESTMENTS)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureDERIVATIVES)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureFAIRVALUEMEASUREMENTS)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureINVENTORIES)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosurePROPERTYANDEQUIPMENT)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureBUSINESSCOMBINATIONS)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureGOODWILL)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureINTANGIBLEASSETS)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureDEBT)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureINCOMETAXES)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureRESTRUCTURINGCHARGES)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureUNEARNEDREVENUE)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureCOMMITMENTS)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureCONTINGENCIES)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureSTOCKHOLDERSEQUITY)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureACCUMULATEDOTHERCOMPREHENSIVEINCOME)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureEMPLOYEESTOCKANDSAVINGSPLANS)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureSEGMENTINFORMATIONANDGEOGRAPHICDATA)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureQUARTERLYINFORMATIONUNAUDITED)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureACCOUNTINGPOLICIESPolicies)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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
2http://www.sec.gov/CIK (0000789019)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
3http://www.sec.gov/CIK (0000789019)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
4http://www.sec.gov/CIK (0000789019)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
5http://www.sec.gov/CIK (0000789019)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
6http://www.sec.gov/CIK (0000789019)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
7http://www.sec.gov/CIK (0000789019)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
8http://www.sec.gov/CIK (0000789019)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
9http://www.sec.gov/CIK (0000789019)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
10http://www.sec.gov/CIK (0000789019)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
11http://www.sec.gov/CIK (0000789019)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
12http://www.sec.gov/CIK (0000789019)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:
13http://www.sec.gov/CIK (0000789019)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
14http://www.sec.gov/CIK (0000789019)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
15http://www.sec.gov/CIK (0000789019)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
16http://www.sec.gov/CIK (0000789019)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
17http://www.sec.gov/CIK (0000789019)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
18http://www.sec.gov/CIK (0000789019)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
19http://www.sec.gov/CIK (0000789019)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
20http://www.sec.gov/CIK (0000789019)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
21http://www.sec.gov/CIK (0000789019)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
22http://www.sec.gov/CIK (0000789019)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
23http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureACCOUNTINGPOLICIESTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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
2http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureEARNINGSPERSHARETables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureOTHERINCOMEEXPENSENETTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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
2http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureINVESTMENTSTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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
2http://www.sec.gov/CIK (0000789019)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
3http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)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
2http://www.sec.gov/CIK (0000789019)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
3http://www.sec.gov/CIK (0000789019)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
4http://www.sec.gov/CIK (0000789019)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

Component: (Network and Table)
Network
100360 - Disclosure - FAIR VALUE MEASUREMENTS (Tables)
(http://www.xbrlsite.com/msft/role/DisclosureFAIRVALUEMEASUREMENTSTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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
2http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureINVENTORIESTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosurePROPERTYANDEQUIPMENTTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureBUSINESSCOMBINATIONSTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Business Acquisition [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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
2http://www.sec.gov/CIK (0000789019)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
3http://www.sec.gov/CIK (0000789019)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
4http://www.sec.gov/CIK (0000789019)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
5http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureGOODWILLTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureINTANGIBLEASSETSTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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
2http://www.sec.gov/CIK (0000789019)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
3http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureDEBTTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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
2http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureINCOMETAXESTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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
2http://www.sec.gov/CIK (0000789019)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
3http://www.sec.gov/CIK (0000789019)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
4http://www.sec.gov/CIK (0000789019)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
5http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureRESTRUCTURINGCHARGESTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureUNEARNEDREVENUETables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureCOMMITMENTSTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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
2http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureSTOCKHOLDERSEQUITYTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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
2http://www.sec.gov/CIK (0000789019)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
3http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureACCUMULATEDOTHERCOMPREHENSIVEINCOMETables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureEMPLOYEESTOCKANDSAVINGSPLANSTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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
2http://www.sec.gov/CIK (0000789019)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
3http://www.sec.gov/CIK (0000789019)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
4http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureSEGMENTINFORMATIONANDGEOGRAPHICDATATables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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
2http://www.sec.gov/CIK (0000789019)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
3http://www.sec.gov/CIK (0000789019)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
4http://www.sec.gov/CIK (0000789019)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
5http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureQUARTERLYINFORMATIONUNAUDITEDTables)
TableStatement [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)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
2http://www.sec.gov/CIK (0000789019)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
3http://www.sec.gov/CIK (0000789019)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
4http://www.sec.gov/CIK (0000789019)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
5http://www.sec.gov/CIK (0000789019)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
6http://www.sec.gov/CIK (0000789019)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
7http://www.sec.gov/CIK (0000789019)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
8http://www.sec.gov/CIK (0000789019)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
9http://www.sec.gov/CIK (0000789019)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
10http://www.sec.gov/CIK (0000789019)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
11http://www.sec.gov/CIK (0000789019)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
12http://www.sec.gov/CIK (0000789019)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
13http://www.sec.gov/CIK (0000789019)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
14http://www.sec.gov/CIK (0000789019)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
15http://www.sec.gov/CIK (0000789019)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
16http://www.sec.gov/CIK (0000789019)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
17http://www.sec.gov/CIK (0000789019)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
18http://www.sec.gov/CIK (0000789019)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
19http://www.sec.gov/CIK (0000789019)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
20http://www.sec.gov/CIK (0000789019)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
21http://www.sec.gov/CIK (0000789019)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
22http://www.sec.gov/CIK (0000789019)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
23http://www.sec.gov/CIK (0000789019)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-6
24http://www.sec.gov/CIK (0000789019)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-6
25http://www.sec.gov/CIK (0000789019)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
26http://www.sec.gov/CIK (0000789019)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
27http://www.sec.gov/CIK (0000789019)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
28http://www.sec.gov/CIK (0000789019)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-6
29http://www.sec.gov/CIK (0000789019)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
30http://www.sec.gov/CIK (0000789019)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
31http://www.sec.gov/CIK (0000789019)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
32http://www.sec.gov/CIK (0000789019)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
33http://www.sec.gov/CIK (0000789019)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-6
34http://www.sec.gov/CIK (0000789019)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
35http://www.sec.gov/CIK (0000789019)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-6
36http://www.sec.gov/CIK (0000789019)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
37http://www.sec.gov/CIK (0000789019)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
38http://www.sec.gov/CIK (0000789019)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-6
39http://www.sec.gov/CIK (0000789019)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-6
40http://www.sec.gov/CIK (0000789019)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
41http://www.sec.gov/CIK (0000789019)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
42http://www.sec.gov/CIK (0000789019)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
43http://www.sec.gov/CIK (0000789019)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
44http://www.sec.gov/CIK (0000789019)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
45http://www.sec.gov/CIK (0000789019)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-6
46http://www.sec.gov/CIK (0000789019)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-6
47http://www.sec.gov/CIK (0000789019)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-6
48http://www.sec.gov/CIK (0000789019)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
49http://www.sec.gov/CIK (0000789019)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
50http://www.sec.gov/CIK (0000789019)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
51http://www.sec.gov/CIK (0000789019)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
52http://www.sec.gov/CIK (0000789019)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
53http://www.sec.gov/CIK (0000789019)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
54http://www.sec.gov/CIK (0000789019)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
55http://www.sec.gov/CIK (0000789019)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
56http://www.sec.gov/CIK (0000789019)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
57http://www.sec.gov/CIK (0000789019)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
58http://www.sec.gov/CIK (0000789019)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
59http://www.sec.gov/CIK (0000789019)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
60http://www.sec.gov/CIK (0000789019)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
61http://www.sec.gov/CIK (0000789019)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
62http://www.sec.gov/CIK (0000789019)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
63http://www.sec.gov/CIK (0000789019)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
64http://www.sec.gov/CIK (0000789019)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
65http://www.sec.gov/CIK (0000789019)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
66http://www.sec.gov/CIK (0000789019)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
67http://www.sec.gov/CIK (0000789019)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
68http://www.sec.gov/CIK (0000789019)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
69http://www.sec.gov/CIK (0000789019)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
70http://www.sec.gov/CIK (0000789019)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
71http://www.sec.gov/CIK (0000789019)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
72http://www.sec.gov/CIK (0000789019)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
73http://www.sec.gov/CIK (0000789019)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
74http://www.sec.gov/CIK (0000789019)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
75http://www.sec.gov/CIK (0000789019)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

Component: (Network and Table)
Network
100530 - Disclosure - Allowance for Doubtful Accounts (Detail)
(http://www.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Allowance For Doubtful Accounts [Member]Valuation Allowances And Reserves Balance405000000USD-6
2http://www.sec.gov/CIK (0000789019)2015-06-30Entity [Domain]Allowance For Doubtful Accounts [Member]Valuation Allowances And Reserves Balance335000000USD-6
3http://www.sec.gov/CIK (0000789019)2014-06-30Entity [Domain]Allowance For Doubtful Accounts [Member]Valuation Allowances And Reserves Balance301000000USD-6
4http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Allowance For Doubtful Accounts [Member]Valuation Allowances And Reserves Balance426000000USD-6
5http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Allowance For Doubtful Accounts [Member]Valuation Allowances And Reserves Charged To Costs And Other146000000USD-6
6http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Allowance For Doubtful Accounts [Member]Valuation Allowances And Reserves Charged To Costs And Other77000000USD-6
7http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Allowance For Doubtful Accounts [Member]Valuation Allowances And Reserves Charged To Costs And Other85000000USD-6
8http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Allowance For Doubtful Accounts [Member]Valuation Allowances And Reserves Deductions55000000USD-6
9http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Allowance For Doubtful Accounts [Member]Valuation Allowances And Reserves Deductions106000000USD-6
10http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Allowance For Doubtful Accounts [Member]Valuation Allowances And Reserves Deductions43000000USD-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.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Sales Revenue Net96571000000USD-6
2http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net89950000000USD-6
3http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net85320000000USD-6
4http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Sales Revenue Net6621000000USD-6
5http://www.sec.gov/CIK (0000789019)2016-10-01 - 2016-12-31Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net24090000000USD-6
6http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Sales Revenue Net0USD-6
7http://www.sec.gov/CIK (0000789019)2015-07-01 - 2015-09-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net20379000000USD-6
8http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Sales Revenue Net5834000000USD-6
9http://www.sec.gov/CIK (0000789019)2015-10-01 - 2015-12-31Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net23796000000USD-6
10http://www.sec.gov/CIK (0000789019)2017-01-01 - 2017-03-31Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net22090000000USD-6
11http://www.sec.gov/CIK (0000789019)2016-01-01 - 2016-03-31Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net20531000000USD-6
12http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net93580000000USD-6
13http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Sales Revenue Net91154000000USD-6
14http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Sales Revenue Net0USD-6
15http://www.sec.gov/CIK (0000789019)2017-04-01 - 2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net23317000000USD-6
16http://www.sec.gov/CIK (0000789019)2016-04-01 - 2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net20614000000USD-6
17http://www.sec.gov/CIK (0000789019)2016-07-01 - 2016-09-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Sales Revenue Net20453000000USD-6
18http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Income Tax Expense Benefit2467000000USD-6
19http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Income Tax Expense Benefit2147000000USD-6
20http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Income Tax Expense Benefit2953000000USD-6
21http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Income Tax Expense Benefit0USD-6
22http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Income Tax Expense Benefit1945000000USD-6
23http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Income Tax Expense Benefit4412000000USD-6
24http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Income Tax Expense Benefit5100000000USD-6
25http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Income Tax Expense Benefit6314000000USD-6
26http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Income Tax Expense Benefit0USD-6
27http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Net Income Loss0USD-6
28http://www.sec.gov/CIK (0000789019)2016-01-01 - 2016-03-31Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Net Income Loss3756000000USD-6
29http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Net Income Loss4285000000USD-6
30http://www.sec.gov/CIK (0000789019)2015-10-01 - 2015-12-31Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Net Income Loss5018000000USD-6
31http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Net Income Loss3741000000USD-6
32http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Net Income Loss25489000000USD-6
33http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Net Income Loss0USD-6
34http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Net Income Loss21204000000USD-6
35http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Net Income Loss12193000000USD-6
36http://www.sec.gov/CIK (0000789019)2016-10-01 - 2016-12-31Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Net Income Loss5200000000USD-6
37http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Net Income Loss16798000000USD-6
38http://www.sec.gov/CIK (0000789019)2015-07-01 - 2015-09-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Net Income Loss4902000000USD-6
39http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Net Income Loss20539000000USD-6
40http://www.sec.gov/CIK (0000789019)2017-04-01 - 2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Net Income Loss6513000000USD-6
41http://www.sec.gov/CIK (0000789019)2017-01-01 - 2017-03-31Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Net Income Loss4801000000USD-6
42http://www.sec.gov/CIK (0000789019)2016-07-01 - 2016-09-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Net Income Loss4690000000USD-6
43http://www.sec.gov/CIK (0000789019)2016-04-01 - 2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Net Income Loss3122000000USD-6
44http://www.sec.gov/CIK (0000789019)2016-10-01 - 2016-12-31Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Earnings Per Share Diluted0.66USD / Shares2
45http://www.sec.gov/CIK (0000789019)2015-07-01 - 2015-09-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Earnings Per Share Diluted0.61USD / Shares2
46http://www.sec.gov/CIK (0000789019)2015-10-01 - 2015-12-31Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Earnings Per Share Diluted0.62USD / Shares2
47http://www.sec.gov/CIK (0000789019)2017-04-01 - 2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Earnings Per Share Diluted0.83USD / Shares2
48http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Earnings Per Share Diluted1.48USD / Shares2
49http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Earnings Per Share Diluted0.54USD / Shares2
50http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Earnings Per Share Diluted0.46USD / Shares2
51http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Earnings Per Share Diluted2.71USD / Shares2
52http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Earnings Per Share Diluted3.25USD / Shares2
53http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Earnings Per Share Diluted0USD / Shares0
54http://www.sec.gov/CIK (0000789019)2017-01-01 - 2017-03-31Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Earnings Per Share Diluted0.61USD / Shares2
55http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Earnings Per Share Diluted0USD / Shares0
56http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Earnings Per Share Diluted2.56USD / Shares2
57http://www.sec.gov/CIK (0000789019)2016-01-01 - 2016-03-31Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Earnings Per Share Diluted0.47USD / Shares2
58http://www.sec.gov/CIK (0000789019)2016-04-01 - 2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Earnings Per Share Diluted0.39USD / Shares2
59http://www.sec.gov/CIK (0000789019)2016-07-01 - 2016-09-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Earnings Per Share Diluted0.60USD / Shares2
60http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Earnings Per Share Diluted2.10USD / Shares2
61http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Accounts Receivable Net Current2359000000USD-6
62http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Accounts Receivable Net Current2639000000USD-6
63http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Accounts Receivable Net Current22431000000USD-6
64http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Accounts Receivable Net Current19792000000USD-6
65http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Accounts Receivable Net Current18277000000USD-6
66http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Accounts Receivable Net Current20636000000USD-6
67http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Accounts Receivable Net Current0USD-6
68http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Accounts Receivable Net Current0USD-6
69http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Operating Lease Right Of Use Asset5198000000USD-6
70http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Operating Lease Right Of Use Asset0USD-6
71http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Operating Lease Right Of Use Asset0USD-6
72http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Operating Lease Right Of Use Asset0USD-6
73http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Operating Lease Right Of Use Asset6555000000USD-6
74http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Operating Lease Right Of Use Asset6555000000USD-6
75http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Operating Lease Right Of Use Asset5198000000USD-6
76http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Operating Lease Right Of Use Asset0USD-6
77http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Other Assets9308000000USD-6
78http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Other Assets0USD-6
79http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Other Assets11147000000USD-6
80http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Other Assets11179000000USD-6
81http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Other Assets11180000000USD-6
82http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Other Assets0USD-6
83http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Other Assets1872000000USD-6
84http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Other Assets32000000USD-6
85http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Deferred Revenue0USD-6
86http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Deferred Revenue0USD-6
87http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Deferred Revenue44479000000USD-6
88http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Deferred Revenue-17823000000USD-6
89http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Deferred Revenue33909000000USD-6
90http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Deferred Revenue22193000000USD-6
91http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Deferred Revenue-11716000000USD-6
92http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Deferred Revenue26656000000USD-6
93http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Deferred Tax Liabilities Noncurrent5734000000USD-6
94http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Deferred Tax Liabilities Noncurrent1476000000USD-6
95http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Deferred Tax Liabilities Noncurrent4837000000USD-6
96http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Deferred Tax Liabilities Noncurrent5203000000USD-6
97http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Deferred Tax Liabilities Noncurrent531000000USD-6
98http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Deferred Tax Liabilities Noncurrent0USD-6
99http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Deferred Tax Liabilities Noncurrent0USD-6
100http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Deferred Tax Liabilities Noncurrent6313000000USD-6
101http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Operating Lease Liability4257000000USD-6
102http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Operating Lease Liability5372000000USD-6
103http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Operating Lease Liability5372000000USD-6
104http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Operating Lease Liability4257000000USD-6
105http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Operating Lease Liability0USD-6
106http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Operating Lease Liability0USD-6
107http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Operating Lease Liability0USD-6
108http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Operating Lease Liability0USD-6
109http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Other Liabilities23464000000USD-6
110http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Other Liabilities1183000000USD-6
111http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Other Liabilities19589000000USD-6
112http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Other Liabilities20547000000USD-6
113http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Other Liabilities-26000000USD-6
114http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Other Liabilities941000000USD-6
115http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Other Liabilities24621000000USD-6
116http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Other Liabilities17000000USD-6
117http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Stockholders Equity83090000000USD-6
118http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Stockholders Equity71997000000USD-6
119http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Stockholders Equity0USD-6
120http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Stockholders Equity11093000000USD-6
121http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Accounting Standards Update201409 [Member]Scenario Plan [Member]Stockholders Equity15317000000USD-6
122http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Plan [Member]Stockholders Equity87711000000USD-6
123http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Stockholders Equity72394000000USD-6
124http://www.sec.gov/CIK (0000789019)2015-06-30Entity [Domain]Type Of Adoption [Member]Scenario Unspecified [Domain]Stockholders Equity80083000000USD-6
125http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Accounting Standards Update201602 [Member]Scenario Plan [Member]Stockholders Equity0USD-6

Component: (Network and Table)
Network
100550 - Disclosure - Basic and Diluted Earnings Per Share (Detail)
(http://www.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)2016-01-01 - 2016-03-31Entity [Domain]Net Income Loss3756000000USD-6
2http://www.sec.gov/CIK (0000789019)2015-10-01 - 2015-12-31Entity [Domain]Net Income Loss5018000000USD-6
3http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Net Income Loss21204000000USD-6
4http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Net Income Loss12193000000USD-6
5http://www.sec.gov/CIK (0000789019)2016-10-01 - 2016-12-31Entity [Domain]Net Income Loss5200000000USD-6
6http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Net Income Loss16798000000USD-6
7http://www.sec.gov/CIK (0000789019)2015-07-01 - 2015-09-30Entity [Domain]Net Income Loss4902000000USD-6
8http://www.sec.gov/CIK (0000789019)2017-04-01 - 2017-06-30Entity [Domain]Net Income Loss6513000000USD-6
9http://www.sec.gov/CIK (0000789019)2017-01-01 - 2017-03-31Entity [Domain]Net Income Loss4801000000USD-6
10http://www.sec.gov/CIK (0000789019)2016-07-01 - 2016-09-30Entity [Domain]Net Income Loss4690000000USD-6
11http://www.sec.gov/CIK (0000789019)2016-04-01 - 2016-06-30Entity [Domain]Net Income Loss3122000000USD-6
12http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Weighted Average Number Of Shares Outstanding Basic7746000000Shares-6
13http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Weighted Average Number Of Shares Outstanding Basic7925000000Shares-6
14http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Weighted Average Number Of Shares Outstanding Basic8177000000Shares-6
15http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Incremental Common Shares Attributable To Share Based Payment Arrangements77000000Shares-6
16http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Incremental Common Shares Attributable To Share Based Payment Arrangements88000000Shares-6
17http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Incremental Common Shares Attributable To Share Based Payment Arrangements86000000Shares-6
18http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Weighted Average Number Of Diluted Shares Outstanding8254000000Shares-6
19http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Weighted Average Number Of Diluted Shares Outstanding8013000000Shares-6
20http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Weighted Average Number Of Diluted Shares Outstanding7832000000Shares-6
21http://www.sec.gov/CIK (0000789019)2015-10-01 - 2015-12-31Entity [Domain]Earnings Per Share Basic0.63USD / Shares2
22http://www.sec.gov/CIK (0000789019)2016-01-01 - 2016-03-31Entity [Domain]Earnings Per Share Basic0.48USD / Shares2
23http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Earnings Per Share Basic2.12USD / Shares2
24http://www.sec.gov/CIK (0000789019)2017-01-01 - 2017-03-31Entity [Domain]Earnings Per Share Basic0.62USD / Shares2
25http://www.sec.gov/CIK (0000789019)2016-07-01 - 2016-09-30Entity [Domain]Earnings Per Share Basic0.60USD / Shares2
26http://www.sec.gov/CIK (0000789019)2015-07-01 - 2015-09-30Entity [Domain]Earnings Per Share Basic0.61USD / Shares2
27http://www.sec.gov/CIK (0000789019)2017-04-01 - 2017-06-30Entity [Domain]Earnings Per Share Basic0.84USD / Shares2
28http://www.sec.gov/CIK (0000789019)2016-10-01 - 2016-12-31Entity [Domain]Earnings Per Share Basic0.67USD / Shares2
29http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Earnings Per Share Basic2.74USD / Shares2
30http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Earnings Per Share Basic1.49USD / Shares2
31http://www.sec.gov/CIK (0000789019)2016-04-01 - 2016-06-30Entity [Domain]Earnings Per Share Basic0.40USD / Shares2
32http://www.sec.gov/CIK (0000789019)2016-10-01 - 2016-12-31Entity [Domain]Earnings Per Share Diluted0.66USD / Shares2
33http://www.sec.gov/CIK (0000789019)2015-07-01 - 2015-09-30Entity [Domain]Earnings Per Share Diluted0.61USD / Shares2
34http://www.sec.gov/CIK (0000789019)2015-10-01 - 2015-12-31Entity [Domain]Earnings Per Share Diluted0.62USD / Shares2
35http://www.sec.gov/CIK (0000789019)2017-04-01 - 2017-06-30Entity [Domain]Earnings Per Share Diluted0.83USD / Shares2
36http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Earnings Per Share Diluted1.48USD / Shares2
37http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Earnings Per Share Diluted2.71USD / Shares2
38http://www.sec.gov/CIK (0000789019)2017-01-01 - 2017-03-31Entity [Domain]Earnings Per Share Diluted0.61USD / Shares2
39http://www.sec.gov/CIK (0000789019)2016-01-01 - 2016-03-31Entity [Domain]Earnings Per Share Diluted0.47USD / Shares2
40http://www.sec.gov/CIK (0000789019)2016-04-01 - 2016-06-30Entity [Domain]Earnings Per Share Diluted0.39USD / Shares2
41http://www.sec.gov/CIK (0000789019)2016-07-01 - 2016-09-30Entity [Domain]Earnings Per Share Diluted0.60USD / Shares2
42http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Earnings Per Share Diluted2.10USD / Shares2

Component: (Network and Table)
Network
100560 - Disclosure - Components of Other Income (Expense), Net (Detail)
(http://www.xbrlsite.com/msft/role/DisclosureComponentsOfOtherIncomeExpenseNetDetail)
TableOther Income Expense [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Investment Income Net1387000000USD-6
2http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Investment Income Net903000000USD-6
3http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Investment Income Net766000000USD-6
4http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Interest Expense2222000000USD-6
5http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Interest Expense1243000000USD-6
6http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Interest Expense781000000USD-6
7http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Gain Loss On Investments668000000USD-6
8http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Gain Loss On Investments2583000000USD-6
9http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Gain Loss On Investments716000000USD-6
10http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Gain Loss On Derivative Instruments Net Pretax-443000000USD-6
11http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Gain Loss On Derivative Instruments Net Pretax-510000000USD-6
12http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Gain Loss On Derivative Instruments Net Pretax-423000000USD-6
13http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Foreign Currency Transaction Gain Loss Before Tax-121000000USD-6
14http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Foreign Currency Transaction Gain Loss Before Tax-164000000USD-6
15http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Foreign Currency Transaction Gain Loss Before Tax335000000USD-6
16http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Other Nonoperating Income Expense-195000000USD-6
17http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Other Nonoperating Income Expense-267000000USD-6
18http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Other Nonoperating Income Expense-251000000USD-6
19http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Nonoperating Income Expense346000000USD-6
20http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Nonoperating Income Expense-431000000USD-6
21http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Nonoperating Income Expense823000000USD-6

Component: (Network and Table)
Network
100570 - Disclosure - Net Recognized Gains (Losses) on Investments (Detail)
(http://www.xbrlsite.com/msft/role/DisclosureNetRecognizedGainsLossesOnInvestmentsDetail)
TableSchedule of Gain (Loss) on Investments [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Marketable Securities Realized Gain Loss Other Than Temporary Impairments Amount183000000USD-6
2http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Marketable Securities Realized Gain Loss Other Than Temporary Impairments Amount55000000USD-6
3http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Marketable Securities Realized Gain Loss Other Than Temporary Impairments Amount322000000USD-6
4http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Available For Sale Securities Gross Realized Gains1176000000USD-6
5http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Available For Sale Securities Gross Realized Gains1376000000USD-6
6http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Available For Sale Securities Gross Realized Gains3064000000USD-6
7http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Available For Sale Securities Gross Realized Losses386000000USD-6
8http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Available For Sale Securities Gross Realized Losses277000000USD-6
9http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Available For Sale Securities Gross Realized Losses426000000USD-6
10http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Gain Loss On Investments668000000USD-6
11http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Gain Loss On Investments2583000000USD-6
12http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Gain Loss On Investments716000000USD-6

Component: (Network and Table)
Network
100580 - Disclosure - Investment Components, Including Associated Derivatives (Detail)
(http://www.xbrlsite.com/msft/role/DisclosureInvestmentComponentsIncludingAssociatedDerivativesDetail)
TableCash, Cash Equivalents and Investments [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Investment Type [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Certificates Of Deposit [Member]Available For Sale Securities Amortized Cost1358000000USD-6
2http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Amortized Cost112119000000USD-6
3http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Investment Type Categorization [Member]Available For Sale Securities Amortized Cost119078000000USD-6
4http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Money Market Funds [Member]Available For Sale Securities Amortized Cost1012000000USD-6
5http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]U S States And Political Subdivisions [Member]Available For Sale Securities Amortized Cost284000000USD-6
6http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Commercial Paper [Member]Available For Sale Securities Amortized Cost319000000USD-6
7http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Investment Type Categorization [Member]Available For Sale Securities Amortized Cost136160000000USD-6
8http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Amortized Cost6509000000USD-6
9http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Amortized Cost89970000000USD-6
10http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Amortized Cost4786000000USD-6
11http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Amortized Cost4789000000USD-6
12http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]U S States And Political Subdivisions [Member]Available For Sale Securities Amortized Cost285000000USD-6
13http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Amortized Cost5597000000USD-6
14http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Commercial Paper [Member]Available For Sale Securities Amortized Cost298000000USD-6
15http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Amortized Cost2472000000USD-6
16http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Amortized Cost5502000000USD-6
17http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Certificates Of Deposit [Member]Available For Sale Securities Amortized Cost1000000000USD-6
18http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Amortized Cost5276000000USD-6
19http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Money Market Funds [Member]Available For Sale Securities Amortized Cost1478000000USD-6
20http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Amortized Cost3921000000USD-6
21http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Other Security Investments [Member]Equity Method Investment Aggregate Cost523000000USD-6
22http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Other Security Investments [Member]Equity Method Investment Aggregate Cost615000000USD-6
23http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Cash [Member]Cash3624000000USD-6
24http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Cash [Member]Cash3501000000USD-6
25http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax245000000USD-6
26http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax14000000USD-6
27http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Commercial Paper [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax0USD-6
28http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Certificates Of Deposit [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax0USD-6
29http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax61000000USD-6
30http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Other Security Investments [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax0USD-6
31http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Money Market Funds [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax0USD-6
32http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Certificates Of Deposit [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax0USD-6
33http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax4452000000USD-6
34http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Investment Type Categorization [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax4895000000USD-6
35http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]U S States And Political Subdivisions [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax57000000USD-6
36http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Cash [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax0USD-6
37http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax3062000000USD-6
38http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Investment Type Categorization [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax3267000000USD-6
39http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Commercial Paper [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax0USD-6
40http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax110000000USD-6
41http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Cash [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax0USD-6
42http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Money Market Funds [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax0USD-6
43http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Other Security Investments [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax0USD-6
44http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]U S States And Political Subdivisions [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax43000000USD-6
45http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax85000000USD-6
46http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax2000000USD-6
47http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax21000000USD-6
48http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax10000000USD-6
49http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax12000000USD-6
50http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax34000000USD-6
51http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Cash [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0USD-6
52http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax35000000USD-6
53http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Other Security Investments [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0USD-6
54http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]U S States And Political Subdivisions [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0USD-6
55http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax360000000USD-6
56http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax11000000USD-6
57http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Cash [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0USD-6
58http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax4000000USD-6
59http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]U S States And Political Subdivisions [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0USD-6
60http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax18000000USD-6
61http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Investment Type Categorization [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax302000000USD-6
62http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Certificates Of Deposit [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0USD-6
63http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Investment Type Categorization [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax423000000USD-6
64http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Other Security Investments [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0USD-6
65http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Money Market Funds [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0USD-6
66http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Certificates Of Deposit [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0USD-6
67http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax2000000USD-6
68http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Money Market Funds [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0USD-6
69http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Commercial Paper [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0USD-6
70http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax13000000USD-6
71http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Commercial Paper [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0USD-6
72http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax236000000USD-6
73http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities4835000000USD-6
74http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities5265000000USD-6
75http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Money Market Funds [Member]Available For Sale Securities1012000000USD-6
76http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Commercial Paper [Member]Available For Sale Securities319000000USD-6
77http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Commercial Paper [Member]Available For Sale Securities298000000USD-6
78http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities90204000000USD-6
79http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Investment Type Categorization [Member]Available For Sale Securities123671000000USD-6
80http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Investment Type Categorization [Member]Available For Sale Securities139004000000USD-6
81http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Certificates Of Deposit [Member]Available For Sale Securities1000000000USD-6
82http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities3931000000USD-6
83http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities6584000000USD-6
84http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]U S States And Political Subdivisions [Member]Available For Sale Securities342000000USD-6
85http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Money Market Funds [Member]Available For Sale Securities1478000000USD-6
86http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities111844000000USD-6
87http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities5494000000USD-6
88http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]U S States And Political Subdivisions [Member]Available For Sale Securities327000000USD-6
89http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Certificates Of Deposit [Member]Available For Sale Securities1358000000USD-6
90http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities9813000000USD-6
91http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities4808000000USD-6
92http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities5500000000USD-6
93http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Other Security Investments [Member]Equity Method Investments615000000USD-6
94http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Other Security Investments [Member]Equity Method Investments523000000USD-6
95http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Equity Securities [Member]Cash And Cash Equivalents At Carrying Value0USD-6
96http://www.sec.gov/CIK (0000789019)2014-06-30Entity [Domain]Investment Type Categorization [Member]Cash And Cash Equivalents At Carrying Value8669000000USD-6
97http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Corporate Debt Securities [Member]Cash And Cash Equivalents At Carrying Value0USD-6
98http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Money Market Funds [Member]Cash And Cash Equivalents At Carrying Value1012000000USD-6
99http://www.sec.gov/CIK (0000789019)2015-06-30Entity [Domain]Investment Type Categorization [Member]Cash And Cash Equivalents At Carrying Value5595000000USD-6
100http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Foreign Government Debt Securities [Member]Cash And Cash Equivalents At Carrying Value1504000000USD-6
101http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Certificates Of Deposit [Member]Cash And Cash Equivalents At Carrying Value972000000USD-6
102http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Corporate Debt Securities [Member]Cash And Cash Equivalents At Carrying Value0USD-6
103http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]U S States And Political Subdivisions [Member]Cash And Cash Equivalents At Carrying Value0USD-6
104http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Commercial Paper [Member]Cash And Cash Equivalents At Carrying Value298000000USD-6
105http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Investment Type Categorization [Member]Cash And Cash Equivalents At Carrying Value6510000000USD-6
106http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Asset Backed Securities [Member]Cash And Cash Equivalents At Carrying Value0USD-6
107http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Cash [Member]Cash And Cash Equivalents At Carrying Value3624000000USD-6
108http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Certificates Of Deposit [Member]Cash And Cash Equivalents At Carrying Value868000000USD-6
109http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Cash [Member]Cash And Cash Equivalents At Carrying Value3501000000USD-6
110http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Foreign Government Debt Securities [Member]Cash And Cash Equivalents At Carrying Value731000000USD-6
111http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Equity Securities [Member]Cash And Cash Equivalents At Carrying Value0USD-6
112http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Investment Type Categorization [Member]Cash And Cash Equivalents At Carrying Value7663000000USD-6
113http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Commercial Paper [Member]Cash And Cash Equivalents At Carrying Value69000000USD-6
114http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Cash And Cash Equivalents At Carrying Value16000000USD-6
115http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Other Security Investments [Member]Cash And Cash Equivalents At Carrying Value0USD-6
116http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Money Market Funds [Member]Cash And Cash Equivalents At Carrying Value1478000000USD-6
117http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Cash And Cash Equivalents At Carrying Value100000000USD-6
118http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Other Security Investments [Member]Cash And Cash Equivalents At Carrying Value0USD-6
119http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Asset Backed Securities [Member]Cash And Cash Equivalents At Carrying Value0USD-6
120http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]U S States And Political Subdivisions [Member]Cash And Cash Equivalents At Carrying Value0USD-6
121http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]U S States And Political Subdivisions [Member]Available For Sale Securities Current327000000USD-6
122http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Cash [Member]Available For Sale Securities Current0USD-6
123http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Cash [Member]Available For Sale Securities Current0USD-6
124http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Current4763000000USD-6
125http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Certificates Of Deposit [Member]Available For Sale Securities Current386000000USD-6
126http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Certificates Of Deposit [Member]Available For Sale Securities Current132000000USD-6
127http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Money Market Funds [Member]Available For Sale Securities Current0USD-6
128http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Current0USD-6
129http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Money Market Funds [Member]Available For Sale Securities Current0USD-6
130http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]U S States And Political Subdivisions [Member]Available For Sale Securities Current342000000USD-6
131http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Commercial Paper [Member]Available For Sale Securities Current0USD-6
132http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Current4808000000USD-6
133http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Investment Type Categorization [Member]Available For Sale Securities Current106730000000USD-6
134http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Investment Type Categorization [Member]Available For Sale Securities Current125318000000USD-6
135http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Current111828000000USD-6
136http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Current6584000000USD-6
137http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Other Security Investments [Member]Available For Sale Securities Current-3000000USD-6
138http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Current4835000000USD-6
139http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Commercial Paper [Member]Available For Sale Securities Current250000000USD-6
140http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Current0USD-6
141http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Current3931000000USD-6
142http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Other Security Investments [Member]Available For Sale Securities Current0USD-6
143http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Current90104000000USD-6
144http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Current3761000000USD-6
145http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Asset Backed Securities [Member]Long Term Investments0USD-6
146http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Corporate Debt Securities [Member]Long Term Investments0USD-6
147http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Investment Type Categorization [Member]Long Term Investments6023000000USD-6
148http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Other Security Investments [Member]Long Term Investments618000000USD-6
149http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Commercial Paper [Member]Long Term Investments0USD-6
150http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Cash [Member]Long Term Investments0USD-6
151http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]U S States And Political Subdivisions [Member]Long Term Investments0USD-6
152http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Commercial Paper [Member]Long Term Investments0USD-6
153http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Certificates Of Deposit [Member]Long Term Investments0USD-6
154http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Foreign Government Debt Securities [Member]Long Term Investments0USD-6
155http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Money Market Funds [Member]Long Term Investments0USD-6
156http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Equity Securities [Member]Long Term Investments9813000000USD-6
157http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Cash [Member]Long Term Investments0USD-6
158http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Money Market Funds [Member]Long Term Investments0USD-6
159http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Investment Type Categorization [Member]Long Term Investments10431000000USD-6
160http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Other Security Investments [Member]Long Term Investments523000000USD-6
161http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Certificates Of Deposit [Member]Long Term Investments0USD-6
162http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Long Term Investments0USD-6
163http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Long Term Investments0USD-6
164http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Asset Backed Securities [Member]Long Term Investments0USD-6
165http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Equity Securities [Member]Long Term Investments5500000000USD-6
166http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Foreign Government Debt Securities [Member]Long Term Investments0USD-6
167http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Corporate Debt Securities [Member]Long Term Investments0USD-6
168http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]U S States And Political Subdivisions [Member]Long Term Investments0USD-6

Component: (Network and Table)
Network
100590 - Disclosure - Investments - Cost Method - Additional Information (Detail)
(http://www.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Fair Value Measurements Nonrecurring [Member]Cost Method Investments767000000USD-6
2http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Fair Value Measurements Nonrecurring [Member]Cost Method Investments1073000000USD-6

Component: (Network and Table)
Network
100600 - Disclosure - Investments - Secured Borrowings and Loaned Securities - Additional Information (Detail)
(http://www.xbrlsite.com/msft/role/DisclosureInvestmentsSecuredBorrowingsAndLoanedSecuritiesAdditionalInformationDetail)
TableInvestment [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Investment Type [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Securities Received As Collateral3700000000USD-8
2http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value4006000000USD-6
2http://www.sec.gov/CIK (0000789019)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
3http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value1068000000USD-6
4http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value1180000000USD-6
5http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value844000000USD-6
6http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value669000000USD-6
7http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value896000000USD-6
8http://www.sec.gov/CIK (0000789019)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
9http://www.sec.gov/CIK (0000789019)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
10http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value3452000000USD-6
11http://www.sec.gov/CIK (0000789019)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
12http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value69000000USD-6
13http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss1000000USD-6
14http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss8000000USD-6
15http://www.sec.gov/CIK (0000789019)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
16http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss3000000USD-6
17http://www.sec.gov/CIK (0000789019)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
18http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss3000000USD-6
19http://www.sec.gov/CIK (0000789019)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
20http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss6000000USD-6
21http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss11000000USD-6
22http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss147000000USD-6
23http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss2000000USD-6
24http://www.sec.gov/CIK (0000789019)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
25http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value390000000USD-6
26http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value23000000USD-6
27http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value148000000USD-6
28http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value35000000USD-6
29http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value788000000USD-6
30http://www.sec.gov/CIK (0000789019)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
31http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value177000000USD-6
32http://www.sec.gov/CIK (0000789019)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
33http://www.sec.gov/CIK (0000789019)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
34http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value322000000USD-6
35http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value198000000USD-6
36http://www.sec.gov/CIK (0000789019)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
37http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss1000000USD-6
38http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss24000000USD-6
39http://www.sec.gov/CIK (0000789019)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
40http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss11000000USD-6
41http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss4000000USD-6
42http://www.sec.gov/CIK (0000789019)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
43http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss89000000USD-6
44http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss1000000USD-6
45http://www.sec.gov/CIK (0000789019)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
46http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss15000000USD-6
47http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss28000000USD-6
48http://www.sec.gov/CIK (0000789019)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
49http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Fair Value6248000000USD-6
50http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Major Types Of Debt And Equity Securities [Domain]Available For Sale Securities Continuous Unrealized Loss Position Fair Value14155000000USD-6
51http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Fair Value4029000000USD-6
52http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Fair Value1968000000USD-6
53http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Fair Value846000000USD-6
54http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Fair Value217000000USD-6
55http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Fair Value87929000000USD-6
56http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Fair Value1266000000USD-6
57http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Fair Value1286000000USD-6
58http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Fair Value1166000000USD-6
59http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Major Types Of Debt And Equity Securities [Domain]Available For Sale Securities Continuous Unrealized Loss Position Fair Value94287000000USD-6
60http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Fair Value3487000000USD-6
61http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss236000000USD-6
62http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss4000000USD-6
63http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss360000000USD-6
64http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss13000000USD-6
65http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Major Types Of Debt And Equity Securities [Domain]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss423000000USD-6
66http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss18000000USD-6
67http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]U S Government Agencies Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss11000000USD-6
68http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss2000000USD-6
69http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss35000000USD-6
70http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Major Types Of Debt And Equity Securities [Domain]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss302000000USD-6
71http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss12000000USD-6
72http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureDebtInvestmentMaturitiesDetail)
TableInvestments Classified by Contractual Maturity Date [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Available For Sale Securities Debt Maturities Next Rolling Twelve Months Amortized Cost Basis18212000000USD-6
2http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Available For Sale Securities Debt Maturities Rolling Year Two Through Five Amortized Cost Basis102374000000USD-6
3http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Available For Sale Securities Debt Maturities Rolling Year Six Through Ten Amortized Cost Basis6478000000USD-6
4http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Available For Sale Securities Debt Maturities Rolling After Year Ten Amortized Cost Basis999000000USD-6
5http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Available For Sale Debt Securities Amortized Cost Basis128063000000USD-6
6http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Available For Sale Securities Debt Maturities Next Rolling Twelve Months Fair Value18188000000USD-6
7http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Available For Sale Securities Debt Maturities Rolling Year Two Through Five Fair Value102168000000USD-6
8http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Available For Sale Securities Debt Maturities Rolling Year Six Through Ten Fair Value6504000000USD-6
9http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Available For Sale Securities Debt Maturities Rolling After Year Ten Fair Value1019000000USD-6
10http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Available For Sale Securities Debt Securities127879000000USD-6

Component: (Network and Table)
Network
100630 - Disclosure - Derivatives - Additional Information (Detail)
(http://www.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)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
2http://www.sec.gov/CIK (0000789019)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
3http://www.sec.gov/CIK (0000789019)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
4http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Long [Member]Hedging Relationship [Domain]Credit Risk Contract [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount267000000USD-6
5http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Long [Member]Hedging Relationship [Domain]Mortgage Backed Securities [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount548000000USD-6
6http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Short [Member]Hedging Relationship [Domain]Commodity Contract [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount162000000USD-6
7http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Short [Member]Hedging Relationship [Domain]Interest Rate Contract [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount352000000USD-6
8http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Short [Member]Hedging Relationship [Domain]Foreign Exchange Contract [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount10600000000USD-8
9http://www.sec.gov/CIK (0000789019)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
10http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Short [Member]Hedging Relationship [Domain]Foreign Exchange Contract [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount11700000000USD-8
11http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Long [Member]Hedging Relationship [Domain]Foreign Exchange Contract [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount12000000000USD-8
12http://www.sec.gov/CIK (0000789019)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
13http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Short [Member]Hedging Relationship [Domain]Equity Contract [Member]Hedging Designation [Domain]Longterm Debt Type [Domain]Derivative Notional Amount2400000000USD-8
14http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Long [Member]Hedging Relationship [Domain]Foreign Exchange Contract [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount8800000000USD-8
15http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Short [Member]Hedging Relationship [Domain]Equity Contract [Member]Hedging Designation [Domain]Longterm Debt Type [Domain]Derivative Notional Amount2200000000USD-8
16http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Long [Member]Hedging Relationship [Domain]Mortgage Backed Securities [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount567000000USD-6
17http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Short [Member]Hedging Relationship [Domain]Credit Risk Contract [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount273000000USD-6
18http://www.sec.gov/CIK (0000789019)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
19http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Long [Member]Hedging Relationship [Domain]Interest Rate Contract [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount233000000USD-6
20http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Long [Member]Hedging Relationship [Domain]Interest Rate Contract [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount328000000USD-6
21http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Long [Member]Hedging Relationship [Domain]Commodity Contract [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount19000000USD-6
22http://www.sec.gov/CIK (0000789019)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
23http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Long [Member]Hedging Relationship [Domain]Credit Risk Contract [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount440000000USD-6
24http://www.sec.gov/CIK (0000789019)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
25http://www.sec.gov/CIK (0000789019)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
26http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Long [Member]Hedging Relationship [Domain]Equity Contract [Member]Hedging Designation [Domain]Longterm Debt Type [Domain]Derivative Notional Amount1900000000USD-8
27http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Long [Member]Hedging Relationship [Domain]Equity Contract [Member]Hedging Designation [Domain]Longterm Debt Type [Domain]Derivative Notional Amount1300000000USD-8
28http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Short [Member]Hedging Relationship [Domain]Interest Rate Contract [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount2400000000USD-8
29http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Long [Member]Hedging Relationship [Domain]Commodity Contract [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount631000000USD-6
30http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Short [Member]Hedging Relationship [Domain]Credit Risk Contract [Member]Nondesignated [Member]Longterm Debt Type [Domain]Derivative Notional Amount63000000USD-6
31http://www.sec.gov/CIK (0000789019)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
32http://www.sec.gov/CIK (0000789019)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
33http://www.sec.gov/CIK (0000789019)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
34http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)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
2http://www.sec.gov/CIK (0000789019)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
3http://www.sec.gov/CIK (0000789019)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
4http://www.sec.gov/CIK (0000789019)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
5http://www.sec.gov/CIK (0000789019)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
6http://www.sec.gov/CIK (0000789019)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
7http://www.sec.gov/CIK (0000789019)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
8http://www.sec.gov/CIK (0000789019)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
9http://www.sec.gov/CIK (0000789019)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
10http://www.sec.gov/CIK (0000789019)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
11http://www.sec.gov/CIK (0000789019)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
12http://www.sec.gov/CIK (0000789019)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
13http://www.sec.gov/CIK (0000789019)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
14http://www.sec.gov/CIK (0000789019)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
15http://www.sec.gov/CIK (0000789019)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
16http://www.sec.gov/CIK (0000789019)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
17http://www.sec.gov/CIK (0000789019)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
18http://www.sec.gov/CIK (0000789019)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
19http://www.sec.gov/CIK (0000789019)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
20http://www.sec.gov/CIK (0000789019)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
21http://www.sec.gov/CIK (0000789019)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
22http://www.sec.gov/CIK (0000789019)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
23http://www.sec.gov/CIK (0000789019)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
24http://www.sec.gov/CIK (0000789019)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
25http://www.sec.gov/CIK (0000789019)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
26http://www.sec.gov/CIK (0000789019)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
27http://www.sec.gov/CIK (0000789019)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
28http://www.sec.gov/CIK (0000789019)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
29http://www.sec.gov/CIK (0000789019)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
30http://www.sec.gov/CIK (0000789019)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
31http://www.sec.gov/CIK (0000789019)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
32http://www.sec.gov/CIK (0000789019)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
33http://www.sec.gov/CIK (0000789019)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
34http://www.sec.gov/CIK (0000789019)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
35http://www.sec.gov/CIK (0000789019)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
36http://www.sec.gov/CIK (0000789019)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
37http://www.sec.gov/CIK (0000789019)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
38http://www.sec.gov/CIK (0000789019)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
39http://www.sec.gov/CIK (0000789019)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
40http://www.sec.gov/CIK (0000789019)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
41http://www.sec.gov/CIK (0000789019)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
42http://www.sec.gov/CIK (0000789019)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
43http://www.sec.gov/CIK (0000789019)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
44http://www.sec.gov/CIK (0000789019)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
45http://www.sec.gov/CIK (0000789019)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
46http://www.sec.gov/CIK (0000789019)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
47http://www.sec.gov/CIK (0000789019)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
48http://www.sec.gov/CIK (0000789019)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
49http://www.sec.gov/CIK (0000789019)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
50http://www.sec.gov/CIK (0000789019)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
51http://www.sec.gov/CIK (0000789019)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
52http://www.sec.gov/CIK (0000789019)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
53http://www.sec.gov/CIK (0000789019)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
54http://www.sec.gov/CIK (0000789019)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
55http://www.sec.gov/CIK (0000789019)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
56http://www.sec.gov/CIK (0000789019)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
57http://www.sec.gov/CIK (0000789019)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
58http://www.sec.gov/CIK (0000789019)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
59http://www.sec.gov/CIK (0000789019)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
60http://www.sec.gov/CIK (0000789019)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
61http://www.sec.gov/CIK (0000789019)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
62http://www.sec.gov/CIK (0000789019)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
63http://www.sec.gov/CIK (0000789019)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
64http://www.sec.gov/CIK (0000789019)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
65http://www.sec.gov/CIK (0000789019)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
66http://www.sec.gov/CIK (0000789019)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
67http://www.sec.gov/CIK (0000789019)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
68http://www.sec.gov/CIK (0000789019)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
69http://www.sec.gov/CIK (0000789019)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
70http://www.sec.gov/CIK (0000789019)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
71http://www.sec.gov/CIK (0000789019)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
72http://www.sec.gov/CIK (0000789019)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
73http://www.sec.gov/CIK (0000789019)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
74http://www.sec.gov/CIK (0000789019)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
75http://www.sec.gov/CIK (0000789019)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
76http://www.sec.gov/CIK (0000789019)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
77http://www.sec.gov/CIK (0000789019)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
78http://www.sec.gov/CIK (0000789019)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
79http://www.sec.gov/CIK (0000789019)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
80http://www.sec.gov/CIK (0000789019)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
81http://www.sec.gov/CIK (0000789019)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
82http://www.sec.gov/CIK (0000789019)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
83http://www.sec.gov/CIK (0000789019)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
84http://www.sec.gov/CIK (0000789019)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
85http://www.sec.gov/CIK (0000789019)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
86http://www.sec.gov/CIK (0000789019)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
87http://www.sec.gov/CIK (0000789019)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
88http://www.sec.gov/CIK (0000789019)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
89http://www.sec.gov/CIK (0000789019)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
90http://www.sec.gov/CIK (0000789019)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
91http://www.sec.gov/CIK (0000789019)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
92http://www.sec.gov/CIK (0000789019)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
93http://www.sec.gov/CIK (0000789019)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
94http://www.sec.gov/CIK (0000789019)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
95http://www.sec.gov/CIK (0000789019)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
96http://www.sec.gov/CIK (0000789019)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
97http://www.sec.gov/CIK (0000789019)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
98http://www.sec.gov/CIK (0000789019)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
99http://www.sec.gov/CIK (0000789019)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
100http://www.sec.gov/CIK (0000789019)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
101http://www.sec.gov/CIK (0000789019)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
102http://www.sec.gov/CIK (0000789019)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
103http://www.sec.gov/CIK (0000789019)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
104http://www.sec.gov/CIK (0000789019)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
105http://www.sec.gov/CIK (0000789019)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
106http://www.sec.gov/CIK (0000789019)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
107http://www.sec.gov/CIK (0000789019)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
108http://www.sec.gov/CIK (0000789019)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
109http://www.sec.gov/CIK (0000789019)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
110http://www.sec.gov/CIK (0000789019)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
111http://www.sec.gov/CIK (0000789019)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
112http://www.sec.gov/CIK (0000789019)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
113http://www.sec.gov/CIK (0000789019)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
114http://www.sec.gov/CIK (0000789019)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
115http://www.sec.gov/CIK (0000789019)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
116http://www.sec.gov/CIK (0000789019)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
117http://www.sec.gov/CIK (0000789019)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
118http://www.sec.gov/CIK (0000789019)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
119http://www.sec.gov/CIK (0000789019)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
120http://www.sec.gov/CIK (0000789019)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
121http://www.sec.gov/CIK (0000789019)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
122http://www.sec.gov/CIK (0000789019)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
123http://www.sec.gov/CIK (0000789019)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
124http://www.sec.gov/CIK (0000789019)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
125http://www.sec.gov/CIK (0000789019)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
126http://www.sec.gov/CIK (0000789019)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
127http://www.sec.gov/CIK (0000789019)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
128http://www.sec.gov/CIK (0000789019)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
129http://www.sec.gov/CIK (0000789019)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
130http://www.sec.gov/CIK (0000789019)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
131http://www.sec.gov/CIK (0000789019)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
132http://www.sec.gov/CIK (0000789019)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
133http://www.sec.gov/CIK (0000789019)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
134http://www.sec.gov/CIK (0000789019)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
135http://www.sec.gov/CIK (0000789019)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
136http://www.sec.gov/CIK (0000789019)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
137http://www.sec.gov/CIK (0000789019)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
138http://www.sec.gov/CIK (0000789019)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
139http://www.sec.gov/CIK (0000789019)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
140http://www.sec.gov/CIK (0000789019)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
141http://www.sec.gov/CIK (0000789019)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
142http://www.sec.gov/CIK (0000789019)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
143http://www.sec.gov/CIK (0000789019)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
144http://www.sec.gov/CIK (0000789019)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
145http://www.sec.gov/CIK (0000789019)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
146http://www.sec.gov/CIK (0000789019)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
147http://www.sec.gov/CIK (0000789019)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
148http://www.sec.gov/CIK (0000789019)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
149http://www.sec.gov/CIK (0000789019)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
150http://www.sec.gov/CIK (0000789019)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

Component: (Network and Table)
Network
100650 - Disclosure - Gains (Losses) on Fair Value Hedges and Related Hedged Items (Detail)
(http://www.xbrlsite.com/msft/role/DisclosureGainsLossesOnFairValueHedgesAndRelatedHedgedItemsDetail)
TableDerivative Instruments, Gain (Loss) [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Derivative Instrument Risk [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Equity Contract [Member]Change In Unrealized Gain Loss On Fair Value Hedging Instruments1-76000000USD-6
2http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Equity Contract [Member]Change In Unrealized Gain Loss On Fair Value Hedging Instruments1-107000000USD-6
3http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Foreign Exchange Contract [Member]Change In Unrealized Gain Loss On Fair Value Hedging Instruments1441000000USD-6
4http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Equity Contract [Member]Change In Unrealized Gain Loss On Fair Value Hedging Instruments1-74000000USD-6
5http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Foreign Exchange Contract [Member]Change In Unrealized Gain Loss On Fair Value Hedging Instruments1741000000USD-6
6http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Foreign Exchange Contract [Member]Change In Unrealized Gain Loss On Fair Value Hedging Instruments1-797000000USD-6
7http://www.sec.gov/CIK (0000789019)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
8http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Foreign Exchange Contract [Member]Change In Unrealized Gain Loss On Hedged Item In Fair Value Hedge1838000000USD-6
9http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Equity Contract [Member]Change In Unrealized Gain Loss On Hedged Item In Fair Value Hedge176000000USD-6
10http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Equity Contract [Member]Change In Unrealized Gain Loss On Hedged Item In Fair Value Hedge174000000USD-6
11http://www.sec.gov/CIK (0000789019)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
12http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Equity Contract [Member]Change In Unrealized Gain Loss On Hedged Item In Fair Value Hedge1107000000USD-6
13http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Foreign Exchange Contract [Member]Gain Loss On Fair Value Hedge Ineffectiveness Net16000000USD-6
14http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Foreign Exchange Contract [Member]Gain Loss On Fair Value Hedge Ineffectiveness Net41000000USD-6
15http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Foreign Exchange Contract [Member]Gain Loss On Fair Value Hedge Ineffectiveness Net55000000USD-6
16http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Equity Contract [Member]Gain Loss On Fair Value Hedge Ineffectiveness Net0USD-6
17http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Equity Contract [Member]Gain Loss On Fair Value Hedge Ineffectiveness Net0USD-6
18http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Equity Contract [Member]Gain Loss On Fair Value Hedge Ineffectiveness Net0USD-6
19http://www.sec.gov/CIK (0000789019)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
20http://www.sec.gov/CIK (0000789019)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
21http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Equity Contract [Member]Gain Loss From Components Excluded From Assessment Of Fair Value Hedge Effectiveness Net0USD-6

Component: (Network and Table)
Network
100660 - Disclosure - Gains (Losses) Related to Cash Flow Hedges (Detail)
(http://www.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)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
2http://www.sec.gov/CIK (0000789019)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
3http://www.sec.gov/CIK (0000789019)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
4http://www.sec.gov/CIK (0000789019)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
5http://www.sec.gov/CIK (0000789019)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
6http://www.sec.gov/CIK (0000789019)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
7http://www.sec.gov/CIK (0000789019)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
8http://www.sec.gov/CIK (0000789019)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
9http://www.sec.gov/CIK (0000789019)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

Component: (Network and Table)
Network
100670 - Disclosure - Gains (Losses) Related to Cash Flow Hedges (Parenthetical) (Detail)
(http://www.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)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
2http://www.sec.gov/CIK (0000789019)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
3http://www.sec.gov/CIK (0000789019)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

Component: (Network and Table)
Network
100680 - Disclosure - Non-Designated Derivative Gains (Losses) (Detail)
(http://www.xbrlsite.com/msft/role/DisclosureNonDesignatedDerivativeGainsLossesDetail)
TableDerivative Instruments, Gain (Loss) [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Derivative Instrument Risk [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Commodity Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-87000000USD-6
2http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Commodity Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-223000000USD-6
3http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Derivative Contract Type [Domain]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-154000000USD-6
4http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Interest Rate Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net23000000USD-6
5http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Foreign Exchange Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-117000000USD-6
6http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Equity Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-19000000USD-6
7http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Interest Rate Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net10000000USD-6
8http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Credit Risk Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-1000000USD-6
9http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Credit Risk Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-1000000USD-6
10http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Commodity Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-22000000USD-6
11http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Derivative Contract Type [Domain]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-234000000USD-6
12http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Equity Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-114000000USD-6
13http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Equity Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-21000000USD-6
14http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Derivative Contract Type [Domain]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-703000000USD-6
15http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Foreign Exchange Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-483000000USD-6
16http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Interest Rate Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net14000000USD-6
17http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Credit Risk Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net5000000USD-6
18http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Foreign Exchange Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-55000000USD-6

Component: (Network and Table)
Network
100690 - Disclosure - Financial Assets and Liabilities Measured at Fair Value on Recurring Basis (Detail)
(http://www.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)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
2http://www.sec.gov/CIK (0000789019)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-6
3http://www.sec.gov/CIK (0000789019)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
4http://www.sec.gov/CIK (0000789019)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
5http://www.sec.gov/CIK (0000789019)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
6http://www.sec.gov/CIK (0000789019)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-6
7http://www.sec.gov/CIK (0000789019)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
8http://www.sec.gov/CIK (0000789019)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
9http://www.sec.gov/CIK (0000789019)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
10http://www.sec.gov/CIK (0000789019)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
11http://www.sec.gov/CIK (0000789019)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
12http://www.sec.gov/CIK (0000789019)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
13http://www.sec.gov/CIK (0000789019)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
14http://www.sec.gov/CIK (0000789019)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
15http://www.sec.gov/CIK (0000789019)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
16http://www.sec.gov/CIK (0000789019)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
17http://www.sec.gov/CIK (0000789019)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
18http://www.sec.gov/CIK (0000789019)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
19http://www.sec.gov/CIK (0000789019)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
20http://www.sec.gov/CIK (0000789019)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-6
21http://www.sec.gov/CIK (0000789019)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
22http://www.sec.gov/CIK (0000789019)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-6
23http://www.sec.gov/CIK (0000789019)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
24http://www.sec.gov/CIK (0000789019)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-6
25http://www.sec.gov/CIK (0000789019)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
26http://www.sec.gov/CIK (0000789019)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
27http://www.sec.gov/CIK (0000789019)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
28http://www.sec.gov/CIK (0000789019)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
29http://www.sec.gov/CIK (0000789019)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
30http://www.sec.gov/CIK (0000789019)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
31http://www.sec.gov/CIK (0000789019)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
32http://www.sec.gov/CIK (0000789019)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-6
33http://www.sec.gov/CIK (0000789019)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
34http://www.sec.gov/CIK (0000789019)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-6
35http://www.sec.gov/CIK (0000789019)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-6
36http://www.sec.gov/CIK (0000789019)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
37http://www.sec.gov/CIK (0000789019)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
38http://www.sec.gov/CIK (0000789019)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
39http://www.sec.gov/CIK (0000789019)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
40http://www.sec.gov/CIK (0000789019)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
41http://www.sec.gov/CIK (0000789019)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
42http://www.sec.gov/CIK (0000789019)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-6
43http://www.sec.gov/CIK (0000789019)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
44http://www.sec.gov/CIK (0000789019)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
45http://www.sec.gov/CIK (0000789019)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
46http://www.sec.gov/CIK (0000789019)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-6
47http://www.sec.gov/CIK (0000789019)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
48http://www.sec.gov/CIK (0000789019)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-6
49http://www.sec.gov/CIK (0000789019)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
50http://www.sec.gov/CIK (0000789019)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-6
51http://www.sec.gov/CIK (0000789019)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
52http://www.sec.gov/CIK (0000789019)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
53http://www.sec.gov/CIK (0000789019)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
54http://www.sec.gov/CIK (0000789019)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
55http://www.sec.gov/CIK (0000789019)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
56http://www.sec.gov/CIK (0000789019)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
57http://www.sec.gov/CIK (0000789019)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
58http://www.sec.gov/CIK (0000789019)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
59http://www.sec.gov/CIK (0000789019)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
60http://www.sec.gov/CIK (0000789019)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
61http://www.sec.gov/CIK (0000789019)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
62http://www.sec.gov/CIK (0000789019)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
63http://www.sec.gov/CIK (0000789019)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
64http://www.sec.gov/CIK (0000789019)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-6
65http://www.sec.gov/CIK (0000789019)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
66http://www.sec.gov/CIK (0000789019)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
67http://www.sec.gov/CIK (0000789019)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
68http://www.sec.gov/CIK (0000789019)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
69http://www.sec.gov/CIK (0000789019)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
70http://www.sec.gov/CIK (0000789019)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
71http://www.sec.gov/CIK (0000789019)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
72http://www.sec.gov/CIK (0000789019)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
73http://www.sec.gov/CIK (0000789019)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
74http://www.sec.gov/CIK (0000789019)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
75http://www.sec.gov/CIK (0000789019)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-6
76http://www.sec.gov/CIK (0000789019)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
77http://www.sec.gov/CIK (0000789019)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
78http://www.sec.gov/CIK (0000789019)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
79http://www.sec.gov/CIK (0000789019)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
80http://www.sec.gov/CIK (0000789019)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
81http://www.sec.gov/CIK (0000789019)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
82http://www.sec.gov/CIK (0000789019)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
83http://www.sec.gov/CIK (0000789019)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
84http://www.sec.gov/CIK (0000789019)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
85http://www.sec.gov/CIK (0000789019)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
86http://www.sec.gov/CIK (0000789019)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
87http://www.sec.gov/CIK (0000789019)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
88http://www.sec.gov/CIK (0000789019)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
89http://www.sec.gov/CIK (0000789019)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
90http://www.sec.gov/CIK (0000789019)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
91http://www.sec.gov/CIK (0000789019)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
92http://www.sec.gov/CIK (0000789019)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-6
93http://www.sec.gov/CIK (0000789019)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
94http://www.sec.gov/CIK (0000789019)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
95http://www.sec.gov/CIK (0000789019)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
96http://www.sec.gov/CIK (0000789019)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
97http://www.sec.gov/CIK (0000789019)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
98http://www.sec.gov/CIK (0000789019)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
99http://www.sec.gov/CIK (0000789019)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-6
100http://www.sec.gov/CIK (0000789019)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
101http://www.sec.gov/CIK (0000789019)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
102http://www.sec.gov/CIK (0000789019)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
103http://www.sec.gov/CIK (0000789019)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
104http://www.sec.gov/CIK (0000789019)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-6
105http://www.sec.gov/CIK (0000789019)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
106http://www.sec.gov/CIK (0000789019)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
107http://www.sec.gov/CIK (0000789019)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
108http://www.sec.gov/CIK (0000789019)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
109http://www.sec.gov/CIK (0000789019)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
110http://www.sec.gov/CIK (0000789019)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-6
111http://www.sec.gov/CIK (0000789019)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
112http://www.sec.gov/CIK (0000789019)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
113http://www.sec.gov/CIK (0000789019)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-6
114http://www.sec.gov/CIK (0000789019)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
115http://www.sec.gov/CIK (0000789019)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
116http://www.sec.gov/CIK (0000789019)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
117http://www.sec.gov/CIK (0000789019)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
118http://www.sec.gov/CIK (0000789019)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
119http://www.sec.gov/CIK (0000789019)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-6
120http://www.sec.gov/CIK (0000789019)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
121http://www.sec.gov/CIK (0000789019)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
122http://www.sec.gov/CIK (0000789019)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-6
123http://www.sec.gov/CIK (0000789019)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-6
124http://www.sec.gov/CIK (0000789019)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
125http://www.sec.gov/CIK (0000789019)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
126http://www.sec.gov/CIK (0000789019)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
127http://www.sec.gov/CIK (0000789019)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
128http://www.sec.gov/CIK (0000789019)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
129http://www.sec.gov/CIK (0000789019)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
130http://www.sec.gov/CIK (0000789019)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
131http://www.sec.gov/CIK (0000789019)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
132http://www.sec.gov/CIK (0000789019)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
133http://www.sec.gov/CIK (0000789019)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
134http://www.sec.gov/CIK (0000789019)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
135http://www.sec.gov/CIK (0000789019)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
136http://www.sec.gov/CIK (0000789019)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
137http://www.sec.gov/CIK (0000789019)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
138http://www.sec.gov/CIK (0000789019)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
139http://www.sec.gov/CIK (0000789019)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
140http://www.sec.gov/CIK (0000789019)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
141http://www.sec.gov/CIK (0000789019)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
142http://www.sec.gov/CIK (0000789019)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
143http://www.sec.gov/CIK (0000789019)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-6
144http://www.sec.gov/CIK (0000789019)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
145http://www.sec.gov/CIK (0000789019)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
146http://www.sec.gov/CIK (0000789019)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-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.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Fair Value Measurement Frequency [Domain]Balance Sheet Location [Domain]Assets Fair Value Disclosure Recurring119019000000USD-6
2http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Fair Value Measurement Frequency [Domain]Balance Sheet Location [Domain]Assets Fair Value Disclosure Recurring133985000000USD-6
3http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Fair Value Measurements Recurring [Member]Balance Sheet Location [Domain]Cash3624000000USD-6
4http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Fair Value Measurements Recurring [Member]Balance Sheet Location [Domain]Cash3501000000USD-6
5http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Fair Value Measurements Nonrecurring [Member]Balance Sheet Location [Domain]Cost Method Investments767000000USD-6
6http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Fair Value Measurements Nonrecurring [Member]Balance Sheet Location [Domain]Cost Method Investments1073000000USD-6
7http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Fair Value Measurements Nonrecurring [Member]Balance Sheet Location [Domain]Equity Method Investments618000000USD-6
8http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Fair Value Measurements Nonrecurring [Member]Balance Sheet Location [Domain]Equity Method Investments523000000USD-6
9http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Fair Value Measurement Frequency [Domain]Other Assets [Member]Derivative Assets202000000USD-6
10http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Fair Value Measurement Frequency [Domain]Other Assets [Member]Derivative Assets246000000USD-6
11http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Fair Value Measurement Frequency [Domain]Balance Sheet Location [Domain]Other Assets Fair Value Disclosure12000000USD-6
12http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Fair Value Measurement Frequency [Domain]Balance Sheet Location [Domain]Other Assets Fair Value Disclosure1000000USD-6
13http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Fair Value Measurement Frequency [Domain]Balance Sheet Location [Domain]Available For Sale Securities123671000000USD-6
14http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Fair Value Measurement Frequency [Domain]Balance Sheet Location [Domain]Available For Sale Securities139004000000USD-6

Component: (Network and Table)
Network
100710 - Disclosure - Components of Inventories (Detail)
(http://www.xbrlsite.com/msft/role/DisclosureComponentsOfInventoriesDetail)
TableInventory, Current [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Inventory Raw Materials Net Of Reserves612000000USD-6
2http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Inventory Raw Materials Net Of Reserves797000000USD-6
3http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Inventory Work In Process Net Of Reserves158000000USD-6
4http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Inventory Work In Process Net Of Reserves145000000USD-6
5http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Inventory Finished Goods Net Of Reserves1239000000USD-6
6http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Inventory Finished Goods Net Of Reserves1481000000USD-6
7http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Inventory Net2181000000USD-6
8http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Inventory Net2251000000USD-6

Component: (Network and Table)
Network
100720 - Disclosure - Components of Property and Equipment (Detail)
(http://www.xbrlsite.com/msft/role/DisclosureComponentsOfPropertyAndEquipmentDetail)
TableProperty, Plant and Equipment [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Land1107000000USD-6
2http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Land824000000USD-6
3http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Buildings And Improvements Gross16284000000USD-6
4http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Buildings And Improvements Gross12393000000USD-6
5http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Leasehold Improvements Gross3659000000USD-6
6http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Leasehold Improvements Gross5064000000USD-6
7http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Computer Hardware And Software21414000000USD-6
8http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Computer Hardware And Software17391000000USD-6
9http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Furniture And Fixtures Gross4044000000USD-6
10http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Furniture And Fixtures Gross3889000000USD-6
11http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Property Plant And Equipment Gross38156000000USD-6
12http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Property Plant And Equipment Gross47913000000USD-6
13http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Accumulated Depreciation Depletion And Amortization Property Plant And Equipment19800000000USD-6
14http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Accumulated Depreciation Depletion And Amortization Property Plant And Equipment24179000000USD-6
15http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Property Plant And Equipment Net23734000000USD-6
16http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Property Plant And Equipment Net18356000000USD-6

Component: (Network and Table)
Network
100730 - Disclosure - Property and Equipment - Additional Information (Detail)
(http://www.xbrlsite.com/msft/role/DisclosurePropertyAndEquipmentAdditionalInformationDetail)
TableProperty, Plant and Equipment [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Capital Leased Assets Gross2700000000USD-8
2http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Capital Leased Assets Gross865000000USD-6
3http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Capital Leases Lessee Balance Sheet Assets By Major Class Accumulated Deprecation161000000USD-6
4http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Capital Leases Lessee Balance Sheet Assets By Major Class Accumulated Deprecation57000000USD-6
5http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Capital Lease Obligations Incurred413000000USD-6
6http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Capital Lease Obligations Incurred1800000000USD-8
7http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Depreciation4900000000USD-8
8http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Depreciation4100000000USD-8
9http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Depreciation6100000000USD-8

Component: (Network and Table)
Network
100740 - Disclosure - Business Combinations - Additional Information (Detail)
(http://www.xbrlsite.com/msft/role/DisclosureBusinessCombinationsAdditionalInformationDetail)
TableSchedule of Business Acquisitions, by Acquisition [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Business Acquisition [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2016-12-07 - 2016-12-08Entity [Domain]Linked In Corporation [Member]Business Acquisition Effective Date Of Acquisition12016-12-08
2http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Linked In Corporation [Member]Business Acquisition Name Of Acquired EntityLinkedIn
3http://www.sec.gov/CIK (0000789019)2016-12-07 - 2016-12-08Entity [Domain]Linked In Corporation [Member]Business Combination Consideration Transferred127000000000USD-8
4http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureMajorClassesOfAssetsAndLiabilitiesToWhichWeAllocatedPurchasePriceDetail)
TableSchedule of Business Acquisitions, by Acquisition [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Business Acquisition [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2016-12-08Entity [Domain]Linked In Corporation [Member]Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Cash And Equivalents1328000000USD-6
2http://www.sec.gov/CIK (0000789019)2016-12-08Entity [Domain]Linked In Corporation [Member]Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Current Assets Marketable Securities2110000000USD-6
3http://www.sec.gov/CIK (0000789019)2016-12-08Entity [Domain]Linked In Corporation [Member]Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Current Assets Other697000000USD-6
4http://www.sec.gov/CIK (0000789019)2016-12-08Entity [Domain]Linked In Corporation [Member]Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Property Plant And Equipment1529000000USD-6
5http://www.sec.gov/CIK (0000789019)2016-12-08Entity [Domain]Linked In Corporation [Member]Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Intangibles7887000000USD-6
6http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Business Acquisition Acquiree [Domain]Goodwill35122000000USD-6
7http://www.sec.gov/CIK (0000789019)2015-06-30Entity [Domain]Business Acquisition Acquiree [Domain]Goodwill16939000000USD-6
8http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Business Acquisition Acquiree [Domain]Goodwill17872000000USD-6
9http://www.sec.gov/CIK (0000789019)2016-12-08Entity [Domain]Linked In Corporation [Member]Goodwill16803000000USD-6
10http://www.sec.gov/CIK (0000789019)2016-12-08Entity [Domain]Linked In Corporation [Member]Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Current Liabilities Short Term Debt1323000000USD-6
11http://www.sec.gov/CIK (0000789019)2016-12-08Entity [Domain]Linked In Corporation [Member]Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Current Liabilities Other1117000000USD-6
12http://www.sec.gov/CIK (0000789019)2016-12-08Entity [Domain]Linked In Corporation [Member]Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Deferred Tax Liabilities Noncurrent774000000USD-6
13http://www.sec.gov/CIK (0000789019)2016-12-08Entity [Domain]Linked In Corporation [Member]Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Other Liabilities Net131000000USD-6
14http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureMajorClassesOfAssetsAndLiabilitiesToWhichWeAllocatedPurchasePriceParentheticalDetail)
TableSchedule of Business Acquisitions, by Acquisition [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Business Acquisition [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2016-12-08Entity [Domain]Linked In Corporation [Member]Business Acquisition Purchase Price Allocation Goodwill Expected Tax Deductible Amount0USDINF
2http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Linked In Corporation [Member]Debt Instrument Face Amount18000000USD-6
3http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Business Acquisition Acquiree [Domain]Debt Instrument Face Amount77837000000USD-6
4http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Business Acquisition Acquiree [Domain]Debt Instrument Face Amount40949000000USD-6

Component: (Network and Table)
Network
100770 - Disclosure - Acquired Intangible Assets (Detail)
(http://www.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)2016-12-08Entity [Domain]Linked In Corporation [Member]Contractual Rights [Member]Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Intangibles23000000USD-6
2http://www.sec.gov/CIK (0000789019)2016-12-08Entity [Domain]Linked In Corporation [Member]Technology Based Intangible Assets [Member]Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Intangibles2109000000USD-6
3http://www.sec.gov/CIK (0000789019)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
4http://www.sec.gov/CIK (0000789019)2016-12-08Entity [Domain]Linked In Corporation [Member]Customer Relationships [Member]Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Intangibles3607000000USD-6
5http://www.sec.gov/CIK (0000789019)2016-12-08Entity [Domain]Linked In Corporation [Member]Marketing Related Intangible Assets [Member]Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Intangibles2148000000USD-6
6http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Business Acquisition Acquiree [Domain]Customer Relationships [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP3Y
7http://www.sec.gov/CIK (0000789019)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
8http://www.sec.gov/CIK (0000789019)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
9http://www.sec.gov/CIK (0000789019)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
10http://www.sec.gov/CIK (0000789019)2016-12-07 - 2016-12-08Entity [Domain]Linked In Corporation [Member]Contractual Rights [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP5Y
11http://www.sec.gov/CIK (0000789019)2016-12-07 - 2016-12-08Entity [Domain]Linked In Corporation [Member]Customer Relationships [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP7Y
12http://www.sec.gov/CIK (0000789019)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
13http://www.sec.gov/CIK (0000789019)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
14http://www.sec.gov/CIK (0000789019)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
15http://www.sec.gov/CIK (0000789019)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
16http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Business Acquisition Acquiree [Domain]Customer Relationships [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP7Y
17http://www.sec.gov/CIK (0000789019)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
18http://www.sec.gov/CIK (0000789019)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
19http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Business Acquisition Acquiree [Domain]Contractual Rights [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP6Y

Component: (Network and Table)
Network
100780 - Disclosure - Revenue and Operating Loss Attributable to Acquiree, Since the Date of Acquisition (Detail)
(http://www.xbrlsite.com/msft/role/DisclosureRevenueAndOperatingLossAttributableToAcquireeSinceDateOfAcquisitionDetail)
TableSchedule of Business Acquisitions, by Acquisition [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Business Acquisition [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Linked In Corporation [Member]Business Combination Pro Forma Information Revenue Of Acquiree Since Acquisition Date Actual2268000000USD-6
2http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureSupplementalConsolidatedFinancialResultsOnUnauditedProFormaBasisAsIfAcquisitionHadBeenConsummatedOnBeginningOfPeriodDetail)
TableSchedule of Business Acquisitions, by Acquisition [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Business Acquisition [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Linked In Corporation [Member]Business Acquisitions Pro Forma Revenue91668000000USD-6
2http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Linked In Corporation [Member]Business Acquisitions Pro Forma Revenue88652000000USD-6
3http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Linked In Corporation [Member]Business Acquisitions Pro Forma Net Income Loss20894000000USD-6
4http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Linked In Corporation [Member]Business Acquisitions Pro Forma Net Income Loss15383000000USD-6
5http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Linked In Corporation [Member]Business Acquisition Pro Forma Earnings Per Share Diluted1.92USD / Shares2
6http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureCarryingAmountOfGoodwillDetail)
TableSchedule of Goodwill [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Statement Business Segments [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]More Personal Computing [Member]Goodwill5828000000USD-6
2http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Productivity And Business Processes [Member]Goodwill23739000000USD-6
3http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Segment [Domain]Goodwill35122000000USD-6
4http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Intelligent Cloud [Member]Goodwill5555000000USD-6
5http://www.sec.gov/CIK (0000789019)2015-06-30Entity [Domain]Segment [Domain]Goodwill16939000000USD-6
6http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Intelligent Cloud [Member]Goodwill5467000000USD-6
7http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]More Personal Computing [Member]Goodwill5727000000USD-6
8http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Segment [Domain]Goodwill17872000000USD-6
9http://www.sec.gov/CIK (0000789019)2015-06-30Entity [Domain]More Personal Computing [Member]Goodwill5713000000USD-6
10http://www.sec.gov/CIK (0000789019)2015-06-30Entity [Domain]Intelligent Cloud [Member]Goodwill4917000000USD-6
11http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Productivity And Business Processes [Member]Goodwill6678000000USD-6
12http://www.sec.gov/CIK (0000789019)2015-06-30Entity [Domain]Productivity And Business Processes [Member]Goodwill6309000000USD-6
13http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Intelligent Cloud [Member]Goodwill Acquired During Period49000000USD-6
14http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]More Personal Computing [Member]Goodwill Acquired During Period115000000USD-6
15http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Productivity And Business Processes [Member]Goodwill Acquired During Period443000000USD-6
16http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Segment [Domain]Goodwill Acquired During Period1092000000USD-6
17http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Intelligent Cloud [Member]Goodwill Acquired During Period549000000USD-6
18http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Productivity And Business Processes [Member]Goodwill Acquired During Period17072000000USD-6
19http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]More Personal Computing [Member]Goodwill Acquired During Period100000000USD-6
20http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Segment [Domain]Goodwill Acquired During Period17236000000USD-6
21http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Productivity And Business Processes [Member]Goodwill Other Increase Decrease-74000000USD-6
22http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Intelligent Cloud [Member]Goodwill Other Increase Decrease1000000USD-6
23http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]More Personal Computing [Member]Goodwill Other Increase Decrease-86000000USD-6
24http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Segment [Domain]Goodwill Other Increase Decrease14000000USD-6
25http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Intelligent Cloud [Member]Goodwill Other Increase Decrease39000000USD-6
26http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]More Personal Computing [Member]Goodwill Other Increase Decrease-14000000USD-6
27http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Segment [Domain]Goodwill Other Increase Decrease-159000000USD-6
28http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Productivity And Business Processes [Member]Goodwill Other Increase Decrease-11000000USD-6

Component: (Network and Table)
Network
100810 - Disclosure - Goodwill - Additional Information (Detail)
(http://www.xbrlsite.com/msft/role/DisclosureGoodwillAdditionalInformationDetail)
TableSchedule of Goodwill [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Statement Business Segments [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Segment [Domain]Goodwill Impaired Accumulated Impairment Loss11300000000USD-8
2http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Segment [Domain]Goodwill Impaired Accumulated Impairment Loss11300000000USD-8
3http://www.sec.gov/CIK (0000789019)2017-05-01 - 2017-05-01Entity [Domain]Segment [Domain]Goodwill Impairment Loss0USDINF
4http://www.sec.gov/CIK (0000789019)2016-05-01 - 2016-05-01Entity [Domain]Segment [Domain]Goodwill Impairment Loss0USDINF
5http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Marketing Related Intangible Assets [Member]Finite Lived Intangible Assets Gross1869000000USD-6
2http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Customer Relationships [Member]Finite Lived Intangible Assets Gross4045000000USD-6
3http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Technology Based Intangible Assets [Member]Finite Lived Intangible Assets Gross5970000000USD-6
4http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Customer Relationships [Member]Finite Lived Intangible Assets Gross465000000USD-6
5http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Marketing Related Intangible Assets [Member]Finite Lived Intangible Assets Gross4016000000USD-6
6http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Contractual Rights [Member]Finite Lived Intangible Assets Gross796000000USD-6
7http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Technology Based Intangible Assets [Member]Finite Lived Intangible Assets Gross7765000000USD-6
8http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Finite Lived Intangible Assets Major Class Name [Domain]Finite Lived Intangible Assets Gross16667000000USD-6
9http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Finite Lived Intangible Assets Major Class Name [Domain]Finite Lived Intangible Assets Gross9100000000USD-6
10http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Contractual Rights [Member]Finite Lived Intangible Assets Gross841000000USD-6
11http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Technology Based Intangible Assets [Member]Finite Lived Intangible Assets Accumulated Amortization4318000000USD-6
12http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Contractual Rights [Member]Finite Lived Intangible Assets Accumulated Amortization722000000USD-6
13http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Customer Relationships [Member]Finite Lived Intangible Assets Accumulated Amortization385000000USD-6
14http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Customer Relationships [Member]Finite Lived Intangible Assets Accumulated Amortization692000000USD-6
15http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Technology Based Intangible Assets [Member]Finite Lived Intangible Assets Accumulated Amortization3648000000USD-6
16http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Finite Lived Intangible Assets Major Class Name [Domain]Finite Lived Intangible Assets Accumulated Amortization6561000000USD-6
17http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Contractual Rights [Member]Finite Lived Intangible Assets Accumulated Amortization718000000USD-6
18http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Marketing Related Intangible Assets [Member]Finite Lived Intangible Assets Accumulated Amortization829000000USD-6
19http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Marketing Related Intangible Assets [Member]Finite Lived Intangible Assets Accumulated Amortization616000000USD-6
20http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Finite Lived Intangible Assets Major Class Name [Domain]Finite Lived Intangible Assets Accumulated Amortization5367000000USD-6
21http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Finite Lived Intangible Assets Major Class Name [Domain]Finite Lived Intangible Assets Net3733000000USD-6
22http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Contractual Rights [Member]Finite Lived Intangible Assets Net119000000USD-6
23http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Contractual Rights [Member]Finite Lived Intangible Assets Net78000000USD-6
24http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Technology Based Intangible Assets [Member]Finite Lived Intangible Assets Net2322000000USD-6
25http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Finite Lived Intangible Assets Major Class Name [Domain]Finite Lived Intangible Assets Net10106000000USD-6
26http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Technology Based Intangible Assets [Member]Finite Lived Intangible Assets Net3447000000USD-6
27http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Customer Relationships [Member]Finite Lived Intangible Assets Net80000000USD-6
28http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Marketing Related Intangible Assets [Member]Finite Lived Intangible Assets Net1253000000USD-6
29http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Marketing Related Intangible Assets [Member]Finite Lived Intangible Assets Net3187000000USD-6
30http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Technology Based Intangible Assets [Member]Capitalized Software Development Costs For Software Sold To Customers115000000USD-6
2http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Technology Based Intangible Assets [Member]Capitalized Software Development Costs For Software Sold To Customers59000000USD-6

Component: (Network and Table)
Network
100840 - Disclosure - Intangible Assets - Additional Information (Detail)
(http://www.xbrlsite.com/msft/role/DisclosureIntangibleAssetsAdditionalInformationDetail)
TableSchedule of Finite Lived Intangible Assets [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Statement Business Segments [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Phone Hardware [Member]Impairment Of Intangible Assets Finitelived2200000000USD-8
2http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Devices [Member]Impairment Of Intangible Assets Finitelived480000000USD-6
3http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Segment [Domain]Amortization Of Intangible Assets1300000000USD-8
4http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Segment [Domain]Amortization Of Intangible Assets1700000000USD-8
5http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Segment [Domain]Amortization Of Intangible Assets978000000USD-6
6http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Segment [Domain]Capitalized Computer Software Amortization169000000USD-6
7http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Segment [Domain]Capitalized Computer Software Amortization179000000USD-6
8http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Marketing Related Intangible Assets [Member]Acquired Finite Lived Intangible Assets2000000USD-6
2http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Contractual Rights [Member]Acquired Finite Lived Intangible Assets63000000USD-6
3http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Customer Relationships [Member]Acquired Finite Lived Intangible Assets30000000USD-6
4http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Technology Based Intangible Assets [Member]Acquired Finite Lived Intangible Assets2265000000USD-6
5http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Marketing Related Intangible Assets [Member]Acquired Finite Lived Intangible Assets2148000000USD-6
6http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Finite Lived Intangible Assets Major Class Name [Domain]Acquired Finite Lived Intangible Assets8083000000USD-6
7http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Contractual Rights [Member]Acquired Finite Lived Intangible Assets0USD-6
8http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Customer Relationships [Member]Acquired Finite Lived Intangible Assets3607000000USD-6
9http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Technology Based Intangible Assets [Member]Acquired Finite Lived Intangible Assets361000000USD-6
10http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Finite Lived Intangible Assets Major Class Name [Domain]Acquired Finite Lived Intangible Assets393000000USD-6
11http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Customer Relationships [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP3Y
12http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Finite Lived Intangible Assets Major Class Name [Domain]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP4Y
13http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Finite Lived Intangible Assets Major Class Name [Domain]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP9Y
14http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Technology Based Intangible Assets [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP4Y
15http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Technology Based Intangible Assets [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP2Y
16http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Marketing Related Intangible Assets [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP19Y
17http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Marketing Related Intangible Assets [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP1Y
18http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Customer Relationships [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP7Y
19http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Contractual Rights [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful LifeP6Y

Component: (Network and Table)
Network
100860 - Disclosure - Estimated Future Amortization Expense Related to Intangible Assets (Detail)
(http://www.xbrlsite.com/msft/role/DisclosureEstimatedFutureAmortizationExpenseRelatedToIntangibleAssetsDetail)
TableSchedule of Finite Lived Intangible Assets [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Finite Lived Intangible Assets Amortization Expense Next Twelve Months2190000000USD-6
2http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Finite Lived Intangible Assets Amortization Expense Year Two1698000000USD-6
3http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Finite Lived Intangible Assets Amortization Expense Year Three1180000000USD-6
4http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Finite Lived Intangible Assets Amortization Expense Year Four1006000000USD-6
5http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Finite Lived Intangible Assets Amortization Expense Year Five932000000USD-6
6http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Finite Lived Intangible Assets Amortization Expense After Year Five3100000000USD-6
7http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Finite Lived Intangible Assets Net3733000000USD-6
8http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Finite Lived Intangible Assets Net10106000000USD-6

Component: (Network and Table)
Network
100870 - Disclosure - Debt - Additional Information (Detail)
(http://www.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Short Term Debt Type [Domain]Range [Member]Debt Instrument Name [Domain]Commercial Paper9100000000USD-8
2http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Short Term Debt Type [Domain]Range [Member]Debt Instrument Name [Domain]Commercial Paper12900000000USD-8
3http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Commercial Paper [Member]Range [Member]Debt Instrument Name [Domain]Short Term Debt Weighted Average Interest Rate0.0101Pure4
4http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Commercial Paper [Member]Range [Member]Debt Instrument Name [Domain]Short Term Debt Weighted Average Interest Rate0.0043Pure4
5http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Commercial Paper [Member]Maximum [Member]Debt Instrument Name [Domain]Debt Instrument TermP99D
6http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Commercial Paper [Member]Minimum [Member]Debt Instrument Name [Domain]Debt Instrument TermP1D
7http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Commercial Paper [Member]Maximum [Member]Debt Instrument Name [Domain]Debt Instrument TermP264D
8http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Commercial Paper [Member]Minimum [Member]Debt Instrument Name [Domain]Debt Instrument TermP25D
9http://www.sec.gov/CIK (0000789019)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
10http://www.sec.gov/CIK (0000789019)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
11http://www.sec.gov/CIK (0000789019)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
12http://www.sec.gov/CIK (0000789019)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
13http://www.sec.gov/CIK (0000789019)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.
14http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Short Term Debt Type [Domain]Range [Member]Debt Instrument Name [Domain]Proceeds From Lines Of Credit0USDINF
15http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Short Term Debt Type [Domain]Range [Member]Debt Instrument Name [Domain]Proceeds From Lines Of Credit0USDINF
16http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Short Term Debt Type [Domain]Range [Member]Debt Instrument Name [Domain]Long Term Debt40600000000USD-8
17http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Short Term Debt Type [Domain]Range [Member]Debt Instrument Name [Domain]Long Term Debt77100000000USD-8
18http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Short Term Debt Type [Domain]Range [Member]Debt Instrument Name [Domain]Long Term Debt Fair Value80300000000USD-8
19http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Short Term Debt Type [Domain]Range [Member]Debt Instrument Name [Domain]Long Term Debt Fair Value44000000000USD-8
20http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Short Term Debt Type [Domain]Range [Member]Debt Instrument Name [Domain]Interest Paid1100000000USD-8
21http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Short Term Debt Type [Domain]Range [Member]Debt Instrument Name [Domain]Interest Paid1600000000USD-8
22http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Short Term Debt Type [Domain]Range [Member]Debt Instrument Name [Domain]Interest Paid620000000USD-6
23http://www.sec.gov/CIK (0000789019)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
24http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureLongTermDebtDetail)
TableSchedule of Long term Debt Instruments [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Debt Instrument [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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
2http://www.sec.gov/CIK (0000789019)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-06
3http://www.sec.gov/CIK (0000789019)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
4http://www.sec.gov/CIK (0000789019)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-06
5http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Notes Four Point Five Percent Due October One Twenty Forty [Member]Debt Instrument Maturity Date2040-10-01
6http://www.sec.gov/CIK (0000789019)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
7http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Notes Two Point Zero Percent Due August Eight Twenty Twenty Three [Member]Debt Instrument Maturity Date2023-08-08
8http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Notes Four Point Five Percent Due February Six Twenty Fifty Seven [Member]Debt Instrument Maturity Date2057-02-06
9http://www.sec.gov/CIK (0000789019)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
10http://www.sec.gov/CIK (0000789019)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-06
11http://www.sec.gov/CIK (0000789019)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
12http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Notes One Point Zero Percent Due May One Twenty Eighteen [Member]Debt Instrument Maturity Date2018-05-01
13http://www.sec.gov/CIK (0000789019)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
14http://www.sec.gov/CIK (0000789019)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
15http://www.sec.gov/CIK (0000789019)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-02
16http://www.sec.gov/CIK (0000789019)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
17http://www.sec.gov/CIK (0000789019)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
18http://www.sec.gov/CIK (0000789019)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
19http://www.sec.gov/CIK (0000789019)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
20http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Notes Two Point Four Percent Due February Six Twenty Twenty Two [Member]Debt Instrument Maturity Date2022-02-06
21http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Notes Two Point Zero Percent Due November Three Twenty Twenty [Member]Debt Instrument Maturity Date2020-11-03
22http://www.sec.gov/CIK (0000789019)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
23http://www.sec.gov/CIK (0000789019)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-06
24http://www.sec.gov/CIK (0000789019)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
25http://www.sec.gov/CIK (0000789019)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-08
26http://www.sec.gov/CIK (0000789019)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
27http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Notes Three Point Zero Percent Due October One Twenty Twenty [Member]Debt Instrument Maturity Date2020-10-01
28http://www.sec.gov/CIK (0000789019)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
29http://www.sec.gov/CIK (0000789019)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
30http://www.sec.gov/CIK (0000789019)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
31http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Notes Two Point Zero Percent Due November Three Twenty Twenty [Member]Debt Instrument Maturity Date2020-11-03
32http://www.sec.gov/CIK (0000789019)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
33http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Notes Three Point Seven Percent Due August Eight Twenty Forty Six [Member]Debt Instrument Maturity Date2046-08-08
34http://www.sec.gov/CIK (0000789019)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
35http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Notes Four Percent Due February Twelve Twenty Fifty Five [Member]Debt Instrument Maturity Date2055-02-12
36http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Notes Four Point Two Percent Due June One Twenty Nineteen [Member]Debt Instrument Maturity Date2019-06-01
37http://www.sec.gov/CIK (0000789019)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
38http://www.sec.gov/CIK (0000789019)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
39http://www.sec.gov/CIK (0000789019)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-06
40http://www.sec.gov/CIK (0000789019)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
41http://www.sec.gov/CIK (0000789019)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
42http://www.sec.gov/CIK (0000789019)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
43http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Notes Two Point Four Percent Due August Eight Twenty Twenty Six [Member]Debt Instrument Maturity Date2026-08-08
44http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Notes Four Point Two Percent Due June One Twenty Nineteen [Member]Debt Instrument Maturity Date2019-06-01
45http://www.sec.gov/CIK (0000789019)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
46http://www.sec.gov/CIK (0000789019)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
47http://www.sec.gov/CIK (0000789019)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
48http://www.sec.gov/CIK (0000789019)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
49http://www.sec.gov/CIK (0000789019)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
50http://www.sec.gov/CIK (0000789019)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
51http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Notes Four Point One Percent Due February Six Twenty Thirty Seven [Member]Debt Instrument Maturity Date2037-02-06
52http://www.sec.gov/CIK (0000789019)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
53http://www.sec.gov/CIK (0000789019)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
54http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Notes One Point Eight Five Percent Due February Six Twenty Twenty [Member]Debt Instrument Maturity Date2020-02-06
55http://www.sec.gov/CIK (0000789019)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
56http://www.sec.gov/CIK (0000789019)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
57http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Notes Four Percent Due February Twelve Twenty Fifty Five [Member]Debt Instrument Maturity Date2055-02-12
58http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Notes Three Point Zero Percent Due October One Twenty Twenty [Member]Debt Instrument Maturity Date2020-10-01
59http://www.sec.gov/CIK (0000789019)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
60http://www.sec.gov/CIK (0000789019)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
61http://www.sec.gov/CIK (0000789019)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-08
62http://www.sec.gov/CIK (0000789019)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
63http://www.sec.gov/CIK (0000789019)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
64http://www.sec.gov/CIK (0000789019)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
65http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Notes Zero Point Five Percent Due November One Twenty Nineteen [Member]Debt Instrument Maturity Date2019-11-01
66http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Notes Four Point Five Percent Due October One Twenty Forty [Member]Debt Instrument Maturity Date2040-10-01
67http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Notes Three Point Three Percent Due February Six Twenty Twenty Seven [Member]Debt Instrument Maturity Date2027-02-06
68http://www.sec.gov/CIK (0000789019)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
69http://www.sec.gov/CIK (0000789019)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-02
70http://www.sec.gov/CIK (0000789019)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
71http://www.sec.gov/CIK (0000789019)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-06
72http://www.sec.gov/CIK (0000789019)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
73http://www.sec.gov/CIK (0000789019)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
74http://www.sec.gov/CIK (0000789019)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-08
75http://www.sec.gov/CIK (0000789019)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
76http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Notes One Point One Percent Due August Eight Twenty Nineteen [Member]Debt Instrument Maturity Date2019-08-08
77http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Notes One Point Zero Percent Due May One Twenty Eighteen [Member]Debt Instrument Maturity Date2018-05-01
78http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Three Point Five Percent Due February Twelve Twenty Thirty Five [Member]Debt Instrument Face Amount1500000000USD-6
79http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point Zero Percent Due October One Twenty Twenty [Member]Debt Instrument Face Amount1000000000USD-6
80http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Four Point Seven Five Percent Due November Three Twenty Fifty Five [Member]Debt Instrument Face Amount1000000000USD-6
81http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Three Point Seven Five Percent Due February Twelve Twenty Forty Five [Member]Debt Instrument Face Amount1750000000USD-6
82http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Five Point Three Percent Due February Eight Twenty Forty One [Member]Debt Instrument Face Amount1000000000USD-6
83http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Percent Due February Twelve Twenty Fifty Five [Member]Debt Instrument Face Amount2250000000USD-6
84http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Point Five Percent Due February Six Twenty Fifty Seven [Member]Debt Instrument Face Amount2000000000USD-6
85http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point One Two Five Percent Due December Six Twenty Twenty Eight [Member]Debt Instrument Face Amount1996000000USD-6
86http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes One Point Eight Five Percent Due February Twelve Twenty Twenty [Member]Debt Instrument Face Amount1500000000USD-6
87http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point Five Percent Due February Twelve Twenty Thirty Five [Member]Debt Instrument Face Amount1500000000USD-6
88http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point Seven Five Percent Due May One Twenty Forty Three [Member]Debt Instrument Face Amount500000000USD-6
89http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes One Point Zero Percent Due May One Twenty Eighteen [Member]Debt Instrument Face Amount450000000USD-6
90http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point Nine Five Percent Due August Eight Twenty Fifty Six [Member]Debt Instrument Face Amount2250000000USD-6
91http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes One Point Three Zero Percent Due November Three Twenty Eighteen [Member]Debt Instrument Face Amount1750000000USD-6
92http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Two Point Eight Seven Five Percent Due February Six Twenty Twenty Four [Member]Debt Instrument Face Amount2250000000USD-6
93http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Two Point Six Two Five Percent Due May Two Twenty Thirty Three [Member]Debt Instrument Face Amount627000000USD-6
94http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Five Point Two Percent Due June One Twenty Thirty Nine [Member]Debt Instrument Face Amount750000000USD-6
95http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Two Point Three Seven Five Percent Due May One Twenty Twenty Three [Member]Debt Instrument Face Amount1000000000USD-6
96http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Point Five Percent Due October One Twenty Forty [Member]Debt Instrument Face Amount1000000000USD-6
97http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Two Point Three Seven Five Percent Due February Twelve Twenty Twenty Two [Member]Debt Instrument Face Amount1500000000USD-6
98http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Two Point One Two Five Percent Due November Fifteen Twenty Twenty Two [Member]Debt Instrument Face Amount750000000USD-6
99http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Three Point Five Percent Due November Fifteen Twenty Forty Two [Member]Debt Instrument Face Amount900000000USD-6
100http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Two Point Six Five Percent Due November Three Twenty Twenty Two [Member]Debt Instrument Face Amount1000000000USD-6
101http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Two Point Seven Percent Due February Twelve Twenty Twenty Five [Member]Debt Instrument Face Amount2250000000USD-6
102http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point Three Percent Due February Six Twenty Twenty Seven [Member]Debt Instrument Face Amount4000000000USD-6
103http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Point Two Five Percent Due February Six Twenty Forty Seven [Member]Debt Instrument Face Amount3000000000USD-6
104http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Three Point Zero Percent Due October One Twenty Twenty [Member]Debt Instrument Face Amount1000000000USD-6
105http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Three Point One Two Five Percent Due December Six Twenty Twenty Eight [Member]Debt Instrument Face Amount1944000000USD-6
106http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Four Point Four Five Percent Due November Three Twenty Forty Five [Member]Debt Instrument Face Amount3000000000USD-6
107http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Point One Percent Due February Six Twenty Thirty Seven [Member]Debt Instrument Face Amount2500000000USD-6
108http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Point Two Percent Due June One Twenty Nineteen [Member]Debt Instrument Face Amount1000000000USD-6
109http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Zero Point Eight Seven Five Percent Due November Fifteen Twenty Seventeen [Member]Debt Instrument Face Amount600000000USD-6
110http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point Six Two Five Percent Due December Fifteen Twenty Twenty Three [Member]Debt Instrument Face Amount1500000000USD-6
111http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes One Point Six Two Five Percent Due December Six Twenty Eighteen [Member]Debt Instrument Face Amount1250000000USD-6
112http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Two Point Four Percent Due February Six Twenty Twenty Two [Member]Debt Instrument Face Amount1750000000USD-6
113http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Two Point Three Seven Five Percent Due February Twelve Twenty Twenty Two [Member]Debt Instrument Face Amount1500000000USD-6
114http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Two Point One Two Five Percent Due December Six Twenty Twenty One [Member]Debt Instrument Face Amount1944000000USD-6
115http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Debt Instrument Name [Domain]Debt Instrument Face Amount77837000000USD-6
116http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Two Point Four Percent Due August Eight Twenty Twenty Six [Member]Debt Instrument Face Amount4000000000USD-6
117http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point Five Percent Due November Fifteen Twenty Forty Two [Member]Debt Instrument Face Amount900000000USD-6
118http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Three Point Six Two Five Percent Due December Fifteen Twenty Twenty Three [Member]Debt Instrument Face Amount1500000000USD-6
119http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes One Point Eight Five Percent Due February Twelve Twenty Twenty [Member]Debt Instrument Face Amount1500000000USD-6
120http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes One Point Eight Five Percent Due February Six Twenty Twenty [Member]Debt Instrument Face Amount1500000000USD-6
121http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Two Point Seven Percent Due February Twelve Twenty Twenty Five [Member]Debt Instrument Face Amount2250000000USD-6
122http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Two Point Zero Percent Due November Three Twenty Twenty [Member]Debt Instrument Face Amount2250000000USD-6
123http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Four Point Two Percent Due June One Twenty Nineteen [Member]Debt Instrument Face Amount1000000000USD-6
124http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Two Point Zero Percent Due November Three Twenty Twenty [Member]Debt Instrument Face Amount2250000000USD-6
125http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point Four Five Percent Due August Eight Twenty Thirty Six [Member]Debt Instrument Face Amount2250000000USD-6
126http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes One Point Five Five Percent Due August Eight Twenty Twenty One [Member]Debt Instrument Face Amount2750000000USD-6
127http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Five Point Two Percent Due June One Twenty Thirty Nine [Member]Debt Instrument Face Amount750000000USD-6
128http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Four Point Eight Seven Five Percent Due December Fifteen Twenty Forty Three [Member]Debt Instrument Face Amount500000000USD-6
129http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Point Two Percent Due November Three Twenty Thirty Five [Member]Debt Instrument Face Amount1000000000USD-6
130http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Five Point Three Percent Due February Eight Twenty Forty One [Member]Debt Instrument Face Amount1000000000USD-6
131http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Three Point Seven Five Percent Due May One Twenty Forty Three [Member]Debt Instrument Face Amount500000000USD-6
132http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Two Point Zero Percent Due August Eight Twenty Twenty Three [Member]Debt Instrument Face Amount1500000000USD-6
133http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes One Point Zero Percent Due May One Twenty Eighteen [Member]Debt Instrument Face Amount450000000USD-6
134http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Four Point Two Percent Due November Three Twenty Thirty Five [Member]Debt Instrument Face Amount1000000000USD-6
135http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Debt Instrument Name [Domain]Debt Instrument Face Amount40949000000USD-6
136http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Two Point One Two Five Percent Due November Fifteen Twenty Twenty Two [Member]Debt Instrument Face Amount750000000USD-6
137http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Four Percent Due February Twelve Twenty Fifty Five [Member]Debt Instrument Face Amount2250000000USD-6
138http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point Seven Five Percent Due February Twelve Twenty Forty Five [Member]Debt Instrument Face Amount1750000000USD-6
139http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Point Four Five Percent Due November Three Twenty Forty Five [Member]Debt Instrument Face Amount3000000000USD-6
140http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Three Point One Two Five Percent Due November Three Twenty Twenty Five [Member]Debt Instrument Face Amount3000000000USD-6
141http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Zero Point Five Percent Due November One Twenty Nineteen [Member]Debt Instrument Face Amount18000000USD-6
142http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Point Eight Seven Five Percent Due December Fifteen Twenty Forty Three [Member]Debt Instrument Face Amount500000000USD-6
143http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Point Zero Percent Due February Eight Twenty Twenty One [Member]Debt Instrument Face Amount500000000USD-6
144http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point One Two Five Percent Due November Three Twenty Twenty Five [Member]Debt Instrument Face Amount3000000000USD-6
145http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes One Point Three Zero Percent Due November Three Twenty Eighteen [Member]Debt Instrument Face Amount1750000000USD-6
146http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes One Point One Percent Due August Eight Twenty Nineteen [Member]Debt Instrument Face Amount2500000000USD-6
147http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Four Point Zero Percent Due February Eight Twenty Twenty One [Member]Debt Instrument Face Amount500000000USD-6
148http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Two Point Six Two Five Percent Due May Two Twenty Thirty Three [Member]Debt Instrument Face Amount611000000USD-6
149http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Two Point Three Seven Five Percent Due May One Twenty Twenty Three [Member]Debt Instrument Face Amount1000000000USD-6
150http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes One Point Six Two Five Percent Due December Six Twenty Eighteen [Member]Debt Instrument Face Amount1250000000USD-6
151http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point Seven Percent Due August Eight Twenty Forty Six [Member]Debt Instrument Face Amount4500000000USD-6
152http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Point Seven Five Percent Due November Three Twenty Fifty Five [Member]Debt Instrument Face Amount1000000000USD-6
153http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Two Point Six Five Percent Due November Three Twenty Twenty Two [Member]Debt Instrument Face Amount1000000000USD-6
154http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Zero Point Eight Seven Five Percent Due November Fifteen Twenty Seventeen [Member]Debt Instrument Face Amount600000000USD-6
155http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Two Point One Two Five Percent Due December Six Twenty Twenty One [Member]Debt Instrument Face Amount1996000000USD-6
156http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Four Point Five Percent Due October One Twenty Forty [Member]Debt Instrument Face Amount1000000000USD-6
157http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes One Point Six Two Five Percent Due December Six Twenty Eighteen [Member]Debt Instrument Interest Rate Stated Percentage0.01625PureINF
158http://www.sec.gov/CIK (0000789019)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
159http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Two Point Six Two Five Percent Due May Two Twenty Thirty Three [Member]Debt Instrument Interest Rate Stated Percentage0.02625PureINF
160http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes One Point Three Zero Percent Due November Three Twenty Eighteen [Member]Debt Instrument Interest Rate Stated Percentage0.01300PureINF
161http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Two Point Zero Percent Due August Eight Twenty Twenty Three [Member]Debt Instrument Interest Rate Stated Percentage0.02000PureINF
162http://www.sec.gov/CIK (0000789019)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
163http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Two Point Four Percent Due February Six Twenty Twenty Two [Member]Debt Instrument Interest Rate Stated Percentage0.02400PureINF
164http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes One Point Zero Percent Due May One Twenty Eighteen [Member]Debt Instrument Interest Rate Stated Percentage0.01000PureINF
165http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Two Point Zero Percent Due November Three Twenty Twenty [Member]Debt Instrument Interest Rate Stated Percentage0.02000PureINF
166http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point Seven Five Percent Due May One Twenty Forty Three [Member]Debt Instrument Interest Rate Stated Percentage0.03750PureINF
167http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Two Point Zero Percent Due November Three Twenty Twenty [Member]Debt Instrument Interest Rate Stated Percentage0.02000PureINF
168http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Three Point Seven Five Percent Due February Twelve Twenty Forty Five [Member]Debt Instrument Interest Rate Stated Percentage0.03750PureINF
169http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Two Point Four Percent Due August Eight Twenty Twenty Six [Member]Debt Instrument Interest Rate Stated Percentage0.02400PureINF
170http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Two Point Seven Percent Due February Twelve Twenty Twenty Five [Member]Debt Instrument Interest Rate Stated Percentage0.02700PureINF
171http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes One Point Eight Five Percent Due February Twelve Twenty Twenty [Member]Debt Instrument Interest Rate Stated Percentage0.01850PureINF
172http://www.sec.gov/CIK (0000789019)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
173http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Four Point Two Percent Due June One Twenty Nineteen [Member]Debt Instrument Interest Rate Stated Percentage0.04200PureINF
174http://www.sec.gov/CIK (0000789019)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
175http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point Seven Five Percent Due February Twelve Twenty Forty Five [Member]Debt Instrument Interest Rate Stated Percentage0.03750PureINF
176http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point Zero Percent Due October One Twenty Twenty [Member]Debt Instrument Interest Rate Stated Percentage0.03000PureINF
177http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point Seven Percent Due August Eight Twenty Forty Six [Member]Debt Instrument Interest Rate Stated Percentage0.03700PureINF
178http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Four Point Zero Percent Due February Eight Twenty Twenty One [Member]Debt Instrument Interest Rate Stated Percentage0.04000PureINF
179http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Five Point Three Percent Due February Eight Twenty Forty One [Member]Debt Instrument Interest Rate Stated Percentage0.05300PureINF
180http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point Three Percent Due February Six Twenty Twenty Seven [Member]Debt Instrument Interest Rate Stated Percentage0.03300PureINF
181http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Four Point Four Five Percent Due November Three Twenty Forty Five [Member]Debt Instrument Interest Rate Stated Percentage0.04450PureINF
182http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Three Point Zero Percent Due October One Twenty Twenty [Member]Debt Instrument Interest Rate Stated Percentage0.03000PureINF
183http://www.sec.gov/CIK (0000789019)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
184http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Zero Point Five Percent Due November One Twenty Nineteen [Member]Debt Instrument Interest Rate Stated Percentage0.00500PureINF
185http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Two Point Six Five Percent Due November Three Twenty Twenty Two [Member]Debt Instrument Interest Rate Stated Percentage0.02650PureINF
186http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Two Point Seven Percent Due February Twelve Twenty Twenty Five [Member]Debt Instrument Interest Rate Stated Percentage0.02700PureINF
187http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Point Four Five Percent Due November Three Twenty Forty Five [Member]Debt Instrument Interest Rate Stated Percentage0.04450PureINF
188http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Three Point Seven Five Percent Due May One Twenty Forty Three [Member]Debt Instrument Interest Rate Stated Percentage0.03750PureINF
189http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point One Two Five Percent Due December Six Twenty Twenty Eight [Member]Debt Instrument Interest Rate Stated Percentage0.03125PureINF
190http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Two Point One Two Five Percent Due December Six Twenty Twenty One [Member]Debt Instrument Interest Rate Stated Percentage0.02125PureINF
191http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Two Point Eight Seven Five Percent Due February Six Twenty Twenty Four [Member]Debt Instrument Interest Rate Stated Percentage0.02875PureINF
192http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Zero Point Eight Seven Five Percent Due November Fifteen Twenty Seventeen [Member]Debt Instrument Interest Rate Stated Percentage0.00875PureINF
193http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Four Percent Due February Twelve Twenty Fifty Five [Member]Debt Instrument Interest Rate Stated Percentage0.04000PureINF
194http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point Four Five Percent Due August Eight Twenty Thirty Six [Member]Debt Instrument Interest Rate Stated Percentage0.03450PureINF
195http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Point Two Percent Due June One Twenty Nineteen [Member]Debt Instrument Interest Rate Stated Percentage0.04200PureINF
196http://www.sec.gov/CIK (0000789019)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
197http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Percent Due February Twelve Twenty Fifty Five [Member]Debt Instrument Interest Rate Stated Percentage0.04000PureINF
198http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Five Point Two Percent Due June One Twenty Thirty Nine [Member]Debt Instrument Interest Rate Stated Percentage0.05200PureINF
199http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Three Point Five Percent Due November Fifteen Twenty Forty Two [Member]Debt Instrument Interest Rate Stated Percentage0.03500PureINF
200http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Five Point Two Percent Due June One Twenty Thirty Nine [Member]Debt Instrument Interest Rate Stated Percentage0.05200PureINF
201http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes One Point One Percent Due August Eight Twenty Nineteen [Member]Debt Instrument Interest Rate Stated Percentage0.01100PureINF
202http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Four Point Two Percent Due November Three Twenty Thirty Five [Member]Debt Instrument Interest Rate Stated Percentage0.04200PureINF
203http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Point Five Percent Due October One Twenty Forty [Member]Debt Instrument Interest Rate Stated Percentage0.04500PureINF
204http://www.sec.gov/CIK (0000789019)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
205http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Point One Percent Due February Six Twenty Thirty Seven [Member]Debt Instrument Interest Rate Stated Percentage0.04100PureINF
206http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Two Point Six Five Percent Due November Three Twenty Twenty Two [Member]Debt Instrument Interest Rate Stated Percentage0.02650PureINF
207http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes One Point Five Five Percent Due August Eight Twenty Twenty One [Member]Debt Instrument Interest Rate Stated Percentage0.01550PureINF
208http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Two Point One Two Five Percent Due December Six Twenty Twenty One [Member]Debt Instrument Interest Rate Stated Percentage0.02125PureINF
209http://www.sec.gov/CIK (0000789019)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
210http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes One Point Three Zero Percent Due November Three Twenty Eighteen [Member]Debt Instrument Interest Rate Stated Percentage0.01300PureINF
211http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes One Point Eight Five Percent Due February Six Twenty Twenty [Member]Debt Instrument Interest Rate Stated Percentage0.01850PureINF
212http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes One Point Six Two Five Percent Due December Six Twenty Eighteen [Member]Debt Instrument Interest Rate Stated Percentage0.01625PureINF
213http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Point Zero Percent Due February Eight Twenty Twenty One [Member]Debt Instrument Interest Rate Stated Percentage0.04000PureINF
214http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point Five Percent Due February Twelve Twenty Thirty Five [Member]Debt Instrument Interest Rate Stated Percentage0.03500PureINF
215http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point Nine Five Percent Due August Eight Twenty Fifty Six [Member]Debt Instrument Interest Rate Stated Percentage0.03950PureINF
216http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Three Point One Two Five Percent Due December Six Twenty Twenty Eight [Member]Debt Instrument Interest Rate Stated Percentage0.03125PureINF
217http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes One Point Zero Percent Due May One Twenty Eighteen [Member]Debt Instrument Interest Rate Stated Percentage0.01000PureINF
218http://www.sec.gov/CIK (0000789019)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
219http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes One Point Eight Five Percent Due February Twelve Twenty Twenty [Member]Debt Instrument Interest Rate Stated Percentage0.01850PureINF
220http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point Five Percent Due November Fifteen Twenty Forty Two [Member]Debt Instrument Interest Rate Stated Percentage0.03500PureINF
221http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Three Point Five Percent Due February Twelve Twenty Thirty Five [Member]Debt Instrument Interest Rate Stated Percentage0.03500PureINF
222http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Two Point Six Two Five Percent Due May Two Twenty Thirty Three [Member]Debt Instrument Interest Rate Stated Percentage0.02625PureINF
223http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Point Five Percent Due February Six Twenty Fifty Seven [Member]Debt Instrument Interest Rate Stated Percentage0.04500PureINF
224http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Point Two Percent Due November Three Twenty Thirty Five [Member]Debt Instrument Interest Rate Stated Percentage0.04200PureINF
225http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Four Point Seven Five Percent Due November Three Twenty Fifty Five [Member]Debt Instrument Interest Rate Stated Percentage0.04750PureINF
226http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Point Seven Five Percent Due November Three Twenty Fifty Five [Member]Debt Instrument Interest Rate Stated Percentage0.04750PureINF
227http://www.sec.gov/CIK (0000789019)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
228http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Point Two Five Percent Due February Six Twenty Forty Seven [Member]Debt Instrument Interest Rate Stated Percentage0.04250PureINF
229http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Five Point Three Percent Due February Eight Twenty Forty One [Member]Debt Instrument Interest Rate Stated Percentage0.05300PureINF
230http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Zero Point Eight Seven Five Percent Due November Fifteen Twenty Seventeen [Member]Debt Instrument Interest Rate Stated Percentage0.00875PureINF
231http://www.sec.gov/CIK (0000789019)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
232http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Four Point Five Percent Due October One Twenty Forty [Member]Debt Instrument Interest Rate Stated Percentage0.04500PureINF
233http://www.sec.gov/CIK (0000789019)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
234http://www.sec.gov/CIK (0000789019)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
235http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point One Two Five Percent Due December Six Twenty Twenty Eight [Member]Debt Instrument Interest Rate Effective Percentage0.03218Pure5
236http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Three Point Five Percent Due November Fifteen Twenty Forty Two [Member]Debt Instrument Interest Rate Effective Percentage0.03571Pure5
237http://www.sec.gov/CIK (0000789019)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
238http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point Zero Percent Due October One Twenty Twenty [Member]Debt Instrument Interest Rate Effective Percentage0.03137Pure5
239http://www.sec.gov/CIK (0000789019)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
240http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Two Point Six Two Five Percent Due May Two Twenty Thirty Three [Member]Debt Instrument Interest Rate Effective Percentage0.02690Pure5
241http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes One Point Zero Percent Due May One Twenty Eighteen [Member]Debt Instrument Interest Rate Effective Percentage0.01106Pure5
242http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes One Point Three Zero Percent Due November Three Twenty Eighteen [Member]Debt Instrument Interest Rate Effective Percentage0.01396Pure5
243http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Three Point Seven Five Percent Due February Twelve Twenty Forty Five [Member]Debt Instrument Interest Rate Effective Percentage0.03800Pure5
244http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point Three Percent Due February Six Twenty Twenty Seven [Member]Debt Instrument Interest Rate Effective Percentage0.03383Pure5
245http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Point Five Percent Due February Six Twenty Fifty Seven [Member]Debt Instrument Interest Rate Effective Percentage0.04528Pure5
246http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes One Point Five Five Percent Due August Eight Twenty Twenty One [Member]Debt Instrument Interest Rate Effective Percentage0.01642Pure5
247http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point Four Five Percent Due August Eight Twenty Thirty Six [Member]Debt Instrument Interest Rate Effective Percentage0.03510Pure5
248http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Four Point Five Percent Due October One Twenty Forty [Member]Debt Instrument Interest Rate Effective Percentage0.04567Pure5
249http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point Seven Five Percent Due February Twelve Twenty Forty Five [Member]Debt Instrument Interest Rate Effective Percentage0.03800Pure5
250http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Zero Point Five Percent Due November One Twenty Nineteen [Member]Debt Instrument Interest Rate Effective Percentage0.00500Pure5
251http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes One Point One Percent Due August Eight Twenty Nineteen [Member]Debt Instrument Interest Rate Effective Percentage0.01203Pure5
252http://www.sec.gov/CIK (0000789019)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
253http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point Five Percent Due November Fifteen Twenty Forty Two [Member]Debt Instrument Interest Rate Effective Percentage0.03571Pure5
254http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point Five Percent Due February Twelve Twenty Thirty Five [Member]Debt Instrument Interest Rate Effective Percentage0.03604Pure5
255http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Point Two Percent Due June One Twenty Nineteen [Member]Debt Instrument Interest Rate Effective Percentage0.04379Pure5
256http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Two Point Eight Seven Five Percent Due February Six Twenty Twenty Four [Member]Debt Instrument Interest Rate Effective Percentage0.03041Pure5
257http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Three Point Zero Percent Due October One Twenty Twenty [Member]Debt Instrument Interest Rate Effective Percentage0.03137Pure5
258http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Two Point Six Five Percent Due November Three Twenty Twenty Two [Member]Debt Instrument Interest Rate Effective Percentage0.02717Pure5
259http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Two Point Seven Percent Due February Twelve Twenty Twenty Five [Member]Debt Instrument Interest Rate Effective Percentage0.02772Pure5
260http://www.sec.gov/CIK (0000789019)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
261http://www.sec.gov/CIK (0000789019)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
262http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Four Point Four Five Percent Due November Three Twenty Forty Five [Member]Debt Instrument Interest Rate Effective Percentage0.04492Pure5
263http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Zero Point Eight Seven Five Percent Due November Fifteen Twenty Seventeen [Member]Debt Instrument Interest Rate Effective Percentage0.01084Pure5
264http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Zero Point Eight Seven Five Percent Due November Fifteen Twenty Seventeen [Member]Debt Instrument Interest Rate Effective Percentage0.01084Pure5
265http://www.sec.gov/CIK (0000789019)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
266http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Point Two Percent Due November Three Twenty Thirty Five [Member]Debt Instrument Interest Rate Effective Percentage0.04260Pure5
267http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes One Point Six Two Five Percent Due December Six Twenty Eighteen [Member]Debt Instrument Interest Rate Effective Percentage0.01824Pure5
268http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Point One Percent Due February Six Twenty Thirty Seven [Member]Debt Instrument Interest Rate Effective Percentage0.04152Pure5
269http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes One Point Eight Five Percent Due February Twelve Twenty Twenty [Member]Debt Instrument Interest Rate Effective Percentage0.01935Pure5
270http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes One Point Eight Five Percent Due February Twelve Twenty Twenty [Member]Debt Instrument Interest Rate Effective Percentage0.01935Pure5
271http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes One Point Eight Five Percent Due February Six Twenty Twenty [Member]Debt Instrument Interest Rate Effective Percentage0.01952Pure5
272http://www.sec.gov/CIK (0000789019)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
273http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Five Point Three Percent Due February Eight Twenty Forty One [Member]Debt Instrument Interest Rate Effective Percentage0.05361Pure5
274http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Five Point Two Percent Due June One Twenty Thirty Nine [Member]Debt Instrument Interest Rate Effective Percentage0.05240Pure5
275http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point Nine Five Percent Due August Eight Twenty Fifty Six [Member]Debt Instrument Interest Rate Effective Percentage0.04033Pure5
276http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Two Point Zero Percent Due August Eight Twenty Twenty Three [Member]Debt Instrument Interest Rate Effective Percentage0.02101Pure5
277http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Percent Due February Twelve Twenty Fifty Five [Member]Debt Instrument Interest Rate Effective Percentage0.04063Pure5
278http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Three Point Five Percent Due February Twelve Twenty Thirty Five [Member]Debt Instrument Interest Rate Effective Percentage0.03604Pure5
279http://www.sec.gov/CIK (0000789019)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
280http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Two Point Six Five Percent Due November Three Twenty Twenty Two [Member]Debt Instrument Interest Rate Effective Percentage0.02717Pure5
281http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Four Point Two Percent Due November Three Twenty Thirty Five [Member]Debt Instrument Interest Rate Effective Percentage0.04260Pure5
282http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Five Point Three Percent Due February Eight Twenty Forty One [Member]Debt Instrument Interest Rate Effective Percentage0.05361Pure5
283http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Point Two Five Percent Due February Six Twenty Forty Seven [Member]Debt Instrument Interest Rate Effective Percentage0.04287Pure5
284http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Three Point One Two Five Percent Due December Six Twenty Twenty Eight [Member]Debt Instrument Interest Rate Effective Percentage0.03218Pure5
285http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Four Point Zero Percent Due February Eight Twenty Twenty One [Member]Debt Instrument Interest Rate Effective Percentage0.04082Pure5
286http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Point Five Percent Due October One Twenty Forty [Member]Debt Instrument Interest Rate Effective Percentage0.04567Pure5
287http://www.sec.gov/CIK (0000789019)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
288http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes One Point Zero Percent Due May One Twenty Eighteen [Member]Debt Instrument Interest Rate Effective Percentage0.01106Pure5
289http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Three Point Seven Five Percent Due May One Twenty Forty Three [Member]Debt Instrument Interest Rate Effective Percentage0.03829Pure5
290http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Two Point Zero Percent Due November Three Twenty Twenty [Member]Debt Instrument Interest Rate Effective Percentage0.02093Pure5
291http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Two Point One Two Five Percent Due December Six Twenty Twenty One [Member]Debt Instrument Interest Rate Effective Percentage0.02233Pure5
292http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Two Point Six Two Five Percent Due May Two Twenty Thirty Three [Member]Debt Instrument Interest Rate Effective Percentage0.02690Pure5
293http://www.sec.gov/CIK (0000789019)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
294http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Two Point Four Percent Due February Six Twenty Twenty Two [Member]Debt Instrument Interest Rate Effective Percentage0.02520Pure5
295http://www.sec.gov/CIK (0000789019)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
296http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Five Point Two Percent Due June One Twenty Thirty Nine [Member]Debt Instrument Interest Rate Effective Percentage0.05240Pure5
297http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Four Point Seven Five Percent Due November Three Twenty Fifty Five [Member]Debt Instrument Interest Rate Effective Percentage0.04782Pure5
298http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes One Point Six Two Five Percent Due December Six Twenty Eighteen [Member]Debt Instrument Interest Rate Effective Percentage0.01824Pure5
299http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Point Zero Percent Due February Eight Twenty Twenty One [Member]Debt Instrument Interest Rate Effective Percentage0.04082Pure5
300http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Point Four Five Percent Due November Three Twenty Forty Five [Member]Debt Instrument Interest Rate Effective Percentage0.04492Pure5
301http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point Seven Percent Due August Eight Twenty Forty Six [Member]Debt Instrument Interest Rate Effective Percentage0.03743Pure5
302http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Four Point Seven Five Percent Due November Three Twenty Fifty Five [Member]Debt Instrument Interest Rate Effective Percentage0.04782Pure5
303http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Three Point Seven Five Percent Due May One Twenty Forty Three [Member]Debt Instrument Interest Rate Effective Percentage0.03829Pure5
304http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Four Percent Due February Twelve Twenty Fifty Five [Member]Debt Instrument Interest Rate Effective Percentage0.04063Pure5
305http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Two Point Zero Percent Due November Three Twenty Twenty [Member]Debt Instrument Interest Rate Effective Percentage0.02093Pure5
306http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Two Point Four Percent Due August Eight Twenty Twenty Six [Member]Debt Instrument Interest Rate Effective Percentage0.02464Pure5
307http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes Two Point One Two Five Percent Due December Six Twenty Twenty One [Member]Debt Instrument Interest Rate Effective Percentage0.02233Pure5
308http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Notes One Point Three Zero Percent Due November Three Twenty Eighteen [Member]Debt Instrument Interest Rate Effective Percentage0.01396Pure5
309http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Four Point Two Percent Due June One Twenty Nineteen [Member]Debt Instrument Interest Rate Effective Percentage0.04379Pure5
310http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Notes Two Point Seven Percent Due February Twelve Twenty Twenty Five [Member]Debt Instrument Interest Rate Effective Percentage0.02772Pure5

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

Component: (Network and Table)
Network
100900 - Disclosure - Maturities of Long-term Debt (Detail)
(http://www.xbrlsite.com/msft/role/DisclosureMaturitiesOfLongTermDebtDetail)
TableSchedule of Long term Debt Instruments [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Long Term Debt Maturities Repayments Of Principal In Next Twelve Months1050000000USD-6
2http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Long Term Debt Maturities Repayments Of Principal In Year Two4000000000USD-6
3http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Long Term Debt Maturities Repayments Of Principal In Year Three5518000000USD-6
4http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Long Term Debt Maturities Repayments Of Principal In Year Four3750000000USD-6
5http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Long Term Debt Maturities Repayments Of Principal In Year Five7996000000USD-6
6http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Long Term Debt Maturities Repayments Of Principal After Year Five55523000000USD-6
7http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Debt Instrument Face Amount77837000000USD-6
8http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Debt Instrument Face Amount40949000000USD-6

Component: (Network and Table)
Network
100910 - Disclosure - Provision for Income Taxes (Detail)
(http://www.xbrlsite.com/msft/role/DisclosureProvisionForIncomeTaxesDetail)
TableReconciliation of Provision of Income Taxes [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Current Federal Tax Expense Benefit3661000000USD-6
2http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Current Federal Tax Expense Benefit545000000USD-6
3http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Current Federal Tax Expense Benefit2739000000USD-6
4http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Current State And Local Tax Expense Benefit136000000USD-6
5http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Current State And Local Tax Expense Benefit30000000USD-6
6http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Current State And Local Tax Expense Benefit364000000USD-6
7http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Current Foreign Tax Expense Benefit1940000000USD-6
8http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Current Foreign Tax Expense Benefit2472000000USD-6
9http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Current Foreign Tax Expense Benefit2065000000USD-6
10http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Current Income Tax Expense Benefit2621000000USD-6
11http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Current Income Tax Expense Benefit5241000000USD-6
12http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Current Income Tax Expense Benefit6090000000USD-6
13http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Deferred Income Tax Expense Benefit224000000USD-6
14http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Deferred Income Tax Expense Benefit332000000USD-6
15http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Deferred Income Tax Expense Benefit-3296000000USD-6
16http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Income Tax Expense Benefit2953000000USD-6
17http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Income Tax Expense Benefit1945000000USD-6
18http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)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
2http://www.sec.gov/CIK (0000789019)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
3http://www.sec.gov/CIK (0000789019)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
4http://www.sec.gov/CIK (0000789019)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
5http://www.sec.gov/CIK (0000789019)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
6http://www.sec.gov/CIK (0000789019)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
7http://www.sec.gov/CIK (0000789019)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
8http://www.sec.gov/CIK (0000789019)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
9http://www.sec.gov/CIK (0000789019)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
10http://www.sec.gov/CIK (0000789019)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
11http://www.sec.gov/CIK (0000789019)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
12http://www.sec.gov/CIK (0000789019)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
13http://www.sec.gov/CIK (0000789019)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
14http://www.sec.gov/CIK (0000789019)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
15http://www.sec.gov/CIK (0000789019)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
16http://www.sec.gov/CIK (0000789019)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
17http://www.sec.gov/CIK (0000789019)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
18http://www.sec.gov/CIK (0000789019)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
19http://www.sec.gov/CIK (0000789019)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
20http://www.sec.gov/CIK (0000789019)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
21http://www.sec.gov/CIK (0000789019)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
22http://www.sec.gov/CIK (0000789019)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
23http://www.sec.gov/CIK (0000789019)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
24http://www.sec.gov/CIK (0000789019)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
25http://www.sec.gov/CIK (0000789019)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
26http://www.sec.gov/CIK (0000789019)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
27http://www.sec.gov/CIK (0000789019)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
28http://www.sec.gov/CIK (0000789019)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
29http://www.sec.gov/CIK (0000789019)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
30http://www.sec.gov/CIK (0000789019)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
31http://www.sec.gov/CIK (0000789019)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
32http://www.sec.gov/CIK (0000789019)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
33http://www.sec.gov/CIK (0000789019)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
34http://www.sec.gov/CIK (0000789019)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
35http://www.sec.gov/CIK (0000789019)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
36http://www.sec.gov/CIK (0000789019)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
37http://www.sec.gov/CIK (0000789019)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
38http://www.sec.gov/CIK (0000789019)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
39http://www.sec.gov/CIK (0000789019)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
40http://www.sec.gov/CIK (0000789019)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
41http://www.sec.gov/CIK (0000789019)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
42http://www.sec.gov/CIK (0000789019)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
43http://www.sec.gov/CIK (0000789019)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
44http://www.sec.gov/CIK (0000789019)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
45http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureIncomeLossBeforeIncomeTaxesDetail)
TableSchedule of Components of Income Before Income Tax Expense (Benefit) [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Income Loss From Continuing Operations Before Income Taxes Domestic453000000USD-6
2http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Income Loss From Continuing Operations Before Income Taxes Domestic7363000000USD-6
3http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Income Loss From Continuing Operations Before Income Taxes Domestic-325000000USD-6
4http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Income Loss From Continuing Operations Before Income Taxes Foreign22696000000USD-6
5http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Income Loss From Continuing Operations Before Income Taxes Foreign11144000000USD-6
6http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Income Loss From Continuing Operations Before Income Taxes Foreign20076000000USD-6
7http://www.sec.gov/CIK (0000789019)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
8http://www.sec.gov/CIK (0000789019)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
9http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureDifferenceBetweenIncomeTaxesComputedAtFederalStatutoryRateAndProvisionForIncomeTaxesDetail)
TableReconciliation of Statutory Federal Tax Rate [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Effective Income Tax Rate Reconciliation At Federal Statutory Income Tax Rate0.350PureINF
2http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Effective Income Tax Rate Reconciliation At Federal Statutory Income Tax Rate0.350PureINF
3http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Effective Income Tax Rate Reconciliation At Federal Statutory Income Tax Rate0.350PureINF
4http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Foreign Income Tax Rate Differential-0.209Pure3
5http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Foreign Income Tax Rate Differential-0.157Pure3
6http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Foreign Income Tax Rate Differential-0.194Pure3
7http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Phone Business Gains Losses0.013Pure3
8http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Phone Business Gains Losses0.191Pure3
9http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Phone Business Gains Losses-0.073Pure3
10http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Deductions Excess Tax Benefits Stock Based Compensation0.00Pure2
11http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Deductions Excess Tax Benefits Stock Based Compensation0.027Pure3
12http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Deductions Excess Tax Benefits Stock Based Compensation0.020Pure3
13http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Deductions Qualified Production Activities0.024Pure3
14http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Deductions Qualified Production Activities0.014Pure3
15http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Deductions Qualified Production Activities0.006Pure3
16http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Interest Income Expense0.018Pure3
17http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Interest Income Expense0.015Pure3
18http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Interest Income Expense0.012Pure3
19http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Other Adjustments-0.005Pure3
20http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Other Adjustments0.018Pure3
21http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Effective Income Tax Rate Reconciliation Other Adjustments-0.013Pure3
22http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Effective Income Tax Rate Continuing Operations0.341Pure3
23http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Effective Income Tax Rate Continuing Operations0.150Pure3
24http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Effective Income Tax Rate Continuing Operations0.084Pure3

Component: (Network and Table)
Network
100950 - Disclosure - Deferred Income Tax Assets and Liabilities (Detail)
(http://www.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Tax Deferred Expense Compensation And Benefits Share Based Compensation Cost777000000USD-6
2http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Tax Deferred Expense Compensation And Benefits Share Based Compensation Cost809000000USD-6
3http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Tax Deferred Expense Other1609000000USD-6
4http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Tax Deferred Expense Other1550000000USD-6
5http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Tax Deferred Expense Reserves And Accruals Restructuring Charges284000000USD-6
6http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Tax Deferred Expense Reserves And Accruals Restructuring Charges66000000USD-6
7http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Deferred Income494000000USD-6
8http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Deferred Income1889000000USD-6
9http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Tax Deferred Expense Reserves And Accruals Impairment Losses226000000USD-6
10http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Tax Deferred Expense Reserves And Accruals Impairment Losses59000000USD-6
11http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Operating Loss Carryforwards4252000000USD-6
12http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Operating Loss Carryforwards4809000000USD-6
13http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Depreciation And Amortization115000000USD-6
14http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Depreciation And Amortization53000000USD-6
15http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Other89000000USD-6
16http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Other130000000USD-6
17http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Gross9333000000USD-6
18http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Gross7878000000USD-6
19http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Valuation Allowance3310000000USD-6
20http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Valuation Allowance4729000000USD-6
21http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Net3149000000USD-6
22http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Net6023000000USD-6
23http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Liabilities Undistributed Foreign Earnings1242000000USD-6
24http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Liabilities Undistributed Foreign Earnings1107000000USD-6
25http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Liabilities Unrealized Gains Investments And Debt2102000000USD-6
26http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Liabilities Unrealized Gains Investments And Debt1384000000USD-6
27http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Liabilities Depreciation And Amortization1008000000USD-6
28http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Liabilities Depreciation And Amortization1630000000USD-6
29http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Liabilities Other21000000USD-6
30http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Liabilities Other54000000USD-6
31http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Income Tax Liabilities4406000000USD-6
32http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Income Tax Liabilities4142000000USD-6
33http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Other Noncurrent Assets [Member]Deferred Tax Assets Liabilities Net2412000000USD-6
34http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Other Noncurrent Assets [Member]Deferred Tax Assets Liabilities Net219000000USD-6
35http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Assets Liabilities Net1881000000USD-6
36http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Deferred Income Tax Liabilities Noncurrent [Member]Deferred Tax Liabilities531000000USD-6
37http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Balance Sheet Location [Domain]Deferred Tax Liabilities1257000000USD-6
38http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureChangesInUnrecognizedTaxBenefitsDetail)
TableIncome Tax Contingency [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Unrecognized Tax Benefits10164000000USD-6
2http://www.sec.gov/CIK (0000789019)2015-06-30Entity [Domain]Unrecognized Tax Benefits9599000000USD-6
3http://www.sec.gov/CIK (0000789019)2014-06-30Entity [Domain]Unrecognized Tax Benefits8714000000USD-6
4http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Unrecognized Tax Benefits11737000000USD-6
5http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Unrecognized Tax Benefits Decreases Resulting From Settlements With Taxing Authorities201000000USD-6
6http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Unrecognized Tax Benefits Decreases Resulting From Settlements With Taxing Authorities50000000USD-6
7http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Unrecognized Tax Benefits Decreases Resulting From Settlements With Taxing Authorities4000000USD-6
8http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Unrecognized Tax Benefits Increases Resulting From Current Period Tax Positions1086000000USD-6
9http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Unrecognized Tax Benefits Increases Resulting From Current Period Tax Positions1277000000USD-6
10http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Unrecognized Tax Benefits Increases Resulting From Current Period Tax Positions1091000000USD-6
11http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Unrecognized Tax Benefits Increases Resulting From Prior Period Tax Positions397000000USD-6
12http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Unrecognized Tax Benefits Increases Resulting From Prior Period Tax Positions94000000USD-6
13http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Unrecognized Tax Benefits Increases Resulting From Prior Period Tax Positions115000000USD-6
14http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Unrecognized Tax Benefits Decreases Resulting From Prior Period Tax Positions144000000USD-6
15http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Unrecognized Tax Benefits Decreases Resulting From Prior Period Tax Positions49000000USD-6
16http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Unrecognized Tax Benefits Decreases Resulting From Prior Period Tax Positions317000000USD-6
17http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Unrecognized Tax Benefits Reductions Resulting From Lapse Of Applicable Statute Of Limitations106000000USD-6
18http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Unrecognized Tax Benefits Reductions Resulting From Lapse Of Applicable Statute Of Limitations48000000USD-6
19http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Unrecognized Tax Benefits Reductions Resulting From Lapse Of Applicable Statute Of Limitations118000000USD-6

Component: (Network and Table)
Network
100970 - Disclosure - Income Taxes - Additional Information Regarding Examinations (Detail)
(http://www.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)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
2http://www.sec.gov/CIK (0000789019)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
3http://www.sec.gov/CIK (0000789019)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
4http://www.sec.gov/CIK (0000789019)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
5http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Income Tax Authority Name [Domain]Latest Tax Year [Member]Foreign Country [Member]Open Tax Year2017
6http://www.sec.gov/CIK (0000789019)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
7http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Income Tax Authority Name [Domain]Earliest Tax Year [Member]Foreign Country [Member]Open Tax Year1996
8http://www.sec.gov/CIK (0000789019)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

Component: (Network and Table)
Network
100980 - Disclosure - Restructuring Charges - Additional Information (Detail)
(http://www.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Phone Hardware Restructuring Plan [Member]Type Of Restructuring [Domain]Restructuring And Related Cost Number Of Positions Eliminated7400Position0
2http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Twenty Sixteen Restructuring Plan [Member]Type Of Restructuring [Domain]Restructuring And Related Cost Number Of Positions Eliminated4700Position0
3http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Twenty Sixteen Restructuring Plan [Member]Type Of Restructuring [Domain]Restructuring Charges501000000USD-6
4http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Restructuring Plan [Domain]Employee Severance [Member]Restructuring Charges306000000USD-6
5http://www.sec.gov/CIK (0000789019)2016-04-01 - 2016-06-30Entity [Domain]Twenty Sixteen Restructuring Plan [Member]Type Of Restructuring [Domain]Restructuring Charges480000000USD-6
6http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Phone Hardware Restructuring Plan [Member]Type Of Restructuring [Domain]Restructuring Charges780000000USD-6
7http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Twenty Seventeen Restructuring Plan [Member]Employee Severance [Member]Restructuring Charges306000000USD-6
8http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Restructuring Charges306000000USD-6
9http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Phone Hardware Restructuring Plan [Member]Type Of Restructuring [Domain]Restructuring Reserve Accrual Adjustment1-21000000USD-6
10http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Phone Hardware Restructuring Plan [Member]Type Of Restructuring [Domain]Restructuring And Related Activities Completion Date2017-06-30
11http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Twenty Seventeen Restructuring Plan [Member]Type Of Restructuring [Domain]Restructuring And Related Activities Completion Date2018-06-30
12http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Twenty Sixteen Restructuring Plan [Member]Type Of Restructuring [Domain]Restructuring And Related Activities Completion Date2017-06-30

Component: (Network and Table)
Network
100990 - Disclosure - Changes in Restructuring Liability (Detail)
(http://www.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Employee Severance [Member]Restructuring Reserve373000000USD-6
2http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Type Of Restructuring [Domain]Restructuring Reserve432000000USD-6
3http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Other Restructuring [Member]Restructuring Reserve239000000USD-6
4http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Other Restructuring [Member]Restructuring Reserve59000000USD-6
5http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Employee Severance [Member]Restructuring Reserve470000000USD-6
6http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Type Of Restructuring [Domain]Restructuring Reserve709000000USD-6
7http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Other Restructuring [Member]Restructuring Charges0USD-6
8http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Employee Severance [Member]Restructuring Charges306000000USD-6
9http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Type Of Restructuring [Domain]Restructuring Charges306000000USD-6
10http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Type Of Restructuring [Domain]Payments For Restructuring468000000USD-6
11http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Employee Severance [Member]Payments For Restructuring367000000USD-6
12http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Other Restructuring [Member]Payments For Restructuring101000000USD-6
13http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Employee Severance [Member]Restructuring Reserve Settled Without Cash236000000USD-6
14http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Type Of Restructuring [Domain]Restructuring Reserve Settled Without Cash2115000000USD-6
15http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Other Restructuring [Member]Restructuring Reserve Settled Without Cash279000000USD-6

Component: (Network and Table)
Network
101000 - Disclosure - Unearned Revenue by Segment (Detail)
(http://www.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Operating Segments [Member]Productivity And Business Processes [Member]Deferred Revenue14291000000USD-6
2http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Operating Segments [Member]Productivity And Business Processes [Member]Deferred Revenue12497000000USD-6
3http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Operating Segments [Member]Intelligent Cloud [Member]Deferred Revenue11472000000USD-6
4http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Operating Segments [Member]Intelligent Cloud [Member]Deferred Revenue13464000000USD-6
5http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Deferred Revenue44479000000USD-6
6http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Operating Segments [Member]More Personal Computing [Member]Deferred Revenue3420000000USD-6
7http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Operating Segments [Member]More Personal Computing [Member]Deferred Revenue3334000000USD-6
8http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Deferred Revenue33909000000USD-6
9http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Corporate And Reconciling Items [Member]Segment [Domain]Deferred Revenue13304000000USD-6
10http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Corporate And Reconciling Items [Member]Segment [Domain]Deferred Revenue6606000000USD-6

Component: (Network and Table)
Network
101010 - Disclosure - Commitments - Additional Information (Detail)
(http://www.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)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
2http://www.sec.gov/CIK (0000789019)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
3http://www.sec.gov/CIK (0000789019)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
4http://www.sec.gov/CIK (0000789019)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
5http://www.sec.gov/CIK (0000789019)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
6http://www.sec.gov/CIK (0000789019)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
7http://www.sec.gov/CIK (0000789019)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
8http://www.sec.gov/CIK (0000789019)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
9http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Building [Member]Operating Leases Future Minimum Payments Due Current1292000000USD-6
2http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Building [Member]Operating Leases Future Minimum Payments Due In Two Years1220000000USD-6
3http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Building [Member]Operating Leases Future Minimum Payments Due In Three Years1115000000USD-6
4http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Building [Member]Operating Leases Future Minimum Payments Due In Four Years908000000USD-6
5http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Building [Member]Operating Leases Future Minimum Payments Due In Five Years749000000USD-6
6http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Building [Member]Operating Leases Future Minimum Payments Due Thereafter2588000000USD-6
7http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureFutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesDetail)
TableFuture Minimum Lease Payments Under Non Cancellable Capital Leases [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Capital Leases Future Minimum Payments Due Current209000000USD-6
2http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Capital Leases Future Minimum Payments Due In Two Years217000000USD-6
3http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Capital Leases Future Minimum Payments Due In Three Years222000000USD-6
4http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Capital Leases Future Minimum Payments Due In Four Years227000000USD-6
5http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Capital Leases Future Minimum Payments Due In Five Years232000000USD-6
6http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Capital Leases Future Minimum Payments Due Thereafter2353000000USD-6
7http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Capital Leases Future Minimum Payments Due3460000000USD-6

Component: (Network and Table)
Network
101040 - Disclosure - Future Minimum Lease Payments under Non-cancellable Capital Leases (Parenthetical) (Detail)
(http://www.xbrlsite.com/msft/role/DisclosureFutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesParentheticalDetail)
TableFuture Minimum Lease Payments Under Non Cancellable Capital Leases [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureContingenciesAdditionalInformationDetail)
TableLoss Contingencies [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Loss Contingency Accrual Carrying Value Current352000000USD-6
2http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureSharesOfCommonStockOutstandingDetail)
TableSchedule of Capital Units [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2015-06-30Entity [Domain]Common Stock Shares Outstanding8027000000Shares-6
2http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Common Stock Shares Outstanding7708000000Shares-6
3http://www.sec.gov/CIK (0000789019)2014-06-30Entity [Domain]Common Stock Shares Outstanding8239000000Shares-6
4http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Common Stock Shares Outstanding7808000000Shares-6
5http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Stock Issued During Period Shares New Issues83000000Shares-6
6http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Stock Issued During Period Shares New Issues70000000Shares-6
7http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Stock Issued During Period Shares New Issues75000000Shares-6
8http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Stock Repurchased During Period Shares294000000Shares-6
9http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Stock Repurchased During Period Shares295000000Shares-6
10http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Stock Repurchased During Period Shares170000000Shares-6

Component: (Network and Table)
Network
101070 - Disclosure - Stockholders' Equity - Additional Information (Detail)
(http://www.xbrlsite.com/msft/role/DisclosureStockholdersEquityAdditionalInformationDetail)
TableShare Repurchases [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Share Repurchase Program [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2013-09-16Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchase Program Authorized Amount140000000000USDINF
2http://www.sec.gov/CIK (0000789019)2016-09-20Entity [Domain]Share Repurchase Program Twenty Sixteen [Member]Stock Repurchase Program Authorized Amount140000000000USDINF
3http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureShareRepurchasesDetail)
TableShare Repurchases [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Share Repurchase Program [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2015-01-01 - 2015-03-31Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Shares116000000Shares-6
2http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Share Repurchase Program [Domain]Stock Repurchased During Period Shares294000000Shares-6
3http://www.sec.gov/CIK (0000789019)2016-07-01 - 2016-09-30Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Shares63000000Shares-6
4http://www.sec.gov/CIK (0000789019)2015-10-01 - 2015-12-31Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Shares66000000Shares-6
5http://www.sec.gov/CIK (0000789019)2016-01-01 - 2016-03-31Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Shares69000000Shares-6
6http://www.sec.gov/CIK (0000789019)2015-04-01 - 2015-06-30Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Shares93000000Shares-6
7http://www.sec.gov/CIK (0000789019)2016-04-01 - 2016-06-30Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Shares70000000Shares-6
8http://www.sec.gov/CIK (0000789019)2016-10-01 - 2016-12-31Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Shares59000000Shares-6
9http://www.sec.gov/CIK (0000789019)2017-04-01 - 2017-06-30Entity [Domain]Share Repurchase Program Twenty Sixteen [Member]Stock Repurchased During Period Shares23000000Shares-6
10http://www.sec.gov/CIK (0000789019)2014-07-01 - 2014-09-30Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Shares43000000Shares-6
11http://www.sec.gov/CIK (0000789019)2015-07-01 - 2015-09-30Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Shares89000000Shares-6
12http://www.sec.gov/CIK (0000789019)2014-10-01 - 2014-12-31Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Shares43000000Shares-6
13http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Share Repurchase Program [Domain]Stock Repurchased During Period Shares295000000Shares-6
14http://www.sec.gov/CIK (0000789019)2017-01-01 - 2017-03-31Entity [Domain]Share Repurchase Program Twenty Sixteen [Member]Stock Repurchased During Period Shares25000000Shares-6
15http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Share Repurchase Program [Domain]Stock Repurchased During Period Shares170000000Shares-6
16http://www.sec.gov/CIK (0000789019)2017-01-01 - 2017-03-31Entity [Domain]Share Repurchase Program Twenty Sixteen [Member]Stock Repurchased During Period Value1600000000USD-6
17http://www.sec.gov/CIK (0000789019)2016-04-01 - 2016-06-30Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Value3600000000USD-6
18http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Share Repurchase Program [Domain]Stock Repurchased During Period Value10283000000USD-6
19http://www.sec.gov/CIK (0000789019)2014-07-01 - 2014-09-30Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Value2000000000USD-6
20http://www.sec.gov/CIK (0000789019)2015-07-01 - 2015-09-30Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Value4000000000USD-6
21http://www.sec.gov/CIK (0000789019)2015-01-01 - 2015-03-31Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Value5000000000USD-6
22http://www.sec.gov/CIK (0000789019)2015-10-01 - 2015-12-31Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Value3600000000USD-6
23http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Share Repurchase Program [Domain]Stock Repurchased During Period Value14800000000USD-6
24http://www.sec.gov/CIK (0000789019)2014-10-01 - 2014-12-31Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Value2000000000USD-6
25http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Share Repurchase Program [Domain]Stock Repurchased During Period Value13209000000USD-6
26http://www.sec.gov/CIK (0000789019)2016-07-01 - 2016-09-30Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Value3550000000USD-6
27http://www.sec.gov/CIK (0000789019)2016-01-01 - 2016-03-31Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Value3600000000USD-6
28http://www.sec.gov/CIK (0000789019)2016-10-01 - 2016-12-31Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Value3533000000USD-6
29http://www.sec.gov/CIK (0000789019)2015-04-01 - 2015-06-30Entity [Domain]Share Repurchase Program Twenty Thirteen [Member]Stock Repurchased During Period Value4209000000USD-6
30http://www.sec.gov/CIK (0000789019)2017-04-01 - 2017-06-30Entity [Domain]Share Repurchase Program Twenty Sixteen [Member]Stock Repurchased During Period Value1600000000USD-6

Component: (Network and Table)
Network
101090 - Disclosure - Dividends Declared (Detail)
(http://www.xbrlsite.com/msft/role/DisclosureDividendsDeclaredDetail)
TableDividends [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2015-10-01 - 2015-12-31Entity [Domain]Dividends Payable Date Declared Day Month And Year2015-12-02
2http://www.sec.gov/CIK (0000789019)2017-01-01 - 2017-03-31Entity [Domain]Dividends Payable Date Declared Day Month And Year2017-03-14
3http://www.sec.gov/CIK (0000789019)2016-07-01 - 2016-09-30Entity [Domain]Dividends Payable Date Declared Day Month And Year2016-09-20
4http://www.sec.gov/CIK (0000789019)2015-07-01 - 2015-09-30Entity [Domain]Dividends Payable Date Declared Day Month And Year2015-09-15
5http://www.sec.gov/CIK (0000789019)2016-10-01 - 2016-12-31Entity [Domain]Dividends Payable Date Declared Day Month And Year2016-11-30
6http://www.sec.gov/CIK (0000789019)2017-04-01 - 2017-06-30Entity [Domain]Dividends Payable Date Declared Day Month And Year2017-06-13
7http://www.sec.gov/CIK (0000789019)2016-04-01 - 2016-06-30Entity [Domain]Dividends Payable Date Declared Day Month And Year2016-06-14
8http://www.sec.gov/CIK (0000789019)2016-01-01 - 2016-03-31Entity [Domain]Dividends Payable Date Declared Day Month And Year2016-03-15
9http://www.sec.gov/CIK (0000789019)2017-01-01 - 2017-03-31Entity [Domain]Common Stock Dividends Per Share Declared0.39USD / SharesINF
10http://www.sec.gov/CIK (0000789019)2016-10-01 - 2016-12-31Entity [Domain]Common Stock Dividends Per Share Declared0.39USD / SharesINF
11http://www.sec.gov/CIK (0000789019)2016-07-01 - 2016-09-30Entity [Domain]Common Stock Dividends Per Share Declared0.39USD / SharesINF
12http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Common Stock Dividends Per Share Declared1.24USD / SharesINF
13http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Common Stock Dividends Per Share Declared1.56USD / SharesINF
14http://www.sec.gov/CIK (0000789019)2016-01-01 - 2016-03-31Entity [Domain]Common Stock Dividends Per Share Declared0.36USD / SharesINF
15http://www.sec.gov/CIK (0000789019)2015-10-01 - 2015-12-31Entity [Domain]Common Stock Dividends Per Share Declared0.36USD / SharesINF
16http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Common Stock Dividends Per Share Declared1.44USD / SharesINF
17http://www.sec.gov/CIK (0000789019)2015-07-01 - 2015-09-30Entity [Domain]Common Stock Dividends Per Share Declared0.36USD / SharesINF
18http://www.sec.gov/CIK (0000789019)2016-04-01 - 2016-06-30Entity [Domain]Common Stock Dividends Per Share Declared0.36USD / SharesINF
19http://www.sec.gov/CIK (0000789019)2017-04-01 - 2017-06-30Entity [Domain]Common Stock Dividends Per Share Declared0.39USD / SharesINF
20http://www.sec.gov/CIK (0000789019)2016-10-01 - 2016-12-31Entity [Domain]Dividends Payable Date Of Record Day Month And Year2017-02-16
21http://www.sec.gov/CIK (0000789019)2017-04-01 - 2017-06-30Entity [Domain]Dividends Payable Date Of Record Day Month And Year2017-08-17
22http://www.sec.gov/CIK (0000789019)2015-10-01 - 2015-12-31Entity [Domain]Dividends Payable Date Of Record Day Month And Year2016-02-18
23http://www.sec.gov/CIK (0000789019)2016-07-01 - 2016-09-30Entity [Domain]Dividends Payable Date Of Record Day Month And Year2016-11-17
24http://www.sec.gov/CIK (0000789019)2017-01-01 - 2017-03-31Entity [Domain]Dividends Payable Date Of Record Day Month And Year2017-05-18
25http://www.sec.gov/CIK (0000789019)2016-01-01 - 2016-03-31Entity [Domain]Dividends Payable Date Of Record Day Month And Year2016-05-19
26http://www.sec.gov/CIK (0000789019)2016-04-01 - 2016-06-30Entity [Domain]Dividends Payable Date Of Record Day Month And Year2016-08-18
27http://www.sec.gov/CIK (0000789019)2015-07-01 - 2015-09-30Entity [Domain]Dividends Payable Date Of Record Day Month And Year2015-11-19
28http://www.sec.gov/CIK (0000789019)2016-01-01 - 2016-03-31Entity [Domain]Dividends Common Stock Cash2821000000USD-6
29http://www.sec.gov/CIK (0000789019)2016-04-01 - 2016-06-30Entity [Domain]Dividends Common Stock Cash2800000000USD-6
30http://www.sec.gov/CIK (0000789019)2015-07-01 - 2015-09-30Entity [Domain]Dividends Common Stock Cash2868000000USD-6
31http://www.sec.gov/CIK (0000789019)2017-01-01 - 2017-03-31Entity [Domain]Dividends Common Stock Cash3009000000USD-6
32http://www.sec.gov/CIK (0000789019)2015-10-01 - 2015-12-31Entity [Domain]Dividends Common Stock Cash2842000000USD-6
33http://www.sec.gov/CIK (0000789019)2017-04-01 - 2017-06-30Entity [Domain]Dividends Common Stock Cash3006000000USD-6
34http://www.sec.gov/CIK (0000789019)2016-07-01 - 2016-09-30Entity [Domain]Dividends Common Stock Cash3024000000USD-6
35http://www.sec.gov/CIK (0000789019)2016-10-01 - 2016-12-31Entity [Domain]Dividends Common Stock Cash3012000000USD-6
36http://www.sec.gov/CIK (0000789019)2016-01-01 - 2016-03-31Entity [Domain]Dividend Payable Date To Be Paid Day Month And Year2016-06-09
37http://www.sec.gov/CIK (0000789019)2015-07-01 - 2015-09-30Entity [Domain]Dividend Payable Date To Be Paid Day Month And Year2015-12-10
38http://www.sec.gov/CIK (0000789019)2015-10-01 - 2015-12-31Entity [Domain]Dividend Payable Date To Be Paid Day Month And Year2016-03-10
39http://www.sec.gov/CIK (0000789019)2016-07-01 - 2016-09-30Entity [Domain]Dividend Payable Date To Be Paid Day Month And Year2016-12-08
40http://www.sec.gov/CIK (0000789019)2017-01-01 - 2017-03-31Entity [Domain]Dividend Payable Date To Be Paid Day Month And Year2017-06-08
41http://www.sec.gov/CIK (0000789019)2016-04-01 - 2016-06-30Entity [Domain]Dividend Payable Date To Be Paid Day Month And Year2016-09-08
42http://www.sec.gov/CIK (0000789019)2016-10-01 - 2016-12-31Entity [Domain]Dividend Payable Date To Be Paid Day Month And Year2017-03-09
43http://www.sec.gov/CIK (0000789019)2017-04-01 - 2017-06-30Entity [Domain]Dividend Payable Date To Be Paid Day Month And Year2017-09-14

Component: (Network and Table)
Network
101100 - Disclosure - Summary of Changes in Accumulated Other Comprehensive Income by Component (Detail)
(http://www.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Equity Component [Domain]Income Statement Location [Domain]Stockholders Equity71997000000USD-6
2http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Accumulated Net Unrealized Investment Gain Loss [Member]Income Statement Location [Domain]Stockholders Equity1825000000USD-6
3http://www.sec.gov/CIK (0000789019)2014-06-30Entity [Domain]Accumulated Other Comprehensive Income [Member]Income Statement Location [Domain]Stockholders Equity3708000000USD-6
4http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Income Statement Location [Domain]Stockholders Equity352000000USD-6
5http://www.sec.gov/CIK (0000789019)2014-06-30Entity [Domain]Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Income Statement Location [Domain]Stockholders Equity31000000USD-6
6http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Accumulated Net Unrealized Investment Gain Loss [Member]Income Statement Location [Domain]Stockholders Equity2941000000USD-6
7http://www.sec.gov/CIK (0000789019)2014-06-30Entity [Domain]Accumulated Translation Adjustment And Other [Member]Income Statement Location [Domain]Stockholders Equity146000000USD-6
8http://www.sec.gov/CIK (0000789019)2014-06-30Entity [Domain]Accumulated Net Unrealized Investment Gain Loss [Member]Income Statement Location [Domain]Stockholders Equity3531000000USD-6
9http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Income Statement Location [Domain]Stockholders Equity134000000USD-6
10http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Equity Component [Domain]Income Statement Location [Domain]Stockholders Equity72394000000USD-6
11http://www.sec.gov/CIK (0000789019)2015-06-30Entity [Domain]Equity Component [Domain]Income Statement Location [Domain]Stockholders Equity80083000000USD-6
12http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Accumulated Translation Adjustment And Other [Member]Income Statement Location [Domain]Stockholders Equity-1528000000USD-6
13http://www.sec.gov/CIK (0000789019)2015-06-30Entity [Domain]Accumulated Net Unrealized Investment Gain Loss [Member]Income Statement Location [Domain]Stockholders Equity3169000000USD-6
14http://www.sec.gov/CIK (0000789019)2015-06-30Entity [Domain]Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Income Statement Location [Domain]Stockholders Equity590000000USD-6
15http://www.sec.gov/CIK (0000789019)2015-06-30Entity [Domain]Accumulated Translation Adjustment And Other [Member]Income Statement Location [Domain]Stockholders Equity-1237000000USD-6
16http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Accumulated Other Comprehensive Income [Member]Income Statement Location [Domain]Stockholders Equity431000000USD-6
17http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Accumulated Translation Adjustment And Other [Member]Income Statement Location [Domain]Stockholders Equity-1756000000USD-6
18http://www.sec.gov/CIK (0000789019)2015-06-30Entity [Domain]Accumulated Other Comprehensive Income [Member]Income Statement Location [Domain]Stockholders Equity2522000000USD-6
19http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Accumulated Other Comprehensive Income [Member]Income Statement Location [Domain]Stockholders Equity1537000000USD-6
20http://www.sec.gov/CIK (0000789019)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
21http://www.sec.gov/CIK (0000789019)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
22http://www.sec.gov/CIK (0000789019)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
23http://www.sec.gov/CIK (0000789019)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
24http://www.sec.gov/CIK (0000789019)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
25http://www.sec.gov/CIK (0000789019)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
26http://www.sec.gov/CIK (0000789019)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
27http://www.sec.gov/CIK (0000789019)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
28http://www.sec.gov/CIK (0000789019)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
29http://www.sec.gov/CIK (0000789019)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
30http://www.sec.gov/CIK (0000789019)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
31http://www.sec.gov/CIK (0000789019)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
32http://www.sec.gov/CIK (0000789019)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
33http://www.sec.gov/CIK (0000789019)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
34http://www.sec.gov/CIK (0000789019)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
35http://www.sec.gov/CIK (0000789019)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
36http://www.sec.gov/CIK (0000789019)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
37http://www.sec.gov/CIK (0000789019)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
38http://www.sec.gov/CIK (0000789019)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
39http://www.sec.gov/CIK (0000789019)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
40http://www.sec.gov/CIK (0000789019)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
41http://www.sec.gov/CIK (0000789019)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
42http://www.sec.gov/CIK (0000789019)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
43http://www.sec.gov/CIK (0000789019)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
44http://www.sec.gov/CIK (0000789019)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
45http://www.sec.gov/CIK (0000789019)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
46http://www.sec.gov/CIK (0000789019)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
47http://www.sec.gov/CIK (0000789019)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
48http://www.sec.gov/CIK (0000789019)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
49http://www.sec.gov/CIK (0000789019)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
50http://www.sec.gov/CIK (0000789019)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
51http://www.sec.gov/CIK (0000789019)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
52http://www.sec.gov/CIK (0000789019)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
53http://www.sec.gov/CIK (0000789019)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
54http://www.sec.gov/CIK (0000789019)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
55http://www.sec.gov/CIK (0000789019)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
56http://www.sec.gov/CIK (0000789019)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
57http://www.sec.gov/CIK (0000789019)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
58http://www.sec.gov/CIK (0000789019)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

Component: (Network and Table)
Network
101110 - Disclosure - Summary of Changes in Accumulated Other Comprehensive Income by Component (Parenthetical) (Detail)
(http://www.xbrlsite.com/msft/role/DisclosureSummaryOfChangesInAccumulatedOtherComprehensiveIncomeByComponentParentheticalDetail)
TableAccumulated Other Comprehensive Income (Loss) [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Statement Equity Components [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Accumulated Net Unrealized Investment Gain Loss [Member]Other Comprehensive Income Loss Before Reclassifications Tax120000000USD-6
2http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Accumulated Net Unrealized Investment Gain Loss [Member]Other Comprehensive Income Loss Before Reclassifications Tax59000000USD-6
3http://www.sec.gov/CIK (0000789019)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
4http://www.sec.gov/CIK (0000789019)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
5http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Accumulated Net Unrealized Investment Gain Loss [Member]Other Comprehensive Income Loss Before Reclassifications Tax267000000USD-6
6http://www.sec.gov/CIK (0000789019)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
7http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Accumulated Translation Adjustment And Other [Member]Other Comprehensive Income Loss Tax Portion Attributable To Parent19000000USD-6
8http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Accumulated Translation Adjustment And Other [Member]Other Comprehensive Income Loss Tax Portion Attributable To Parent1-33000000USD-6
9http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Accumulated Translation Adjustment And Other [Member]Other Comprehensive Income Loss Tax Portion Attributable To Parent116000000USD-6

Component: (Network and Table)
Network
101120 - Disclosure - Employee Stock and Savings Plans - Additional Information (Detail)
(http://www.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)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
2http://www.sec.gov/CIK (0000789019)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
3http://www.sec.gov/CIK (0000789019)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
4http://www.sec.gov/CIK (0000789019)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
5http://www.sec.gov/CIK (0000789019)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
6http://www.sec.gov/CIK (0000789019)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
7http://www.sec.gov/CIK (0000789019)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
8http://www.sec.gov/CIK (0000789019)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
9http://www.sec.gov/CIK (0000789019)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
10http://www.sec.gov/CIK (0000789019)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 / Shares2
11http://www.sec.gov/CIK (0000789019)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
12http://www.sec.gov/CIK (0000789019)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
13http://www.sec.gov/CIK (0000789019)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
14http://www.sec.gov/CIK (0000789019)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
15http://www.sec.gov/CIK (0000789019)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
16http://www.sec.gov/CIK (0000789019)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
17http://www.sec.gov/CIK (0000789019)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
18http://www.sec.gov/CIK (0000789019)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
19http://www.sec.gov/CIK (0000789019)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
20http://www.sec.gov/CIK (0000789019)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
21http://www.sec.gov/CIK (0000789019)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
22http://www.sec.gov/CIK (0000789019)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
23http://www.sec.gov/CIK (0000789019)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
24http://www.sec.gov/CIK (0000789019)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
25http://www.sec.gov/CIK (0000789019)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
26http://www.sec.gov/CIK (0000789019)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
27http://www.sec.gov/CIK (0000789019)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
28http://www.sec.gov/CIK (0000789019)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
29http://www.sec.gov/CIK (0000789019)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
30http://www.sec.gov/CIK (0000789019)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
31http://www.sec.gov/CIK (0000789019)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

Component: (Network and Table)
Network
101130 - Disclosure - Stock-Based Compensation Expense and Related Income Tax Benefits (Detail)
(http://www.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Allocated Share Based Compensation Expense3266000000USD-6
2http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Allocated Share Based Compensation Expense2574000000USD-6
3http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Allocated Share Based Compensation Expense2668000000USD-6
4http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Employee Service Share Based Compensation Tax Benefit From Compensation Expense1066000000USD-6
5http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Employee Service Share Based Compensation Tax Benefit From Compensation Expense882000000USD-6
6http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Employee Service Share Based Compensation Tax Benefit From Compensation Expense868000000USD-6

Component: (Network and Table)
Network
101140 - Disclosure - Assumptions Used in Estimating the Fair Value of Stock Award Grants (Detail)
(http://www.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)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
2http://www.sec.gov/CIK (0000789019)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
3http://www.sec.gov/CIK (0000789019)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
4http://www.sec.gov/CIK (0000789019)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
5http://www.sec.gov/CIK (0000789019)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
6http://www.sec.gov/CIK (0000789019)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
7http://www.sec.gov/CIK (0000789019)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
8http://www.sec.gov/CIK (0000789019)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
9http://www.sec.gov/CIK (0000789019)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
10http://www.sec.gov/CIK (0000789019)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
11http://www.sec.gov/CIK (0000789019)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
12http://www.sec.gov/CIK (0000789019)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

Component: (Network and Table)
Network
101150 - Disclosure - Stock Plan Activity (Detail)
(http://www.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Restricted Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Nonvested Number201000000Shares-6
2http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Restricted Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Nonvested Number194000000Shares-6
3http://www.sec.gov/CIK (0000789019)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-6
4http://www.sec.gov/CIK (0000789019)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-6
5http://www.sec.gov/CIK (0000789019)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
6http://www.sec.gov/CIK (0000789019)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
7http://www.sec.gov/CIK (0000789019)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
8http://www.sec.gov/CIK (0000789019)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
9http://www.sec.gov/CIK (0000789019)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
10http://www.sec.gov/CIK (0000789019)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 / Shares2
11http://www.sec.gov/CIK (0000789019)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
12http://www.sec.gov/CIK (0000789019)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 / Shares2
13http://www.sec.gov/CIK (0000789019)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
14http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)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
2http://www.sec.gov/CIK (0000789019)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
3http://www.sec.gov/CIK (0000789019)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

Component: (Network and Table)
Network
101170 - Disclosure - Employee Purchased Shares (Detail)
(http://www.xbrlsite.com/msft/role/DisclosureEmployeePurchasedSharesDetail)
TableEmployee Stock Purchase Plan [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Stock Issued During Period Shares Employee Stock Purchase Plans16000000Shares-6
2http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Stock Issued During Period Shares Employee Stock Purchase Plans13000000Shares-6
3http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Stock Issued During Period Shares Employee Stock Purchase Plans15000000Shares-6
4http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Stock Issued Employee Stock Purchase Plan Average Price Per Share44.83USD / Shares2
5http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Stock Issued Employee Stock Purchase Plan Average Price Per Share56.36USD / Shares2
6http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Sales Revenue Net89950000000USD-6
2http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Sales Revenue Net85320000000USD-6
3http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Operating Segments [Member]More Personal Computing [Member]Sales Revenue Net38773000000USD-6
4http://www.sec.gov/CIK (0000789019)2016-10-01 - 2016-12-31Entity [Domain]Consolidation Items [Domain]Segment [Domain]Sales Revenue Net24090000000USD-6
5http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Corporate And Reconciling Items [Member]Segment [Domain]Sales Revenue Net0USD-6
6http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Operating Segments [Member]Productivity And Business Processes [Member]Sales Revenue Net26430000000USD-6
7http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Operating Segments [Member]Productivity And Business Processes [Member]Sales Revenue Net26487000000USD-6
8http://www.sec.gov/CIK (0000789019)2015-07-01 - 2015-09-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Sales Revenue Net20379000000USD-6
9http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Corporate And Reconciling Items [Member]Segment [Domain]Sales Revenue Net-6707000000USD-6
10http://www.sec.gov/CIK (0000789019)2015-10-01 - 2015-12-31Entity [Domain]Consolidation Items [Domain]Segment [Domain]Sales Revenue Net23796000000USD-6
11http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Operating Segments [Member]More Personal Computing [Member]Sales Revenue Net43435000000USD-6
12http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Operating Segments [Member]Intelligent Cloud [Member]Sales Revenue Net27440000000USD-6
13http://www.sec.gov/CIK (0000789019)2017-01-01 - 2017-03-31Entity [Domain]Consolidation Items [Domain]Segment [Domain]Sales Revenue Net22090000000USD-6
14http://www.sec.gov/CIK (0000789019)2016-01-01 - 2016-03-31Entity [Domain]Consolidation Items [Domain]Segment [Domain]Sales Revenue Net20531000000USD-6
15http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Sales Revenue Net93580000000USD-6
16http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Operating Segments [Member]Productivity And Business Processes [Member]Sales Revenue Net30444000000USD-6
17http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Corporate And Reconciling Items [Member]Segment [Domain]Sales Revenue Net-6643000000USD-6
18http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Operating Segments [Member]Intelligent Cloud [Member]Sales Revenue Net25042000000USD-6
19http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Operating Segments [Member]More Personal Computing [Member]Sales Revenue Net40434000000USD-6
20http://www.sec.gov/CIK (0000789019)2017-04-01 - 2017-06-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Sales Revenue Net23317000000USD-6
21http://www.sec.gov/CIK (0000789019)2016-04-01 - 2016-06-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Sales Revenue Net20614000000USD-6
22http://www.sec.gov/CIK (0000789019)2016-07-01 - 2016-09-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Sales Revenue Net20453000000USD-6
23http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Operating Segments [Member]Intelligent Cloud [Member]Sales Revenue Net23715000000USD-6

Component: (Network and Table)
Network
101190 - Disclosure - Operating Income (Loss) by Segment (Detail)
(http://www.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Operating Segments [Member]Productivity And Business Processes [Member]Operating Income Loss11913000000USD-6
2http://www.sec.gov/CIK (0000789019)2016-04-01 - 2016-06-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Operating Income Loss3080000000USD-6
3http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Operating Income Loss18161000000USD-6
4http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Operating Segments [Member]Intelligent Cloud [Member]Operating Income Loss9803000000USD-6
5http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Operating Segments [Member]Intelligent Cloud [Member]Operating Income Loss9315000000USD-6
6http://www.sec.gov/CIK (0000789019)2016-10-01 - 2016-12-31Entity [Domain]Consolidation Items [Domain]Segment [Domain]Operating Income Loss6177000000USD-6
7http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Corporate And Reconciling Items [Member]Segment [Domain]Operating Income Loss-7753000000USD-6
8http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Operating Income Loss22326000000USD-6
9http://www.sec.gov/CIK (0000789019)2015-07-01 - 2015-09-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Operating Income Loss5793000000USD-6
10http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Corporate And Reconciling Items [Member]Segment [Domain]Operating Income Loss-10011000000USD-6
11http://www.sec.gov/CIK (0000789019)2017-04-01 - 2017-06-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Operating Income Loss5330000000USD-6
12http://www.sec.gov/CIK (0000789019)2016-07-01 - 2016-09-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Operating Income Loss5225000000USD-6
13http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Operating Segments [Member]More Personal Computing [Member]Operating Income Loss8288000000USD-6
14http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Operating Segments [Member]Productivity And Business Processes [Member]Operating Income Loss12418000000USD-6
15http://www.sec.gov/CIK (0000789019)2015-10-01 - 2015-12-31Entity [Domain]Consolidation Items [Domain]Segment [Domain]Operating Income Loss6026000000USD-6
16http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Operating Segments [Member]More Personal Computing [Member]Operating Income Loss5095000000USD-6
17http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Operating Segments [Member]More Personal Computing [Member]Operating Income Loss6202000000USD-6
18http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Corporate And Reconciling Items [Member]Segment [Domain]Operating Income Loss-7013000000USD-6
19http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Operating Segments [Member]Productivity And Business Processes [Member]Operating Income Loss13274000000USD-6
20http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Operating Segments [Member]Intelligent Cloud [Member]Operating Income Loss9138000000USD-6
21http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Consolidation Items [Domain]Segment [Domain]Operating Income Loss20182000000USD-6
22http://www.sec.gov/CIK (0000789019)2017-01-01 - 2017-03-31Entity [Domain]Consolidation Items [Domain]Segment [Domain]Operating Income Loss5594000000USD-6
23http://www.sec.gov/CIK (0000789019)2016-01-01 - 2016-03-31Entity [Domain]Consolidation Items [Domain]Segment [Domain]Operating Income Loss5283000000USD-6

Component: (Network and Table)
Network
101200 - Disclosure - Corporate and Other Operating Income (Loss) Activity (Detail)
(http://www.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)2016-04-01 - 2016-06-30Entity [Domain]Consolidation Items [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Operating Income Loss3080000000USD-6
2http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Consolidation Items [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Operating Income Loss18161000000USD-6
3http://www.sec.gov/CIK (0000789019)2016-10-01 - 2016-12-31Entity [Domain]Consolidation Items [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Operating Income Loss6177000000USD-6
4http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Corporate And Reconciling Items [Member]Income Statement Location [Domain]Windows Ten Deferral [Member]Operating Income Loss0USD-6
5http://www.sec.gov/CIK (0000789019)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
6http://www.sec.gov/CIK (0000789019)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
7http://www.sec.gov/CIK (0000789019)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
8http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Consolidation Items [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Operating Income Loss22326000000USD-6
9http://www.sec.gov/CIK (0000789019)2015-07-01 - 2015-09-30Entity [Domain]Consolidation Items [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Operating Income Loss5793000000USD-6
10http://www.sec.gov/CIK (0000789019)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
11http://www.sec.gov/CIK (0000789019)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
12http://www.sec.gov/CIK (0000789019)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
13http://www.sec.gov/CIK (0000789019)2017-04-01 - 2017-06-30Entity [Domain]Consolidation Items [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Operating Income Loss5330000000USD-6
14http://www.sec.gov/CIK (0000789019)2016-07-01 - 2016-09-30Entity [Domain]Consolidation Items [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Operating Income Loss5225000000USD-6
15http://www.sec.gov/CIK (0000789019)2015-10-01 - 2015-12-31Entity [Domain]Consolidation Items [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Operating Income Loss6026000000USD-6
16http://www.sec.gov/CIK (0000789019)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
17http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Consolidation Items [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Operating Income Loss20182000000USD-6
18http://www.sec.gov/CIK (0000789019)2017-01-01 - 2017-03-31Entity [Domain]Consolidation Items [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Operating Income Loss5594000000USD-6
19http://www.sec.gov/CIK (0000789019)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
20http://www.sec.gov/CIK (0000789019)2016-01-01 - 2016-03-31Entity [Domain]Consolidation Items [Domain]Income Statement Location [Domain]Deferred Revenue Arrangement Type [Domain]Operating Income Loss5283000000USD-6

Component: (Network and Table)
Network
101210 - Disclosure - Segment Information and Geographic Data - Additional Information (Detail)
(http://www.xbrlsite.com/msft/role/DisclosureSegmentInformationAndGeographicDataAdditionalInformationDetail)
TableSchedule of Segment Reporting Information, by Segment [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)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.xbrlsite.com/msft/role/DisclosureRevenueClassifiedByMajorGeographicAreasDetail)
TableGeographic Information [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Statement Geographical [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Segment Geographical [Domain]Sales Revenue Net89950000000USD-6
2http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Segment Geographical [Domain]Sales Revenue Net85320000000USD-6
3http://www.sec.gov/CIK (0000789019)2016-10-01 - 2016-12-31Entity [Domain]Segment Geographical [Domain]Sales Revenue Net24090000000USD-6
4http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Non Us [Member]Sales Revenue Net44742000000USD-6
5http://www.sec.gov/CIK (0000789019)2015-07-01 - 2015-09-30Entity [Domain]Segment Geographical [Domain]Sales Revenue Net20379000000USD-6
6http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]UNITED STATESSales Revenue Net45248000000USD-6
7http://www.sec.gov/CIK (0000789019)2015-10-01 - 2015-12-31Entity [Domain]Segment Geographical [Domain]Sales Revenue Net23796000000USD-6
8http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]UNITED STATESSales Revenue Net40578000000USD-6
9http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Non Us [Member]Sales Revenue Net50639000000USD-6
10http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Non Us [Member]Sales Revenue Net44702000000USD-6
11http://www.sec.gov/CIK (0000789019)2017-01-01 - 2017-03-31Entity [Domain]Segment Geographical [Domain]Sales Revenue Net22090000000USD-6
12http://www.sec.gov/CIK (0000789019)2016-01-01 - 2016-03-31Entity [Domain]Segment Geographical [Domain]Sales Revenue Net20531000000USD-6
13http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]UNITED STATESSales Revenue Net42941000000USD-6
14http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Segment Geographical [Domain]Sales Revenue Net93580000000USD-6
15http://www.sec.gov/CIK (0000789019)2017-04-01 - 2017-06-30Entity [Domain]Segment Geographical [Domain]Sales Revenue Net23317000000USD-6
16http://www.sec.gov/CIK (0000789019)2016-04-01 - 2016-06-30Entity [Domain]Segment Geographical [Domain]Sales Revenue Net20614000000USD-6
17http://www.sec.gov/CIK (0000789019)2016-07-01 - 2016-09-30Entity [Domain]Segment Geographical [Domain]Sales Revenue Net20453000000USD-6

Component: (Network and Table)
Network
101230 - Disclosure - Revenue Classified by Significant Product and Service Offerings (Detail)
(http://www.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Products And Services [Domain]Sales Revenue Net89950000000USD-6
2http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Advertising [Member]Sales Revenue Net6971000000USD-6
3http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Products And Services [Domain]Sales Revenue Net85320000000USD-6
4http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Other Products And Services [Member]Sales Revenue Net5851000000USD-6
5http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Devices [Member]Sales Revenue Net7466000000USD-6
6http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Consulting And Product Support Services [Member]Sales Revenue Net5588000000USD-6
7http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Xbox [Member]Sales Revenue Net9395000000USD-6
8http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Consulting And Product Support Services [Member]Sales Revenue Net5641000000USD-6
9http://www.sec.gov/CIK (0000789019)2016-10-01 - 2016-12-31Entity [Domain]Products And Services [Domain]Sales Revenue Net24090000000USD-6
10http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Windows Operating Systems For Computing Devices [Member]Sales Revenue Net8104000000USD-6
11http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Linked In Corporation [Member]Sales Revenue Net0USD-6
12http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Windows Operating Systems For Computing Devices [Member]Sales Revenue Net8625000000USD-6
13http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Windows Operating Systems For Computing Devices [Member]Sales Revenue Net14826000000USD-6
14http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Linked In Corporation [Member]Sales Revenue Net2268000000USD-6
15http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Server Products And Tools [Member]Sales Revenue Net18612000000USD-6
16http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Advertising [Member]Sales Revenue Net6098000000USD-6
17http://www.sec.gov/CIK (0000789019)2015-07-01 - 2015-09-30Entity [Domain]Products And Services [Domain]Sales Revenue Net20379000000USD-6
18http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Devices [Member]Sales Revenue Net11602000000USD-6
19http://www.sec.gov/CIK (0000789019)2015-10-01 - 2015-12-31Entity [Domain]Products And Services [Domain]Sales Revenue Net23796000000USD-6
20http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Server Products And Tools [Member]Sales Revenue Net21758000000USD-6
21http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Xbox [Member]Sales Revenue Net9256000000USD-6
22http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Consulting And Product Support Services [Member]Sales Revenue Net5090000000USD-6
23http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Devices [Member]Sales Revenue Net4557000000USD-6
24http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Linked In Corporation [Member]Sales Revenue Net0USD-6
25http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Xbox [Member]Sales Revenue Net9121000000USD-6
26http://www.sec.gov/CIK (0000789019)2017-01-01 - 2017-03-31Entity [Domain]Products And Services [Domain]Sales Revenue Net22090000000USD-6
27http://www.sec.gov/CIK (0000789019)2016-01-01 - 2016-03-31Entity [Domain]Products And Services [Domain]Sales Revenue Net20531000000USD-6
28http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Products And Services [Domain]Sales Revenue Net93580000000USD-6
29http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Microsoft Office System [Member]Sales Revenue Net23588000000USD-6
30http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Microsoft Office System [Member]Sales Revenue Net23538000000USD-6
31http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Other Products And Services [Member]Sales Revenue Net6234000000USD-6
32http://www.sec.gov/CIK (0000789019)2017-04-01 - 2017-06-30Entity [Domain]Products And Services [Domain]Sales Revenue Net23317000000USD-6
33http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Microsoft Office System [Member]Sales Revenue Net25389000000USD-6
34http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Advertising [Member]Sales Revenue Net4557000000USD-6
35http://www.sec.gov/CIK (0000789019)2016-04-01 - 2016-06-30Entity [Domain]Products And Services [Domain]Sales Revenue Net20614000000USD-6
36http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Server Products And Tools [Member]Sales Revenue Net19177000000USD-6
37http://www.sec.gov/CIK (0000789019)2016-07-01 - 2016-09-30Entity [Domain]Products And Services [Domain]Sales Revenue Net20453000000USD-6
38http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Other Products And Services [Member]Sales Revenue Net5538000000USD-6

Component: (Network and Table)
Network
101240 - Disclosure - Revenue Classified by Significant Product and Service Offerings (Parenthetical) (Detail)
(http://www.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Products Or Services Name Secondary Categorization [Domain]Sales Revenue Net89950000000USD-6
2http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Products Or Services Name Secondary Categorization [Domain]Sales Revenue Net85320000000USD-6
3http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Commercial Cloud [Member]Sales Revenue Net5800000000USD-8
4http://www.sec.gov/CIK (0000789019)2016-10-01 - 2016-12-31Entity [Domain]Products Or Services Name Secondary Categorization [Domain]Sales Revenue Net24090000000USD-6
5http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Commercial Cloud [Member]Sales Revenue Net14900000000USD-8
6http://www.sec.gov/CIK (0000789019)2015-07-01 - 2015-09-30Entity [Domain]Products Or Services Name Secondary Categorization [Domain]Sales Revenue Net20379000000USD-6
7http://www.sec.gov/CIK (0000789019)2015-10-01 - 2015-12-31Entity [Domain]Products Or Services Name Secondary Categorization [Domain]Sales Revenue Net23796000000USD-6
8http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Commercial Cloud [Member]Sales Revenue Net9500000000USD-8
9http://www.sec.gov/CIK (0000789019)2017-01-01 - 2017-03-31Entity [Domain]Products Or Services Name Secondary Categorization [Domain]Sales Revenue Net22090000000USD-6
10http://www.sec.gov/CIK (0000789019)2016-01-01 - 2016-03-31Entity [Domain]Products Or Services Name Secondary Categorization [Domain]Sales Revenue Net20531000000USD-6
11http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Products Or Services Name Secondary Categorization [Domain]Sales Revenue Net93580000000USD-6
12http://www.sec.gov/CIK (0000789019)2017-04-01 - 2017-06-30Entity [Domain]Products Or Services Name Secondary Categorization [Domain]Sales Revenue Net23317000000USD-6
13http://www.sec.gov/CIK (0000789019)2016-04-01 - 2016-06-30Entity [Domain]Products Or Services Name Secondary Categorization [Domain]Sales Revenue Net20614000000USD-6
14http://www.sec.gov/CIK (0000789019)2016-07-01 - 2016-09-30Entity [Domain]Products Or Services Name Secondary Categorization [Domain]Sales Revenue Net20453000000USD-6

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.xbrlsite.com/msft/role/DisclosureLongLivedAssetsExcludingFinancialInstrumentsAndTaxAssetsClassifiedByLocationOfControllingStatutoryCompanyDetail)
TableCertain Long Lived Assets by Geography [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]Statement Geographical [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2015-06-30Entity [Domain]UNITED STATESNoncurrent Assets19562000000USD-6
2http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]IRELANDNoncurrent Assets2078000000USD-6
3http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Segment Geographical [Domain]Noncurrent Assets39961000000USD-6
4http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]LUXEMBOURGNoncurrent Assets6845000000USD-6
5http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]UNITED STATESNoncurrent Assets22819000000USD-6
6http://www.sec.gov/CIK (0000789019)2015-06-30Entity [Domain]Other Countries [Member]Noncurrent Assets8469000000USD-6
7http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]LUXEMBOURGNoncurrent Assets6854000000USD-6
8http://www.sec.gov/CIK (0000789019)2016-06-30Entity [Domain]Other Countries [Member]Noncurrent Assets8210000000USD-6
9http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]UNITED STATESNoncurrent Assets39118000000USD-6
10http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Other Countries [Member]Noncurrent Assets10123000000USD-6
11http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]IRELANDNoncurrent Assets12876000000USD-6
12http://www.sec.gov/CIK (0000789019)2015-06-30Entity [Domain]IRELANDNoncurrent Assets1595000000USD-6
13http://www.sec.gov/CIK (0000789019)2015-06-30Entity [Domain]LUXEMBOURGNoncurrent Assets6879000000USD-6
14http://www.sec.gov/CIK (0000789019)2015-06-30Entity [Domain]Segment Geographical [Domain]Noncurrent Assets36505000000USD-6
15http://www.sec.gov/CIK (0000789019)2017-06-30Entity [Domain]Segment Geographical [Domain]Noncurrent Assets68962000000USD-6

Component: (Network and Table)
Network
101260 - Disclosure - Quarterly Information (Unaudited) (Detail)
(http://www.xbrlsite.com/msft/role/DisclosureQuarterlyInformationUnauditedDetail)
TableQuarterly Financial Information [Table]
#Reporting Entity [Axis]Period [Axis]Legal Entity [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
1http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Sales Revenue Net89950000000USD-6
2http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Sales Revenue Net85320000000USD-6
3http://www.sec.gov/CIK (0000789019)2016-10-01 - 2016-12-31Entity [Domain]Sales Revenue Net24090000000USD-6
4http://www.sec.gov/CIK (0000789019)2015-07-01 - 2015-09-30Entity [Domain]Sales Revenue Net20379000000USD-6
5http://www.sec.gov/CIK (0000789019)2015-10-01 - 2015-12-31Entity [Domain]Sales Revenue Net23796000000USD-6
6http://www.sec.gov/CIK (0000789019)2017-01-01 - 2017-03-31Entity [Domain]Sales Revenue Net22090000000USD-6
7http://www.sec.gov/CIK (0000789019)2016-01-01 - 2016-03-31Entity [Domain]Sales Revenue Net20531000000USD-6
8http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Sales Revenue Net93580000000USD-6
9http://www.sec.gov/CIK (0000789019)2017-04-01 - 2017-06-30Entity [Domain]Sales Revenue Net23317000000USD-6
10http://www.sec.gov/CIK (0000789019)2016-04-01 - 2016-06-30Entity [Domain]Sales Revenue Net20614000000USD-6
11http://www.sec.gov/CIK (0000789019)2016-07-01 - 2016-09-30Entity [Domain]Sales Revenue Net20453000000USD-6
12http://www.sec.gov/CIK (0000789019)2015-10-01 - 2015-12-31Entity [Domain]Gross Profit13924000000USD-6
13http://www.sec.gov/CIK (0000789019)2016-04-01 - 2016-06-30Entity [Domain]Gross Profit12635000000USD-6
14http://www.sec.gov/CIK (0000789019)2015-07-01 - 2015-09-30Entity [Domain]Gross Profit13172000000USD-6
15http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Gross Profit60542000000USD-6
16http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Gross Profit55689000000USD-6
17http://www.sec.gov/CIK (0000789019)2016-10-01 - 2016-12-31Entity [Domain]Gross Profit14189000000USD-6
18http://www.sec.gov/CIK (0000789019)2017-04-01 - 2017-06-30Entity [Domain]Gross Profit14861000000USD-6
19http://www.sec.gov/CIK (0000789019)2017-01-01 - 2017-03-31Entity [Domain]Gross Profit14030000000USD-6
20http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Gross Profit52540000000USD-6
21http://www.sec.gov/CIK (0000789019)2016-01-01 - 2016-03-31Entity [Domain]Gross Profit12809000000USD-6
22http://www.sec.gov/CIK (0000789019)2016-07-01 - 2016-09-30Entity [Domain]Gross Profit12609000000USD-6
23http://www.sec.gov/CIK (0000789019)2016-04-01 - 2016-06-30Entity [Domain]Operating Income Loss3080000000USD-6
24http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Operating Income Loss18161000000USD-6
25http://www.sec.gov/CIK (0000789019)2016-10-01 - 2016-12-31Entity [Domain]Operating Income Loss6177000000USD-6
26http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Operating Income Loss22326000000USD-6
27http://www.sec.gov/CIK (0000789019)2015-07-01 - 2015-09-30Entity [Domain]Operating Income Loss5793000000USD-6
28http://www.sec.gov/CIK (0000789019)2017-04-01 - 2017-06-30Entity [Domain]Operating Income Loss5330000000USD-6
29http://www.sec.gov/CIK (0000789019)2016-07-01 - 2016-09-30Entity [Domain]Operating Income Loss5225000000USD-6
30http://www.sec.gov/CIK (0000789019)2015-10-01 - 2015-12-31Entity [Domain]Operating Income Loss6026000000USD-6
31http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Operating Income Loss20182000000USD-6
32http://www.sec.gov/CIK (0000789019)2017-01-01 - 2017-03-31Entity [Domain]Operating Income Loss5594000000USD-6
33http://www.sec.gov/CIK (0000789019)2016-01-01 - 2016-03-31Entity [Domain]Operating Income Loss5283000000USD-6
34http://www.sec.gov/CIK (0000789019)2016-01-01 - 2016-03-31Entity [Domain]Net Income Loss3756000000USD-6
35http://www.sec.gov/CIK (0000789019)2015-10-01 - 2015-12-31Entity [Domain]Net Income Loss5018000000USD-6
36http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Net Income Loss21204000000USD-6
37http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Net Income Loss12193000000USD-6
38http://www.sec.gov/CIK (0000789019)2016-10-01 - 2016-12-31Entity [Domain]Net Income Loss5200000000USD-6
39http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Net Income Loss16798000000USD-6
40http://www.sec.gov/CIK (0000789019)2015-07-01 - 2015-09-30Entity [Domain]Net Income Loss4902000000USD-6
41http://www.sec.gov/CIK (0000789019)2017-04-01 - 2017-06-30Entity [Domain]Net Income Loss6513000000USD-6
42http://www.sec.gov/CIK (0000789019)2017-01-01 - 2017-03-31Entity [Domain]Net Income Loss4801000000USD-6
43http://www.sec.gov/CIK (0000789019)2016-07-01 - 2016-09-30Entity [Domain]Net Income Loss4690000000USD-6
44http://www.sec.gov/CIK (0000789019)2016-04-01 - 2016-06-30Entity [Domain]Net Income Loss3122000000USD-6
45http://www.sec.gov/CIK (0000789019)2015-10-01 - 2015-12-31Entity [Domain]Earnings Per Share Basic0.63USD / Shares2
46http://www.sec.gov/CIK (0000789019)2016-01-01 - 2016-03-31Entity [Domain]Earnings Per Share Basic0.48USD / Shares2
47http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Earnings Per Share Basic2.12USD / Shares2
48http://www.sec.gov/CIK (0000789019)2017-01-01 - 2017-03-31Entity [Domain]Earnings Per Share Basic0.62USD / Shares2
49http://www.sec.gov/CIK (0000789019)2016-07-01 - 2016-09-30Entity [Domain]Earnings Per Share Basic0.60USD / Shares2
50http://www.sec.gov/CIK (0000789019)2015-07-01 - 2015-09-30Entity [Domain]Earnings Per Share Basic0.61USD / Shares2
51http://www.sec.gov/CIK (0000789019)2017-04-01 - 2017-06-30Entity [Domain]Earnings Per Share Basic0.84USD / Shares2
52http://www.sec.gov/CIK (0000789019)2016-10-01 - 2016-12-31Entity [Domain]Earnings Per Share Basic0.67USD / Shares2
53http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Earnings Per Share Basic2.74USD / Shares2
54http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Earnings Per Share Basic1.49USD / Shares2
55http://www.sec.gov/CIK (0000789019)2016-04-01 - 2016-06-30Entity [Domain]Earnings Per Share Basic0.40USD / Shares2
56http://www.sec.gov/CIK (0000789019)2016-10-01 - 2016-12-31Entity [Domain]Earnings Per Share Diluted0.66USD / Shares2
57http://www.sec.gov/CIK (0000789019)2015-07-01 - 2015-09-30Entity [Domain]Earnings Per Share Diluted0.61USD / Shares2
58http://www.sec.gov/CIK (0000789019)2015-10-01 - 2015-12-31Entity [Domain]Earnings Per Share Diluted0.62USD / Shares2
59http://www.sec.gov/CIK (0000789019)2017-04-01 - 2017-06-30Entity [Domain]Earnings Per Share Diluted0.83USD / Shares2
60http://www.sec.gov/CIK (0000789019)2014-07-01 - 2015-06-30Entity [Domain]Earnings Per Share Diluted1.48USD / Shares2
61http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Earnings Per Share Diluted2.71USD / Shares2
62http://www.sec.gov/CIK (0000789019)2017-01-01 - 2017-03-31Entity [Domain]Earnings Per Share Diluted0.61USD / Shares2
63http://www.sec.gov/CIK (0000789019)2016-01-01 - 2016-03-31Entity [Domain]Earnings Per Share Diluted0.47USD / Shares2
64http://www.sec.gov/CIK (0000789019)2016-04-01 - 2016-06-30Entity [Domain]Earnings Per Share Diluted0.39USD / Shares2
65http://www.sec.gov/CIK (0000789019)2016-07-01 - 2016-09-30Entity [Domain]Earnings Per Share Diluted0.60USD / Shares2
66http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Earnings Per Share Diluted2.10USD / Shares2

Component: (Network and Table)
Network
101270 - Disclosure - Quarterly Information (Unaudited) (Parenthetical) (Detail)
(http://www.xbrlsite.com/msft/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
1http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net89950000000USD-6
2http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net85320000000USD-6
3http://www.sec.gov/CIK (0000789019)2016-01-01 - 2016-03-31Entity [Domain]Windows Ten Deferral [Member]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net1600000000USD-8
4http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Windows Ten Deferral [Member]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net6700000000USD-8
5http://www.sec.gov/CIK (0000789019)2016-10-01 - 2016-12-31Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net24090000000USD-6
6http://www.sec.gov/CIK (0000789019)2016-10-01 - 2016-12-31Entity [Domain]Windows Ten Deferral [Member]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net2000000000USD-8
7http://www.sec.gov/CIK (0000789019)2016-07-01 - 2016-09-30Entity [Domain]Windows Ten Deferral [Member]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net1900000000USD-8
8http://www.sec.gov/CIK (0000789019)2015-07-01 - 2016-06-30Entity [Domain]Windows Ten Deferral [Member]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net6600000000USD-8
9http://www.sec.gov/CIK (0000789019)2015-07-01 - 2015-09-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net20379000000USD-6
10http://www.sec.gov/CIK (0000789019)2015-10-01 - 2015-12-31Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net23796000000USD-6
11http://www.sec.gov/CIK (0000789019)2016-04-01 - 2016-06-30Entity [Domain]Windows Ten Deferral [Member]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net2000000000USD-8
12http://www.sec.gov/CIK (0000789019)2015-10-01 - 2015-12-31Entity [Domain]Windows Ten Deferral [Member]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net1700000000USD-8
13http://www.sec.gov/CIK (0000789019)2017-01-01 - 2017-03-31Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net22090000000USD-6
14http://www.sec.gov/CIK (0000789019)2016-01-01 - 2016-03-31Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net20531000000USD-6
15http://www.sec.gov/CIK (0000789019)2015-07-01 - 2015-09-30Entity [Domain]Windows Ten Deferral [Member]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net1300000000USD-8
16http://www.sec.gov/CIK (0000789019)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
17http://www.sec.gov/CIK (0000789019)2017-04-01 - 2017-06-30Entity [Domain]Windows Ten Deferral [Member]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net1400000000USD-8
18http://www.sec.gov/CIK (0000789019)2017-04-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net23317000000USD-6
19http://www.sec.gov/CIK (0000789019)2016-04-01 - 2016-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net20614000000USD-6
20http://www.sec.gov/CIK (0000789019)2016-07-01 - 2016-09-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net20453000000USD-6
21http://www.sec.gov/CIK (0000789019)2017-01-01 - 2017-03-31Entity [Domain]Windows Ten Deferral [Member]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Sales Revenue Net1500000000USD-8
22http://www.sec.gov/CIK (0000789019)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
23http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Employee Severance [Member]Segment [Domain]Restructuring Charges306000000USD-6
24http://www.sec.gov/CIK (0000789019)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
25http://www.sec.gov/CIK (0000789019)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
26http://www.sec.gov/CIK (0000789019)2016-07-01 - 2017-06-30Entity [Domain]Deferred Revenue Arrangement Type [Domain]Restructuring Plan [Domain]Type Of Restructuring [Domain]Segment [Domain]Restructuring Charges306000000USD-6
27http://www.sec.gov/CIK (0000789019)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
28http://www.sec.gov/CIK (0000789019)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
29http://www.sec.gov/CIK (0000789019)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
30http://www.sec.gov/CIK (0000789019)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
31http://www.sec.gov/CIK (0000789019)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
32http://www.sec.gov/CIK (0000789019)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
33http://www.sec.gov/CIK (0000789019)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
34http://www.sec.gov/CIK (0000789019)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
35http://www.sec.gov/CIK (0000789019)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
36http://www.sec.gov/CIK (0000789019)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