Generated at 2020-10-11T16:23:40+0000 for charles.hoffman@me.com. This page will remain online for about 48 hours.
Submitted: http://www.sec.gov/Archives/edgar/data/789019/000156459017014900/msft-20170630.xml
For more information: http://logicalcontracts.com/xbrl-and-sbrm-reporting/
DISCLAIMER: this analysis is provided by software still under development, and likely incomplete or even erroneous; do NOT use it other than for experimental, inconsequential purposes
NONE
| TERMS | |||
| 100000 - Document - Document and Entity Information | Structures | Facts | |
| 100010 - Statement - INCOME STATEMENTS | Structures | Facts | |
| 100020 - Statement - COMPREHENSIVE INCOME STATEMENTS | Structures | Facts | |
| 100030 - Statement - COMPREHENSIVE INCOME STATEMENTS (Parenthetical) | Structures | Facts | |
| 100040 - Statement - BALANCE SHEETS | Structures | Facts | |
| 100050 - Statement - BALANCE SHEETS (Parenthetical) | Structures | Facts | |
| 100060 - Statement - CASH FLOWS STATEMENTS | Structures | Facts | |
| 100070 - Statement - STOCKHOLDERS' EQUITY STATEMENTS | Structures | Facts | |
| 100080 - Disclosure - ACCOUNTING POLICIES | Structures | Facts | |
| 100090 - Disclosure - EARNINGS PER SHARE | Structures | Facts | |
| 100100 - Disclosure - OTHER INCOME (EXPENSE), NET | Structures | Facts | |
| 100110 - Disclosure - INVESTMENTS | Structures | Facts | |
| 100120 - Disclosure - DERIVATIVES | Structures | Facts | |
| 100130 - Disclosure - FAIR VALUE MEASUREMENTS | Structures | Facts | |
| 100140 - Disclosure - INVENTORIES | Structures | Facts | |
| 100150 - Disclosure - PROPERTY AND EQUIPMENT | Structures | Facts | |
| 100160 - Disclosure - BUSINESS COMBINATIONS | Structures | Facts | |
| 100170 - Disclosure - GOODWILL | Structures | Facts | |
| 100180 - Disclosure - INTANGIBLE ASSETS | Structures | Facts | |
| 100190 - Disclosure - DEBT | Structures | Facts | |
| 100200 - Disclosure - INCOME TAXES | Structures | Facts | |
| 100210 - Disclosure - RESTRUCTURING CHARGES | Structures | Facts | |
| 100220 - Disclosure - UNEARNED REVENUE | Structures | Facts | |
| 100230 - Disclosure - COMMITMENTS | Structures | Facts | |
| 100240 - Disclosure - CONTINGENCIES | Structures | Facts | |
| 100250 - Disclosure - STOCKHOLDERS' EQUITY | Structures | Facts | |
| 100260 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE INCOME | Structures | Facts | |
| 100270 - Disclosure - EMPLOYEE STOCK AND SAVINGS PLANS | Structures | Facts | |
| 100280 - Disclosure - SEGMENT INFORMATION AND GEOGRAPHIC DATA | Structures | Facts | |
| 100290 - Disclosure - QUARTERLY INFORMATION (UNAUDITED) | Structures | Facts | |
| 100300 - Disclosure - ACCOUNTING POLICIES (Policies) | Structures | Facts | |
| 100310 - Disclosure - ACCOUNTING POLICIES (Tables) | Structures | Facts | |
| 100320 - Disclosure - EARNINGS PER SHARE (Tables) | Structures | Facts | |
| 100330 - Disclosure - OTHER INCOME (EXPENSE), NET (Tables) | Structures | Facts | |
| 100340 - Disclosure - INVESTMENTS (Tables) | Structures | Facts | |
| 100350 - Disclosure - DERIVATIVES (Tables) | Structures | Facts | |
| 100360 - Disclosure - FAIR VALUE MEASUREMENTS (Tables) | Structures | Facts | |
| 100370 - Disclosure - INVENTORIES (Tables) | Structures | Facts | |
| 100380 - Disclosure - PROPERTY AND EQUIPMENT (Tables) | Structures | Facts | |
| 100390 - Disclosure - BUSINESS COMBINATIONS (Tables) | Structures | Facts | |
| 100400 - Disclosure - GOODWILL (Tables) | Structures | Facts | |
| 100410 - Disclosure - INTANGIBLE ASSETS (Tables) | Structures | Facts | |
| 100420 - Disclosure - DEBT (Tables) | Structures | Facts | |
| 100430 - Disclosure - INCOME TAXES (Tables) | Structures | Facts | |
| 100440 - Disclosure - RESTRUCTURING CHARGES (Tables) | Structures | Facts | |
| 100450 - Disclosure - UNEARNED REVENUE (Tables) | Structures | Facts | |
| 100460 - Disclosure - COMMITMENTS (Tables) | Structures | Facts | |
| 100470 - Disclosure - STOCKHOLDERS' EQUITY (Tables) | Structures | Facts | |
| 100480 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE INCOME (Tables) | Structures | Facts | |
| 100490 - Disclosure - EMPLOYEE STOCK AND SAVINGS PLANS (Tables) | Structures | Facts | |
| 100500 - Disclosure - SEGMENT INFORMATION AND GEOGRAPHIC DATA (Tables) | Structures | Facts | |
| 100510 - Disclosure - QUARTERLY INFORMATION (UNAUDITED) (Tables) | Structures | Facts | |
| 100520 - Disclosure - Accounting Policies - Additional Information (Detail) | Structures | Facts | |
| 100530 - Disclosure - Allowance for Doubtful Accounts (Detail) | Structures | Facts | |
| 100540 - Disclosure - Expected Impacts of Adoption of Standards Related to Revenue Recognition and Leases to Reported Results - (Detail) | Structures | Facts | |
| 100550 - Disclosure - Basic and Diluted Earnings Per Share (Detail) | Structures | Facts | |
| 100560 - Disclosure - Components of Other Income (Expense), Net (Detail) | Structures | Facts | |
| 100570 - Disclosure - Net Recognized Gains (Losses) on Investments (Detail) | Structures | Facts | |
| 100580 - Disclosure - Investment Components, Including Associated Derivatives (Detail) | Structures | Facts | |
| 100590 - Disclosure - Investments - Cost Method - Additional Information (Detail) | Structures | Facts | |
| 100600 - Disclosure - Investments - Secured Borrowings and Loaned Securities - Additional Information (Detail) | Structures | Facts | |
| 100610 - Disclosure - Unrealized Losses on Investments (Detail) | Structures | Facts | |
| 100620 - Disclosure - Debt Investment Maturities (Detail) | Structures | Facts | |
| 100630 - Disclosure - Derivatives - Additional Information (Detail) | Structures | Facts | |
| 100640 - Disclosure - Fair Values of Derivative Instruments (Detail) | Structures | Facts | |
| 100650 - Disclosure - Gains (Losses) on Fair Value Hedges and Related Hedged Items (Detail) | Structures | Facts | |
| 100660 - Disclosure - Gains (Losses) Related to Cash Flow Hedges (Detail) | Structures | Facts | |
| 100670 - Disclosure - Gains (Losses) Related to Cash Flow Hedges (Parenthetical) (Detail) | Structures | Facts | |
| 100680 - Disclosure - Non-Designated Derivative Gains (Losses) (Detail) | Structures | Facts | |
| 100690 - Disclosure - Financial Assets and Liabilities Measured at Fair Value on Recurring Basis (Detail) | Structures | Facts | |
| 100700 - Disclosure - Reconciliation of Total Assets Measured at Fair Value on Recurring Basis to Balance Sheet Presentation (Detail) | Structures | Facts | |
| 100710 - Disclosure - Components of Inventories (Detail) | Structures | Facts | |
| 100720 - Disclosure - Components of Property and Equipment (Detail) | Structures | Facts | |
| 100730 - Disclosure - Property and Equipment - Additional Information (Detail) | Structures | Facts | |
| 100740 - Disclosure - Business Combinations - Additional Information (Detail) | Structures | Facts | |
| 100750 - Disclosure - Major Classes of Assets and Liabilities to Which We Allocated the Purchase Price (Detail) | Structures | Facts | |
| 100760 - Disclosure - Major Classes of Assets and Liabilities to Which We Allocated the Purchase Price (Parenthetical) (Detail) | Structures | Facts | |
| 100770 - Disclosure - Acquired Intangible Assets (Detail) | Structures | Facts | |
| 100780 - Disclosure - Revenue and Operating Loss Attributable to Acquiree, Since the Date of Acquisition (Detail) | Structures | Facts | |
| 100790 - Disclosure - Supplemental Consolidated Financial Results on Unaudited Pro Forma Basis, as If the Acquisition Had Been Consummated on Beginning of Period (Detail) | Structures | Facts | |
| 100800 - Disclosure - Carrying Amount of Goodwill (Detail) | Structures | Facts | |
| 100810 - Disclosure - Goodwill - Additional Information (Detail) | Structures | Facts | |
| 100820 - Disclosure - Finite-Lived Intangible Assets (Detail) | Structures | Facts | |
| 100830 - Disclosure - Finite-Lived Intangible Assets (Parenthetical) (Detail) | Structures | Facts | |
| 100840 - Disclosure - Intangible Assets - Additional Information (Detail) | Structures | Facts | |
| 100850 - Disclosure - Intangible Assets Acquired (Detail) | Structures | Facts | |
| 100860 - Disclosure - Estimated Future Amortization Expense Related to Intangible Assets (Detail) | Structures | Facts | |
| 100870 - Disclosure - Debt - Additional Information (Detail) | Structures | Facts | |
| 100880 - Disclosure - Long-term Debt (Detail) | Structures | Facts | |
| 100890 - Disclosure - Long-term Debt (Parenthetical) (Detail) | Structures | Facts | |
| 100900 - Disclosure - Maturities of Long-term Debt (Detail) | Structures | Facts | |
| 100910 - Disclosure - Provision for Income Taxes (Detail) | Structures | Facts | |
| 100920 - Disclosure - Income Taxes - Additional Information (Detail) | Structures | Facts | |
| 100930 - Disclosure - Income (Loss) Before Income Taxes (Detail) | Structures | Facts | |
| 100940 - Disclosure - Difference Between Income Taxes Computed at Federal Statutory Rate and Provision for Income Taxes (Detail) | Structures | Facts | |
| 100950 - Disclosure - Deferred Income Tax Assets and Liabilities (Detail) | Structures | Facts | |
| 100960 - Disclosure - Changes in Unrecognized Tax Benefits (Detail) | Structures | Facts | |
| 100970 - Disclosure - Income Taxes - Additional Information Regarding Examinations (Detail) | Structures | Facts | |
| 100980 - Disclosure - Restructuring Charges - Additional Information (Detail) | Structures | Facts | |
| 100990 - Disclosure - Changes in Restructuring Liability (Detail) | Structures | Facts | |
| 101000 - Disclosure - Unearned Revenue by Segment (Detail) | Structures | Facts | |
| 101010 - Disclosure - Commitments - Additional Information (Detail) | Structures | Facts | |
| 101020 - Disclosure - Future Minimum Rental Commitments Under Non-cancellable Operating Leases (Detail) | Structures | Facts | |
| 101030 - Disclosure - Future Minimum Lease Payments under Non-cancellable Capital Leases (Detail) | Structures | Facts | |
| 101040 - Disclosure - Future Minimum Lease Payments under Non-cancellable Capital Leases (Parenthetical) (Detail) | Structures | Facts | |
| 101050 - Disclosure - Contingencies - Additional Information (Detail) | Structures | Facts | |
| 101060 - Disclosure - Shares of Common Stock Outstanding (Detail) | Structures | Facts | |
| 101070 - Disclosure - Stockholders' Equity - Additional Information (Detail) | Structures | Facts | |
| 101080 - Disclosure - Share Repurchases (Detail) | Structures | Facts | |
| 101090 - Disclosure - Dividends Declared (Detail) | Structures | Facts | |
| 101100 - Disclosure - Summary of Changes in Accumulated Other Comprehensive Income by Component (Detail) | Structures | Facts | |
| 101110 - Disclosure - Summary of Changes in Accumulated Other Comprehensive Income by Component (Parenthetical) (Detail) | Structures | Facts | |
| 101120 - Disclosure - Employee Stock and Savings Plans - Additional Information (Detail) | Structures | Facts | |
| 101130 - Disclosure - Stock-Based Compensation Expense and Related Income Tax Benefits (Detail) | Structures | Facts | |
| 101140 - Disclosure - Assumptions Used in Estimating the Fair Value of Stock Award Grants (Detail) | Structures | Facts | |
| 101150 - Disclosure - Stock Plan Activity (Detail) | Structures | Facts | |
| 101160 - Disclosure - Stock Plan Activity (Parenthetical) (Detail) | Structures | Facts | |
| 101170 - Disclosure - Employee Purchased Shares (Detail) | Structures | Facts | |
| 101180 - Disclosure - Segment Revenue (Detail) | Structures | Facts | |
| 101190 - Disclosure - Operating Income (Loss) by Segment (Detail) | Structures | Facts | |
| 101200 - Disclosure - Corporate and Other Operating Income (Loss) Activity (Detail) | Structures | Facts | |
| 101210 - Disclosure - Segment Information and Geographic Data - Additional Information (Detail) | Structures | Facts | |
| 101220 - Disclosure - Revenue Classified by Major Geographic Areas (Detail) | Structures | Facts | |
| 101230 - Disclosure - Revenue Classified by Significant Product and Service Offerings (Detail) | Structures | Facts | |
| 101240 - Disclosure - Revenue Classified by Significant Product and Service Offerings (Parenthetical) (Detail) | Structures | Facts | |
| 101250 - Disclosure - Long-Lived Assets, Excluding Financial Instruments and Tax Assets, Classified by Location of Controlling Statutory Company (Detail) | Structures | Facts | |
| 101260 - Disclosure - Quarterly Information (Unaudited) (Detail) | Structures | Facts | |
| 101270 - Disclosure - Quarterly Information (Unaudited) (Parenthetical) (Detail) | Structures | Facts | |
| RULES | |||
| Errors and Warnings | |||
Terms shown are only those effectively used by the report instance.
| Model Structure | |
|---|---|
| Network |
100000 - Document - Document and Entity Information
(http://www.microsoft.com/20170630/taxonomy/role/DocumentDocumentAndEntityInformation)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Document And Entity Information [Abstract] | Abstract | duration | msft:DocumentAndEntityInformationAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | dei:DocumentType (terseLabel) | Concept (xbrli:stringItemType) | duration | dei:DocumentType | |
| 7 | dei:AmendmentFlag (terseLabel) | Concept (Boolean) | duration | dei:AmendmentFlag | |
| 8 | dei:DocumentPeriodEndDate (terseLabel) | Concept (Date) | duration | dei:DocumentPeriodEndDate | |
| 9 | dei:DocumentFiscalYearFocus (terseLabel) | Concept (gYear) | duration | dei:DocumentFiscalYearFocus | |
| 10 | dei:DocumentFiscalPeriodFocus (terseLabel) | Concept (xbrli:tokenItemType) | duration | dei:DocumentFiscalPeriodFocus | |
| 11 | dei:TradingSymbol (terseLabel) | Concept (String-Normalized) | duration | dei:TradingSymbol | |
| 12 | dei:EntityRegistrantName (terseLabel) | Concept (String-Normalized) | duration | dei:EntityRegistrantName | |
| 13 | dei:EntityCentralIndexKey (terseLabel) | Concept (xbrli:tokenItemType) | duration | dei:EntityCentralIndexKey | |
| 14 | dei:CurrentFiscalYearEndDate (terseLabel) | Concept (gMonthDay) | duration | dei:CurrentFiscalYearEndDate | |
| 15 | dei:EntityWellKnownSeasonedIssuer (terseLabel) | Concept (xbrli:tokenItemType) | duration | dei:EntityWellKnownSeasonedIssuer | |
| 16 | dei:EntityCurrentReportingStatus (terseLabel) | Concept (xbrli:tokenItemType) | duration | dei:EntityCurrentReportingStatus | |
| 17 | dei:EntityVoluntaryFilers (terseLabel) | Concept (xbrli:tokenItemType) | duration | dei:EntityVoluntaryFilers | |
| 18 | dei:EntityFilerCategory (terseLabel) | Concept (xbrli:stringItemType) | duration | dei:EntityFilerCategory | |
| 19 | dei:EntityListingParValuePerShare (terseLabel) | Concept (Per-Share) | duration | dei:EntityListingParValuePerShare | |
| 20 | dei:EntityCommonStockSharesOutstanding (terseLabel) | Concept (Shares) | instant | dei:EntityCommonStockSharesOutstanding | |
| 21 | dei:EntityPublicFloat (terseLabel) | Concept (Monetary) | instant | credit | dei:EntityPublicFloat |
| 22 | dei:EntityTaxIdentificationNumber (terseLabel) | Concept (xbrli:tokenItemType) | duration | dei:EntityTaxIdentificationNumber |
| Model Structure | |
|---|---|
| Network |
100010 - Statement - INCOME STATEMENTS
(http://www.microsoft.com/20170630/taxonomy/role/StatementINCOMESTATEMENTS)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | us-gaap:IncomeStatementAbstract (label) | Abstract | duration | us-gaap:IncomeStatementAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:SalesRevenueNetAbstract (terseLabel) | Abstract | duration | us-gaap:SalesRevenueNetAbstract | |
| 7 | us-gaap:SalesRevenueGoodsNet (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:SalesRevenueGoodsNet |
| 8 | msft:SalesRevenueServicesAndOtherNet (terseLabel) | Concept (Monetary) | duration | credit | msft:SalesRevenueServicesAndOtherNet |
| 9 | us-gaap:SalesRevenueNet (totalLabel) | Concept (Monetary) | duration | credit | us-gaap:SalesRevenueNet |
| 10 | us-gaap:CostOfRevenueAbstract (terseLabel) | Abstract | duration | us-gaap:CostOfRevenueAbstract | |
| 11 | us-gaap:CostOfGoodsSold (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:CostOfGoodsSold |
| 12 | msft:CostOfServicesAndOther (terseLabel) | Concept (Monetary) | duration | debit | msft:CostOfServicesAndOther |
| 13 | us-gaap:CostOfRevenue (totalLabel) | Concept (Monetary) | duration | debit | us-gaap:CostOfRevenue |
| 14 | us-gaap:GrossProfit (totalLabel) | Concept (Monetary) | duration | credit | us-gaap:GrossProfit |
| 15 | us-gaap:ResearchAndDevelopmentExpense (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:ResearchAndDevelopmentExpense |
| 16 | us-gaap:SellingAndMarketingExpense (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:SellingAndMarketingExpense |
| 17 | us-gaap:GeneralAndAdministrativeExpense (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:GeneralAndAdministrativeExpense |
| 18 | msft:ImpairmentIntegrationAndRestructuringExpenses (terseLabel) | Concept (Monetary) | duration | debit | msft:ImpairmentIntegrationAndRestructuringExpenses |
| 19 | us-gaap:OperatingIncomeLoss (totalLabel) | Concept (Monetary) | duration | credit | us-gaap:OperatingIncomeLoss |
| 20 | us-gaap:NonoperatingIncomeExpense (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:NonoperatingIncomeExpense |
| 21 | us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments (totalLabel) | Concept (Monetary) | duration | credit | us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments |
| 22 | us-gaap:IncomeTaxExpenseBenefit (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:IncomeTaxExpenseBenefit |
| 23 | us-gaap:NetIncomeLoss (totalLabel) | Concept (Monetary) | duration | credit | us-gaap:NetIncomeLoss |
| 24 | us-gaap:EarningsPerShareAbstract (terseLabel) | Abstract | duration | us-gaap:EarningsPerShareAbstract | |
| 25 | us-gaap:EarningsPerShareBasic (terseLabel) | Concept (Per-Share) | duration | us-gaap:EarningsPerShareBasic | |
| 26 | us-gaap:EarningsPerShareDiluted (terseLabel) | Concept (Per-Share) | duration | us-gaap:EarningsPerShareDiluted | |
| 27 | us-gaap:WeightedAverageNumberOfSharesOutstandingAbstract (terseLabel) | Abstract | duration | us-gaap:WeightedAverageNumberOfSharesOutstandingAbstract | |
| 28 | us-gaap:WeightedAverageNumberOfSharesOutstandingBasic (terseLabel) | Concept (Shares) | duration | us-gaap:WeightedAverageNumberOfSharesOutstandingBasic | |
| 29 | us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding (terseLabel) | Concept (Shares) | duration | us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding | |
| 30 | us-gaap:CommonStockDividendsPerShareDeclared (terseLabel) | Concept (Per-Share) | duration | us-gaap:CommonStockDividendsPerShareDeclared |
| Model Structure | |
|---|---|
| Network |
100020 - Statement - COMPREHENSIVE INCOME STATEMENTS
(http://www.microsoft.com/20170630/taxonomy/role/StatementCOMPREHENSIVEINCOMESTATEMENTS)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Statement Of Income And Comprehensive Income [Abstract] | Abstract | duration | us-gaap:StatementOfIncomeAndComprehensiveIncomeAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:NetIncomeLoss (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:NetIncomeLoss |
| 7 | us-gaap:OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract (terseLabel) | Abstract | duration | us-gaap:OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract | |
| 8 | us-gaap:OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesNetOfTax (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesNetOfTax |
| 9 | us-gaap:OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax |
| 10 | us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax |
| 11 | us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (totalLabel) | Concept (Monetary) | duration | credit | us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent |
| 12 | us-gaap:ComprehensiveIncomeNetOfTax (totalLabel) | Concept (Monetary) | duration | credit | us-gaap:ComprehensiveIncomeNetOfTax |
| Model Structure | |
|---|---|
| Network |
100030 - Statement - COMPREHENSIVE INCOME STATEMENTS (Parenthetical)
(http://www.microsoft.com/20170630/taxonomy/role/StatementCOMPREHENSIVEINCOMESTATEMENTSParenthetical)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Statement Of Income And Comprehensive Income [Abstract] | Abstract | duration | us-gaap:StatementOfIncomeAndComprehensiveIncomeAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesTax (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesTax |
| 7 | us-gaap:OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax |
| 8 | us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentTax (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentTax |
| Model Structure | |
|---|---|
| Network |
100040 - Statement - BALANCE SHEETS
(http://www.microsoft.com/20170630/taxonomy/role/StatementBALANCESHEETS)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | us-gaap:StatementOfFinancialPositionAbstract (label) | Abstract | duration | us-gaap:StatementOfFinancialPositionAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:AssetsAbstract (terseLabel) | Abstract | duration | us-gaap:AssetsAbstract | |
| 7 | us-gaap:AssetsCurrentAbstract (terseLabel) | Abstract | duration | us-gaap:AssetsCurrentAbstract | |
| 8 | us-gaap:CashAndCashEquivalentsAtCarryingValue (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:CashAndCashEquivalentsAtCarryingValue |
| 9 | us-gaap:AvailableForSaleSecuritiesCurrent (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:AvailableForSaleSecuritiesCurrent |
| 10 | us-gaap:CashCashEquivalentsAndShortTermInvestments (totalLabel) | Concept (Monetary) | instant | debit | us-gaap:CashCashEquivalentsAndShortTermInvestments |
| 11 | us-gaap:AccountsReceivableNetCurrent (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:AccountsReceivableNetCurrent |
| 12 | us-gaap:InventoryNet (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:InventoryNet |
| 13 | us-gaap:OtherAssetsCurrent (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:OtherAssetsCurrent |
| 14 | us-gaap:AssetsCurrent (totalLabel) | Concept (Monetary) | instant | debit | us-gaap:AssetsCurrent |
| 15 | us-gaap:PropertyPlantAndEquipmentNet (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:PropertyPlantAndEquipmentNet |
| 16 | us-gaap:LongTermInvestments (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:LongTermInvestments |
| 17 | us-gaap:Goodwill (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:Goodwill |
| 18 | us-gaap:FiniteLivedIntangibleAssetsNet (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:FiniteLivedIntangibleAssetsNet |
| 19 | us-gaap:OtherAssetsNoncurrent (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:OtherAssetsNoncurrent |
| 20 | us-gaap:Assets (totalLabel) | Concept (Monetary) | instant | debit | us-gaap:Assets |
| 21 | us-gaap:LiabilitiesAndStockholdersEquityAbstract (terseLabel) | Abstract | duration | us-gaap:LiabilitiesAndStockholdersEquityAbstract | |
| 22 | us-gaap:LiabilitiesCurrentAbstract (terseLabel) | Abstract | duration | us-gaap:LiabilitiesCurrentAbstract | |
| 23 | us-gaap:AccountsPayableCurrent (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:AccountsPayableCurrent |
| 24 | us-gaap:ShortTermBorrowings (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:ShortTermBorrowings |
| 25 | us-gaap:LongTermDebtCurrent (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:LongTermDebtCurrent |
| 26 | us-gaap:EmployeeRelatedLiabilitiesCurrent (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:EmployeeRelatedLiabilitiesCurrent |
| 27 | us-gaap:AccruedIncomeTaxesCurrent (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:AccruedIncomeTaxesCurrent |
| 28 | us-gaap:DeferredRevenueCurrent (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:DeferredRevenueCurrent |
| 29 | us-gaap:DepositsReceivedForSecuritiesLoanedAtCarryingValue (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:DepositsReceivedForSecuritiesLoanedAtCarryingValue |
| 30 | us-gaap:OtherLiabilitiesCurrent (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:OtherLiabilitiesCurrent |
| 31 | us-gaap:LiabilitiesCurrent (totalLabel) | Concept (Monetary) | instant | credit | us-gaap:LiabilitiesCurrent |
| 32 | us-gaap:LongTermDebtNoncurrent (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:LongTermDebtNoncurrent |
| 33 | us-gaap:DeferredRevenueNoncurrent (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:DeferredRevenueNoncurrent |
| 34 | us-gaap:DeferredTaxLiabilitiesNoncurrent (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:DeferredTaxLiabilitiesNoncurrent |
| 35 | us-gaap:OtherLiabilitiesNoncurrent (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:OtherLiabilitiesNoncurrent |
| 36 | us-gaap:Liabilities (totalLabel) | Concept (Monetary) | instant | credit | us-gaap:Liabilities |
| 37 | us-gaap:CommitmentsAndContingencies (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:CommitmentsAndContingencies |
| 38 | us-gaap:StockholdersEquityAbstract (terseLabel) | Abstract | duration | us-gaap:StockholdersEquityAbstract | |
| 39 | us-gaap:CommonStocksIncludingAdditionalPaidInCapital (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:CommonStocksIncludingAdditionalPaidInCapital |
| 40 | us-gaap:RetainedEarningsAccumulatedDeficit (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:RetainedEarningsAccumulatedDeficit |
| 41 | us-gaap:AccumulatedOtherComprehensiveIncomeLossNetOfTax (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:AccumulatedOtherComprehensiveIncomeLossNetOfTax |
| 42 | us-gaap:StockholdersEquity (totalLabel) | Concept (Monetary) | instant | credit | us-gaap:StockholdersEquity |
| 43 | us-gaap:LiabilitiesAndStockholdersEquity (totalLabel) | Concept (Monetary) | instant | credit | us-gaap:LiabilitiesAndStockholdersEquity |
| Model Structure | |
|---|---|
| Network |
100050 - Statement - BALANCE SHEETS (Parenthetical)
(http://www.microsoft.com/20170630/taxonomy/role/StatementBALANCESHEETSParenthetical)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | us-gaap:StatementOfFinancialPositionAbstract (label) | Abstract | duration | us-gaap:StatementOfFinancialPositionAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:SecuritiesLoaned (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:SecuritiesLoaned |
| 7 | us-gaap:AllowanceForDoubtfulAccountsReceivableCurrent (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:AllowanceForDoubtfulAccountsReceivableCurrent |
| 8 | us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment |
| 9 | us-gaap:CommonStockSharesAuthorized (terseLabel) | Concept (Shares) | instant | us-gaap:CommonStockSharesAuthorized | |
| 10 | us-gaap:CommonStockSharesOutstanding (terseLabel) | Concept (Shares) | instant | us-gaap:CommonStockSharesOutstanding |
| Model Structure | |
|---|---|
| Network |
100060 - Statement - CASH FLOWS STATEMENTS
(http://www.microsoft.com/20170630/taxonomy/role/StatementCASHFLOWSSTATEMENTS)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Statement Of Cash Flows [Abstract] | Abstract | duration | us-gaap:StatementOfCashFlowsAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract (terseLabel) | Abstract | duration | us-gaap:NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract | |
| 7 | us-gaap:NetIncomeLoss (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:NetIncomeLoss |
| 8 | us-gaap:AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract (terseLabel) | Abstract | duration | us-gaap:AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract | |
| 9 | us-gaap:AssetImpairmentCharges (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:AssetImpairmentCharges |
| 10 | msft:DepreciationAmortizationAndOther (terseLabel) | Concept (Monetary) | duration | debit | msft:DepreciationAmortizationAndOther |
| 11 | us-gaap:ShareBasedCompensation (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:ShareBasedCompensation |
| 12 | msft:GainLossOnInvestmentsAndDerivativeInstruments (negatedLabel) | Concept (Monetary) | duration | credit | msft:GainLossOnInvestmentsAndDerivativeInstruments |
| 13 | us-gaap:DeferredIncomeTaxExpenseBenefit (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:DeferredIncomeTaxExpenseBenefit |
| 14 | us-gaap:IncreaseDecreaseInDeferredRevenue (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:IncreaseDecreaseInDeferredRevenue |
| 15 | us-gaap:RecognitionOfDeferredRevenue (negatedLabel) | Concept (Monetary) | duration | credit | us-gaap:RecognitionOfDeferredRevenue |
| 16 | us-gaap:IncreaseDecreaseInOperatingCapitalAbstract (terseLabel) | Abstract | duration | us-gaap:IncreaseDecreaseInOperatingCapitalAbstract | |
| 17 | us-gaap:IncreaseDecreaseInAccountsReceivable (negatedLabel) | Concept (Monetary) | duration | credit | us-gaap:IncreaseDecreaseInAccountsReceivable |
| 18 | us-gaap:IncreaseDecreaseInInventories (negatedLabel) | Concept (Monetary) | duration | credit | us-gaap:IncreaseDecreaseInInventories |
| 19 | us-gaap:IncreaseDecreaseInOtherCurrentAssets (negatedLabel) | Concept (Monetary) | duration | credit | us-gaap:IncreaseDecreaseInOtherCurrentAssets |
| 20 | us-gaap:IncreaseDecreaseInOtherNoncurrentAssets (negatedLabel) | Concept (Monetary) | duration | credit | us-gaap:IncreaseDecreaseInOtherNoncurrentAssets |
| 21 | us-gaap:IncreaseDecreaseInAccountsPayable (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:IncreaseDecreaseInAccountsPayable |
| 22 | us-gaap:IncreaseDecreaseInOtherCurrentLiabilities (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:IncreaseDecreaseInOtherCurrentLiabilities |
| 23 | us-gaap:IncreaseDecreaseInOtherNoncurrentLiabilities (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:IncreaseDecreaseInOtherNoncurrentLiabilities |
| 24 | us-gaap:NetCashProvidedByUsedInOperatingActivitiesContinuingOperations (totalLabel) | Concept (Monetary) | duration | us-gaap:NetCashProvidedByUsedInOperatingActivitiesContinuingOperations | |
| 25 | us-gaap:NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract (terseLabel) | Abstract | duration | us-gaap:NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract | |
| 26 | us-gaap:ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess |
| 27 | us-gaap:ProceedsFromDebtMaturingInMoreThanThreeMonths (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:ProceedsFromDebtMaturingInMoreThanThreeMonths |
| 28 | us-gaap:RepaymentsOfDebtMaturingInMoreThanThreeMonths (negatedLabel) | Concept (Monetary) | duration | credit | us-gaap:RepaymentsOfDebtMaturingInMoreThanThreeMonths |
| 29 | us-gaap:ProceedsFromIssuanceOfCommonStock (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:ProceedsFromIssuanceOfCommonStock |
| 30 | us-gaap:PaymentsForRepurchaseOfCommonStock (negatedLabel) | Concept (Monetary) | duration | credit | us-gaap:PaymentsForRepurchaseOfCommonStock |
| 31 | us-gaap:PaymentsOfDividendsCommonStock (negatedLabel) | Concept (Monetary) | duration | credit | us-gaap:PaymentsOfDividendsCommonStock |
| 32 | us-gaap:ProceedsFromPaymentsForOtherFinancingActivities (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:ProceedsFromPaymentsForOtherFinancingActivities |
| 33 | us-gaap:NetCashProvidedByUsedInFinancingActivitiesContinuingOperations (totalLabel) | Concept (Monetary) | duration | debit | us-gaap:NetCashProvidedByUsedInFinancingActivitiesContinuingOperations |
| 34 | us-gaap:NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract (terseLabel) | Abstract | duration | us-gaap:NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract | |
| 35 | us-gaap:PaymentsToAcquirePropertyPlantAndEquipment (negatedLabel) | Concept (Monetary) | duration | credit | us-gaap:PaymentsToAcquirePropertyPlantAndEquipment |
| 36 | msft:AcquisitionsNetOfCashAcquiredAndPurchasesOfIntangibleAndOtherAssets (negatedLabel) | Concept (Monetary) | duration | credit | msft:AcquisitionsNetOfCashAcquiredAndPurchasesOfIntangibleAndOtherAssets |
| 37 | us-gaap:PaymentsToAcquireInvestments (negatedLabel) | Concept (Monetary) | duration | credit | us-gaap:PaymentsToAcquireInvestments |
| 38 | us-gaap:ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities |
| 39 | us-gaap:ProceedsFromSaleOfAvailableForSaleSecurities (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:ProceedsFromSaleOfAvailableForSaleSecurities |
| 40 | us-gaap:IncreaseDecreaseInCollateralHeldUnderSecuritiesLending (negatedLabel) | Concept (Monetary) | duration | credit | us-gaap:IncreaseDecreaseInCollateralHeldUnderSecuritiesLending |
| 41 | us-gaap:NetCashProvidedByUsedInInvestingActivitiesContinuingOperations (totalLabel) | Concept (Monetary) | duration | debit | us-gaap:NetCashProvidedByUsedInInvestingActivitiesContinuingOperations |
| 42 | us-gaap:EffectOfExchangeRateOnCashAndCashEquivalents (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:EffectOfExchangeRateOnCashAndCashEquivalents |
| 43 | us-gaap:CashAndCashEquivalentsPeriodIncreaseDecrease (totalLabel) | Concept (Monetary) | duration | debit | us-gaap:CashAndCashEquivalentsPeriodIncreaseDecrease |
| 44 | us-gaap:CashAndCashEquivalentsAtCarryingValue (periodStartLabel) | Concept (Monetary) | instant | debit | us-gaap:CashAndCashEquivalentsAtCarryingValue |
| 45 | Cash and cash equivalents, end of period | Concept (Monetary) | instant | debit | us-gaap:CashAndCashEquivalentsAtCarryingValue |
| Model Structure | |
|---|---|
| Network |
100070 - Statement - STOCKHOLDERS' EQUITY STATEMENTS
(http://www.microsoft.com/20170630/taxonomy/role/StatementSTOCKHOLDERSEQUITYSTATEMENTS)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Statement Of Stockholders Equity [Abstract] | Abstract | duration | us-gaap:StatementOfStockholdersEquityAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementEquityComponentsAxis (terseLabel) | Axis | duration | us-gaap:StatementEquityComponentsAxis | |
| 6 | us-gaap:EquityComponentDomain (terseLabel) | Member | duration | us-gaap:EquityComponentDomain | |
| 7 | us-gaap:CommonStockIncludingAdditionalPaidInCapitalMember (terseLabel) | Member | duration | us-gaap:CommonStockIncludingAdditionalPaidInCapitalMember | |
| 8 | us-gaap:RetainedEarningsMember (terseLabel) | Member | duration | us-gaap:RetainedEarningsMember | |
| 9 | us-gaap:AccumulatedOtherComprehensiveIncomeMember (terseLabel) | Member | duration | us-gaap:AccumulatedOtherComprehensiveIncomeMember | |
| 10 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 11 | us-gaap:StockholdersEquity (periodStartLabel) | Concept (Monetary) | instant | credit | us-gaap:StockholdersEquity |
| 12 | us-gaap:StockIssuedDuringPeriodValueNewIssues (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:StockIssuedDuringPeriodValueNewIssues |
| 13 | us-gaap:NetIncomeLoss (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:NetIncomeLoss |
| 14 | us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (verboseLabel) | Concept (Monetary) | duration | credit | us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent |
| 15 | us-gaap:DividendsCommonStockCash (negatedLabel) | Concept (Monetary) | duration | debit | us-gaap:DividendsCommonStockCash |
| 16 | us-gaap:StockRepurchasedDuringPeriodValue (negatedLabel) | Concept (Monetary) | duration | debit | us-gaap:StockRepurchasedDuringPeriodValue |
| 17 | us-gaap:AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue |
| 18 | us-gaap:AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet |
| 19 | us-gaap:StockholdersEquityOther (negatedLabel) | Concept (Monetary) | duration | debit | us-gaap:StockholdersEquityOther |
| 20 | us-gaap:StockholdersEquity (periodEndLabel) | Concept (Monetary) | instant | credit | us-gaap:StockholdersEquity |
| Model Structure | |
|---|---|
| Network |
100080 - Disclosure - ACCOUNTING POLICIES
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureACCOUNTINGPOLICIES)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Accounting Policies [Abstract] | Abstract | duration | us-gaap:AccountingPoliciesAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:SignificantAccountingPoliciesTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:SignificantAccountingPoliciesTextBlock |
| Model Structure | |
|---|---|
| Network |
100090 - Disclosure - EARNINGS PER SHARE
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEARNINGSPERSHARE)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | us-gaap:EarningsPerShareAbstract (label) | Abstract | duration | us-gaap:EarningsPerShareAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:EarningsPerShareTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:EarningsPerShareTextBlock |
| Model Structure | |
|---|---|
| Network |
100100 - Disclosure - OTHER INCOME (EXPENSE), NET
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureOTHERINCOMEEXPENSENET)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Other Income And Expenses [Abstract] | Abstract | duration | us-gaap:OtherIncomeAndExpensesAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:OtherNonoperatingIncomeAndExpenseTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:OtherNonoperatingIncomeAndExpenseTextBlock |
| Model Structure | |
|---|---|
| Network |
100110 - Disclosure - INVESTMENTS
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINVESTMENTS)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Cash And Cash Equivalents [Abstract] | Abstract | duration | us-gaap:CashAndCashEquivalentsAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:InvestmentsInDebtAndEquityInstrumentsCashAndCashEquivalentsUnrealizedAndRealizedGainsLossesTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:InvestmentsInDebtAndEquityInstrumentsCashAndCashEquivalentsUnrealizedAndRealizedGainsLossesTextBlock |
| Model Structure | |
|---|---|
| Network |
100120 - Disclosure - DERIVATIVES
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDERIVATIVES)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Derivative Instruments And Hedging Activities Disclosure [Abstract] | Abstract | duration | us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock |
| Model Structure | |
|---|---|
| Network |
100130 - Disclosure - FAIR VALUE MEASUREMENTS
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFAIRVALUEMEASUREMENTS)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Fair Value Disclosures [Abstract] | Abstract | duration | us-gaap:FairValueDisclosuresAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:FairValueDisclosuresTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:FairValueDisclosuresTextBlock |
| Model Structure | |
|---|---|
| Network |
100140 - Disclosure - INVENTORIES
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINVENTORIES)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Inventory Disclosure [Abstract] | Abstract | duration | us-gaap:InventoryDisclosureAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:InventoryDisclosureTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:InventoryDisclosureTextBlock |
| Model Structure | |
|---|---|
| Network |
100150 - Disclosure - PROPERTY AND EQUIPMENT
(http://www.microsoft.com/20170630/taxonomy/role/DisclosurePROPERTYANDEQUIPMENT)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Property Plant And Equipment [Abstract] | Abstract | duration | us-gaap:PropertyPlantAndEquipmentAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock |
| Model Structure | |
|---|---|
| Network |
100160 - Disclosure - BUSINESS COMBINATIONS
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureBUSINESSCOMBINATIONS)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Business Combinations [Abstract] | Abstract | duration | us-gaap:BusinessCombinationsAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:MergersAcquisitionsAndDispositionsDisclosuresTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:MergersAcquisitionsAndDispositionsDisclosuresTextBlock |
| Model Structure | |
|---|---|
| Network |
100170 - Disclosure - GOODWILL
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureGOODWILL)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Goodwill And Intangible Assets Disclosure [Abstract] | Abstract | duration | us-gaap:GoodwillAndIntangibleAssetsDisclosureAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:GoodwillDisclosureTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:GoodwillDisclosureTextBlock |
| Model Structure | |
|---|---|
| Network |
100180 - Disclosure - INTANGIBLE ASSETS
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINTANGIBLEASSETS)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Goodwill And Intangible Assets Disclosure [Abstract] | Abstract | duration | us-gaap:GoodwillAndIntangibleAssetsDisclosureAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:IntangibleAssetsDisclosureTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:IntangibleAssetsDisclosureTextBlock |
| Model Structure | |
|---|---|
| Network |
100190 - Disclosure - DEBT
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDEBT)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Debt Disclosure [Abstract] | Abstract | duration | us-gaap:DebtDisclosureAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:DebtDisclosureTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:DebtDisclosureTextBlock |
| Model Structure | |
|---|---|
| Network |
100200 - Disclosure - INCOME TAXES
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINCOMETAXES)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Income Tax Disclosure [Abstract] | Abstract | duration | us-gaap:IncomeTaxDisclosureAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:IncomeTaxDisclosureTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:IncomeTaxDisclosureTextBlock |
| Model Structure | |
|---|---|
| Network |
100210 - Disclosure - RESTRUCTURING CHARGES
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureRESTRUCTURINGCHARGES)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Restructuring And Related Activities [Abstract] | Abstract | duration | us-gaap:RestructuringAndRelatedActivitiesAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:RestructuringAndRelatedActivitiesDisclosureTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:RestructuringAndRelatedActivitiesDisclosureTextBlock |
| Model Structure | |
|---|---|
| Network |
100220 - Disclosure - UNEARNED REVENUE
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureUNEARNEDREVENUE)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Deferred Revenue Disclosure [Abstract] | Abstract | duration | us-gaap:DeferredRevenueDisclosureAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:DeferredRevenueDisclosureTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:DeferredRevenueDisclosureTextBlock |
| Model Structure | |
|---|---|
| Network |
100230 - Disclosure - COMMITMENTS
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureCOMMITMENTS)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Commitments And Contingencies Disclosure [Abstract] | Abstract | duration | us-gaap:CommitmentsAndContingenciesDisclosureAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:CommitmentsDisclosureTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:CommitmentsDisclosureTextBlock |
| Model Structure | |
|---|---|
| Network |
100240 - Disclosure - CONTINGENCIES
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureCONTINGENCIES)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Commitments And Contingencies Disclosure [Abstract] | Abstract | duration | us-gaap:CommitmentsAndContingenciesDisclosureAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:LegalMattersAndContingenciesTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:LegalMattersAndContingenciesTextBlock |
| Model Structure | |
|---|---|
| Network |
100250 - Disclosure - STOCKHOLDERS' EQUITY
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSTOCKHOLDERSEQUITY)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Equity [Abstract] | Abstract | duration | us-gaap:EquityAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:StockholdersEquityNoteDisclosureTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:StockholdersEquityNoteDisclosureTextBlock |
| Model Structure | |
|---|---|
| Network |
100260 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE INCOME
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureACCUMULATEDOTHERCOMPREHENSIVEINCOME)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Equity [Abstract] | Abstract | duration | us-gaap:EquityAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:ComprehensiveIncomeNoteTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ComprehensiveIncomeNoteTextBlock |
| Model Structure | |
|---|---|
| Network |
100270 - Disclosure - EMPLOYEE STOCK AND SAVINGS PLANS
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEMPLOYEESTOCKANDSAVINGSPLANS)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Postemployment Benefits [Abstract] | Abstract | duration | us-gaap:PostemploymentBenefitsAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:CompensationAndEmployeeBenefitPlansTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:CompensationAndEmployeeBenefitPlansTextBlock |
| Model Structure | |
|---|---|
| Network |
100280 - Disclosure - SEGMENT INFORMATION AND GEOGRAPHIC DATA
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSEGMENTINFORMATIONANDGEOGRAPHICDATA)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Segment Reporting [Abstract] | Abstract | duration | us-gaap:SegmentReportingAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:SegmentReportingDisclosureTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:SegmentReportingDisclosureTextBlock |
| Model Structure | |
|---|---|
| Network |
100290 - Disclosure - QUARTERLY INFORMATION (UNAUDITED)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureQUARTERLYINFORMATIONUNAUDITED)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Quarterly Financial Information Disclosure [Abstract] | Abstract | duration | us-gaap:QuarterlyFinancialInformationDisclosureAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:QuarterlyFinancialInformationTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:QuarterlyFinancialInformationTextBlock |
| Model Structure | |
|---|---|
| Network |
100300 - Disclosure - ACCOUNTING POLICIES (Policies)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureACCOUNTINGPOLICIESPolicies)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Accounting Policies [Abstract] | Abstract | duration | us-gaap:AccountingPoliciesAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:BasisOfAccountingPolicyPolicyTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:BasisOfAccountingPolicyPolicyTextBlock | |
| 7 | us-gaap:ConsolidationPolicyTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ConsolidationPolicyTextBlock | |
| 8 | us-gaap:UseOfEstimates (terseLabel) | Concept (TextBlock) | duration | us-gaap:UseOfEstimates | |
| 9 | us-gaap:ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock | |
| 10 | msft:ProductRevenueAndServiceAndOtherRevenuePolicyTextBlock (terseLabel) | Concept (TextBlock) | duration | msft:ProductRevenueAndServiceAndOtherRevenuePolicyTextBlock | |
| 11 | us-gaap:RevenueRecognitionPolicyTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:RevenueRecognitionPolicyTextBlock | |
| 12 | us-gaap:CostOfSalesPolicyTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:CostOfSalesPolicyTextBlock | |
| 13 | us-gaap:StandardProductWarrantyPolicy (terseLabel) | Concept (TextBlock) | duration | us-gaap:StandardProductWarrantyPolicy | |
| 14 | us-gaap:ResearchDevelopmentAndComputerSoftwarePolicyTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ResearchDevelopmentAndComputerSoftwarePolicyTextBlock | |
| 15 | msft:SellingAndMarketingPolicyTextBlock (terseLabel) | Concept (TextBlock) | duration | msft:SellingAndMarketingPolicyTextBlock | |
| 16 | us-gaap:ShareBasedCompensationOptionAndIncentivePlansPolicy (terseLabel) | Concept (TextBlock) | duration | us-gaap:ShareBasedCompensationOptionAndIncentivePlansPolicy | |
| 17 | us-gaap:IncomeTaxPolicyTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:IncomeTaxPolicyTextBlock | |
| 18 | us-gaap:FairValueOfFinancialInstrumentsPolicy (terseLabel) | Concept (TextBlock) | duration | us-gaap:FairValueOfFinancialInstrumentsPolicy | |
| 19 | us-gaap:InvestmentPolicyTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:InvestmentPolicyTextBlock | |
| 20 | us-gaap:DerivativesPolicyTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:DerivativesPolicyTextBlock | |
| 21 | us-gaap:TradeAndOtherAccountsReceivablePolicy (terseLabel) | Concept (TextBlock) | duration | us-gaap:TradeAndOtherAccountsReceivablePolicy | |
| 22 | us-gaap:InventoryPolicyTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:InventoryPolicyTextBlock | |
| 23 | us-gaap:PropertyPlantAndEquipmentPolicyTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:PropertyPlantAndEquipmentPolicyTextBlock | |
| 24 | us-gaap:GoodwillAndIntangibleAssetsGoodwillPolicy (terseLabel) | Concept (TextBlock) | duration | us-gaap:GoodwillAndIntangibleAssetsGoodwillPolicy | |
| 25 | us-gaap:IntangibleAssetsFiniteLivedPolicy (terseLabel) | Concept (TextBlock) | duration | us-gaap:IntangibleAssetsFiniteLivedPolicy | |
| 26 | us-gaap:NewAccountingPronouncementsPolicyPolicyTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:NewAccountingPronouncementsPolicyPolicyTextBlock | |
| 27 | us-gaap:EarningsPerSharePolicyTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:EarningsPerSharePolicyTextBlock | |
| 28 | us-gaap:SegmentReportingPolicyPolicyTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:SegmentReportingPolicyPolicyTextBlock |
| Model Structure | |
|---|---|
| Network |
100310 - Disclosure - ACCOUNTING POLICIES (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureACCOUNTINGPOLICIESTables)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Accounting Policies [Abstract] | Abstract | duration | us-gaap:AccountingPoliciesAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:ScheduleOfCreditLossesForFinancingReceivablesCurrentTableTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfCreditLossesForFinancingReceivablesCurrentTableTextBlock | |
| 7 | us-gaap:ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock |
| Model Structure | |
|---|---|
| Network |
100320 - Disclosure - EARNINGS PER SHARE (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEARNINGSPERSHARETables)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | us-gaap:EarningsPerShareAbstract (label) | Abstract | duration | us-gaap:EarningsPerShareAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock |
| Model Structure | |
|---|---|
| Network |
100330 - Disclosure - OTHER INCOME (EXPENSE), NET (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureOTHERINCOMEEXPENSENETTables)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Other Income And Expenses [Abstract] | Abstract | duration | us-gaap:OtherIncomeAndExpensesAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:ScheduleOfOtherNonoperatingIncomeExpenseTableTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfOtherNonoperatingIncomeExpenseTableTextBlock | |
| 7 | us-gaap:RealizedGainLossOnInvestmentsTableTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:RealizedGainLossOnInvestmentsTableTextBlock |
| Model Structure | |
|---|---|
| Network |
100340 - Disclosure - INVESTMENTS (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINVESTMENTSTables)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Cash And Cash Equivalents [Abstract] | Abstract | duration | us-gaap:CashAndCashEquivalentsAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | msft:ScheduleOfCashCashEquivalentsAndInvestmentsTableTextBlock (terseLabel) | Concept (TextBlock) | duration | msft:ScheduleOfCashCashEquivalentsAndInvestmentsTableTextBlock | |
| 7 | us-gaap:ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock | |
| 8 | us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock |
| Model Structure | |
|---|---|
| Network |
100350 - Disclosure - DERIVATIVES (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDERIVATIVESTables)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Derivative Instruments And Hedging Activities Disclosure [Abstract] | Abstract | duration | us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipAxis (terseLabel) | Axis | duration | us-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipAxis | |
| 6 | us-gaap:HedgingRelationshipDomain (terseLabel) | Member | duration | us-gaap:HedgingRelationshipDomain | |
| 7 | us-gaap:FairValueHedgingMember (terseLabel) | Member | duration | us-gaap:FairValueHedgingMember | |
| 8 | us-gaap:CashFlowHedgingMember (terseLabel) | Member | duration | us-gaap:CashFlowHedgingMember | |
| 9 | us-gaap:HedgingDesignationAxis (terseLabel) | Axis | duration | us-gaap:HedgingDesignationAxis | |
| 10 | us-gaap:HedgingDesignationDomain (terseLabel) | Member | duration | us-gaap:HedgingDesignationDomain | |
| 11 | us-gaap:NondesignatedMember (terseLabel) | Member | duration | us-gaap:NondesignatedMember | |
| 12 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 13 | us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock | |
| 14 | us-gaap:ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock |
| Model Structure | |
|---|---|
| Network |
100360 - Disclosure - FAIR VALUE MEASUREMENTS (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFAIRVALUEMEASUREMENTSTables)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Fair Value Disclosures [Abstract] | Abstract | duration | us-gaap:FairValueDisclosuresAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock | |
| 7 | msft:ReconciliationOfAssetsMeasuredAtFairValueOnRecurringBasisToBalanceSheetPresentationTableTextBlock (terseLabel) | Concept (TextBlock) | duration | msft:ReconciliationOfAssetsMeasuredAtFairValueOnRecurringBasisToBalanceSheetPresentationTableTextBlock |
| Model Structure | |
|---|---|
| Network |
100370 - Disclosure - INVENTORIES (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINVENTORIESTables)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Inventory Disclosure [Abstract] | Abstract | duration | us-gaap:InventoryDisclosureAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:ScheduleOfInventoryCurrentTableTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfInventoryCurrentTableTextBlock |
| Model Structure | |
|---|---|
| Network |
100380 - Disclosure - PROPERTY AND EQUIPMENT (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosurePROPERTYANDEQUIPMENTTables)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Property Plant And Equipment [Abstract] | Abstract | duration | us-gaap:PropertyPlantAndEquipmentAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:PropertyPlantAndEquipmentTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:PropertyPlantAndEquipmentTextBlock |
| Model Structure | |
|---|---|
| Network |
100390 - Disclosure - BUSINESS COMBINATIONS (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureBUSINESSCOMBINATIONSTables)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Business Combinations [Abstract] | Abstract | duration | us-gaap:BusinessCombinationsAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:BusinessAcquisitionAxis (terseLabel) | Axis | duration | us-gaap:BusinessAcquisitionAxis | |
| 6 | us-gaap:BusinessAcquisitionAcquireeDomain (terseLabel) | Member | duration | us-gaap:BusinessAcquisitionAcquireeDomain | |
| 7 | msft:LinkedInCorporationMember (terseLabel) | Member | duration | msft:LinkedInCorporationMember | |
| 8 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 9 | us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock | |
| 10 | us-gaap:ScheduleOfAcquiredFiniteLivedIntangibleAssetsByMajorClassTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfAcquiredFiniteLivedIntangibleAssetsByMajorClassTextBlock | |
| 11 | msft:RevenueAndOperatingLossAttributableToAcquireeSinceAcquisitionDateTableTextBlock (terseLabel) | Concept (TextBlock) | duration | msft:RevenueAndOperatingLossAttributableToAcquireeSinceAcquisitionDateTableTextBlock | |
| 12 | us-gaap:BusinessAcquisitionProFormaInformationTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:BusinessAcquisitionProFormaInformationTextBlock |
| Model Structure | |
|---|---|
| Network |
100400 - Disclosure - GOODWILL (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureGOODWILLTables)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Goodwill And Intangible Assets Disclosure [Abstract] | Abstract | duration | us-gaap:GoodwillAndIntangibleAssetsDisclosureAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:ScheduleOfGoodwillTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfGoodwillTextBlock |
| Model Structure | |
|---|---|
| Network |
100410 - Disclosure - INTANGIBLE ASSETS (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINTANGIBLEASSETSTables)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Goodwill And Intangible Assets Disclosure [Abstract] | Abstract | duration | us-gaap:GoodwillAndIntangibleAssetsDisclosureAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock | |
| 7 | us-gaap:ScheduleOfAcquiredFiniteLivedIntangibleAssetsByMajorClassTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfAcquiredFiniteLivedIntangibleAssetsByMajorClassTextBlock | |
| 8 | us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock |
| Model Structure | |
|---|---|
| Network |
100420 - Disclosure - DEBT (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDEBTTables)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Debt Disclosure [Abstract] | Abstract | duration | us-gaap:DebtDisclosureAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:ScheduleOfDebtInstrumentsTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfDebtInstrumentsTextBlock | |
| 7 | us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock |
| Model Structure | |
|---|---|
| Network |
100430 - Disclosure - INCOME TAXES (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINCOMETAXESTables)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Income Tax Disclosure [Abstract] | Abstract | duration | us-gaap:IncomeTaxDisclosureAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock | |
| 7 | us-gaap:ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock | |
| 8 | us-gaap:ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock | |
| 9 | us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock | |
| 10 | us-gaap:SummaryOfIncomeTaxContingenciesTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:SummaryOfIncomeTaxContingenciesTextBlock |
| Model Structure | |
|---|---|
| Network |
100440 - Disclosure - RESTRUCTURING CHARGES (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureRESTRUCTURINGCHARGESTables)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Restructuring And Related Activities [Abstract] | Abstract | duration | us-gaap:RestructuringAndRelatedActivitiesAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:ScheduleOfRestructuringReserveByTypeOfCostTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfRestructuringReserveByTypeOfCostTextBlock |
| Model Structure | |
|---|---|
| Network |
100450 - Disclosure - UNEARNED REVENUE (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureUNEARNEDREVENUETables)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Deferred Revenue Disclosure [Abstract] | Abstract | duration | us-gaap:DeferredRevenueDisclosureAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | msft:DeferredRevenueBySegmentTextBlock (terseLabel) | Concept (TextBlock) | duration | msft:DeferredRevenueBySegmentTextBlock |
| Model Structure | |
|---|---|
| Network |
100460 - Disclosure - COMMITMENTS (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureCOMMITMENTSTables)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Commitments And Contingencies Disclosure [Abstract] | Abstract | duration | us-gaap:CommitmentsAndContingenciesDisclosureAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock | |
| 7 | us-gaap:ScheduleOfFutureMinimumLeasePaymentsForCapitalLeasesTableTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfFutureMinimumLeasePaymentsForCapitalLeasesTableTextBlock |
| Model Structure | |
|---|---|
| Network |
100470 - Disclosure - STOCKHOLDERS' EQUITY (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSTOCKHOLDERSEQUITYTables)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Equity [Abstract] | Abstract | duration | us-gaap:EquityAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:ScheduleOfCommonStockOutstandingRollForwardTableTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfCommonStockOutstandingRollForwardTableTextBlock | |
| 7 | msft:ShareRepurchaseProgramDisclosureTableTextBlock (terseLabel) | Concept (TextBlock) | duration | msft:ShareRepurchaseProgramDisclosureTableTextBlock | |
| 8 | us-gaap:DividendsDeclaredTableTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:DividendsDeclaredTableTextBlock |
| Model Structure | |
|---|---|
| Network |
100480 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE INCOME (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureACCUMULATEDOTHERCOMPREHENSIVEINCOMETables)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Equity [Abstract] | Abstract | duration | us-gaap:EquityAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock |
| Model Structure | |
|---|---|
| Network |
100490 - Disclosure - EMPLOYEE STOCK AND SAVINGS PLANS (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEMPLOYEESTOCKANDSAVINGSPLANSTables)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Postemployment Benefits [Abstract] | Abstract | duration | us-gaap:PostemploymentBenefitsAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock | |
| 7 | msft:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsedTableTextBlock (terseLabel) | Concept (TextBlock) | duration | msft:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsedTableTextBlock | |
| 8 | us-gaap:DisclosureOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:DisclosureOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTextBlock | |
| 9 | us-gaap:ScheduleOfShareBasedCompensationEmployeeStockPurchasePlanActivityTableTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfShareBasedCompensationEmployeeStockPurchasePlanActivityTableTextBlock |
| Model Structure | |
|---|---|
| Network |
100500 - Disclosure - SEGMENT INFORMATION AND GEOGRAPHIC DATA (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSEGMENTINFORMATIONANDGEOGRAPHICDATATables)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Segment Reporting [Abstract] | Abstract | duration | us-gaap:SegmentReportingAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:ReconciliationOfRevenueFromSegmentsToConsolidatedTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ReconciliationOfRevenueFromSegmentsToConsolidatedTextBlock | |
| 7 | us-gaap:ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTextBlock | |
| 8 | us-gaap:ScheduleOfRevenueFromExternalCustomersAttributedToForeignCountriesByGeographicAreaTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfRevenueFromExternalCustomersAttributedToForeignCountriesByGeographicAreaTextBlock | |
| 9 | us-gaap:ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock | |
| 10 | us-gaap:ScheduleOfEntityWideDisclosureOnGeographicAreasLongLivedAssetsInIndividualForeignCountriesByCountryTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfEntityWideDisclosureOnGeographicAreasLongLivedAssetsInIndividualForeignCountriesByCountryTextBlock |
| Model Structure | |
|---|---|
| Network |
100510 - Disclosure - QUARTERLY INFORMATION (UNAUDITED) (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureQUARTERLYINFORMATIONUNAUDITEDTables)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Quarterly Financial Information Disclosure [Abstract] | Abstract | duration | us-gaap:QuarterlyFinancialInformationDisclosureAbstract | |
| 2 | us-gaap:StatementTable (terseLabel) | Table | duration | us-gaap:StatementTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementLineItems (terseLabel) | LineItems | duration | us-gaap:StatementLineItems | |
| 6 | us-gaap:ScheduleOfQuarterlyFinancialInformationTableTextBlock (terseLabel) | Concept (TextBlock) | duration | us-gaap:ScheduleOfQuarterlyFinancialInformationTableTextBlock |
| Model Structure | |
|---|---|
| Network |
100520 - Disclosure - Accounting Policies - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureAccountingPoliciesAdditionalInformationDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Accounting Policies [Abstract] | Abstract | duration | us-gaap:AccountingPoliciesAbstract | |
| 2 | msft:SignificantAccountingPoliciesTable (terseLabel) | Table | duration | msft:SignificantAccountingPoliciesTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:DeferredRevenueArrangementTypeAxis (terseLabel) | Axis | duration | us-gaap:DeferredRevenueArrangementTypeAxis | |
| 6 | us-gaap:DeferredRevenueArrangementTypeDomain (terseLabel) | Member | duration | us-gaap:DeferredRevenueArrangementTypeDomain | |
| 7 | msft:WindowsTenDeferralMember (terseLabel) | Member | duration | msft:WindowsTenDeferralMember | |
| 8 | us-gaap:RangeAxis (terseLabel) | Axis | duration | us-gaap:RangeAxis | |
| 9 | us-gaap:RangeMember (terseLabel) | Member | duration | us-gaap:RangeMember | |
| 10 | us-gaap:MinimumMember (terseLabel) | Member | duration | us-gaap:MinimumMember | |
| 11 | us-gaap:MaximumMember (terseLabel) | Member | duration | us-gaap:MaximumMember | |
| 12 | us-gaap:PropertyPlantAndEquipmentByTypeAxis (terseLabel) | Axis | duration | us-gaap:PropertyPlantAndEquipmentByTypeAxis | |
| 13 | us-gaap:PropertyPlantAndEquipmentTypeDomain (terseLabel) | Member | duration | us-gaap:PropertyPlantAndEquipmentTypeDomain | |
| 14 | us-gaap:SoftwareAndSoftwareDevelopmentCostsMember (terseLabel) | Member | duration | us-gaap:SoftwareAndSoftwareDevelopmentCostsMember | |
| 15 | us-gaap:ComputerEquipmentMember (terseLabel) | Member | duration | us-gaap:ComputerEquipmentMember | |
| 16 | us-gaap:BuildingAndBuildingImprovementsMember (terseLabel) | Member | duration | us-gaap:BuildingAndBuildingImprovementsMember | |
| 17 | us-gaap:LeaseholdImprovementsMember (terseLabel) | Member | duration | us-gaap:LeaseholdImprovementsMember | |
| 18 | us-gaap:FurnitureAndFixturesMember (terseLabel) | Member | duration | us-gaap:FurnitureAndFixturesMember | |
| 19 | us-gaap:AdjustmentsForNewAccountingPronouncementsAxis (terseLabel) | Axis | duration | us-gaap:AdjustmentsForNewAccountingPronouncementsAxis | |
| 20 | us-gaap:TypeOfAdoptionMember (terseLabel) | Member | duration | us-gaap:TypeOfAdoptionMember | |
| 21 | us-gaap:AccountingStandardsUpdate201602Member (terseLabel) | Member | duration | us-gaap:AccountingStandardsUpdate201602Member | |
| 22 | us-gaap:AccountingStandardsUpdate201409Member (terseLabel) | Member | duration | us-gaap:AccountingStandardsUpdate201409Member | |
| 23 | us-gaap:StatementScenarioAxis (terseLabel) | Axis | duration | us-gaap:StatementScenarioAxis | |
| 24 | us-gaap:ScenarioUnspecifiedDomain (terseLabel) | Member | duration | us-gaap:ScenarioUnspecifiedDomain | |
| 25 | us-gaap:ScenarioPlanMember (terseLabel) | Member | duration | us-gaap:ScenarioPlanMember | |
| 26 | msft:SignificantAccountingPoliciesLineItems (terseLabel) | LineItems | duration | msft:SignificantAccountingPoliciesLineItems | |
| 27 | msft:RevenueRecognitionPeriod (terseLabel) | Concept (Duration) | duration | msft:RevenueRecognitionPeriod | |
| 28 | us-gaap:AdvertisingExpense (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:AdvertisingExpense |
| 29 | us-gaap:PropertyPlantAndEquipmentUsefulLife (terseLabel) | Concept (Duration) | duration | us-gaap:PropertyPlantAndEquipmentUsefulLife | |
| 30 | us-gaap:FiniteLivedIntangibleAssetUsefulLife (terseLabel) | Concept (Duration) | duration | us-gaap:FiniteLivedIntangibleAssetUsefulLife | |
| 31 | msft:OperatingLeaseRightOfUseAssets (terseLabel) | Concept (Monetary) | instant | debit | msft:OperatingLeaseRightOfUseAssets |
| 32 | msft:OperatingLeaseLiabilities (terseLabel) | Concept (Monetary) | instant | credit | msft:OperatingLeaseLiabilities |
| 33 | us-gaap:SalesRevenueNet (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:SalesRevenueNet |
| 34 | us-gaap:IncomeTaxExpenseBenefit (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:IncomeTaxExpenseBenefit |
| 35 | msft:AccountsReceivableNetAndOtherAssets (terseLabel) | Concept (Monetary) | instant | debit | msft:AccountsReceivableNetAndOtherAssets |
| 36 | us-gaap:DeferredRevenue (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:DeferredRevenue |
| 37 | us-gaap:DeferredTaxLiabilitiesNoncurrent (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:DeferredTaxLiabilitiesNoncurrent |
| Model Structure | |
|---|---|
| Network |
100530 - Disclosure - Allowance for Doubtful Accounts (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureAllowanceForDoubtfulAccountsDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Organization Consolidation And Presentation Of Financial Statements [Abstract] | Abstract | duration | us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract | |
| 2 | us-gaap:ValuationAndQualifyingAccountsDisclosureTable (terseLabel) | Table | duration | us-gaap:ValuationAndQualifyingAccountsDisclosureTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:ValuationAllowancesAndReservesTypeAxis (terseLabel) | Axis | duration | us-gaap:ValuationAllowancesAndReservesTypeAxis | |
| 6 | us-gaap:ValuationAllowancesAndReservesDomain (terseLabel) | Member | duration | us-gaap:ValuationAllowancesAndReservesDomain | |
| 7 | us-gaap:AllowanceForDoubtfulAccountsMember (terseLabel) | Member | duration | us-gaap:AllowanceForDoubtfulAccountsMember | |
| 8 | us-gaap:ValuationAndQualifyingAccountsDisclosureLineItems (terseLabel) | LineItems | duration | us-gaap:ValuationAndQualifyingAccountsDisclosureLineItems | |
| 9 | us-gaap:ValuationAllowancesAndReservesBalance (periodStartLabel) | Concept (Monetary) | instant | credit | us-gaap:ValuationAllowancesAndReservesBalance |
| 10 | msft:ValuationAllowancesAndReservesChargedToCostsAndOther (terseLabel) | Concept (Monetary) | duration | credit | msft:ValuationAllowancesAndReservesChargedToCostsAndOther |
| 11 | us-gaap:ValuationAllowancesAndReservesDeductions (negatedLabel) | Concept (Monetary) | duration | debit | us-gaap:ValuationAllowancesAndReservesDeductions |
| 12 | Balance, end of period | Concept (Monetary) | instant | credit | us-gaap:ValuationAllowancesAndReservesBalance |
| Model Structure | |
|---|---|
| Network |
100540 - Disclosure - Expected Impacts of Adoption of Standards Related to Revenue Recognition and Leases to Reported Results - (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureExpectedImpactsOfAdoptionOfStandardsRelatedToRevenueRecognitionAndLeasesToReportedResultsDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Accounting Policies [Abstract] | Abstract | duration | us-gaap:AccountingPoliciesAbstract | |
| 2 | us-gaap:NewAccountingPronouncementsOrChangeInAccountingPrincipleTable (terseLabel) | Table | duration | us-gaap:NewAccountingPronouncementsOrChangeInAccountingPrincipleTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:AdjustmentsForNewAccountingPronouncementsAxis (terseLabel) | Axis | duration | us-gaap:AdjustmentsForNewAccountingPronouncementsAxis | |
| 6 | us-gaap:TypeOfAdoptionMember (terseLabel) | Member | duration | us-gaap:TypeOfAdoptionMember | |
| 7 | New Revenue Standard Adjustment | Member | duration | us-gaap:AccountingStandardsUpdate201409Member | |
| 8 | New Lease Standard Adjustment | Member | duration | us-gaap:AccountingStandardsUpdate201602Member | |
| 9 | us-gaap:StatementScenarioAxis (terseLabel) | Axis | duration | us-gaap:StatementScenarioAxis | |
| 10 | us-gaap:ScenarioUnspecifiedDomain (terseLabel) | Member | duration | us-gaap:ScenarioUnspecifiedDomain | |
| 11 | us-gaap:ScenarioPlanMember (terseLabel) | Member | duration | us-gaap:ScenarioPlanMember | |
| 12 | us-gaap:NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems (terseLabel) | LineItems | duration | us-gaap:NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems | |
| 13 | Income statements: | Abstract | duration | us-gaap:IncomeStatementAbstract | |
| 14 | us-gaap:SalesRevenueNet (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:SalesRevenueNet |
| 15 | us-gaap:IncomeTaxExpenseBenefit (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:IncomeTaxExpenseBenefit |
| 16 | us-gaap:NetIncomeLoss (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:NetIncomeLoss |
| 17 | us-gaap:EarningsPerShareDiluted (terseLabel) | Concept (Per-Share) | duration | us-gaap:EarningsPerShareDiluted | |
| 18 | Balance sheets: | Abstract | duration | us-gaap:StatementOfFinancialPositionAbstract | |
| 19 | Accounts receivable, net | Concept (Monetary) | instant | debit | us-gaap:AccountsReceivableNetCurrent |
| 20 | us-gaap:OperatingLeaseRightOfUseAsset (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:OperatingLeaseRightOfUseAsset |
| 21 | us-gaap:OtherAssets (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:OtherAssets |
| 22 | us-gaap:DeferredRevenue (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:DeferredRevenue |
| 23 | us-gaap:DeferredTaxLiabilitiesNoncurrent (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:DeferredTaxLiabilitiesNoncurrent |
| 24 | us-gaap:OperatingLeaseLiability (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:OperatingLeaseLiability |
| 25 | us-gaap:OtherLiabilities (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:OtherLiabilities |
| 26 | Stockholders' equity | Concept (Monetary) | instant | credit | us-gaap:StockholdersEquity |
| Model Structure | |
|---|---|
| Network |
100550 - Disclosure - Basic and Diluted Earnings Per Share (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureBasicAndDilutedEarningsPerShareDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Earnings Per Share Basic And Diluted [Abstract] | Abstract | duration | us-gaap:EarningsPerShareBasicAndDilutedAbstract | |
| 2 | msft:ScheduleOfEarningsPerShareBasicAndDilutedByCommonClassTable (terseLabel) | Table | duration | msft:ScheduleOfEarningsPerShareBasicAndDilutedByCommonClassTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | msft:ScheduleOfEarningsPerShareBasicAndDilutedByCommonClassLineItems (terseLabel) | LineItems | duration | msft:ScheduleOfEarningsPerShareBasicAndDilutedByCommonClassLineItems | |
| 6 | Net income available for common shareholders (A) | Concept (Monetary) | duration | credit | us-gaap:NetIncomeLoss |
| 7 | Weighted average outstanding shares of common stock (B) | Concept (Shares) | duration | us-gaap:WeightedAverageNumberOfSharesOutstandingBasic | |
| 8 | us-gaap:IncrementalCommonSharesAttributableToShareBasedPaymentArrangements (terseLabel) | Concept (Shares) | duration | us-gaap:IncrementalCommonSharesAttributableToShareBasedPaymentArrangements | |
| 9 | Common stock and common stock equivalents (C) | Concept (Shares) | duration | us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding | |
| 10 | Earnings Per Share | Abstract | duration | us-gaap:EarningsPerShareAbstract | |
| 11 | us-gaap:EarningsPerShareBasic (verboseLabel) | Concept (Per-Share) | duration | us-gaap:EarningsPerShareBasic | |
| 12 | us-gaap:EarningsPerShareDiluted (verboseLabel) | Concept (Per-Share) | duration | us-gaap:EarningsPerShareDiluted |
| Model Structure | |
|---|---|
| Network |
100560 - Disclosure - Components of Other Income (Expense), Net (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureComponentsOfOtherIncomeExpenseNetDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Other Income And Expenses [Abstract] | Abstract | duration | us-gaap:OtherIncomeAndExpensesAbstract | |
| 2 | msft:OtherIncomeExpenseTable (terseLabel) | Table | duration | msft:OtherIncomeExpenseTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:ComponentOfOtherIncomeNonoperatingLineItems (terseLabel) | LineItems | duration | us-gaap:ComponentOfOtherIncomeNonoperatingLineItems | |
| 6 | us-gaap:InvestmentIncomeNet (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:InvestmentIncomeNet |
| 7 | us-gaap:InterestExpense (negatedLabel) | Concept (Monetary) | duration | debit | us-gaap:InterestExpense |
| 8 | us-gaap:GainLossOnInvestments (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:GainLossOnInvestments |
| 9 | us-gaap:GainLossOnDerivativeInstrumentsNetPretax (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:GainLossOnDerivativeInstrumentsNetPretax |
| 10 | us-gaap:ForeignCurrencyTransactionGainLossBeforeTax (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:ForeignCurrencyTransactionGainLossBeforeTax |
| 11 | us-gaap:OtherNonoperatingIncomeExpense (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:OtherNonoperatingIncomeExpense |
| 12 | Total | Concept (Monetary) | duration | credit | us-gaap:NonoperatingIncomeExpense |
| Model Structure | |
|---|---|
| Network |
100570 - Disclosure - Net Recognized Gains (Losses) on Investments (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureNetRecognizedGainsLossesOnInvestmentsDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Statement Of Income And Comprehensive Income [Abstract] | Abstract | duration | us-gaap:StatementOfIncomeAndComprehensiveIncomeAbstract | |
| 2 | us-gaap:ScheduleOfGainLossOnInvestmentsTable (terseLabel) | Table | duration | us-gaap:ScheduleOfGainLossOnInvestmentsTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:ScheduleOfGainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostIncomeStatementReportedAmountsSummaryLineItems (terseLabel) | LineItems | duration | us-gaap:ScheduleOfGainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostIncomeStatementReportedAmountsSummaryLineItems | |
| 6 | us-gaap:MarketableSecuritiesRealizedGainLossOtherThanTemporaryImpairmentsAmount (negatedLabel) | Concept (Monetary) | duration | debit | us-gaap:MarketableSecuritiesRealizedGainLossOtherThanTemporaryImpairmentsAmount |
| 7 | us-gaap:AvailableForSaleSecuritiesGrossRealizedGains (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:AvailableForSaleSecuritiesGrossRealizedGains |
| 8 | us-gaap:AvailableForSaleSecuritiesGrossRealizedLosses (negatedLabel) | Concept (Monetary) | duration | debit | us-gaap:AvailableForSaleSecuritiesGrossRealizedLosses |
| 9 | Total | Concept (Monetary) | duration | credit | us-gaap:GainLossOnInvestments |
| Model Structure | |
|---|---|
| Network |
100580 - Disclosure - Investment Components, Including Associated Derivatives (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureInvestmentComponentsIncludingAssociatedDerivativesDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Investments Debt And Equity Securities [Abstract] | Abstract | duration | us-gaap:InvestmentsDebtAndEquitySecuritiesAbstract | |
| 2 | msft:CashCashEquivalentsAndInvestmentsTable (terseLabel) | Table | duration | msft:CashCashEquivalentsAndInvestmentsTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:InvestmentTypeAxis (terseLabel) | Axis | duration | us-gaap:InvestmentTypeAxis | |
| 6 | us-gaap:InvestmentTypeCategorizationMember (terseLabel) | Member | duration | us-gaap:InvestmentTypeCategorizationMember | |
| 7 | us-gaap:CashMember (terseLabel) | Member | duration | us-gaap:CashMember | |
| 8 | us-gaap:MoneyMarketFundsMember (terseLabel) | Member | duration | us-gaap:MoneyMarketFundsMember | |
| 9 | us-gaap:CommercialPaperMember (terseLabel) | Member | duration | us-gaap:CommercialPaperMember | |
| 10 | us-gaap:CertificatesOfDepositMember (terseLabel) | Member | duration | us-gaap:CertificatesOfDepositMember | |
| 11 | us-gaap:USGovernmentAgenciesDebtSecuritiesMember (terseLabel) | Member | duration | us-gaap:USGovernmentAgenciesDebtSecuritiesMember | |
| 12 | us-gaap:ForeignGovernmentDebtSecuritiesMember (terseLabel) | Member | duration | us-gaap:ForeignGovernmentDebtSecuritiesMember | |
| 13 | us-gaap:AssetBackedSecuritiesMember (terseLabel) | Member | duration | us-gaap:AssetBackedSecuritiesMember | |
| 14 | us-gaap:CorporateDebtSecuritiesMember (terseLabel) | Member | duration | us-gaap:CorporateDebtSecuritiesMember | |
| 15 | us-gaap:USStatesAndPoliticalSubdivisionsMember (terseLabel) | Member | duration | us-gaap:USStatesAndPoliticalSubdivisionsMember | |
| 16 | us-gaap:EquitySecuritiesMember (terseLabel) | Member | duration | us-gaap:EquitySecuritiesMember | |
| 17 | msft:OtherSecurityInvestmentsMember (terseLabel) | Member | duration | msft:OtherSecurityInvestmentsMember | |
| 18 | msft:CashCashEquivalentsAndInvestmentsLineItems (terseLabel) | LineItems | duration | msft:CashCashEquivalentsAndInvestmentsLineItems | |
| 19 | us-gaap:AvailableForSaleSecuritiesAmortizedCost (totalLabel) | Concept (Monetary) | instant | debit | us-gaap:AvailableForSaleSecuritiesAmortizedCost |
| 20 | us-gaap:EquityMethodInvestmentAggregateCost (totalLabel) | Concept (Monetary) | instant | debit | us-gaap:EquityMethodInvestmentAggregateCost |
| 21 | us-gaap:Cash (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:Cash |
| 22 | us-gaap:AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax |
| 23 | us-gaap:AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax (negatedLabel) | Concept (Monetary) | instant | debit | us-gaap:AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax |
| 24 | us-gaap:AvailableForSaleSecurities (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:AvailableForSaleSecurities |
| 25 | us-gaap:EquityMethodInvestments (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:EquityMethodInvestments |
| 26 | us-gaap:CashAndCashEquivalentsAtCarryingValue (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:CashAndCashEquivalentsAtCarryingValue |
| 27 | Short-term Investments | Concept (Monetary) | instant | debit | us-gaap:AvailableForSaleSecuritiesCurrent |
| 28 | Equity and Other Investments | Concept (Monetary) | instant | debit | us-gaap:LongTermInvestments |
| Model Structure | |
|---|---|
| Network |
100590 - Disclosure - Investments - Cost Method - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureInvestmentsCostMethodAdditionalInformationDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Investments Debt And Equity Securities [Abstract] | Abstract | duration | us-gaap:InvestmentsDebtAndEquitySecuritiesAbstract | |
| 2 | us-gaap:ScheduleOfCostMethodInvestmentsTable (terseLabel) | Table | duration | us-gaap:ScheduleOfCostMethodInvestmentsTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:FairValueByMeasurementFrequencyAxis (terseLabel) | Axis | duration | us-gaap:FairValueByMeasurementFrequencyAxis | |
| 6 | us-gaap:FairValueMeasurementFrequencyDomain (terseLabel) | Member | duration | us-gaap:FairValueMeasurementFrequencyDomain | |
| 7 | us-gaap:FairValueMeasurementsNonrecurringMember (terseLabel) | Member | duration | us-gaap:FairValueMeasurementsNonrecurringMember | |
| 8 | us-gaap:ScheduleOfCostMethodInvestmentsLineItems (terseLabel) | LineItems | duration | us-gaap:ScheduleOfCostMethodInvestmentsLineItems | |
| 9 | us-gaap:CostMethodInvestments (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:CostMethodInvestments |
| Model Structure | |
|---|---|
| Network |
100600 - Disclosure - Investments - Secured Borrowings and Loaned Securities - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureInvestmentsSecuredBorrowingsAndLoanedSecuritiesAdditionalInformationDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Investments Debt And Equity Securities [Abstract] | Abstract | duration | us-gaap:InvestmentsDebtAndEquitySecuritiesAbstract | |
| 2 | invest:InvestmentTable (terseLabel) | Table | duration | invest:InvestmentTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:InvestmentTypeAxis (terseLabel) | Axis | duration | us-gaap:InvestmentTypeAxis | |
| 6 | us-gaap:InvestmentTypeCategorizationMember (terseLabel) | Member | duration | us-gaap:InvestmentTypeCategorizationMember | |
| 7 | U.S. Government and Agency Securities | Member | duration | us-gaap:USGovernmentAgenciesDebtSecuritiesMember | |
| 8 | us-gaap:CashMember (terseLabel) | Member | duration | us-gaap:CashMember | |
| 9 | invest:InvestmentLineItems (terseLabel) | LineItems | duration | invest:InvestmentLineItems | |
| 10 | us-gaap:SecuritiesReceivedAsCollateral (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:SecuritiesReceivedAsCollateral |
| Model Structure | |
|---|---|
| Network |
100610 - Disclosure - Unrealized Losses on Investments (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureUnrealizedLossesOnInvestmentsDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Investments Debt And Equity Securities [Abstract] | Abstract | duration | us-gaap:InvestmentsDebtAndEquitySecuritiesAbstract | |
| 2 | msft:InvestmentsUnrealizedLossPositionTable (terseLabel) | Table | duration | msft:InvestmentsUnrealizedLossPositionTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:MajorTypesOfDebtAndEquitySecuritiesAxis (terseLabel) | Axis | duration | us-gaap:MajorTypesOfDebtAndEquitySecuritiesAxis | |
| 6 | us-gaap:MajorTypesOfDebtAndEquitySecuritiesDomain (terseLabel) | Member | duration | us-gaap:MajorTypesOfDebtAndEquitySecuritiesDomain | |
| 7 | us-gaap:USGovernmentAgenciesDebtSecuritiesMember (terseLabel) | Member | duration | us-gaap:USGovernmentAgenciesDebtSecuritiesMember | |
| 8 | us-gaap:ForeignGovernmentDebtSecuritiesMember (terseLabel) | Member | duration | us-gaap:ForeignGovernmentDebtSecuritiesMember | |
| 9 | us-gaap:AssetBackedSecuritiesMember (terseLabel) | Member | duration | us-gaap:AssetBackedSecuritiesMember | |
| 10 | us-gaap:CorporateDebtSecuritiesMember (terseLabel) | Member | duration | us-gaap:CorporateDebtSecuritiesMember | |
| 11 | us-gaap:EquitySecuritiesMember (terseLabel) | Member | duration | us-gaap:EquitySecuritiesMember | |
| 12 | msft:InvestmentsUnrealizedLossPositionLineItems (terseLabel) | LineItems | duration | msft:InvestmentsUnrealizedLossPositionLineItems | |
| 13 | us-gaap:AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue |
| 14 | us-gaap:AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss (negatedLabel) | Concept (Monetary) | instant | debit | us-gaap:AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss |
| 15 | us-gaap:AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue |
| 16 | us-gaap:AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss (negatedLabel) | Concept (Monetary) | instant | debit | us-gaap:AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss |
| 17 | us-gaap:AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue (totalLabel) | Concept (Monetary) | instant | debit | us-gaap:AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue |
| 18 | us-gaap:AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss (negatedTotalLabel) | Concept (Monetary) | instant | debit | us-gaap:AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss |
| Model Structure | |
|---|---|
| Network |
100620 - Disclosure - Debt Investment Maturities (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDebtInvestmentMaturitiesDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Investments Debt And Equity Securities [Abstract] | Abstract | duration | us-gaap:InvestmentsDebtAndEquitySecuritiesAbstract | |
| 2 | msft:InvestmentsClassifiedByContractualMaturityDateTable (terseLabel) | Table | duration | msft:InvestmentsClassifiedByContractualMaturityDateTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | msft:InvestmentsClassifiedByContractualMaturityDateLineItems (terseLabel) | LineItems | duration | msft:InvestmentsClassifiedByContractualMaturityDateLineItems | |
| 6 | us-gaap:AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostBasisRollingMaturityAbstract (terseLabel) | Abstract | duration | us-gaap:AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostBasisRollingMaturityAbstract | |
| 7 | us-gaap:AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis |
| 8 | us-gaap:AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis |
| 9 | us-gaap:AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis |
| 10 | us-gaap:AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis |
| 11 | us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis (totalLabel) | Concept (Monetary) | instant | debit | us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis |
| 12 | us-gaap:AvailableForSaleSecuritiesDebtMaturitiesFairValueRollingMaturityAbstract (terseLabel) | Abstract | duration | us-gaap:AvailableForSaleSecuritiesDebtMaturitiesFairValueRollingMaturityAbstract | |
| 13 | us-gaap:AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue |
| 14 | us-gaap:AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue |
| 15 | us-gaap:AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue |
| 16 | us-gaap:AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue |
| 17 | us-gaap:AvailableForSaleSecuritiesDebtSecurities (totalLabel) | Concept (Monetary) | instant | debit | us-gaap:AvailableForSaleSecuritiesDebtSecurities |
| Model Structure | |
|---|---|
| Network |
100630 - Disclosure - Derivatives - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDerivativesAdditionalInformationDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Derivative Instruments And Hedging Activities Disclosure [Abstract] | Abstract | duration | us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract | |
| 2 | us-gaap:DerivativeTable (terseLabel) | Table | duration | us-gaap:DerivativeTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:PositionAxis (terseLabel) | Axis | duration | us-gaap:PositionAxis | |
| 6 | us-gaap:PositionDomain (terseLabel) | Member | duration | us-gaap:PositionDomain | |
| 7 | us-gaap:ShortMember (terseLabel) | Member | duration | us-gaap:ShortMember | |
| 8 | us-gaap:LongMember (terseLabel) | Member | duration | us-gaap:LongMember | |
| 9 | us-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipAxis (terseLabel) | Axis | duration | us-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipAxis | |
| 10 | us-gaap:HedgingRelationshipDomain (terseLabel) | Member | duration | us-gaap:HedgingRelationshipDomain | |
| 11 | us-gaap:CashFlowHedgingMember (terseLabel) | Member | duration | us-gaap:CashFlowHedgingMember | |
| 12 | us-gaap:FairValueHedgingMember (terseLabel) | Member | duration | us-gaap:FairValueHedgingMember | |
| 13 | us-gaap:DerivativeInstrumentRiskAxis (terseLabel) | Axis | duration | us-gaap:DerivativeInstrumentRiskAxis | |
| 14 | us-gaap:DerivativeContractTypeDomain (terseLabel) | Member | duration | us-gaap:DerivativeContractTypeDomain | |
| 15 | us-gaap:ForeignExchangeContractMember (terseLabel) | Member | duration | us-gaap:ForeignExchangeContractMember | |
| 16 | us-gaap:EquityContractMember (terseLabel) | Member | duration | us-gaap:EquityContractMember | |
| 17 | us-gaap:InterestRateContractMember (terseLabel) | Member | duration | us-gaap:InterestRateContractMember | |
| 18 | us-gaap:MortgageBackedSecuritiesMember (terseLabel) | Member | duration | us-gaap:MortgageBackedSecuritiesMember | |
| 19 | us-gaap:CreditRiskContractMember (terseLabel) | Member | duration | us-gaap:CreditRiskContractMember | |
| 20 | us-gaap:CommodityContractMember (terseLabel) | Member | duration | us-gaap:CommodityContractMember | |
| 21 | us-gaap:HedgingDesignationAxis (terseLabel) | Axis | duration | us-gaap:HedgingDesignationAxis | |
| 22 | us-gaap:HedgingDesignationDomain (terseLabel) | Member | duration | us-gaap:HedgingDesignationDomain | |
| 23 | us-gaap:NondesignatedMember (terseLabel) | Member | duration | us-gaap:NondesignatedMember | |
| 24 | us-gaap:DesignatedAsHedgingInstrumentMember (terseLabel) | Member | duration | us-gaap:DesignatedAsHedgingInstrumentMember | |
| 25 | us-gaap:LongtermDebtTypeAxis (terseLabel) | Axis | duration | us-gaap:LongtermDebtTypeAxis | |
| 26 | us-gaap:LongtermDebtTypeDomain (terseLabel) | Member | duration | us-gaap:LongtermDebtTypeDomain | |
| 27 | us-gaap:UnsecuredDebtMember (terseLabel) | Member | duration | us-gaap:UnsecuredDebtMember | |
| 28 | us-gaap:DerivativeLineItems (terseLabel) | LineItems | duration | us-gaap:DerivativeLineItems | |
| 29 | us-gaap:MaximumLengthOfTimeForeignCurrencyCashFlowHedge (terseLabel) | Concept (Duration) | duration | us-gaap:MaximumLengthOfTimeForeignCurrencyCashFlowHedge | |
| 30 | invest:DerivativeNotionalAmount (terseLabel) | Concept (Monetary) | instant | invest:DerivativeNotionalAmount | |
| 31 | msft:FinancialInstrumentCovenantMinimumLiquidityRequirement (terseLabel) | Concept (Monetary) | duration | debit | msft:FinancialInstrumentCovenantMinimumLiquidityRequirement |
| 32 | us-gaap:DebtInstrumentCreditRating (terseLabel) | Concept (String) | duration | us-gaap:DebtInstrumentCreditRating | |
| 33 | msft:FinancialInstrumentCovenantMinimumLiquidity (terseLabel) | Concept (Monetary) | instant | debit | msft:FinancialInstrumentCovenantMinimumLiquidity |
| 34 | us-gaap:ForeignCurrencyCashFlowHedgeGainLossToBeReclassifiedDuringNext12Months (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:ForeignCurrencyCashFlowHedgeGainLossToBeReclassifiedDuringNext12Months |
| Model Structure | |
|---|---|
| Network |
100640 - Disclosure - Fair Values of Derivative Instruments (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFairValuesOfDerivativeInstrumentsDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Derivative Instruments And Hedging Activities Disclosure [Abstract] | Abstract | duration | us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract | |
| 2 | us-gaap:FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable (terseLabel) | Table | duration | us-gaap:FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:HedgingDesignationAxis (terseLabel) | Axis | duration | us-gaap:HedgingDesignationAxis | |
| 6 | us-gaap:HedgingDesignationDomain (terseLabel) | Member | duration | us-gaap:HedgingDesignationDomain | |
| 7 | us-gaap:NondesignatedMember (terseLabel) | Member | duration | us-gaap:NondesignatedMember | |
| 8 | us-gaap:DesignatedAsHedgingInstrumentMember (terseLabel) | Member | duration | us-gaap:DesignatedAsHedgingInstrumentMember | |
| 9 | us-gaap:BalanceSheetLocationAxis (terseLabel) | Axis | duration | us-gaap:BalanceSheetLocationAxis | |
| 10 | us-gaap:BalanceSheetLocationDomain (terseLabel) | Member | duration | us-gaap:BalanceSheetLocationDomain | |
| 11 | us-gaap:ShortTermInvestmentsMember (terseLabel) | Member | duration | us-gaap:ShortTermInvestmentsMember | |
| 12 | us-gaap:OtherCurrentAssetsMember (terseLabel) | Member | duration | us-gaap:OtherCurrentAssetsMember | |
| 13 | msft:EquityAndOtherInvestmentsMember (terseLabel) | Member | duration | msft:EquityAndOtherInvestmentsMember | |
| 14 | us-gaap:OtherNoncurrentAssetsMember (terseLabel) | Member | duration | us-gaap:OtherNoncurrentAssetsMember | |
| 15 | us-gaap:OtherCurrentLiabilitiesMember (terseLabel) | Member | duration | us-gaap:OtherCurrentLiabilitiesMember | |
| 16 | us-gaap:OtherNoncurrentLiabilitiesMember (terseLabel) | Member | duration | us-gaap:OtherNoncurrentLiabilitiesMember | |
| 17 | us-gaap:DerivativeInstrumentRiskAxis (terseLabel) | Axis | duration | us-gaap:DerivativeInstrumentRiskAxis | |
| 18 | us-gaap:DerivativeContractTypeDomain (terseLabel) | Member | duration | us-gaap:DerivativeContractTypeDomain | |
| 19 | us-gaap:ForeignExchangeContractMember (terseLabel) | Member | duration | us-gaap:ForeignExchangeContractMember | |
| 20 | us-gaap:EquityContractMember (terseLabel) | Member | duration | us-gaap:EquityContractMember | |
| 21 | us-gaap:InterestRateContractMember (terseLabel) | Member | duration | us-gaap:InterestRateContractMember | |
| 22 | us-gaap:CreditRiskContractMember (terseLabel) | Member | duration | us-gaap:CreditRiskContractMember | |
| 23 | msft:BalanceSheetOffsettingEligibilityAxis (terseLabel) | Axis | duration | msft:BalanceSheetOffsettingEligibilityAxis | |
| 24 | msft:BalanceSheetOffsettingEligibilityDomain (terseLabel) | Member | duration | msft:BalanceSheetOffsettingEligibilityDomain | |
| 25 | msft:EligibleForOffsettingMember (terseLabel) | Member | duration | msft:EligibleForOffsettingMember | |
| 26 | us-gaap:DerivativesFairValueLineItems (terseLabel) | LineItems | duration | us-gaap:DerivativesFairValueLineItems | |
| 27 | us-gaap:DerivativeFairValueOfDerivativeAsset (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:DerivativeFairValueOfDerivativeAsset |
| 28 | us-gaap:DerivativeAssetFairValueGrossLiability (negatedLabel) | Concept (Monetary) | instant | credit | us-gaap:DerivativeAssetFairValueGrossLiability |
| 29 | msft:DerivativeAssetsNetAmountsPresentedInBalanceSheet (totalLabel) | Concept (Monetary) | instant | debit | msft:DerivativeAssetsNetAmountsPresentedInBalanceSheet |
| 30 | msft:DerivativeFairValueOfDerivativeAssetAmountNotOffset (terseLabel) | Concept (Monetary) | instant | debit | msft:DerivativeFairValueOfDerivativeAssetAmountNotOffset |
| 31 | us-gaap:DerivativeCollateralRightToReclaimCash (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:DerivativeCollateralRightToReclaimCash |
| 32 | msft:DerivativeAssetsPotentialNetAmountsNotPresentedInBalanceSheet (totalLabel) | Concept (Monetary) | instant | debit | msft:DerivativeAssetsPotentialNetAmountsNotPresentedInBalanceSheet |
| 33 | us-gaap:DerivativeFairValueOfDerivativeLiability (negatedLabel) | Concept (Monetary) | instant | credit | us-gaap:DerivativeFairValueOfDerivativeLiability |
| 34 | us-gaap:DerivativeLiabilityFairValueGrossAsset (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:DerivativeLiabilityFairValueGrossAsset |
| 35 | msft:DerivativeLiabilitiesNetAmountsPresentedInBalanceSheet (negatedTotalLabel) | Concept (Monetary) | instant | credit | msft:DerivativeLiabilitiesNetAmountsPresentedInBalanceSheet |
| 36 | msft:DerivativeFairValueOfDerivativeLiabilityAmountNotOffset (negatedLabel) | Concept (Monetary) | instant | credit | msft:DerivativeFairValueOfDerivativeLiabilityAmountNotOffset |
| 37 | us-gaap:DerivativeCollateralObligationToReturnCash (negatedLabel) | Concept (Monetary) | instant | credit | us-gaap:DerivativeCollateralObligationToReturnCash |
| 38 | msft:DerivativeLiabilitiesPotentialNetAmountsNotPresentedInBalanceSheet (negatedTotalLabel) | Concept (Monetary) | instant | credit | msft:DerivativeLiabilitiesPotentialNetAmountsNotPresentedInBalanceSheet |
| Model Structure | |
|---|---|
| Network |
100650 - Disclosure - Gains (Losses) on Fair Value Hedges and Related Hedged Items (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureGainsLossesOnFairValueHedgesAndRelatedHedgedItemsDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Derivative Instruments And Hedging Activities Disclosure [Abstract] | Abstract | duration | us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract | |
| 2 | us-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable (terseLabel) | Table | duration | us-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:DerivativeInstrumentRiskAxis (terseLabel) | Axis | duration | us-gaap:DerivativeInstrumentRiskAxis | |
| 6 | us-gaap:DerivativeContractTypeDomain (terseLabel) | Member | duration | us-gaap:DerivativeContractTypeDomain | |
| 7 | us-gaap:ForeignExchangeContractMember (terseLabel) | Member | duration | us-gaap:ForeignExchangeContractMember | |
| 8 | us-gaap:EquityContractMember (terseLabel) | Member | duration | us-gaap:EquityContractMember | |
| 9 | us-gaap:DerivativeInstrumentsGainLossLineItems (terseLabel) | LineItems | duration | us-gaap:DerivativeInstrumentsGainLossLineItems | |
| 10 | us-gaap:ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1 (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1 |
| 11 | us-gaap:ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1 (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1 |
| 12 | us-gaap:GainLossOnFairValueHedgeIneffectivenessNet (totalLabel) | Concept (Monetary) | duration | credit | us-gaap:GainLossOnFairValueHedgeIneffectivenessNet |
| 13 | us-gaap:GainLossFromComponentsExcludedFromAssessmentOfFairValueHedgeEffectivenessNet (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:GainLossFromComponentsExcludedFromAssessmentOfFairValueHedgeEffectivenessNet |
| Model Structure | |
|---|---|
| Network |
100660 - Disclosure - Gains (Losses) Related to Cash Flow Hedges (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureGainsLossesRelatedToCashFlowHedgesDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Derivative Instruments And Hedging Activities Disclosure [Abstract] | Abstract | duration | us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract | |
| 2 | us-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable (terseLabel) | Table | duration | us-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:HedgingDesignationAxis (terseLabel) | Axis | duration | us-gaap:HedgingDesignationAxis | |
| 6 | us-gaap:HedgingDesignationDomain (terseLabel) | Member | duration | us-gaap:HedgingDesignationDomain | |
| 7 | us-gaap:DesignatedAsHedgingInstrumentMember (terseLabel) | Member | duration | us-gaap:DesignatedAsHedgingInstrumentMember | |
| 8 | us-gaap:DerivativeInstrumentRiskAxis (terseLabel) | Axis | duration | us-gaap:DerivativeInstrumentRiskAxis | |
| 9 | us-gaap:DerivativeContractTypeDomain (terseLabel) | Member | duration | us-gaap:DerivativeContractTypeDomain | |
| 10 | us-gaap:ForeignExchangeContractMember (terseLabel) | Member | duration | us-gaap:ForeignExchangeContractMember | |
| 11 | us-gaap:DerivativeInstrumentsGainLossLineItems (terseLabel) | LineItems | duration | us-gaap:DerivativeInstrumentsGainLossLineItems | |
| 12 | msft:GainLossOnCashFlowHedgeEffectivenessNetAbstract (terseLabel) | Abstract | duration | msft:GainLossOnCashFlowHedgeEffectivenessNetAbstract | |
| 13 | us-gaap:OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax |
| 14 | us-gaap:ForeignCurrencyCashFlowHedgeGainLossReclassifiedToEarningsNet (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:ForeignCurrencyCashFlowHedgeGainLossReclassifiedToEarningsNet |
| 15 | us-gaap:DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNetAbstract (terseLabel) | Abstract | duration | us-gaap:DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNetAbstract | |
| 16 | us-gaap:DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNet (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNet |
| Model Structure | |
|---|---|
| Network |
100670 - Disclosure - Gains (Losses) Related to Cash Flow Hedges (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureGainsLossesRelatedToCashFlowHedgesParentheticalDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Derivative Instruments And Hedging Activities Disclosure [Abstract] | Abstract | duration | us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract | |
| 2 | us-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable (terseLabel) | Table | duration | us-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:HedgingDesignationAxis (terseLabel) | Axis | duration | us-gaap:HedgingDesignationAxis | |
| 6 | us-gaap:HedgingDesignationDomain (terseLabel) | Member | duration | us-gaap:HedgingDesignationDomain | |
| 7 | us-gaap:DesignatedAsHedgingInstrumentMember (terseLabel) | Member | duration | us-gaap:DesignatedAsHedgingInstrumentMember | |
| 8 | us-gaap:DerivativeInstrumentRiskAxis (terseLabel) | Axis | duration | us-gaap:DerivativeInstrumentRiskAxis | |
| 9 | us-gaap:DerivativeContractTypeDomain (terseLabel) | Member | duration | us-gaap:DerivativeContractTypeDomain | |
| 10 | us-gaap:ForeignExchangeContractMember (terseLabel) | Member | duration | us-gaap:ForeignExchangeContractMember | |
| 11 | us-gaap:DerivativeInstrumentsGainLossLineItems (terseLabel) | LineItems | duration | us-gaap:DerivativeInstrumentsGainLossLineItems | |
| 12 | us-gaap:OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodTax (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodTax |
| Model Structure | |
|---|---|
| Network |
100680 - Disclosure - Non-Designated Derivative Gains (Losses) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureNonDesignatedDerivativeGainsLossesDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Derivative Instruments And Hedging Activities Disclosure [Abstract] | Abstract | duration | us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract | |
| 2 | us-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable (terseLabel) | Table | duration | us-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:DerivativeInstrumentRiskAxis (terseLabel) | Axis | duration | us-gaap:DerivativeInstrumentRiskAxis | |
| 6 | us-gaap:DerivativeContractTypeDomain (terseLabel) | Member | duration | us-gaap:DerivativeContractTypeDomain | |
| 7 | us-gaap:ForeignExchangeContractMember (terseLabel) | Member | duration | us-gaap:ForeignExchangeContractMember | |
| 8 | us-gaap:EquityContractMember (terseLabel) | Member | duration | us-gaap:EquityContractMember | |
| 9 | us-gaap:InterestRateContractMember (terseLabel) | Member | duration | us-gaap:InterestRateContractMember | |
| 10 | us-gaap:CreditRiskContractMember (terseLabel) | Member | duration | us-gaap:CreditRiskContractMember | |
| 11 | us-gaap:CommodityContractMember (terseLabel) | Member | duration | us-gaap:CommodityContractMember | |
| 12 | us-gaap:DerivativeInstrumentsGainLossLineItems (terseLabel) | LineItems | duration | us-gaap:DerivativeInstrumentsGainLossLineItems | |
| 13 | us-gaap:DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet |
| Model Structure | |
|---|---|
| Network |
100690 - Disclosure - Financial Assets and Liabilities Measured at Fair Value on Recurring Basis (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Fair Value Disclosures [Abstract] | Abstract | duration | us-gaap:FairValueDisclosuresAbstract | |
| 2 | us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable (terseLabel) | Table | duration | us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:FairValueByLiabilityClassAxis (terseLabel) | Axis | duration | us-gaap:FairValueByLiabilityClassAxis | |
| 6 | us-gaap:FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain (terseLabel) | Member | duration | us-gaap:FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain | |
| 7 | us-gaap:DerivativeFinancialInstrumentsLiabilitiesMember (terseLabel) | Member | duration | us-gaap:DerivativeFinancialInstrumentsLiabilitiesMember | |
| 8 | msft:RightOfOffsetAndNettingAxis (terseLabel) | Axis | duration | msft:RightOfOffsetAndNettingAxis | |
| 9 | msft:RightOfOffsetAndNettingDomain (terseLabel) | Member | duration | msft:RightOfOffsetAndNettingDomain | |
| 10 | msft:GrossMember (terseLabel) | Member | duration | msft:GrossMember | |
| 11 | msft:NettingMember (terseLabel) | Member | duration | msft:NettingMember | |
| 12 | msft:NetMember (terseLabel) | Member | duration | msft:NetMember | |
| 13 | us-gaap:FairValueByAssetClassAxis (terseLabel) | Axis | duration | us-gaap:FairValueByAssetClassAxis | |
| 14 | us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain (terseLabel) | Member | duration | us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain | |
| 15 | us-gaap:MoneyMarketFundsMember (terseLabel) | Member | duration | us-gaap:MoneyMarketFundsMember | |
| 16 | us-gaap:CommercialPaperMember (terseLabel) | Member | duration | us-gaap:CommercialPaperMember | |
| 17 | us-gaap:CertificatesOfDepositMember (terseLabel) | Member | duration | us-gaap:CertificatesOfDepositMember | |
| 18 | us-gaap:USGovernmentAgenciesDebtSecuritiesMember (terseLabel) | Member | duration | us-gaap:USGovernmentAgenciesDebtSecuritiesMember | |
| 19 | us-gaap:ForeignGovernmentDebtSecuritiesMember (terseLabel) | Member | duration | us-gaap:ForeignGovernmentDebtSecuritiesMember | |
| 20 | us-gaap:AssetBackedSecuritiesMember (terseLabel) | Member | duration | us-gaap:AssetBackedSecuritiesMember | |
| 21 | us-gaap:CorporateDebtSecuritiesMember (terseLabel) | Member | duration | us-gaap:CorporateDebtSecuritiesMember | |
| 22 | us-gaap:USStatesAndPoliticalSubdivisionsMember (terseLabel) | Member | duration | us-gaap:USStatesAndPoliticalSubdivisionsMember | |
| 23 | us-gaap:EquitySecuritiesMember (terseLabel) | Member | duration | us-gaap:EquitySecuritiesMember | |
| 24 | us-gaap:DerivativeFinancialInstrumentsAssetsMember (terseLabel) | Member | duration | us-gaap:DerivativeFinancialInstrumentsAssetsMember | |
| 25 | us-gaap:FairValueByFairValueHierarchyLevelAxis (terseLabel) | Axis | duration | us-gaap:FairValueByFairValueHierarchyLevelAxis | |
| 26 | us-gaap:FairValueMeasurementsFairValueHierarchyDomain (terseLabel) | Member | duration | us-gaap:FairValueMeasurementsFairValueHierarchyDomain | |
| 27 | us-gaap:FairValueInputsLevel1Member (terseLabel) | Member | duration | us-gaap:FairValueInputsLevel1Member | |
| 28 | us-gaap:FairValueInputsLevel2Member (terseLabel) | Member | duration | us-gaap:FairValueInputsLevel2Member | |
| 29 | us-gaap:FairValueInputsLevel3Member (terseLabel) | Member | duration | us-gaap:FairValueInputsLevel3Member | |
| 30 | us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems (terseLabel) | LineItems | duration | us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems | |
| 31 | us-gaap:AssetsFairValueDisclosureRecurring (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:AssetsFairValueDisclosureRecurring |
| 32 | us-gaap:LiabilitiesFairValueDisclosureRecurring (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:LiabilitiesFairValueDisclosureRecurring |
| Model Structure | |
|---|---|
| Network |
100700 - Disclosure - Reconciliation of Total Assets Measured at Fair Value on Recurring Basis to Balance Sheet Presentation (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureReconciliationOfTotalAssetsMeasuredAtFairValueOnRecurringBasisToBalanceSheetPresentationDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Fair Value Disclosures [Abstract] | Abstract | duration | us-gaap:FairValueDisclosuresAbstract | |
| 2 | us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable (terseLabel) | Table | duration | us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:FairValueByMeasurementFrequencyAxis (terseLabel) | Axis | duration | us-gaap:FairValueByMeasurementFrequencyAxis | |
| 6 | us-gaap:FairValueMeasurementFrequencyDomain (terseLabel) | Member | duration | us-gaap:FairValueMeasurementFrequencyDomain | |
| 7 | us-gaap:FairValueMeasurementsRecurringMember (terseLabel) | Member | duration | us-gaap:FairValueMeasurementsRecurringMember | |
| 8 | us-gaap:FairValueMeasurementsNonrecurringMember (terseLabel) | Member | duration | us-gaap:FairValueMeasurementsNonrecurringMember | |
| 9 | us-gaap:BalanceSheetLocationAxis (terseLabel) | Axis | duration | us-gaap:BalanceSheetLocationAxis | |
| 10 | us-gaap:BalanceSheetLocationDomain (terseLabel) | Member | duration | us-gaap:BalanceSheetLocationDomain | |
| 11 | us-gaap:OtherAssetsMember (terseLabel) | Member | duration | us-gaap:OtherAssetsMember | |
| 12 | us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems (terseLabel) | LineItems | duration | us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems | |
| 13 | Net fair value of assets measured at fair value on a recurring basis | Concept (Monetary) | instant | debit | us-gaap:AssetsFairValueDisclosureRecurring |
| 14 | Cash | Concept (Monetary) | instant | debit | us-gaap:Cash |
| 15 | Common and preferred stock measured at fair value on a nonrecurring basis | Concept (Monetary) | instant | debit | us-gaap:CostMethodInvestments |
| 16 | Other investments measured at fair value on a nonrecurring basis | Concept (Monetary) | instant | debit | us-gaap:EquityMethodInvestments |
| 17 | us-gaap:DerivativeAssets (negatedLabel) | Concept (Monetary) | instant | debit | us-gaap:DerivativeAssets |
| 18 | us-gaap:OtherAssetsFairValueDisclosure (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:OtherAssetsFairValueDisclosure |
| 19 | Recorded basis of investment components | Concept (Monetary) | instant | debit | us-gaap:AvailableForSaleSecurities |
| Model Structure | |
|---|---|
| Network |
100710 - Disclosure - Components of Inventories (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureComponentsOfInventoriesDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Inventory Disclosure [Abstract] | Abstract | duration | us-gaap:InventoryDisclosureAbstract | |
| 2 | us-gaap:InventoryCurrentTable (terseLabel) | Table | duration | us-gaap:InventoryCurrentTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:InventoryLineItems (terseLabel) | LineItems | duration | us-gaap:InventoryLineItems | |
| 6 | us-gaap:InventoryRawMaterialsNetOfReserves (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:InventoryRawMaterialsNetOfReserves |
| 7 | us-gaap:InventoryWorkInProcessNetOfReserves (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:InventoryWorkInProcessNetOfReserves |
| 8 | us-gaap:InventoryFinishedGoodsNetOfReserves (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:InventoryFinishedGoodsNetOfReserves |
| 9 | Total | Concept (Monetary) | instant | debit | us-gaap:InventoryNet |
| Model Structure | |
|---|---|
| Network |
100720 - Disclosure - Components of Property and Equipment (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureComponentsOfPropertyAndEquipmentDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Property Plant And Equipment [Abstract] | Abstract | duration | us-gaap:PropertyPlantAndEquipmentAbstract | |
| 2 | us-gaap:ScheduleOfPropertyPlantAndEquipmentTable (terseLabel) | Table | duration | us-gaap:ScheduleOfPropertyPlantAndEquipmentTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:PropertyPlantAndEquipmentLineItems (terseLabel) | LineItems | duration | us-gaap:PropertyPlantAndEquipmentLineItems | |
| 6 | us-gaap:Land (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:Land |
| 7 | us-gaap:BuildingsAndImprovementsGross (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:BuildingsAndImprovementsGross |
| 8 | us-gaap:LeaseholdImprovementsGross (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:LeaseholdImprovementsGross |
| 9 | msft:ComputerHardwareAndSoftware (terseLabel) | Concept (Monetary) | instant | debit | msft:ComputerHardwareAndSoftware |
| 10 | us-gaap:FurnitureAndFixturesGross (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:FurnitureAndFixturesGross |
| 11 | us-gaap:PropertyPlantAndEquipmentGross (totalLabel) | Concept (Monetary) | instant | debit | us-gaap:PropertyPlantAndEquipmentGross |
| 12 | Accumulated depreciation | Concept (Monetary) | instant | credit | us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment |
| 13 | Total, net | Concept (Monetary) | instant | debit | us-gaap:PropertyPlantAndEquipmentNet |
| Model Structure | |
|---|---|
| Network |
100730 - Disclosure - Property and Equipment - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosurePropertyAndEquipmentAdditionalInformationDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Property Plant And Equipment [Abstract] | Abstract | duration | us-gaap:PropertyPlantAndEquipmentAbstract | |
| 2 | us-gaap:ScheduleOfPropertyPlantAndEquipmentTable (terseLabel) | Table | duration | us-gaap:ScheduleOfPropertyPlantAndEquipmentTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:PropertyPlantAndEquipmentLineItems (terseLabel) | LineItems | duration | us-gaap:PropertyPlantAndEquipmentLineItems | |
| 6 | us-gaap:CapitalLeasedAssetsGross (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:CapitalLeasedAssetsGross |
| 7 | us-gaap:CapitalLeasesLesseeBalanceSheetAssetsByMajorClassAccumulatedDeprecation (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:CapitalLeasesLesseeBalanceSheetAssetsByMajorClassAccumulatedDeprecation |
| 8 | us-gaap:CapitalLeaseObligationsIncurred (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:CapitalLeaseObligationsIncurred |
| 9 | us-gaap:Depreciation (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:Depreciation |
| Model Structure | |
|---|---|
| Network |
100740 - Disclosure - Business Combinations - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureBusinessCombinationsAdditionalInformationDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Business Combinations [Abstract] | Abstract | duration | us-gaap:BusinessCombinationsAbstract | |
| 2 | us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTable (terseLabel) | Table | duration | us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:BusinessAcquisitionAxis (terseLabel) | Axis | duration | us-gaap:BusinessAcquisitionAxis | |
| 6 | us-gaap:BusinessAcquisitionAcquireeDomain (terseLabel) | Member | duration | us-gaap:BusinessAcquisitionAcquireeDomain | |
| 7 | msft:LinkedInCorporationMember (terseLabel) | Member | duration | msft:LinkedInCorporationMember | |
| 8 | us-gaap:BusinessAcquisitionLineItems (terseLabel) | LineItems | duration | us-gaap:BusinessAcquisitionLineItems | |
| 9 | us-gaap:BusinessAcquisitionEffectiveDateOfAcquisition1 (terseLabel) | Concept (Date) | duration | us-gaap:BusinessAcquisitionEffectiveDateOfAcquisition1 | |
| 10 | us-gaap:BusinessAcquisitionNameOfAcquiredEntity (terseLabel) | Concept (String) | duration | us-gaap:BusinessAcquisitionNameOfAcquiredEntity | |
| 11 | us-gaap:BusinessCombinationConsiderationTransferred1 (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:BusinessCombinationConsiderationTransferred1 |
| 12 | us-gaap:PaymentsToAcquireBusinessesGross (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:PaymentsToAcquireBusinessesGross |
| Model Structure | |
|---|---|
| Network |
100750 - Disclosure - Major Classes of Assets and Liabilities to Which We Allocated the Purchase Price (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureMajorClassesOfAssetsAndLiabilitiesToWhichWeAllocatedPurchasePriceDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Business Combinations [Abstract] | Abstract | duration | us-gaap:BusinessCombinationsAbstract | |
| 2 | us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTable (terseLabel) | Table | duration | us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:BusinessAcquisitionAxis (terseLabel) | Axis | duration | us-gaap:BusinessAcquisitionAxis | |
| 6 | us-gaap:BusinessAcquisitionAcquireeDomain (terseLabel) | Member | duration | us-gaap:BusinessAcquisitionAcquireeDomain | |
| 7 | msft:LinkedInCorporationMember (terseLabel) | Member | duration | msft:LinkedInCorporationMember | |
| 8 | us-gaap:BusinessAcquisitionLineItems (terseLabel) | LineItems | duration | us-gaap:BusinessAcquisitionLineItems | |
| 9 | us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents |
| 10 | us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities |
| 11 | us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther |
| 12 | us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment |
| 13 | us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles (verboseLabel) | Concept (Monetary) | instant | debit | us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles |
| 14 | us-gaap:Goodwill (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:Goodwill |
| 15 | msft:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesShortTermDebt (negatedLabel) | Concept (Monetary) | instant | credit | msft:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesShortTermDebt |
| 16 | us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther (negatedLabel) | Concept (Monetary) | instant | credit | us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther |
| 17 | us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent (negatedLabel) | Concept (Monetary) | instant | credit | us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent |
| 18 | msft:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherLiabilitiesNet (negatedLabel) | Concept (Monetary) | instant | credit | msft:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherLiabilitiesNet |
| 19 | us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet (totalLabel) | Concept (Monetary) | instant | debit | us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet |
| Model Structure | |
|---|---|
| Network |
100760 - Disclosure - Major Classes of Assets and Liabilities to Which We Allocated the Purchase Price (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureMajorClassesOfAssetsAndLiabilitiesToWhichWeAllocatedPurchasePriceParentheticalDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Business Combinations [Abstract] | Abstract | duration | us-gaap:BusinessCombinationsAbstract | |
| 2 | us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTable (terseLabel) | Table | duration | us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:BusinessAcquisitionAxis (terseLabel) | Axis | duration | us-gaap:BusinessAcquisitionAxis | |
| 6 | us-gaap:BusinessAcquisitionAcquireeDomain (terseLabel) | Member | duration | us-gaap:BusinessAcquisitionAcquireeDomain | |
| 7 | msft:LinkedInCorporationMember (terseLabel) | Member | duration | msft:LinkedInCorporationMember | |
| 8 | us-gaap:BusinessAcquisitionLineItems (terseLabel) | LineItems | duration | us-gaap:BusinessAcquisitionLineItems | |
| 9 | us-gaap:BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount |
| 10 | us-gaap:DebtInstrumentFaceAmount (verboseLabel) | Concept (Monetary) | instant | credit | us-gaap:DebtInstrumentFaceAmount |
| Model Structure | |
|---|---|
| Network |
100770 - Disclosure - Acquired Intangible Assets (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureAcquiredIntangibleAssetsDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Business Combinations [Abstract] | Abstract | duration | us-gaap:BusinessCombinationsAbstract | |
| 2 | us-gaap:FiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTable (terseLabel) | Table | duration | us-gaap:FiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:BusinessAcquisitionAxis (terseLabel) | Axis | duration | us-gaap:BusinessAcquisitionAxis | |
| 6 | us-gaap:BusinessAcquisitionAcquireeDomain (terseLabel) | Member | duration | us-gaap:BusinessAcquisitionAcquireeDomain | |
| 7 | msft:LinkedInCorporationMember (terseLabel) | Member | duration | msft:LinkedInCorporationMember | |
| 8 | us-gaap:FiniteLivedIntangibleAssetsByMajorClassAxis (terseLabel) | Axis | duration | us-gaap:FiniteLivedIntangibleAssetsByMajorClassAxis | |
| 9 | us-gaap:FiniteLivedIntangibleAssetsMajorClassNameDomain (terseLabel) | Member | duration | us-gaap:FiniteLivedIntangibleAssetsMajorClassNameDomain | |
| 10 | us-gaap:CustomerRelationshipsMember (terseLabel) | Member | duration | us-gaap:CustomerRelationshipsMember | |
| 11 | us-gaap:MarketingRelatedIntangibleAssetsMember (terseLabel) | Member | duration | us-gaap:MarketingRelatedIntangibleAssetsMember | |
| 12 | us-gaap:TechnologyBasedIntangibleAssetsMember (terseLabel) | Member | duration | us-gaap:TechnologyBasedIntangibleAssetsMember | |
| 13 | us-gaap:ContractualRightsMember (terseLabel) | Member | duration | us-gaap:ContractualRightsMember | |
| 14 | us-gaap:AcquiredFiniteLivedIntangibleAssetsLineItems (terseLabel) | LineItems | duration | us-gaap:AcquiredFiniteLivedIntangibleAssetsLineItems | |
| 15 | Fair value of intangible assets acquired | Concept (Monetary) | instant | debit | us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles |
| 16 | us-gaap:AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife (terseLabel) | Concept (Duration) | duration | us-gaap:AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife |
| Model Structure | |
|---|---|
| Network |
100780 - Disclosure - Revenue and Operating Loss Attributable to Acquiree, Since the Date of Acquisition (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureRevenueAndOperatingLossAttributableToAcquireeSinceDateOfAcquisitionDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Business Combinations [Abstract] | Abstract | duration | us-gaap:BusinessCombinationsAbstract | |
| 2 | us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTable (terseLabel) | Table | duration | us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:BusinessAcquisitionAxis (terseLabel) | Axis | duration | us-gaap:BusinessAcquisitionAxis | |
| 6 | us-gaap:BusinessAcquisitionAcquireeDomain (terseLabel) | Member | duration | us-gaap:BusinessAcquisitionAcquireeDomain | |
| 7 | msft:LinkedInCorporationMember (terseLabel) | Member | duration | msft:LinkedInCorporationMember | |
| 8 | us-gaap:BusinessAcquisitionLineItems (terseLabel) | LineItems | duration | us-gaap:BusinessAcquisitionLineItems | |
| 9 | us-gaap:BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual |
| 10 | us-gaap:BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual |
| Model Structure | |
|---|---|
| Network |
100790 - Disclosure - Supplemental Consolidated Financial Results on Unaudited Pro Forma Basis, as If the Acquisition Had Been Consummated on Beginning of Period (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSupplementalConsolidatedFinancialResultsOnUnauditedProFormaBasisAsIfAcquisitionHadBeenConsummatedOnBeginningOfPeriodDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Business Combinations [Abstract] | Abstract | duration | us-gaap:BusinessCombinationsAbstract | |
| 2 | us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTable (terseLabel) | Table | duration | us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:BusinessAcquisitionAxis (terseLabel) | Axis | duration | us-gaap:BusinessAcquisitionAxis | |
| 6 | us-gaap:BusinessAcquisitionAcquireeDomain (terseLabel) | Member | duration | us-gaap:BusinessAcquisitionAcquireeDomain | |
| 7 | msft:LinkedInCorporationMember (terseLabel) | Member | duration | msft:LinkedInCorporationMember | |
| 8 | us-gaap:BusinessAcquisitionLineItems (terseLabel) | LineItems | duration | us-gaap:BusinessAcquisitionLineItems | |
| 9 | us-gaap:BusinessAcquisitionsProFormaRevenue (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:BusinessAcquisitionsProFormaRevenue |
| 10 | us-gaap:BusinessAcquisitionsProFormaNetIncomeLoss (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:BusinessAcquisitionsProFormaNetIncomeLoss |
| 11 | us-gaap:BusinessAcquisitionProFormaEarningsPerShareDiluted (terseLabel) | Concept (Per-Share) | duration | us-gaap:BusinessAcquisitionProFormaEarningsPerShareDiluted |
| Model Structure | |
|---|---|
| Network |
100800 - Disclosure - Carrying Amount of Goodwill (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureCarryingAmountOfGoodwillDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Goodwill And Intangible Assets Disclosure [Abstract] | Abstract | duration | us-gaap:GoodwillAndIntangibleAssetsDisclosureAbstract | |
| 2 | us-gaap:ScheduleOfGoodwillTable (terseLabel) | Table | duration | us-gaap:ScheduleOfGoodwillTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementBusinessSegmentsAxis (terseLabel) | Axis | duration | us-gaap:StatementBusinessSegmentsAxis | |
| 6 | us-gaap:SegmentDomain (terseLabel) | Member | duration | us-gaap:SegmentDomain | |
| 7 | msft:ProductivityAndBusinessProcessesMember (terseLabel) | Member | duration | msft:ProductivityAndBusinessProcessesMember | |
| 8 | msft:IntelligentCloudMember (terseLabel) | Member | duration | msft:IntelligentCloudMember | |
| 9 | msft:MorePersonalComputingMember (terseLabel) | Member | duration | msft:MorePersonalComputingMember | |
| 10 | us-gaap:GoodwillLineItems (terseLabel) | LineItems | duration | us-gaap:GoodwillLineItems | |
| 11 | us-gaap:Goodwill (periodStartLabel) | Concept (Monetary) | instant | debit | us-gaap:Goodwill |
| 12 | us-gaap:GoodwillAcquiredDuringPeriod (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:GoodwillAcquiredDuringPeriod |
| 13 | us-gaap:GoodwillOtherIncreaseDecrease (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:GoodwillOtherIncreaseDecrease |
| 14 | Ending Balance | Concept (Monetary) | instant | debit | us-gaap:Goodwill |
| Model Structure | |
|---|---|
| Network |
100810 - Disclosure - Goodwill - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureGoodwillAdditionalInformationDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Goodwill And Intangible Assets Disclosure [Abstract] | Abstract | duration | us-gaap:GoodwillAndIntangibleAssetsDisclosureAbstract | |
| 2 | us-gaap:ScheduleOfGoodwillTable (terseLabel) | Table | duration | us-gaap:ScheduleOfGoodwillTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementBusinessSegmentsAxis (terseLabel) | Axis | duration | us-gaap:StatementBusinessSegmentsAxis | |
| 6 | us-gaap:SegmentDomain (terseLabel) | Member | duration | us-gaap:SegmentDomain | |
| 7 | msft:PhoneHardwareMember (terseLabel) | Member | duration | msft:PhoneHardwareMember | |
| 8 | us-gaap:GoodwillLineItems (terseLabel) | LineItems | duration | us-gaap:GoodwillLineItems | |
| 9 | us-gaap:GoodwillImpairedAccumulatedImpairmentLoss (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:GoodwillImpairedAccumulatedImpairmentLoss |
| 10 | us-gaap:GoodwillImpairmentLoss (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:GoodwillImpairmentLoss |
| Model Structure | |
|---|---|
| Network |
100820 - Disclosure - Finite-Lived Intangible Assets (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFiniteLivedIntangibleAssetsDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Goodwill And Intangible Assets Disclosure [Abstract] | Abstract | duration | us-gaap:GoodwillAndIntangibleAssetsDisclosureAbstract | |
| 2 | us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTable (terseLabel) | Table | duration | us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:FiniteLivedIntangibleAssetsByMajorClassAxis (terseLabel) | Axis | duration | us-gaap:FiniteLivedIntangibleAssetsByMajorClassAxis | |
| 6 | us-gaap:FiniteLivedIntangibleAssetsMajorClassNameDomain (terseLabel) | Member | duration | us-gaap:FiniteLivedIntangibleAssetsMajorClassNameDomain | |
| 7 | us-gaap:TechnologyBasedIntangibleAssetsMember (terseLabel) | Member | duration | us-gaap:TechnologyBasedIntangibleAssetsMember | |
| 8 | Marketing-related | Member | duration | us-gaap:MarketingRelatedIntangibleAssetsMember | |
| 9 | us-gaap:ContractualRightsMember (terseLabel) | Member | duration | us-gaap:ContractualRightsMember | |
| 10 | us-gaap:CustomerRelationshipsMember (terseLabel) | Member | duration | us-gaap:CustomerRelationshipsMember | |
| 11 | us-gaap:FiniteLivedIntangibleAssetsLineItems (terseLabel) | LineItems | duration | us-gaap:FiniteLivedIntangibleAssetsLineItems | |
| 12 | us-gaap:FiniteLivedIntangibleAssetsGross (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:FiniteLivedIntangibleAssetsGross |
| 13 | us-gaap:FiniteLivedIntangibleAssetsAccumulatedAmortization (negatedLabel) | Concept (Monetary) | instant | credit | us-gaap:FiniteLivedIntangibleAssetsAccumulatedAmortization |
| 14 | Net Carrying Amount | Concept (Monetary) | instant | debit | us-gaap:FiniteLivedIntangibleAssetsNet |
| Model Structure | |
|---|---|
| Network |
100830 - Disclosure - Finite-Lived Intangible Assets (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFiniteLivedIntangibleAssetsParentheticalDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Goodwill And Intangible Assets Disclosure [Abstract] | Abstract | duration | us-gaap:GoodwillAndIntangibleAssetsDisclosureAbstract | |
| 2 | us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTable (terseLabel) | Table | duration | us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:FiniteLivedIntangibleAssetsByMajorClassAxis (terseLabel) | Axis | duration | us-gaap:FiniteLivedIntangibleAssetsByMajorClassAxis | |
| 6 | us-gaap:FiniteLivedIntangibleAssetsMajorClassNameDomain (terseLabel) | Member | duration | us-gaap:FiniteLivedIntangibleAssetsMajorClassNameDomain | |
| 7 | us-gaap:TechnologyBasedIntangibleAssetsMember (terseLabel) | Member | duration | us-gaap:TechnologyBasedIntangibleAssetsMember | |
| 8 | us-gaap:FiniteLivedIntangibleAssetsLineItems (terseLabel) | LineItems | duration | us-gaap:FiniteLivedIntangibleAssetsLineItems | |
| 9 | us-gaap:CapitalizedSoftwareDevelopmentCostsForSoftwareSoldToCustomers (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:CapitalizedSoftwareDevelopmentCostsForSoftwareSoldToCustomers |
| Model Structure | |
|---|---|
| Network |
100840 - Disclosure - Intangible Assets - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureIntangibleAssetsAdditionalInformationDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Goodwill And Intangible Assets Disclosure [Abstract] | Abstract | duration | us-gaap:GoodwillAndIntangibleAssetsDisclosureAbstract | |
| 2 | us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTable (terseLabel) | Table | duration | us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementBusinessSegmentsAxis (terseLabel) | Axis | duration | us-gaap:StatementBusinessSegmentsAxis | |
| 6 | us-gaap:SegmentDomain (terseLabel) | Member | duration | us-gaap:SegmentDomain | |
| 7 | msft:DevicesMember (terseLabel) | Member | duration | msft:DevicesMember | |
| 8 | msft:PhoneHardwareMember (terseLabel) | Member | duration | msft:PhoneHardwareMember | |
| 9 | us-gaap:FiniteLivedIntangibleAssetsLineItems (terseLabel) | LineItems | duration | us-gaap:FiniteLivedIntangibleAssetsLineItems | |
| 10 | us-gaap:ImpairmentOfIntangibleAssetsFinitelived (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:ImpairmentOfIntangibleAssetsFinitelived |
| 11 | us-gaap:AmortizationOfIntangibleAssets (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:AmortizationOfIntangibleAssets |
| 12 | us-gaap:CapitalizedComputerSoftwareAmortization1 (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:CapitalizedComputerSoftwareAmortization1 |
| Model Structure | |
|---|---|
| Network |
100850 - Disclosure - Intangible Assets Acquired (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureIntangibleAssetsAcquiredDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Goodwill And Intangible Assets Disclosure [Abstract] | Abstract | duration | us-gaap:GoodwillAndIntangibleAssetsDisclosureAbstract | |
| 2 | us-gaap:ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable (terseLabel) | Table | duration | us-gaap:ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:FiniteLivedIntangibleAssetsByMajorClassAxis (terseLabel) | Axis | duration | us-gaap:FiniteLivedIntangibleAssetsByMajorClassAxis | |
| 6 | us-gaap:FiniteLivedIntangibleAssetsMajorClassNameDomain (terseLabel) | Member | duration | us-gaap:FiniteLivedIntangibleAssetsMajorClassNameDomain | |
| 7 | us-gaap:CustomerRelationshipsMember (terseLabel) | Member | duration | us-gaap:CustomerRelationshipsMember | |
| 8 | us-gaap:TechnologyBasedIntangibleAssetsMember (terseLabel) | Member | duration | us-gaap:TechnologyBasedIntangibleAssetsMember | |
| 9 | Marketing-related | Member | duration | us-gaap:MarketingRelatedIntangibleAssetsMember | |
| 10 | us-gaap:ContractualRightsMember (terseLabel) | Member | duration | us-gaap:ContractualRightsMember | |
| 11 | us-gaap:AcquiredFiniteLivedIntangibleAssetsLineItems (terseLabel) | LineItems | duration | us-gaap:AcquiredFiniteLivedIntangibleAssetsLineItems | |
| 12 | msft:AcquiredFiniteLivedIntangibleAssets (terseLabel) | Concept (Monetary) | duration | debit | msft:AcquiredFiniteLivedIntangibleAssets |
| 13 | us-gaap:AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife (terseLabel) | Concept (Duration) | duration | us-gaap:AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife |
| Model Structure | |
|---|---|
| Network |
100860 - Disclosure - Estimated Future Amortization Expense Related to Intangible Assets (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEstimatedFutureAmortizationExpenseRelatedToIntangibleAssetsDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Goodwill And Intangible Assets Disclosure [Abstract] | Abstract | duration | us-gaap:GoodwillAndIntangibleAssetsDisclosureAbstract | |
| 2 | us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTable (terseLabel) | Table | duration | us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:FiniteLivedIntangibleAssetsLineItems (terseLabel) | LineItems | duration | us-gaap:FiniteLivedIntangibleAssetsLineItems | |
| 6 | us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths |
| 7 | us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo |
| 8 | us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseYearThree (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseYearThree |
| 9 | us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseYearFour (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseYearFour |
| 10 | us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseYearFive (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseYearFive |
| 11 | us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive |
| 12 | Net Carrying Amount | Concept (Monetary) | instant | debit | us-gaap:FiniteLivedIntangibleAssetsNet |
| Model Structure | |
|---|---|
| Network |
100870 - Disclosure - Debt - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDebtAdditionalInformationDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Debt Disclosure [Abstract] | Abstract | duration | us-gaap:DebtDisclosureAbstract | |
| 2 | us-gaap:DebtInstrumentTable (terseLabel) | Table | duration | us-gaap:DebtInstrumentTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:ShortTermDebtTypeAxis (terseLabel) | Axis | duration | us-gaap:ShortTermDebtTypeAxis | |
| 6 | us-gaap:ShortTermDebtTypeDomain (terseLabel) | Member | duration | us-gaap:ShortTermDebtTypeDomain | |
| 7 | us-gaap:CommercialPaperMember (terseLabel) | Member | duration | us-gaap:CommercialPaperMember | |
| 8 | us-gaap:RangeAxis (terseLabel) | Axis | duration | us-gaap:RangeAxis | |
| 9 | us-gaap:RangeMember (terseLabel) | Member | duration | us-gaap:RangeMember | |
| 10 | Lower Limit | Member | duration | us-gaap:MinimumMember | |
| 11 | Upper Limit | Member | duration | us-gaap:MaximumMember | |
| 12 | us-gaap:DebtInstrumentAxis (terseLabel) | Axis | duration | us-gaap:DebtInstrumentAxis | |
| 13 | us-gaap:DebtInstrumentNameDomain (terseLabel) | Member | duration | us-gaap:DebtInstrumentNameDomain | |
| 14 | msft:CreditFacilityExpireOnOctoberThirtyOneTwentySeventeenMember (terseLabel) | Member | duration | msft:CreditFacilityExpireOnOctoberThirtyOneTwentySeventeenMember | |
| 15 | msft:CreditFacilityExpireOnNovemberFourteenTwentyEighteenMember (terseLabel) | Member | duration | msft:CreditFacilityExpireOnNovemberFourteenTwentyEighteenMember | |
| 16 | us-gaap:DebtInstrumentLineItems (terseLabel) | LineItems | duration | us-gaap:DebtInstrumentLineItems | |
| 17 | us-gaap:CommercialPaper (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:CommercialPaper |
| 18 | us-gaap:ShortTermDebtWeightedAverageInterestRate (terseLabel) | Concept (Percent) | instant | us-gaap:ShortTermDebtWeightedAverageInterestRate | |
| 19 | us-gaap:DebtInstrumentTerm (terseLabel) | Concept (Duration) | duration | us-gaap:DebtInstrumentTerm | |
| 20 | us-gaap:LineOfCreditFacilityMaximumBorrowingCapacity (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:LineOfCreditFacilityMaximumBorrowingCapacity |
| 21 | us-gaap:LineOfCreditFacilityExpirationDate1 (terseLabel) | Concept (Date) | duration | us-gaap:LineOfCreditFacilityExpirationDate1 | |
| 22 | us-gaap:LineOfCreditFacilityCovenantCompliance (terseLabel) | Concept (String) | duration | us-gaap:LineOfCreditFacilityCovenantCompliance | |
| 23 | us-gaap:ProceedsFromLinesOfCredit (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:ProceedsFromLinesOfCredit |
| 24 | us-gaap:LongTermDebt (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:LongTermDebt |
| 25 | us-gaap:LongTermDebtFairValue (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:LongTermDebtFairValue |
| 26 | us-gaap:InterestPaid (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:InterestPaid |
| 27 | us-gaap:DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet |
| Model Structure | |
|---|---|
| Network |
100880 - Disclosure - Long-term Debt (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureLongTermDebtDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Debt Disclosure [Abstract] | Abstract | duration | us-gaap:DebtDisclosureAbstract | |
| 2 | us-gaap:DebtInstrumentTable (terseLabel) | Table | duration | us-gaap:DebtInstrumentTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:DebtInstrumentAxis (terseLabel) | Axis | duration | us-gaap:DebtInstrumentAxis | |
| 6 | us-gaap:DebtInstrumentNameDomain (terseLabel) | Member | duration | us-gaap:DebtInstrumentNameDomain | |
| 7 | msft:NotesZeroPointEightSevenFivePercentDueNovemberFifteenTwentySeventeenMember (terseLabel) | Member | duration | msft:NotesZeroPointEightSevenFivePercentDueNovemberFifteenTwentySeventeenMember | |
| 8 | msft:NotesOnePointZeroPercentDueMayOneTwentyEighteenMember (terseLabel) | Member | duration | msft:NotesOnePointZeroPercentDueMayOneTwentyEighteenMember | |
| 9 | msft:NotesOnePointThreeZeroPercentDueNovemberThreeTwentyEighteenMember (terseLabel) | Member | duration | msft:NotesOnePointThreeZeroPercentDueNovemberThreeTwentyEighteenMember | |
| 10 | msft:NotesOnePointSixTwoFivePercentDueDecemberSixTwentyEighteenMember (terseLabel) | Member | duration | msft:NotesOnePointSixTwoFivePercentDueDecemberSixTwentyEighteenMember | |
| 11 | msft:NotesFourPointTwoPercentDueJuneOneTwentyNineteenMember (terseLabel) | Member | duration | msft:NotesFourPointTwoPercentDueJuneOneTwentyNineteenMember | |
| 12 | msft:NotesOnePointOnePercentDueAugustEightTwentyNineteenMember (terseLabel) | Member | duration | msft:NotesOnePointOnePercentDueAugustEightTwentyNineteenMember | |
| 13 | msft:NotesZeroPointFivePercentDueNovemberOneTwentyNineteenMember (terseLabel) | Member | duration | msft:NotesZeroPointFivePercentDueNovemberOneTwentyNineteenMember | |
| 14 | msft:NotesOnePointEightFivePercentDueFebruarySixTwentyTwentyMember (terseLabel) | Member | duration | msft:NotesOnePointEightFivePercentDueFebruarySixTwentyTwentyMember | |
| 15 | msft:NotesOnePointEightFivePercentDueFebruaryTwelveTwentyTwentyMember (terseLabel) | Member | duration | msft:NotesOnePointEightFivePercentDueFebruaryTwelveTwentyTwentyMember | |
| 16 | msft:NotesThreePointZeroPercentDueOctoberOneTwentyTwentyMember (terseLabel) | Member | duration | msft:NotesThreePointZeroPercentDueOctoberOneTwentyTwentyMember | |
| 17 | msft:NotesTwoPointZeroPercentDueNovemberThreeTwentyTwentyMember (terseLabel) | Member | duration | msft:NotesTwoPointZeroPercentDueNovemberThreeTwentyTwentyMember | |
| 18 | msft:NotesFourPointZeroPercentDueFebruaryEightTwentyTwentyOneMember (terseLabel) | Member | duration | msft:NotesFourPointZeroPercentDueFebruaryEightTwentyTwentyOneMember | |
| 19 | msft:NotesOnePointFiveFivePercentDueAugustEightTwentyTwentyOneMember (terseLabel) | Member | duration | msft:NotesOnePointFiveFivePercentDueAugustEightTwentyTwentyOneMember | |
| 20 | msft:NotesTwoPointOneTwoFivePercentDueDecemberSixTwentyTwentyOneMember (terseLabel) | Member | duration | msft:NotesTwoPointOneTwoFivePercentDueDecemberSixTwentyTwentyOneMember | |
| 21 | msft:NotesTwoPointFourPercentDueFebruarySixTwentyTwentyTwoMember (terseLabel) | Member | duration | msft:NotesTwoPointFourPercentDueFebruarySixTwentyTwentyTwoMember | |
| 22 | msft:NotesTwoPointThreeSevenFivePercentDueFebruaryTwelveTwentyTwentyTwoMember (terseLabel) | Member | duration | msft:NotesTwoPointThreeSevenFivePercentDueFebruaryTwelveTwentyTwentyTwoMember | |
| 23 | msft:NotesTwoPointSixFivePercentDueNovemberThreeTwentyTwentyTwoMember (terseLabel) | Member | duration | msft:NotesTwoPointSixFivePercentDueNovemberThreeTwentyTwentyTwoMember | |
| 24 | msft:NotesTwoPointOneTwoFivePercentDueNovemberFifteenTwentyTwentyTwoMember (terseLabel) | Member | duration | msft:NotesTwoPointOneTwoFivePercentDueNovemberFifteenTwentyTwentyTwoMember | |
| 25 | msft:NotesTwoPointThreeSevenFivePercentDueMayOneTwentyTwentyThreeMember (terseLabel) | Member | duration | msft:NotesTwoPointThreeSevenFivePercentDueMayOneTwentyTwentyThreeMember | |
| 26 | msft:NotesTwoPointZeroPercentDueAugustEightTwentyTwentyThreeMember (terseLabel) | Member | duration | msft:NotesTwoPointZeroPercentDueAugustEightTwentyTwentyThreeMember | |
| 27 | msft:NotesThreePointSixTwoFivePercentDueDecemberFifteenTwentyTwentyThreeMember (terseLabel) | Member | duration | msft:NotesThreePointSixTwoFivePercentDueDecemberFifteenTwentyTwentyThreeMember | |
| 28 | msft:NotesTwoPointEightSevenFivePercentDueFebruarySixTwentyTwentyFourMember (terseLabel) | Member | duration | msft:NotesTwoPointEightSevenFivePercentDueFebruarySixTwentyTwentyFourMember | |
| 29 | msft:NotesTwoPointSevenPercentDueFebruaryTwelveTwentyTwentyFiveMember (terseLabel) | Member | duration | msft:NotesTwoPointSevenPercentDueFebruaryTwelveTwentyTwentyFiveMember | |
| 30 | msft:NotesThreePointOneTwoFivePercentDueNovemberThreeTwentyTwentyFiveMember (terseLabel) | Member | duration | msft:NotesThreePointOneTwoFivePercentDueNovemberThreeTwentyTwentyFiveMember | |
| 31 | msft:NotesTwoPointFourPercentDueAugustEightTwentyTwentySixMember (terseLabel) | Member | duration | msft:NotesTwoPointFourPercentDueAugustEightTwentyTwentySixMember | |
| 32 | msft:NotesThreePointThreePercentDueFebruarySixTwentyTwentySevenMember (terseLabel) | Member | duration | msft:NotesThreePointThreePercentDueFebruarySixTwentyTwentySevenMember | |
| 33 | msft:NotesThreePointOneTwoFivePercentDueDecemberSixTwentyTwentyEightMember (terseLabel) | Member | duration | msft:NotesThreePointOneTwoFivePercentDueDecemberSixTwentyTwentyEightMember | |
| 34 | msft:NotesTwoPointSixTwoFivePercentDueMayTwoTwentyThirtyThreeMember (terseLabel) | Member | duration | msft:NotesTwoPointSixTwoFivePercentDueMayTwoTwentyThirtyThreeMember | |
| 35 | msft:NotesThreePointFivePercentDueFebruaryTwelveTwentyThirtyFiveMember (terseLabel) | Member | duration | msft:NotesThreePointFivePercentDueFebruaryTwelveTwentyThirtyFiveMember | |
| 36 | msft:NotesFourPointTwoPercentDueNovemberThreeTwentyThirtyFiveMember (terseLabel) | Member | duration | msft:NotesFourPointTwoPercentDueNovemberThreeTwentyThirtyFiveMember | |
| 37 | msft:NotesThreePointFourFivePercentDueAugustEightTwentyThirtySixMember (terseLabel) | Member | duration | msft:NotesThreePointFourFivePercentDueAugustEightTwentyThirtySixMember | |
| 38 | msft:NotesFourPointOnePercentDueFebruarySixTwentyThirtySevenMember (terseLabel) | Member | duration | msft:NotesFourPointOnePercentDueFebruarySixTwentyThirtySevenMember | |
| 39 | msft:NotesFivePointTwoPercentDueJuneOneTwentyThirtyNineMember (terseLabel) | Member | duration | msft:NotesFivePointTwoPercentDueJuneOneTwentyThirtyNineMember | |
| 40 | msft:NotesFourPointFivePercentDueOctoberOneTwentyFortyMember (terseLabel) | Member | duration | msft:NotesFourPointFivePercentDueOctoberOneTwentyFortyMember | |
| 41 | msft:NotesFivePointThreePercentDueFebruaryEightTwentyFortyOneMember (terseLabel) | Member | duration | msft:NotesFivePointThreePercentDueFebruaryEightTwentyFortyOneMember | |
| 42 | msft:NotesThreePointFivePercentDueNovemberFifteenTwentyFortyTwoMember (terseLabel) | Member | duration | msft:NotesThreePointFivePercentDueNovemberFifteenTwentyFortyTwoMember | |
| 43 | msft:NotesThreePointSevenFivePercentDueMayOneTwentyFortyThreeMember (terseLabel) | Member | duration | msft:NotesThreePointSevenFivePercentDueMayOneTwentyFortyThreeMember | |
| 44 | msft:NotesFourPointEightSevenFivePercentDueDecemberFifteenTwentyFortyThreeMember (terseLabel) | Member | duration | msft:NotesFourPointEightSevenFivePercentDueDecemberFifteenTwentyFortyThreeMember | |
| 45 | msft:NotesThreePointSevenFivePercentDueFebruaryTwelveTwentyFortyFiveMember (terseLabel) | Member | duration | msft:NotesThreePointSevenFivePercentDueFebruaryTwelveTwentyFortyFiveMember | |
| 46 | msft:NotesFourPointFourFivePercentDueNovemberThreeTwentyFortyFiveMember (terseLabel) | Member | duration | msft:NotesFourPointFourFivePercentDueNovemberThreeTwentyFortyFiveMember | |
| 47 | msft:NotesThreePointSevenPercentDueAugustEightTwentyFortySixMember (terseLabel) | Member | duration | msft:NotesThreePointSevenPercentDueAugustEightTwentyFortySixMember | |
| 48 | msft:NotesFourPointTwoFivePercentDueFebruarySixTwentyFortySevenMember (terseLabel) | Member | duration | msft:NotesFourPointTwoFivePercentDueFebruarySixTwentyFortySevenMember | |
| 49 | msft:NotesFourPercentDueFebruaryTwelveTwentyFiftyFiveMember (terseLabel) | Member | duration | msft:NotesFourPercentDueFebruaryTwelveTwentyFiftyFiveMember | |
| 50 | msft:NotesFourPointSevenFivePercentDueNovemberThreeTwentyFiftyFiveMember (terseLabel) | Member | duration | msft:NotesFourPointSevenFivePercentDueNovemberThreeTwentyFiftyFiveMember | |
| 51 | msft:NotesThreePointNineFivePercentDueAugustEightTwentyFiftySixMember (terseLabel) | Member | duration | msft:NotesThreePointNineFivePercentDueAugustEightTwentyFiftySixMember | |
| 52 | msft:NotesFourPointFivePercentDueFebruarySixTwentyFiftySevenMember (terseLabel) | Member | duration | msft:NotesFourPointFivePercentDueFebruarySixTwentyFiftySevenMember | |
| 53 | us-gaap:DebtInstrumentLineItems (terseLabel) | LineItems | duration | us-gaap:DebtInstrumentLineItems | |
| 54 | us-gaap:DebtInstrumentMaturityDate (terseLabel) | Concept (Date) | duration | us-gaap:DebtInstrumentMaturityDate | |
| 55 | us-gaap:DebtInstrumentFaceAmount (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:DebtInstrumentFaceAmount |
| 56 | us-gaap:DebtInstrumentInterestRateStatedPercentage (terseLabel) | Concept (Percent) | instant | us-gaap:DebtInstrumentInterestRateStatedPercentage | |
| 57 | us-gaap:DebtInstrumentInterestRateEffectivePercentage (terseLabel) | Concept (Percent) | instant | us-gaap:DebtInstrumentInterestRateEffectivePercentage |
| Model Structure | |
|---|---|
| Network |
100890 - Disclosure - Long-term Debt (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureLongTermDebtParentheticalDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Debt Disclosure [Abstract] | Abstract | duration | us-gaap:DebtDisclosureAbstract | |
| 2 | us-gaap:DebtInstrumentTable (terseLabel) | Table | duration | us-gaap:DebtInstrumentTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:DebtInstrumentAxis (terseLabel) | Axis | duration | us-gaap:DebtInstrumentAxis | |
| 6 | us-gaap:DebtInstrumentNameDomain (terseLabel) | Member | duration | us-gaap:DebtInstrumentNameDomain | |
| 7 | msft:USDDebtIssuedInPeriodMember (terseLabel) | Member | duration | msft:USDDebtIssuedInPeriodMember | |
| 8 | us-gaap:DebtInstrumentLineItems (terseLabel) | LineItems | duration | us-gaap:DebtInstrumentLineItems | |
| 9 | us-gaap:DebtInstrumentFaceAmount (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:DebtInstrumentFaceAmount |
| Model Structure | |
|---|---|
| Network |
100900 - Disclosure - Maturities of Long-term Debt (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureMaturitiesOfLongTermDebtDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Debt Disclosure [Abstract] | Abstract | duration | us-gaap:DebtDisclosureAbstract | |
| 2 | us-gaap:DebtInstrumentTable (terseLabel) | Table | duration | us-gaap:DebtInstrumentTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:DebtInstrumentLineItems (terseLabel) | LineItems | duration | us-gaap:DebtInstrumentLineItems | |
| 6 | us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths |
| 7 | us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo |
| 8 | us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree |
| 9 | us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour |
| 10 | us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive |
| 11 | us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive |
| 12 | Total | Concept (Monetary) | instant | credit | us-gaap:DebtInstrumentFaceAmount |
| Model Structure | |
|---|---|
| Network |
100910 - Disclosure - Provision for Income Taxes (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureProvisionForIncomeTaxesDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Income Tax Disclosure [Abstract] | Abstract | duration | us-gaap:IncomeTaxDisclosureAbstract | |
| 2 | msft:ReconciliationOfProvisionOfIncomeTaxesTable (terseLabel) | Table | duration | msft:ReconciliationOfProvisionOfIncomeTaxesTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | msft:ReconciliationOfProvisionOfIncomeTaxesLineItems (terseLabel) | LineItems | duration | msft:ReconciliationOfProvisionOfIncomeTaxesLineItems | |
| 6 | us-gaap:CurrentIncomeTaxExpenseBenefitContinuingOperationsAbstract (terseLabel) | Abstract | duration | us-gaap:CurrentIncomeTaxExpenseBenefitContinuingOperationsAbstract | |
| 7 | us-gaap:CurrentFederalTaxExpenseBenefit (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:CurrentFederalTaxExpenseBenefit |
| 8 | us-gaap:CurrentStateAndLocalTaxExpenseBenefit (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:CurrentStateAndLocalTaxExpenseBenefit |
| 9 | us-gaap:CurrentForeignTaxExpenseBenefit (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:CurrentForeignTaxExpenseBenefit |
| 10 | us-gaap:CurrentIncomeTaxExpenseBenefit (totalLabel) | Concept (Monetary) | duration | debit | us-gaap:CurrentIncomeTaxExpenseBenefit |
| 11 | us-gaap:DeferredIncomeTaxExpenseBenefitContinuingOperationsAbstract (terseLabel) | Abstract | duration | us-gaap:DeferredIncomeTaxExpenseBenefitContinuingOperationsAbstract | |
| 12 | Deferred taxes | Concept (Monetary) | duration | debit | us-gaap:DeferredIncomeTaxExpenseBenefit |
| 13 | Provision for income taxes | Concept (Monetary) | duration | debit | us-gaap:IncomeTaxExpenseBenefit |
| Model Structure | |
|---|---|
| Network |
100920 - Disclosure - Income Taxes - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Income Tax Disclosure [Abstract] | Abstract | duration | us-gaap:IncomeTaxDisclosureAbstract | |
| 2 | msft:IncomeTaxesTable (terseLabel) | Table | duration | msft:IncomeTaxesTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementBusinessSegmentsAxis (terseLabel) | Axis | duration | us-gaap:StatementBusinessSegmentsAxis | |
| 6 | us-gaap:SegmentDomain (terseLabel) | Member | duration | us-gaap:SegmentDomain | |
| 7 | msft:PhoneBusinessMember (terseLabel) | Member | duration | msft:PhoneBusinessMember | |
| 8 | us-gaap:IncomeStatementLocationAxis (terseLabel) | Axis | duration | us-gaap:IncomeStatementLocationAxis | |
| 9 | us-gaap:IncomeStatementLocationDomain (terseLabel) | Member | duration | us-gaap:IncomeStatementLocationDomain | |
| 10 | msft:ImpairmentIntegrationAndRestructuringExpensesMember (terseLabel) | Member | duration | msft:ImpairmentIntegrationAndRestructuringExpensesMember | |
| 11 | us-gaap:DeferredRevenueArrangementTypeAxis (terseLabel) | Axis | duration | us-gaap:DeferredRevenueArrangementTypeAxis | |
| 12 | us-gaap:DeferredRevenueArrangementTypeDomain (terseLabel) | Member | duration | us-gaap:DeferredRevenueArrangementTypeDomain | |
| 13 | msft:WindowsTenDeferralMember (terseLabel) | Member | duration | msft:WindowsTenDeferralMember | |
| 14 | us-gaap:IncomeTaxAuthorityAxis (terseLabel) | Axis | duration | us-gaap:IncomeTaxAuthorityAxis | |
| 15 | us-gaap:IncomeTaxAuthorityDomain (terseLabel) | Member | duration | us-gaap:IncomeTaxAuthorityDomain | |
| 16 | msft:RegionalOperatingCentersMember (terseLabel) | Member | duration | msft:RegionalOperatingCentersMember | |
| 17 | us-gaap:ForeignCountryMember (terseLabel) | Member | duration | us-gaap:ForeignCountryMember | |
| 18 | us-gaap:StatementScenarioAxis (terseLabel) | Axis | duration | us-gaap:StatementScenarioAxis | |
| 19 | us-gaap:ScenarioUnspecifiedDomain (terseLabel) | Member | duration | us-gaap:ScenarioUnspecifiedDomain | |
| 20 | us-gaap:RestatementAdjustmentMember (terseLabel) | Member | duration | us-gaap:RestatementAdjustmentMember | |
| 21 | msft:IncomeTaxesLineItems (terseLabel) | LineItems | duration | msft:IncomeTaxesLineItems | |
| 22 | us-gaap:DeferredFederalStateAndLocalTaxExpenseBenefit (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:DeferredFederalStateAndLocalTaxExpenseBenefit |
| 23 | us-gaap:DeferredForeignIncomeTaxExpenseBenefit (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:DeferredForeignIncomeTaxExpenseBenefit |
| 24 | U.S. income (loss) before income taxes | Concept (Monetary) | duration | credit | us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic |
| 25 | Foreign income (loss) before income taxes | Concept (Monetary) | duration | credit | us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign |
| 26 | msft:ForeignEarningsTaxedAtRatesLowerThanUsRate (terseLabel) | Concept (Percent) | duration | msft:ForeignEarningsTaxedAtRatesLowerThanUsRate | |
| 27 | Deferred income tax assets, loss carryforward | Concept (Monetary) | instant | debit | us-gaap:DeferredTaxAssetsOperatingLossCarryforwards |
| 28 | Deferred income tax assets, valuation allowance | Concept (Monetary) | instant | credit | us-gaap:DeferredTaxAssetsValuationAllowance |
| 29 | us-gaap:OperatingLossCarryforwards (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:OperatingLossCarryforwards |
| 30 | us-gaap:UndistributedEarningsOfForeignSubsidiaries (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:UndistributedEarningsOfForeignSubsidiaries |
| 31 | us-gaap:DeferredTaxLiabilityNotRecognizedAmountOfUnrecognizedDeferredTaxLiabilityUndistributedEarningsOfForeignSubsidiaries (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:DeferredTaxLiabilityNotRecognizedAmountOfUnrecognizedDeferredTaxLiabilityUndistributedEarningsOfForeignSubsidiaries |
| 32 | us-gaap:IncomeTaxesPaidNet (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:IncomeTaxesPaidNet |
| 33 | us-gaap:AccruedIncomeTaxesNoncurrent (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:AccruedIncomeTaxesNoncurrent |
| 34 | us-gaap:UnrecognizedTaxBenefits (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:UnrecognizedTaxBenefits |
| 35 | us-gaap:UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate |
| 36 | us-gaap:UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued |
| 37 | us-gaap:UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestExpense (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestExpense |
| Model Structure | |
|---|---|
| Network |
100930 - Disclosure - Income (Loss) Before Income Taxes (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureIncomeLossBeforeIncomeTaxesDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Income Tax Disclosure [Abstract] | Abstract | duration | us-gaap:IncomeTaxDisclosureAbstract | |
| 2 | msft:ScheduleOfComponentsOfIncomeBeforeIncomeTaxExpenseBenefitTable (terseLabel) | Table | duration | msft:ScheduleOfComponentsOfIncomeBeforeIncomeTaxExpenseBenefitTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | msft:ScheduleOfComponentsOfIncomeBeforeIncomeTaxExpenseBenefitLineItems (terseLabel) | LineItems | duration | msft:ScheduleOfComponentsOfIncomeBeforeIncomeTaxExpenseBenefitLineItems | |
| 6 | us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic |
| 7 | us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign |
| 8 | us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments (totalLabel) | Concept (Monetary) | duration | credit | us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments |
| Model Structure | |
|---|---|
| Network |
100940 - Disclosure - Difference Between Income Taxes Computed at Federal Statutory Rate and Provision for Income Taxes (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDifferenceBetweenIncomeTaxesComputedAtFederalStatutoryRateAndProvisionForIncomeTaxesDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Income Tax Disclosure [Abstract] | Abstract | duration | us-gaap:IncomeTaxDisclosureAbstract | |
| 2 | msft:ReconciliationOfStatutoryFederalTaxRateTable (terseLabel) | Table | duration | msft:ReconciliationOfStatutoryFederalTaxRateTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | msft:ReconciliationOfStatutoryFederalTaxRateLineItems (terseLabel) | LineItems | duration | msft:ReconciliationOfStatutoryFederalTaxRateLineItems | |
| 6 | us-gaap:EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate (terseLabel) | Concept (Percent) | duration | us-gaap:EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate | |
| 7 | us-gaap:EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract (terseLabel) | Abstract | duration | us-gaap:EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract | |
| 8 | us-gaap:EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential (terseLabel) | Concept (Percent) | duration | us-gaap:EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential | |
| 9 | msft:EffectiveIncomeTaxRateReconciliationPhoneBusinessGainsLosses (terseLabel) | Concept (Percent) | duration | msft:EffectiveIncomeTaxRateReconciliationPhoneBusinessGainsLosses | |
| 10 | msft:EffectiveIncomeTaxRateReconciliationDeductionsExcessTaxBenefitsStockBasedCompensation (negatedLabel) | Concept (Percent) | duration | msft:EffectiveIncomeTaxRateReconciliationDeductionsExcessTaxBenefitsStockBasedCompensation | |
| 11 | us-gaap:EffectiveIncomeTaxRateReconciliationDeductionsQualifiedProductionActivities (negatedLabel) | Concept (Percent) | duration | us-gaap:EffectiveIncomeTaxRateReconciliationDeductionsQualifiedProductionActivities | |
| 12 | msft:EffectiveIncomeTaxRateReconciliationInterestIncomeExpense (terseLabel) | Concept (Percent) | duration | msft:EffectiveIncomeTaxRateReconciliationInterestIncomeExpense | |
| 13 | us-gaap:EffectiveIncomeTaxRateReconciliationOtherAdjustments (terseLabel) | Concept (Percent) | duration | us-gaap:EffectiveIncomeTaxRateReconciliationOtherAdjustments | |
| 14 | us-gaap:EffectiveIncomeTaxRateContinuingOperations (totalLabel) | Concept (Percent) | duration | us-gaap:EffectiveIncomeTaxRateContinuingOperations |
| Model Structure | |
|---|---|
| Network |
100950 - Disclosure - Deferred Income Tax Assets and Liabilities (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDeferredIncomeTaxAssetsAndLiabilitiesDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Income Tax Disclosure [Abstract] | Abstract | duration | us-gaap:IncomeTaxDisclosureAbstract | |
| 2 | msft:ScheduleOfDeferredIncomeTaxAssetsAndLiabilitiesTable (terseLabel) | Table | duration | msft:ScheduleOfDeferredIncomeTaxAssetsAndLiabilitiesTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:BalanceSheetLocationAxis (terseLabel) | Axis | duration | us-gaap:BalanceSheetLocationAxis | |
| 6 | us-gaap:BalanceSheetLocationDomain (terseLabel) | Member | duration | us-gaap:BalanceSheetLocationDomain | |
| 7 | us-gaap:OtherNoncurrentAssetsMember (terseLabel) | Member | duration | us-gaap:OtherNoncurrentAssetsMember | |
| 8 | msft:DeferredIncomeTaxLiabilitiesNoncurrentMember (terseLabel) | Member | duration | msft:DeferredIncomeTaxLiabilitiesNoncurrentMember | |
| 9 | msft:ScheduleOfDeferredIncomeTaxAssetsAndLiabilitiesLineItems (terseLabel) | LineItems | duration | msft:ScheduleOfDeferredIncomeTaxAssetsAndLiabilitiesLineItems | |
| 10 | us-gaap:DeferredTaxAssetsNetAbstract (terseLabel) | Abstract | duration | us-gaap:DeferredTaxAssetsNetAbstract | |
| 11 | us-gaap:DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost |
| 12 | us-gaap:DeferredTaxAssetsTaxDeferredExpenseOther (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:DeferredTaxAssetsTaxDeferredExpenseOther |
| 13 | us-gaap:DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsRestructuringCharges (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsRestructuringCharges |
| 14 | us-gaap:DeferredTaxAssetsDeferredIncome (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:DeferredTaxAssetsDeferredIncome |
| 15 | us-gaap:DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsImpairmentLosses (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsImpairmentLosses |
| 16 | us-gaap:DeferredTaxAssetsOperatingLossCarryforwards (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:DeferredTaxAssetsOperatingLossCarryforwards |
| 17 | msft:DeferredTaxAssetsDepreciationAndAmortization (terseLabel) | Concept (Monetary) | instant | debit | msft:DeferredTaxAssetsDepreciationAndAmortization |
| 18 | us-gaap:DeferredTaxAssetsOther (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:DeferredTaxAssetsOther |
| 19 | us-gaap:DeferredTaxAssetsGross (totalLabel) | Concept (Monetary) | instant | debit | us-gaap:DeferredTaxAssetsGross |
| 20 | us-gaap:DeferredTaxAssetsValuationAllowance (negatedLabel) | Concept (Monetary) | instant | credit | us-gaap:DeferredTaxAssetsValuationAllowance |
| 21 | us-gaap:DeferredTaxAssetsNet (totalLabel) | Concept (Monetary) | instant | debit | us-gaap:DeferredTaxAssetsNet |
| 22 | us-gaap:DeferredTaxLiabilitiesAbstract (terseLabel) | Abstract | duration | us-gaap:DeferredTaxLiabilitiesAbstract | |
| 23 | us-gaap:DeferredTaxLiabilitiesUndistributedForeignEarnings (negatedLabel) | Concept (Monetary) | instant | credit | us-gaap:DeferredTaxLiabilitiesUndistributedForeignEarnings |
| 24 | msft:DeferredTaxLiabilitiesUnrealizedGainsInvestmentsAndDebt (negatedLabel) | Concept (Monetary) | instant | credit | msft:DeferredTaxLiabilitiesUnrealizedGainsInvestmentsAndDebt |
| 25 | msft:DeferredTaxLiabilitiesDepreciationAndAmortization (negatedLabel) | Concept (Monetary) | instant | credit | msft:DeferredTaxLiabilitiesDepreciationAndAmortization |
| 26 | us-gaap:DeferredTaxLiabilitiesOther (negatedLabel) | Concept (Monetary) | instant | credit | us-gaap:DeferredTaxLiabilitiesOther |
| 27 | us-gaap:DeferredIncomeTaxLiabilities (negatedTotalLabel) | Concept (Monetary) | instant | credit | us-gaap:DeferredIncomeTaxLiabilities |
| 28 | us-gaap:DeferredTaxAssetsLiabilitiesNet (totalLabel) | Concept (Monetary) | instant | debit | us-gaap:DeferredTaxAssetsLiabilitiesNet |
| 29 | us-gaap:DeferredTaxLiabilities (negatedTotalLabel) | Concept (Monetary) | instant | credit | us-gaap:DeferredTaxLiabilities |
| Model Structure | |
|---|---|
| Network |
100960 - Disclosure - Changes in Unrecognized Tax Benefits (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureChangesInUnrecognizedTaxBenefitsDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Income Tax Disclosure [Abstract] | Abstract | duration | us-gaap:IncomeTaxDisclosureAbstract | |
| 2 | us-gaap:IncomeTaxContingencyTable (terseLabel) | Table | duration | us-gaap:IncomeTaxContingencyTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:IncomeTaxContingencyLineItems (terseLabel) | LineItems | duration | us-gaap:IncomeTaxContingencyLineItems | |
| 6 | us-gaap:UnrecognizedTaxBenefits (periodStartLabel) | Concept (Monetary) | instant | credit | us-gaap:UnrecognizedTaxBenefits |
| 7 | us-gaap:UnrecognizedTaxBenefitsDecreasesResultingFromSettlementsWithTaxingAuthorities (negatedLabel) | Concept (Monetary) | duration | debit | us-gaap:UnrecognizedTaxBenefitsDecreasesResultingFromSettlementsWithTaxingAuthorities |
| 8 | us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions |
| 9 | us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions |
| 10 | us-gaap:UnrecognizedTaxBenefitsDecreasesResultingFromPriorPeriodTaxPositions (negatedLabel) | Concept (Monetary) | duration | debit | us-gaap:UnrecognizedTaxBenefitsDecreasesResultingFromPriorPeriodTaxPositions |
| 11 | us-gaap:UnrecognizedTaxBenefitsReductionsResultingFromLapseOfApplicableStatuteOfLimitations (negatedLabel) | Concept (Monetary) | duration | debit | us-gaap:UnrecognizedTaxBenefitsReductionsResultingFromLapseOfApplicableStatuteOfLimitations |
| 12 | Balance, end of year | Concept (Monetary) | instant | credit | us-gaap:UnrecognizedTaxBenefits |
| Model Structure | |
|---|---|
| Network |
100970 - Disclosure - Income Taxes - Additional Information Regarding Examinations (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationRegardingExaminationsDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Income Tax Disclosure [Abstract] | Abstract | duration | us-gaap:IncomeTaxDisclosureAbstract | |
| 2 | us-gaap:IncomeTaxExaminationTable (terseLabel) | Table | duration | us-gaap:IncomeTaxExaminationTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:IncomeTaxAuthorityNameAxis (terseLabel) | Axis | duration | us-gaap:IncomeTaxAuthorityNameAxis | |
| 6 | us-gaap:IncomeTaxAuthorityNameDomain (terseLabel) | Member | duration | us-gaap:IncomeTaxAuthorityNameDomain | |
| 7 | us-gaap:InternalRevenueServiceIRSMember (terseLabel) | Member | duration | us-gaap:InternalRevenueServiceIRSMember | |
| 8 | us-gaap:TaxPeriodAxis (terseLabel) | Axis | duration | us-gaap:TaxPeriodAxis | |
| 9 | us-gaap:TaxPeriodDomain (terseLabel) | Member | duration | us-gaap:TaxPeriodDomain | |
| 10 | us-gaap:EarliestTaxYearMember (terseLabel) | Member | duration | us-gaap:EarliestTaxYearMember | |
| 11 | us-gaap:LatestTaxYearMember (terseLabel) | Member | duration | us-gaap:LatestTaxYearMember | |
| 12 | us-gaap:IncomeTaxAuthorityAxis (terseLabel) | Axis | duration | us-gaap:IncomeTaxAuthorityAxis | |
| 13 | us-gaap:IncomeTaxAuthorityDomain (terseLabel) | Member | duration | us-gaap:IncomeTaxAuthorityDomain | |
| 14 | us-gaap:ForeignCountryMember (terseLabel) | Member | duration | us-gaap:ForeignCountryMember | |
| 15 | us-gaap:IncomeTaxExaminationLineItems (terseLabel) | LineItems | duration | us-gaap:IncomeTaxExaminationLineItems | |
| 16 | us-gaap:IncomeTaxExaminationYearUnderExamination (terseLabel) | Concept (gYear) | duration | us-gaap:IncomeTaxExaminationYearUnderExamination | |
| 17 | us-gaap:OpenTaxYear (terseLabel) | Concept (gYear) | duration | us-gaap:OpenTaxYear |
| Model Structure | |
|---|---|
| Network |
100980 - Disclosure - Restructuring Charges - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureRestructuringChargesAdditionalInformationDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Restructuring And Related Activities [Abstract] | Abstract | duration | us-gaap:RestructuringAndRelatedActivitiesAbstract | |
| 2 | us-gaap:ScheduleOfRestructuringAndRelatedCostsTable (terseLabel) | Table | duration | us-gaap:ScheduleOfRestructuringAndRelatedCostsTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:RestructuringPlanAxis (terseLabel) | Axis | duration | us-gaap:RestructuringPlanAxis | |
| 6 | us-gaap:RestructuringPlanDomain (terseLabel) | Member | duration | us-gaap:RestructuringPlanDomain | |
| 7 | msft:PhoneHardwareRestructuringPlanMember (terseLabel) | Member | duration | msft:PhoneHardwareRestructuringPlanMember | |
| 8 | msft:TwentySixteenRestructuringPlanMember (terseLabel) | Member | duration | msft:TwentySixteenRestructuringPlanMember | |
| 9 | msft:TwentySeventeenRestructuringPlanMember (terseLabel) | Member | duration | msft:TwentySeventeenRestructuringPlanMember | |
| 10 | us-gaap:RestructuringCostAndReserveAxis (terseLabel) | Axis | duration | us-gaap:RestructuringCostAndReserveAxis | |
| 11 | us-gaap:TypeOfRestructuringDomain (terseLabel) | Member | duration | us-gaap:TypeOfRestructuringDomain | |
| 12 | us-gaap:EmployeeSeveranceMember (terseLabel) | Member | duration | us-gaap:EmployeeSeveranceMember | |
| 13 | us-gaap:RestructuringCostAndReserveLineItems (terseLabel) | LineItems | duration | us-gaap:RestructuringCostAndReserveLineItems | |
| 14 | us-gaap:RestructuringAndRelatedCostNumberOfPositionsEliminated (terseLabel) | Concept (Integer) | duration | us-gaap:RestructuringAndRelatedCostNumberOfPositionsEliminated | |
| 15 | us-gaap:RestructuringCharges (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:RestructuringCharges |
| 16 | us-gaap:RestructuringReserveAccrualAdjustment1 (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:RestructuringReserveAccrualAdjustment1 |
| 17 | us-gaap:RestructuringAndRelatedActivitiesCompletionDate (terseLabel) | Concept (Date) | duration | us-gaap:RestructuringAndRelatedActivitiesCompletionDate |
| Model Structure | |
|---|---|
| Network |
100990 - Disclosure - Changes in Restructuring Liability (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureChangesInRestructuringLiabilityDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Restructuring And Related Activities [Abstract] | Abstract | duration | us-gaap:RestructuringAndRelatedActivitiesAbstract | |
| 2 | us-gaap:ScheduleOfRestructuringAndRelatedCostsTable (terseLabel) | Table | duration | us-gaap:ScheduleOfRestructuringAndRelatedCostsTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:RestructuringCostAndReserveAxis (terseLabel) | Axis | duration | us-gaap:RestructuringCostAndReserveAxis | |
| 6 | us-gaap:TypeOfRestructuringDomain (terseLabel) | Member | duration | us-gaap:TypeOfRestructuringDomain | |
| 7 | us-gaap:EmployeeSeveranceMember (terseLabel) | Member | duration | us-gaap:EmployeeSeveranceMember | |
| 8 | us-gaap:OtherRestructuringMember (terseLabel) | Member | duration | us-gaap:OtherRestructuringMember | |
| 9 | us-gaap:RestructuringCostAndReserveLineItems (terseLabel) | LineItems | duration | us-gaap:RestructuringCostAndReserveLineItems | |
| 10 | us-gaap:RestructuringReserve (periodStartLabel) | Concept (Monetary) | instant | credit | us-gaap:RestructuringReserve |
| 11 | us-gaap:RestructuringCharges (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:RestructuringCharges |
| 12 | us-gaap:PaymentsForRestructuring (negatedLabel) | Concept (Monetary) | duration | credit | us-gaap:PaymentsForRestructuring |
| 13 | us-gaap:RestructuringReserveSettledWithoutCash2 (negatedLabel) | Concept (Monetary) | duration | debit | us-gaap:RestructuringReserveSettledWithoutCash2 |
| 14 | Balance, as of June 30, 2017 | Concept (Monetary) | instant | credit | us-gaap:RestructuringReserve |
| Model Structure | |
|---|---|
| Network |
101000 - Disclosure - Unearned Revenue by Segment (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureUnearnedRevenueBySegmentDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Deferred Revenue Disclosure [Abstract] | Abstract | duration | us-gaap:DeferredRevenueDisclosureAbstract | |
| 2 | us-gaap:DeferredRevenueArrangementByTypeTable (terseLabel) | Table | duration | us-gaap:DeferredRevenueArrangementByTypeTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:ConsolidationItemsAxis (terseLabel) | Axis | duration | us-gaap:ConsolidationItemsAxis | |
| 6 | us-gaap:ConsolidationItemsDomain (terseLabel) | Member | duration | us-gaap:ConsolidationItemsDomain | |
| 7 | us-gaap:OperatingSegmentsMember (terseLabel) | Member | duration | us-gaap:OperatingSegmentsMember | |
| 8 | msft:CorporateAndReconcilingItemsMember (terseLabel) | Member | duration | msft:CorporateAndReconcilingItemsMember | |
| 9 | us-gaap:StatementBusinessSegmentsAxis (terseLabel) | Axis | duration | us-gaap:StatementBusinessSegmentsAxis | |
| 10 | us-gaap:SegmentDomain (terseLabel) | Member | duration | us-gaap:SegmentDomain | |
| 11 | msft:ProductivityAndBusinessProcessesMember (terseLabel) | Member | duration | msft:ProductivityAndBusinessProcessesMember | |
| 12 | msft:IntelligentCloudMember (terseLabel) | Member | duration | msft:IntelligentCloudMember | |
| 13 | msft:MorePersonalComputingMember (terseLabel) | Member | duration | msft:MorePersonalComputingMember | |
| 14 | us-gaap:DeferredRevenueArrangementLineItems (terseLabel) | LineItems | duration | us-gaap:DeferredRevenueArrangementLineItems | |
| 15 | us-gaap:DeferredRevenue (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:DeferredRevenue |
| Model Structure | |
|---|---|
| Network |
101010 - Disclosure - Commitments - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureCommitmentsAdditionalInformationDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Commitments And Contingencies Disclosure [Abstract] | Abstract | duration | us-gaap:CommitmentsAndContingenciesDisclosureAbstract | |
| 2 | msft:CommitmentsTable (terseLabel) | Table | duration | msft:CommitmentsTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis (terseLabel) | Axis | duration | us-gaap:LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis | |
| 6 | us-gaap:LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain (terseLabel) | Member | duration | us-gaap:LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain | |
| 7 | msft:BuildingBuildingImprovementsAndLeaseholdImprovementsMember (terseLabel) | Member | duration | msft:BuildingBuildingImprovementsAndLeaseholdImprovementsMember | |
| 8 | us-gaap:PropertySubjectToOrAvailableForOperatingLeaseAxis (terseLabel) | Axis | duration | us-gaap:PropertySubjectToOrAvailableForOperatingLeaseAxis | |
| 9 | us-gaap:PropertySubjectToOrAvailableForOperatingLeaseDomain (terseLabel) | Member | duration | us-gaap:PropertySubjectToOrAvailableForOperatingLeaseDomain | |
| 10 | us-gaap:BuildingMember (terseLabel) | Member | duration | us-gaap:BuildingMember | |
| 11 | us-gaap:BalanceSheetLocationAxis (terseLabel) | Axis | duration | us-gaap:BalanceSheetLocationAxis | |
| 12 | us-gaap:BalanceSheetLocationDomain (terseLabel) | Member | duration | us-gaap:BalanceSheetLocationDomain | |
| 13 | us-gaap:OtherCurrentLiabilitiesMember (terseLabel) | Member | duration | us-gaap:OtherCurrentLiabilitiesMember | |
| 14 | us-gaap:OtherNoncurrentLiabilitiesMember (terseLabel) | Member | duration | us-gaap:OtherNoncurrentLiabilitiesMember | |
| 15 | us-gaap:UnrecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis (terseLabel) | Axis | duration | us-gaap:UnrecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis | |
| 16 | us-gaap:UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain (terseLabel) | Member | duration | us-gaap:UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain | |
| 17 | msft:CapitalLeaseMember (terseLabel) | Member | duration | msft:CapitalLeaseMember | |
| 18 | msft:CommitmentsLineItems (terseLabel) | LineItems | duration | msft:CommitmentsLineItems | |
| 19 | us-gaap:CommitmentsFairValueDisclosure (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:CommitmentsFairValueDisclosure |
| 20 | us-gaap:LeaseAndRentalExpense (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:LeaseAndRentalExpense |
| 21 | us-gaap:CapitalLeaseObligationsCurrent (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:CapitalLeaseObligationsCurrent |
| 22 | us-gaap:CapitalLeaseObligationsNoncurrent (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:CapitalLeaseObligationsNoncurrent |
| 23 | us-gaap:UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount |
| Model Structure | |
|---|---|
| Network |
101020 - Disclosure - Future Minimum Rental Commitments Under Non-cancellable Operating Leases (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFutureMinimumRentalCommitmentsUnderNonCancellableOperatingLeasesDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Commitments And Contingencies Disclosure [Abstract] | Abstract | duration | us-gaap:CommitmentsAndContingenciesDisclosureAbstract | |
| 2 | us-gaap:ScheduleOfOperatingLeasedAssetsTable (terseLabel) | Table | duration | us-gaap:ScheduleOfOperatingLeasedAssetsTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:PropertyPlantAndEquipmentByTypeAxis (terseLabel) | Axis | duration | us-gaap:PropertyPlantAndEquipmentByTypeAxis | |
| 6 | us-gaap:PropertyPlantAndEquipmentTypeDomain (terseLabel) | Member | duration | us-gaap:PropertyPlantAndEquipmentTypeDomain | |
| 7 | us-gaap:BuildingMember (terseLabel) | Member | duration | us-gaap:BuildingMember | |
| 8 | us-gaap:OperatingLeasedAssetsLineItems (terseLabel) | LineItems | duration | us-gaap:OperatingLeasedAssetsLineItems | |
| 9 | us-gaap:OperatingLeasesFutureMinimumPaymentsDueCurrent (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:OperatingLeasesFutureMinimumPaymentsDueCurrent |
| 10 | us-gaap:OperatingLeasesFutureMinimumPaymentsDueInTwoYears (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:OperatingLeasesFutureMinimumPaymentsDueInTwoYears |
| 11 | us-gaap:OperatingLeasesFutureMinimumPaymentsDueInThreeYears (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:OperatingLeasesFutureMinimumPaymentsDueInThreeYears |
| 12 | us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFourYears (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFourYears |
| 13 | us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFiveYears (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFiveYears |
| 14 | us-gaap:OperatingLeasesFutureMinimumPaymentsDueThereafter (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:OperatingLeasesFutureMinimumPaymentsDueThereafter |
| 15 | us-gaap:OperatingLeasesFutureMinimumPaymentsDue (totalLabel) | Concept (Monetary) | instant | credit | us-gaap:OperatingLeasesFutureMinimumPaymentsDue |
| Model Structure | |
|---|---|
| Network |
101030 - Disclosure - Future Minimum Lease Payments under Non-cancellable Capital Leases (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Commitments And Contingencies Disclosure [Abstract] | Abstract | duration | us-gaap:CommitmentsAndContingenciesDisclosureAbstract | |
| 2 | msft:FutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesTable (terseLabel) | Table | duration | msft:FutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | msft:FutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesLineItems (terseLabel) | LineItems | duration | msft:FutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesLineItems | |
| 6 | us-gaap:CapitalLeasesFutureMinimumPaymentsDueAbstract (terseLabel) | Abstract | duration | us-gaap:CapitalLeasesFutureMinimumPaymentsDueAbstract | |
| 7 | us-gaap:CapitalLeasesFutureMinimumPaymentsDueCurrent (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:CapitalLeasesFutureMinimumPaymentsDueCurrent |
| 8 | us-gaap:CapitalLeasesFutureMinimumPaymentsDueInTwoYears (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:CapitalLeasesFutureMinimumPaymentsDueInTwoYears |
| 9 | us-gaap:CapitalLeasesFutureMinimumPaymentsDueInThreeYears (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:CapitalLeasesFutureMinimumPaymentsDueInThreeYears |
| 10 | us-gaap:CapitalLeasesFutureMinimumPaymentsDueInFourYears (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:CapitalLeasesFutureMinimumPaymentsDueInFourYears |
| 11 | us-gaap:CapitalLeasesFutureMinimumPaymentsDueInFiveYears (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:CapitalLeasesFutureMinimumPaymentsDueInFiveYears |
| 12 | us-gaap:CapitalLeasesFutureMinimumPaymentsDueThereafter (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:CapitalLeasesFutureMinimumPaymentsDueThereafter |
| 13 | us-gaap:CapitalLeasesFutureMinimumPaymentsDue (totalLabel) | Concept (Monetary) | instant | credit | us-gaap:CapitalLeasesFutureMinimumPaymentsDue |
| Model Structure | |
|---|---|
| Network |
101040 - Disclosure - Future Minimum Lease Payments under Non-cancellable Capital Leases (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesParentheticalDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Commitments And Contingencies Disclosure [Abstract] | Abstract | duration | us-gaap:CommitmentsAndContingenciesDisclosureAbstract | |
| 2 | msft:FutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesTable (terseLabel) | Table | duration | msft:FutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | msft:FutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesLineItems (terseLabel) | LineItems | duration | msft:FutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesLineItems | |
| 6 | us-gaap:CapitalLeasesFutureMinimumPaymentsDueAbstract (terseLabel) | Abstract | duration | us-gaap:CapitalLeasesFutureMinimumPaymentsDueAbstract | |
| 7 | us-gaap:CapitalLeasesFutureMinimumPaymentsInterestIncludedInPayments (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:CapitalLeasesFutureMinimumPaymentsInterestIncludedInPayments |
| Model Structure | |
|---|---|
| Network |
101050 - Disclosure - Contingencies - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureContingenciesAdditionalInformationDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Commitments And Contingencies Disclosure [Abstract] | Abstract | duration | us-gaap:CommitmentsAndContingenciesDisclosureAbstract | |
| 2 | us-gaap:LossContingenciesTable (terseLabel) | Table | duration | us-gaap:LossContingenciesTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:LossContingenciesLineItems (terseLabel) | LineItems | duration | us-gaap:LossContingenciesLineItems | |
| 6 | us-gaap:LossContingencyAccrualCarryingValueCurrent (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:LossContingencyAccrualCarryingValueCurrent |
| 7 | us-gaap:LossContingencyRangeOfPossibleLossPortionNotAccrued (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:LossContingencyRangeOfPossibleLossPortionNotAccrued |
| Model Structure | |
|---|---|
| Network |
101060 - Disclosure - Shares of Common Stock Outstanding (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSharesOfCommonStockOutstandingDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Equity [Abstract] | Abstract | duration | us-gaap:EquityAbstract | |
| 2 | us-gaap:ScheduleOfCapitalUnitsTable (terseLabel) | Table | duration | us-gaap:ScheduleOfCapitalUnitsTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:CapitalUnitLineItems (terseLabel) | LineItems | duration | us-gaap:CapitalUnitLineItems | |
| 6 | us-gaap:CommonStockSharesOutstanding (periodStartLabel) | Concept (Shares) | instant | us-gaap:CommonStockSharesOutstanding | |
| 7 | us-gaap:StockIssuedDuringPeriodSharesNewIssues (terseLabel) | Concept (Shares) | duration | us-gaap:StockIssuedDuringPeriodSharesNewIssues | |
| 8 | us-gaap:StockRepurchasedDuringPeriodShares (negatedLabel) | Concept (Shares) | duration | us-gaap:StockRepurchasedDuringPeriodShares | |
| 9 | Balance, end of year | Concept (Shares) | instant | us-gaap:CommonStockSharesOutstanding |
| Model Structure | |
|---|---|
| Network |
101070 - Disclosure - Stockholders' Equity - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureStockholdersEquityAdditionalInformationDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Statement Of Stockholders Equity [Abstract] | Abstract | duration | us-gaap:StatementOfStockholdersEquityAbstract | |
| 2 | msft:ShareRepurchasesTable (terseLabel) | Table | duration | msft:ShareRepurchasesTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:ShareRepurchaseProgramAxis (terseLabel) | Axis | duration | us-gaap:ShareRepurchaseProgramAxis | |
| 6 | us-gaap:ShareRepurchaseProgramDomain (terseLabel) | Member | duration | us-gaap:ShareRepurchaseProgramDomain | |
| 7 | msft:ShareRepurchaseProgramTwentyThirteenMember (terseLabel) | Member | duration | msft:ShareRepurchaseProgramTwentyThirteenMember | |
| 8 | msft:ShareRepurchaseProgramTwentySixteenMember (terseLabel) | Member | duration | msft:ShareRepurchaseProgramTwentySixteenMember | |
| 9 | msft:ShareRepurchasesLineItems (terseLabel) | LineItems | duration | msft:ShareRepurchasesLineItems | |
| 10 | us-gaap:StockRepurchaseProgramAuthorizedAmount1 (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:StockRepurchaseProgramAuthorizedAmount1 |
| 11 | us-gaap:StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1 (terseLabel) | Concept (Monetary) | instant | credit | us-gaap:StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1 |
| Model Structure | |
|---|---|
| Network |
101080 - Disclosure - Share Repurchases (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureShareRepurchasesDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Equity [Abstract] | Abstract | duration | us-gaap:EquityAbstract | |
| 2 | msft:ShareRepurchasesTable (terseLabel) | Table | duration | msft:ShareRepurchasesTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:ShareRepurchaseProgramAxis (terseLabel) | Axis | duration | us-gaap:ShareRepurchaseProgramAxis | |
| 6 | us-gaap:ShareRepurchaseProgramDomain (terseLabel) | Member | duration | us-gaap:ShareRepurchaseProgramDomain | |
| 7 | msft:ShareRepurchaseProgramTwentyThirteenMember (terseLabel) | Member | duration | msft:ShareRepurchaseProgramTwentyThirteenMember | |
| 8 | msft:ShareRepurchaseProgramTwentySixteenMember (terseLabel) | Member | duration | msft:ShareRepurchaseProgramTwentySixteenMember | |
| 9 | msft:ShareRepurchasesLineItems (terseLabel) | LineItems | duration | msft:ShareRepurchasesLineItems | |
| 10 | Shares of common stock repurchased | Concept (Shares) | duration | us-gaap:StockRepurchasedDuringPeriodShares | |
| 11 | Value of common stock repurchased | Concept (Monetary) | duration | debit | us-gaap:StockRepurchasedDuringPeriodValue |
| Model Structure | |
|---|---|
| Network |
101090 - Disclosure - Dividends Declared (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDividendsDeclaredDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Equity [Abstract] | Abstract | duration | us-gaap:EquityAbstract | |
| 2 | msft:DividendsTable (terseLabel) | Table | duration | msft:DividendsTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | msft:DividendsLineItems (terseLabel) | LineItems | duration | msft:DividendsLineItems | |
| 6 | us-gaap:DividendsPayableDateDeclaredDayMonthAndYear (terseLabel) | Concept (Date) | duration | us-gaap:DividendsPayableDateDeclaredDayMonthAndYear | |
| 7 | Dividend Per Share | Concept (Per-Share) | duration | us-gaap:CommonStockDividendsPerShareDeclared | |
| 8 | us-gaap:DividendsPayableDateOfRecordDayMonthAndYear (terseLabel) | Concept (Date) | duration | us-gaap:DividendsPayableDateOfRecordDayMonthAndYear | |
| 9 | Total Amount | Concept (Monetary) | duration | debit | us-gaap:DividendsCommonStockCash |
| 10 | us-gaap:DividendPayableDateToBePaidDayMonthAndYear (terseLabel) | Concept (Date) | duration | us-gaap:DividendPayableDateToBePaidDayMonthAndYear |
| Model Structure | |
|---|---|
| Network |
101100 - Disclosure - Summary of Changes in Accumulated Other Comprehensive Income by Component (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSummaryOfChangesInAccumulatedOtherComprehensiveIncomeByComponentDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Statement Of Income And Comprehensive Income [Abstract] | Abstract | duration | us-gaap:StatementOfIncomeAndComprehensiveIncomeAbstract | |
| 2 | us-gaap:AccumulatedOtherComprehensiveIncomeLossTable (terseLabel) | Table | duration | us-gaap:AccumulatedOtherComprehensiveIncomeLossTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementEquityComponentsAxis (terseLabel) | Axis | duration | us-gaap:StatementEquityComponentsAxis | |
| 6 | us-gaap:EquityComponentDomain (terseLabel) | Member | duration | us-gaap:EquityComponentDomain | |
| 7 | us-gaap:AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember (terseLabel) | Member | duration | us-gaap:AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember | |
| 8 | us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember (terseLabel) | Member | duration | us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember | |
| 9 | msft:AccumulatedTranslationAdjustmentAndOtherMember (terseLabel) | Member | duration | msft:AccumulatedTranslationAdjustmentAndOtherMember | |
| 10 | us-gaap:AccumulatedOtherComprehensiveIncomeMember (terseLabel) | Member | duration | us-gaap:AccumulatedOtherComprehensiveIncomeMember | |
| 11 | us-gaap:IncomeStatementLocationAxis (terseLabel) | Axis | duration | us-gaap:IncomeStatementLocationAxis | |
| 12 | us-gaap:IncomeStatementLocationDomain (terseLabel) | Member | duration | us-gaap:IncomeStatementLocationDomain | |
| 13 | us-gaap:SalesMember (terseLabel) | Member | duration | us-gaap:SalesMember | |
| 14 | us-gaap:NonoperatingIncomeExpenseMember (terseLabel) | Member | duration | us-gaap:NonoperatingIncomeExpenseMember | |
| 15 | us-gaap:AccumulatedOtherComprehensiveIncomeLossLineItems (terseLabel) | LineItems | duration | us-gaap:AccumulatedOtherComprehensiveIncomeLossLineItems | |
| 16 | us-gaap:StockholdersEquity (periodStartLabel) | Concept (Monetary) | instant | credit | us-gaap:StockholdersEquity |
| 17 | us-gaap:OciBeforeReclassificationsNetOfTaxAttributableToParent (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:OciBeforeReclassificationsNetOfTaxAttributableToParent |
| 18 | us-gaap:ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent (negatedLabel) | Concept (Monetary) | duration | debit | us-gaap:ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent |
| 19 | us-gaap:ReclassificationFromAociCurrentPeriodTax (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:ReclassificationFromAociCurrentPeriodTax |
| 20 | us-gaap:ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent (negatedTotalLabel) | Concept (Monetary) | duration | debit | us-gaap:ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent |
| 21 | Net current period other comprehensive income (loss) | Concept (Monetary) | duration | credit | us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent |
| 22 | us-gaap:StockholdersEquity (periodEndLabel) | Concept (Monetary) | instant | credit | us-gaap:StockholdersEquity |
| Model Structure | |
|---|---|
| Network |
101110 - Disclosure - Summary of Changes in Accumulated Other Comprehensive Income by Component (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSummaryOfChangesInAccumulatedOtherComprehensiveIncomeByComponentParentheticalDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Statement Of Income And Comprehensive Income [Abstract] | Abstract | duration | us-gaap:StatementOfIncomeAndComprehensiveIncomeAbstract | |
| 2 | us-gaap:AccumulatedOtherComprehensiveIncomeLossTable (terseLabel) | Table | duration | us-gaap:AccumulatedOtherComprehensiveIncomeLossTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementEquityComponentsAxis (terseLabel) | Axis | duration | us-gaap:StatementEquityComponentsAxis | |
| 6 | us-gaap:EquityComponentDomain (terseLabel) | Member | duration | us-gaap:EquityComponentDomain | |
| 7 | us-gaap:AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember (terseLabel) | Member | duration | us-gaap:AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember | |
| 8 | us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember (terseLabel) | Member | duration | us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember | |
| 9 | msft:AccumulatedTranslationAdjustmentAndOtherMember (terseLabel) | Member | duration | msft:AccumulatedTranslationAdjustmentAndOtherMember | |
| 10 | us-gaap:AccumulatedOtherComprehensiveIncomeLossLineItems (terseLabel) | LineItems | duration | us-gaap:AccumulatedOtherComprehensiveIncomeLossLineItems | |
| 11 | us-gaap:OtherComprehensiveIncomeLossBeforeReclassificationsTax (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:OtherComprehensiveIncomeLossBeforeReclassificationsTax |
| 12 | us-gaap:OtherComprehensiveIncomeLossTaxPortionAttributableToParent1 (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:OtherComprehensiveIncomeLossTaxPortionAttributableToParent1 |
| Model Structure | |
|---|---|
| Network |
101120 - Disclosure - Employee Stock and Savings Plans - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEmployeeStockAndSavingsPlansAdditionalInformationDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Disclosure Of Compensation Related Costs Sharebased Payments [Abstract] | Abstract | duration | us-gaap:DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract | |
| 2 | msft:CompensationRelatedCostsDisclosureTable (terseLabel) | Table | duration | msft:CompensationRelatedCostsDisclosureTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:AwardTypeAxis (terseLabel) | Axis | duration | us-gaap:AwardTypeAxis | |
| 6 | us-gaap:ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain (terseLabel) | Member | duration | us-gaap:ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain | |
| 7 | us-gaap:RestrictedStockMember (terseLabel) | Member | duration | us-gaap:RestrictedStockMember | |
| 8 | us-gaap:RestrictedStockUnitsRSUMember (terseLabel) | Member | duration | us-gaap:RestrictedStockUnitsRSUMember | |
| 9 | us-gaap:PerformanceSharesMember (terseLabel) | Member | duration | us-gaap:PerformanceSharesMember | |
| 10 | us-gaap:EmployeeStockMember (terseLabel) | Member | duration | us-gaap:EmployeeStockMember | |
| 11 | us-gaap:RangeAxis (terseLabel) | Axis | duration | us-gaap:RangeAxis | |
| 12 | us-gaap:RangeMember (terseLabel) | Member | duration | us-gaap:RangeMember | |
| 13 | us-gaap:MinimumMember (terseLabel) | Member | duration | us-gaap:MinimumMember | |
| 14 | us-gaap:MaximumMember (terseLabel) | Member | duration | us-gaap:MaximumMember | |
| 15 | us-gaap:PlanNameAxis (terseLabel) | Axis | duration | us-gaap:PlanNameAxis | |
| 16 | us-gaap:PlanNameDomain (terseLabel) | Member | duration | us-gaap:PlanNameDomain | |
| 17 | msft:ExecutiveIncentivePlanMember (terseLabel) | Member | duration | msft:ExecutiveIncentivePlanMember | |
| 18 | us-gaap:DeferredCompensationArrangementWithIndividualPostretirementBenefitsByTypeOfDeferredCompensationAxis (terseLabel) | Axis | duration | us-gaap:DeferredCompensationArrangementWithIndividualPostretirementBenefitsByTypeOfDeferredCompensationAxis | |
| 19 | us-gaap:OtherPostretirementBenefitsIndividualContractsTypeOfDeferredCompensationDomain (terseLabel) | Member | duration | us-gaap:OtherPostretirementBenefitsIndividualContractsTypeOfDeferredCompensationDomain | |
| 20 | msft:FirstSixPercentOfParticipantContributionsMember (terseLabel) | Member | duration | msft:FirstSixPercentOfParticipantContributionsMember | |
| 21 | msft:IRSCompensationLimitMember (terseLabel) | Member | duration | msft:IRSCompensationLimitMember | |
| 22 | msft:CompensationRelatedCostsDisclosureLineItems (terseLabel) | LineItems | duration | msft:CompensationRelatedCostsDisclosureLineItems | |
| 23 | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant (terseLabel) | Concept (Shares) | instant | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant | |
| 24 | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1 (terseLabel) | Concept (Duration) | duration | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1 | |
| 25 | us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized |
| 26 | us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1 (terseLabel) | Concept (Duration) | duration | us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1 | |
| 27 | Weighted average grant-date fair value | Concept (Per-Share) | duration | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue | |
| 28 | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue |
| 29 | us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent (terseLabel) | Concept (Percent) | duration | us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent | |
| 30 | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate (terseLabel) | Concept (Percent) | instant | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate | |
| 31 | us-gaap:DefinedContributionPlanEmployerMatchingContributionPercentOfMatch (terseLabel) | Concept (Percent) | duration | us-gaap:DefinedContributionPlanEmployerMatchingContributionPercentOfMatch | |
| 32 | us-gaap:DefinedContributionPlanEmployerMatchingContributionPercent (terseLabel) | Concept (Percent) | duration | us-gaap:DefinedContributionPlanEmployerMatchingContributionPercent | |
| 33 | us-gaap:DefinedContributionPlanCostRecognized (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:DefinedContributionPlanCostRecognized |
| Model Structure | |
|---|---|
| Network |
101130 - Disclosure - Stock-Based Compensation Expense and Related Income Tax Benefits (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureStockBasedCompensationExpenseAndRelatedIncomeTaxBenefitsDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Disclosure Of Compensation Related Costs Sharebased Payments [Abstract] | Abstract | duration | us-gaap:DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract | |
| 2 | us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable (terseLabel) | Table | duration | us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems (terseLabel) | LineItems | duration | us-gaap:EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems | |
| 6 | us-gaap:AllocatedShareBasedCompensationExpense (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:AllocatedShareBasedCompensationExpense |
| 7 | us-gaap:EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense |
| Model Structure | |
|---|---|
| Network |
101140 - Disclosure - Assumptions Used in Estimating the Fair Value of Stock Award Grants (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureAssumptionsUsedInEstimatingFairValueOfStockAwardGrantsDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Disclosure Of Compensation Related Costs Sharebased Payments [Abstract] | Abstract | duration | us-gaap:DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract | |
| 2 | msft:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsedTable (terseLabel) | Table | duration | msft:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsedTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:RangeAxis (terseLabel) | Axis | duration | us-gaap:RangeAxis | |
| 6 | us-gaap:RangeMember (terseLabel) | Member | duration | us-gaap:RangeMember | |
| 7 | us-gaap:MinimumMember (terseLabel) | Member | duration | us-gaap:MinimumMember | |
| 8 | us-gaap:MaximumMember (terseLabel) | Member | duration | us-gaap:MaximumMember | |
| 9 | msft:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsedLineItems (terseLabel) | LineItems | duration | msft:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsedLineItems | |
| 10 | msft:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendsPerShare (terseLabel) | Concept (Per-Share) | duration | msft:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendsPerShare | |
| 11 | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum (terseLabel) | Concept (Percent) | duration | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum | |
| 12 | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum (terseLabel) | Concept (Percent) | duration | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum |
| Model Structure | |
|---|---|
| Network |
101150 - Disclosure - Stock Plan Activity (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureStockPlanActivityDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Disclosure Of Compensation Related Costs Sharebased Payments [Abstract] | Abstract | duration | us-gaap:DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract | |
| 2 | us-gaap:ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable (terseLabel) | Table | duration | us-gaap:ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:AwardTypeAxis (terseLabel) | Axis | duration | us-gaap:AwardTypeAxis | |
| 6 | us-gaap:ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain (terseLabel) | Member | duration | us-gaap:ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain | |
| 7 | us-gaap:RestrictedStockMember (terseLabel) | Member | duration | us-gaap:RestrictedStockMember | |
| 8 | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems (terseLabel) | LineItems | duration | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems | |
| 9 | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward (terseLabel) | Abstract | duration | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward | |
| 10 | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber (periodStartLabel) | Concept (Shares) | instant | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber | |
| 11 | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod (terseLabel) | Concept (Shares) | duration | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod | |
| 12 | msft:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAssumedAcquisitionInPeriod (terseLabel) | Concept (Shares) | duration | msft:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAssumedAcquisitionInPeriod | |
| 13 | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod (negatedLabel) | Concept (Shares) | duration | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod | |
| 14 | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod (negatedLabel) | Concept (Shares) | duration | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod | |
| 15 | Nonvested balance, end of year | Concept (Shares) | instant | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber | |
| 16 | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward (terseLabel) | Abstract | duration | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward | |
| 17 | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue (periodStartLabel) | Concept (Per-Share) | instant | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue | |
| 18 | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue (terseLabel) | Concept (Per-Share) | duration | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue | |
| 19 | msft:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAssumedInAcquisitionsWeightedAverageGrantDateFairValue (terseLabel) | Concept (Per-Share) | duration | msft:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAssumedInAcquisitionsWeightedAverageGrantDateFairValue | |
| 20 | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue (terseLabel) | Concept (Per-Share) | duration | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue | |
| 21 | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue (terseLabel) | Concept (Per-Share) | duration | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue | |
| 22 | Nonvested balance, end of year | Concept (Per-Share) | instant | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue |
| Model Structure | |
|---|---|
| Network |
101160 - Disclosure - Stock Plan Activity (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureStockPlanActivityParentheticalDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Disclosure Of Compensation Related Costs Sharebased Payments [Abstract] | Abstract | duration | us-gaap:DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract | |
| 2 | us-gaap:ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable (terseLabel) | Table | duration | us-gaap:ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:AwardTypeAxis (terseLabel) | Axis | duration | us-gaap:AwardTypeAxis | |
| 6 | us-gaap:ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain (terseLabel) | Member | duration | us-gaap:ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain | |
| 7 | us-gaap:PerformanceSharesMember (terseLabel) | Member | duration | us-gaap:PerformanceSharesMember | |
| 8 | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems (terseLabel) | LineItems | duration | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems | |
| 9 | Nonvested stock awards granted | Concept (Shares) | duration | us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod |
| Model Structure | |
|---|---|
| Network |
101170 - Disclosure - Employee Purchased Shares (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEmployeePurchasedSharesDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Disclosure Of Compensation Related Costs Sharebased Payments [Abstract] | Abstract | duration | us-gaap:DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract | |
| 2 | msft:EmployeeStockPurchasePlanTable (terseLabel) | Table | duration | msft:EmployeeStockPurchasePlanTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | msft:EmployeeStockPurchasePlanLineItems (terseLabel) | LineItems | duration | msft:EmployeeStockPurchasePlanLineItems | |
| 6 | us-gaap:StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans (terseLabel) | Concept (Shares) | duration | us-gaap:StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans | |
| 7 | msft:StockIssuedEmployeeStockPurchasePlanAveragePricePerShare (terseLabel) | Concept (Per-Share) | duration | msft:StockIssuedEmployeeStockPurchasePlanAveragePricePerShare |
| Model Structure | |
|---|---|
| Network |
101180 - Disclosure - Segment Revenue (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSegmentRevenueDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Segment Reporting [Abstract] | Abstract | duration | us-gaap:SegmentReportingAbstract | |
| 2 | us-gaap:ScheduleOfSegmentReportingInformationBySegmentTable (terseLabel) | Table | duration | us-gaap:ScheduleOfSegmentReportingInformationBySegmentTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:ConsolidationItemsAxis (terseLabel) | Axis | duration | us-gaap:ConsolidationItemsAxis | |
| 6 | us-gaap:ConsolidationItemsDomain (terseLabel) | Member | duration | us-gaap:ConsolidationItemsDomain | |
| 7 | us-gaap:OperatingSegmentsMember (terseLabel) | Member | duration | us-gaap:OperatingSegmentsMember | |
| 8 | msft:CorporateAndReconcilingItemsMember (terseLabel) | Member | duration | msft:CorporateAndReconcilingItemsMember | |
| 9 | us-gaap:StatementBusinessSegmentsAxis (terseLabel) | Axis | duration | us-gaap:StatementBusinessSegmentsAxis | |
| 10 | us-gaap:SegmentDomain (terseLabel) | Member | duration | us-gaap:SegmentDomain | |
| 11 | msft:ProductivityAndBusinessProcessesMember (terseLabel) | Member | duration | msft:ProductivityAndBusinessProcessesMember | |
| 12 | msft:IntelligentCloudMember (terseLabel) | Member | duration | msft:IntelligentCloudMember | |
| 13 | msft:MorePersonalComputingMember (terseLabel) | Member | duration | msft:MorePersonalComputingMember | |
| 14 | us-gaap:SegmentReportingInformationLineItems (terseLabel) | LineItems | duration | us-gaap:SegmentReportingInformationLineItems | |
| 15 | us-gaap:SalesRevenueNet (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:SalesRevenueNet |
| Model Structure | |
|---|---|
| Network |
101190 - Disclosure - Operating Income (Loss) by Segment (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureOperatingIncomeLossBySegmentDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Segment Reporting [Abstract] | Abstract | duration | us-gaap:SegmentReportingAbstract | |
| 2 | us-gaap:ScheduleOfSegmentReportingInformationBySegmentTable (terseLabel) | Table | duration | us-gaap:ScheduleOfSegmentReportingInformationBySegmentTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:ConsolidationItemsAxis (terseLabel) | Axis | duration | us-gaap:ConsolidationItemsAxis | |
| 6 | us-gaap:ConsolidationItemsDomain (terseLabel) | Member | duration | us-gaap:ConsolidationItemsDomain | |
| 7 | us-gaap:OperatingSegmentsMember (terseLabel) | Member | duration | us-gaap:OperatingSegmentsMember | |
| 8 | msft:CorporateAndReconcilingItemsMember (terseLabel) | Member | duration | msft:CorporateAndReconcilingItemsMember | |
| 9 | us-gaap:StatementBusinessSegmentsAxis (terseLabel) | Axis | duration | us-gaap:StatementBusinessSegmentsAxis | |
| 10 | us-gaap:SegmentDomain (terseLabel) | Member | duration | us-gaap:SegmentDomain | |
| 11 | msft:ProductivityAndBusinessProcessesMember (terseLabel) | Member | duration | msft:ProductivityAndBusinessProcessesMember | |
| 12 | msft:IntelligentCloudMember (terseLabel) | Member | duration | msft:IntelligentCloudMember | |
| 13 | msft:MorePersonalComputingMember (terseLabel) | Member | duration | msft:MorePersonalComputingMember | |
| 14 | us-gaap:SegmentReportingInformationLineItems (terseLabel) | LineItems | duration | us-gaap:SegmentReportingInformationLineItems | |
| 15 | us-gaap:OperatingIncomeLoss (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:OperatingIncomeLoss |
| Model Structure | |
|---|---|
| Network |
101200 - Disclosure - Corporate and Other Operating Income (Loss) Activity (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureCorporateAndOtherOperatingIncomeLossActivityDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Segment Reporting [Abstract] | Abstract | duration | us-gaap:SegmentReportingAbstract | |
| 2 | us-gaap:ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTable (terseLabel) | Table | duration | us-gaap:ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:ConsolidationItemsAxis (terseLabel) | Axis | duration | us-gaap:ConsolidationItemsAxis | |
| 6 | us-gaap:ConsolidationItemsDomain (terseLabel) | Member | duration | us-gaap:ConsolidationItemsDomain | |
| 7 | msft:CorporateAndReconcilingItemsMember (terseLabel) | Member | duration | msft:CorporateAndReconcilingItemsMember | |
| 8 | us-gaap:IncomeStatementLocationAxis (terseLabel) | Axis | duration | us-gaap:IncomeStatementLocationAxis | |
| 9 | us-gaap:IncomeStatementLocationDomain (terseLabel) | Member | duration | us-gaap:IncomeStatementLocationDomain | |
| 10 | msft:ImpairmentIntegrationAndRestructuringExpensesMember (terseLabel) | Member | duration | msft:ImpairmentIntegrationAndRestructuringExpensesMember | |
| 11 | us-gaap:DeferredRevenueArrangementTypeAxis (terseLabel) | Axis | duration | us-gaap:DeferredRevenueArrangementTypeAxis | |
| 12 | us-gaap:DeferredRevenueArrangementTypeDomain (terseLabel) | Member | duration | us-gaap:DeferredRevenueArrangementTypeDomain | |
| 13 | Net revenue deferral from Windows 10 | Member | duration | msft:WindowsTenDeferralMember | |
| 14 | us-gaap:SegmentReportingReconcilingItemForOperatingProfitLossFromSegmentToConsolidatedLineItems (terseLabel) | LineItems | duration | us-gaap:SegmentReportingReconcilingItemForOperatingProfitLossFromSegmentToConsolidatedLineItems | |
| 15 | us-gaap:OperatingIncomeLoss (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:OperatingIncomeLoss |
| Model Structure | |
|---|---|
| Network |
101210 - Disclosure - Segment Information and Geographic Data - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSegmentInformationAndGeographicDataAdditionalInformationDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Segment Reporting [Abstract] | Abstract | duration | us-gaap:SegmentReportingAbstract | |
| 2 | us-gaap:ScheduleOfSegmentReportingInformationBySegmentTable (terseLabel) | Table | duration | us-gaap:ScheduleOfSegmentReportingInformationBySegmentTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:SegmentReportingInformationLineItems (terseLabel) | LineItems | duration | us-gaap:SegmentReportingInformationLineItems | |
| 6 | us-gaap:SegmentReportingDisclosureOfMajorCustomers (terseLabel) | Concept (String) | duration | us-gaap:SegmentReportingDisclosureOfMajorCustomers |
| Model Structure | |
|---|---|
| Network |
101220 - Disclosure - Revenue Classified by Major Geographic Areas (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureRevenueClassifiedByMajorGeographicAreasDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Segment Reporting [Abstract] | Abstract | duration | us-gaap:SegmentReportingAbstract | |
| 2 | msft:GeographicInformationTable (terseLabel) | Table | duration | msft:GeographicInformationTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementGeographicalAxis (terseLabel) | Axis | duration | us-gaap:StatementGeographicalAxis | |
| 6 | us-gaap:SegmentGeographicalDomain (terseLabel) | Member | duration | us-gaap:SegmentGeographicalDomain | |
| 7 | country:US (terseLabel) | Member | duration | country:US | |
| 8 | us-gaap:NonUsMember (terseLabel) | Member | duration | us-gaap:NonUsMember | |
| 9 | msft:GeographicInformationLineItems (terseLabel) | LineItems | duration | msft:GeographicInformationLineItems | |
| 10 | Revenues | Concept (Monetary) | duration | credit | us-gaap:SalesRevenueNet |
| Model Structure | |
|---|---|
| Network |
101230 - Disclosure - Revenue Classified by Significant Product and Service Offerings (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureRevenueClassifiedBySignificantProductAndServiceOfferingsDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Segment Reporting [Abstract] | Abstract | duration | us-gaap:SegmentReportingAbstract | |
| 2 | us-gaap:ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable (terseLabel) | Table | duration | us-gaap:ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:ProductOrServiceAxis (terseLabel) | Axis | duration | us-gaap:ProductOrServiceAxis | |
| 6 | us-gaap:ProductsAndServicesDomain (terseLabel) | Member | duration | us-gaap:ProductsAndServicesDomain | |
| 7 | msft:MicrosoftOfficeSystemMember (terseLabel) | Member | duration | msft:MicrosoftOfficeSystemMember | |
| 8 | msft:ServerProductsAndToolsMember (terseLabel) | Member | duration | msft:ServerProductsAndToolsMember | |
| 9 | msft:XboxMember (terseLabel) | Member | duration | msft:XboxMember | |
| 10 | msft:WindowsOperatingSystemsForComputingDevicesMember (terseLabel) | Member | duration | msft:WindowsOperatingSystemsForComputingDevicesMember | |
| 11 | msft:AdvertisingMember (terseLabel) | Member | duration | msft:AdvertisingMember | |
| 12 | msft:ConsultingAndProductSupportServicesMember (terseLabel) | Member | duration | msft:ConsultingAndProductSupportServicesMember | |
| 13 | msft:DevicesMember (terseLabel) | Member | duration | msft:DevicesMember | |
| 14 | Member | duration | msft:LinkedInCorporationMember | ||
| 15 | msft:OtherProductsAndServicesMember (terseLabel) | Member | duration | msft:OtherProductsAndServicesMember | |
| 16 | us-gaap:EntityWideInformationRevenueFromExternalCustomerLineItems (terseLabel) | LineItems | duration | us-gaap:EntityWideInformationRevenueFromExternalCustomerLineItems | |
| 17 | us-gaap:SalesRevenueNet (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:SalesRevenueNet |
| Model Structure | |
|---|---|
| Network |
101240 - Disclosure - Revenue Classified by Significant Product and Service Offerings (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureRevenueClassifiedBySignificantProductAndServiceOfferingsParentheticalDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Segment Reporting [Abstract] | Abstract | duration | us-gaap:SegmentReportingAbstract | |
| 2 | us-gaap:ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable (terseLabel) | Table | duration | us-gaap:ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | msft:ProductsOrServicesSecondaryCategorizationAxis (terseLabel) | Axis | duration | msft:ProductsOrServicesSecondaryCategorizationAxis | |
| 6 | msft:ProductsOrServicesNameSecondaryCategorizationDomain (terseLabel) | Member | duration | msft:ProductsOrServicesNameSecondaryCategorizationDomain | |
| 7 | msft:CommercialCloudMember (terseLabel) | Member | duration | msft:CommercialCloudMember | |
| 8 | us-gaap:EntityWideInformationRevenueFromExternalCustomerLineItems (terseLabel) | LineItems | duration | us-gaap:EntityWideInformationRevenueFromExternalCustomerLineItems | |
| 9 | us-gaap:SalesRevenueNet (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:SalesRevenueNet |
| Model Structure | |
|---|---|
| Network |
101250 - Disclosure - Long-Lived Assets, Excluding Financial Instruments and Tax Assets, Classified by Location of Controlling Statutory Company (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureLongLivedAssetsExcludingFinancialInstrumentsAndTaxAssetsClassifiedByLocationOfControllingStatutoryCompanyDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Segment Reporting [Abstract] | Abstract | duration | us-gaap:SegmentReportingAbstract | |
| 2 | msft:CertainLongLivedAssetsByGeographyTable (terseLabel) | Table | duration | msft:CertainLongLivedAssetsByGeographyTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:StatementGeographicalAxis (terseLabel) | Axis | duration | us-gaap:StatementGeographicalAxis | |
| 6 | us-gaap:SegmentGeographicalDomain (terseLabel) | Member | duration | us-gaap:SegmentGeographicalDomain | |
| 7 | country:US (terseLabel) | Member | duration | country:US | |
| 8 | country:IE (terseLabel) | Member | duration | country:IE | |
| 9 | country:LU (terseLabel) | Member | duration | country:LU | |
| 10 | msft:OtherCountriesMember (terseLabel) | Member | duration | msft:OtherCountriesMember | |
| 11 | msft:CertainLongLivedAssetsByGeographyLineItems (terseLabel) | LineItems | duration | msft:CertainLongLivedAssetsByGeographyLineItems | |
| 12 | us-gaap:NoncurrentAssets (terseLabel) | Concept (Monetary) | instant | debit | us-gaap:NoncurrentAssets |
| Model Structure | |
|---|---|
| Network |
101260 - Disclosure - Quarterly Information (Unaudited) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureQuarterlyInformationUnauditedDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Quarterly Financial Information Disclosure [Abstract] | Abstract | duration | us-gaap:QuarterlyFinancialInformationDisclosureAbstract | |
| 2 | msft:QuarterlyFinancialInformationTable (terseLabel) | Table | duration | msft:QuarterlyFinancialInformationTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | msft:QuarterlyFinancialInformationLineItems (terseLabel) | LineItems | duration | msft:QuarterlyFinancialInformationLineItems | |
| 6 | us-gaap:SalesRevenueNet (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:SalesRevenueNet |
| 7 | Gross margin | Concept (Monetary) | duration | credit | us-gaap:GrossProfit |
| 8 | Operating income | Concept (Monetary) | duration | credit | us-gaap:OperatingIncomeLoss |
| 9 | us-gaap:NetIncomeLoss (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:NetIncomeLoss |
| 10 | Basic earnings per share | Concept (Per-Share) | duration | us-gaap:EarningsPerShareBasic | |
| 11 | Diluted earnings per share | Concept (Per-Share) | duration | us-gaap:EarningsPerShareDiluted |
| Model Structure | |
|---|---|
| Network |
101270 - Disclosure - Quarterly Information (Unaudited) (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureQuarterlyInformationUnauditedParentheticalDetail)
|
| Table | (implied) |
| # | Label | Report Element Class | Period Type | Balance | Name |
|---|---|---|---|---|---|
| 1 | Quarterly Financial Information Disclosure [Abstract] | Abstract | duration | us-gaap:QuarterlyFinancialInformationDisclosureAbstract | |
| 2 | msft:QuarterlyFinancialInformationTable (terseLabel) | Table | duration | msft:QuarterlyFinancialInformationTable | |
| 3 | dei:LegalEntityAxis (terseLabel) | Axis | duration | dei:LegalEntityAxis | |
| 4 | dei:EntityDomain (terseLabel) | Member | duration | dei:EntityDomain | |
| 5 | us-gaap:DeferredRevenueArrangementTypeAxis (terseLabel) | Axis | duration | us-gaap:DeferredRevenueArrangementTypeAxis | |
| 6 | us-gaap:DeferredRevenueArrangementTypeDomain (terseLabel) | Member | duration | us-gaap:DeferredRevenueArrangementTypeDomain | |
| 7 | msft:WindowsTenDeferralMember (terseLabel) | Member | duration | msft:WindowsTenDeferralMember | |
| 8 | us-gaap:RestructuringPlanAxis (terseLabel) | Axis | duration | us-gaap:RestructuringPlanAxis | |
| 9 | us-gaap:RestructuringPlanDomain (terseLabel) | Member | duration | us-gaap:RestructuringPlanDomain | |
| 10 | msft:SalesAndMarketingRestructuringPlanMember (terseLabel) | Member | duration | msft:SalesAndMarketingRestructuringPlanMember | |
| 11 | 2016 Restructuring Plans | Member | duration | msft:TwentySixteenRestructuringPlanMember | |
| 12 | us-gaap:RestructuringCostAndReserveAxis (terseLabel) | Axis | duration | us-gaap:RestructuringCostAndReserveAxis | |
| 13 | us-gaap:TypeOfRestructuringDomain (terseLabel) | Member | duration | us-gaap:TypeOfRestructuringDomain | |
| 14 | us-gaap:EmployeeSeveranceMember (terseLabel) | Member | duration | us-gaap:EmployeeSeveranceMember | |
| 15 | us-gaap:StatementBusinessSegmentsAxis (terseLabel) | Axis | duration | us-gaap:StatementBusinessSegmentsAxis | |
| 16 | us-gaap:SegmentDomain (terseLabel) | Member | duration | us-gaap:SegmentDomain | |
| 17 | msft:PhoneBusinessMember (terseLabel) | Member | duration | msft:PhoneBusinessMember | |
| 18 | msft:QuarterlyFinancialInformationLineItems (terseLabel) | LineItems | duration | msft:QuarterlyFinancialInformationLineItems | |
| 19 | us-gaap:SalesRevenueNet (terseLabel) | Concept (Monetary) | duration | credit | us-gaap:SalesRevenueNet |
| 20 | us-gaap:RestructuringCharges (terseLabel) | Concept (Monetary) | duration | debit | us-gaap:RestructuringCharges |
| 21 | msft:ImpairmentIntegrationAndRestructuringEffectOnOperatingIncomeLossAfterTax (terseLabel) | Concept (Monetary) | duration | credit | msft:ImpairmentIntegrationAndRestructuringEffectOnOperatingIncomeLossAfterTax |
| 22 | msft:ImpairmentIntegrationAndRestructuringEffectOnEarningsAfterTax (terseLabel) | Concept (Monetary) | duration | credit | msft:ImpairmentIntegrationAndRestructuringEffectOnEarningsAfterTax |
| 23 | msft:ImpairmentIntegrationAndRestructuringEffectOnEarningsPerShareAfterTax (terseLabel) | Concept (Per-Share) | duration | msft:ImpairmentIntegrationAndRestructuringEffectOnEarningsPerShareAfterTax | |
| 24 | Asset impairment charges | Concept (Monetary) | duration | debit | us-gaap:AssetImpairmentCharges |
The colours used for the fact values are significant, and have the following meanings:
| Fact Table | |
|---|---|
| Network |
100000 - Document - Document and Entity Information
(http://www.microsoft.com/20170630/taxonomy/role/DocumentDocumentAndEntityInformation)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Entity [Domain] | Amendment Flag | false | ||||
| 2 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Entity [Domain] | Current Fiscal Year End Date | --06-30 | ||||
| 3 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Entity [Domain] | Document Fiscal Period Focus | FY | ||||
| 4 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Entity [Domain] | Document Fiscal Year Focus | 2017 | ||||
| 5 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Entity [Domain] | Document Period End Date | 2017-06-30 | ||||
| 6 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Entity [Domain] | Document Type | 10-K | ||||
| 7 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Entity [Domain] | Entity Central Index Key | 0000789019 | ||||
| 8 | 0000789019 (http://www.sec.gov/CIK) | 2017-07-31 | Entity [Domain] | Entity Common Stock Shares Outstanding | 7702243979 | shares | INF | ||
| 9 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Entity [Domain] | Entity Current Reporting Status | Yes | ||||
| 10 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Entity [Domain] | Entity Filer Category | Large Accelerated Filer | ||||
| 11 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Entity [Domain] | Entity Listing Par Value Per Share | 6.25e-6 | iso4217:USD/shares | INF | ||
| 12 | 0000789019 (http://www.sec.gov/CIK) | 2016-12-31 | Entity [Domain] | Entity Public Float | 466500000000 | iso4217:USD | -8 | ||
| 13 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Entity [Domain] | Entity Registrant Name | MICROSOFT CORPORATION | ||||
| 14 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Entity [Domain] | Entity Tax Identification Number | 911144442 | ||||
| 15 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Entity [Domain] | Entity Voluntary Filers | No | ||||
| 16 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Entity [Domain] | Entity Well Known Seasoned Issuer | Yes | ||||
| 17 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Entity [Domain] | Trading Symbol | MSFT |
| Fact Table | |
|---|---|
| Network |
100010 - Statement - INCOME STATEMENTS
(http://www.microsoft.com/20170630/taxonomy/role/StatementINCOMESTATEMENTS)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100020 - Statement - COMPREHENSIVE INCOME STATEMENTS
(http://www.microsoft.com/20170630/taxonomy/role/StatementCOMPREHENSIVEINCOMESTATEMENTS)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100030 - Statement - COMPREHENSIVE INCOME STATEMENTS (Parenthetical)
(http://www.microsoft.com/20170630/taxonomy/role/StatementCOMPREHENSIVEINCOMESTATEMENTSParenthetical)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100040 - Statement - BALANCE SHEETS
(http://www.microsoft.com/20170630/taxonomy/role/StatementBALANCESHEETS)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100050 - Statement - BALANCE SHEETS (Parenthetical)
(http://www.microsoft.com/20170630/taxonomy/role/StatementBALANCESHEETSParenthetical)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100060 - Statement - CASH FLOWS STATEMENTS
(http://www.microsoft.com/20170630/taxonomy/role/StatementCASHFLOWSSTATEMENTS)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100070 - Statement - STOCKHOLDERS' EQUITY STATEMENTS
(http://www.microsoft.com/20170630/taxonomy/role/StatementSTOCKHOLDERSEQUITYSTATEMENTS)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 0000789019 (http://www.sec.gov/CIK) | 2014-07-01 to 2015-06-30 | Common Stock Including Additional Paid In Capital [Member] | Adjustment To Additional Paid In Capital Income Tax Effect From Share Based Compensation Net | 588000000 | iso4217:USD | -6 | ||
| 2 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Common Stock Including Additional Paid In Capital [Member] | Adjustment To Additional Paid In Capital Income Tax Effect From Share Based Compensation Net | 0 | iso4217:USD | -6 | ||
| 3 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Common Stock Including Additional Paid In Capital [Member] | Adjustment To Additional Paid In Capital Income Tax Effect From Share Based Compensation Net | 0 | iso4217:USD | -6 | ||
| 4 | 0000789019 (http://www.sec.gov/CIK) | 2014-07-01 to 2015-06-30 | Common Stock Including Additional Paid In Capital [Member] | Adjustments To Additional Paid In Capital Sharebased Compensation Requisite Service Period Recognition Value | 2574000000 | iso4217:USD | -6 | ||
| 5 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Common Stock Including Additional Paid In Capital [Member] | Adjustments To Additional Paid In Capital Sharebased Compensation Requisite Service Period Recognition Value | 2668000000 | iso4217:USD | -6 | ||
| 6 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Common Stock Including Additional Paid In Capital [Member] | Adjustments To Additional Paid In Capital Sharebased Compensation Requisite Service Period Recognition Value | 3266000000 | iso4217:USD | -6 | ||
| 7 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2015-09-30 | Equity Component [Domain] | us-gaap:DividendsCommonStockCash (label) | 2868000000 | iso4217:USD | -6 | ||
| 8 | 0000789019 (http://www.sec.gov/CIK) | 2015-10-01 to 2015-12-31 | Equity Component [Domain] | us-gaap:DividendsCommonStockCash (label) | 2842000000 | iso4217:USD | -6 | ||
| 9 | 0000789019 (http://www.sec.gov/CIK) | 2016-01-01 to 2016-03-31 | Equity Component [Domain] | us-gaap:DividendsCommonStockCash (label) | 2821000000 | iso4217:USD | -6 | ||
| 10 | 0000789019 (http://www.sec.gov/CIK) | 2016-04-01 to 2016-06-30 | Equity Component [Domain] | us-gaap:DividendsCommonStockCash (label) | 2800000000 | iso4217:USD | -6 | ||
| 11 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2016-09-30 | Equity Component [Domain] | us-gaap:DividendsCommonStockCash (label) | 3024000000 | iso4217:USD | -6 | ||
| 12 | 0000789019 (http://www.sec.gov/CIK) | 2016-10-01 to 2016-12-31 | Equity Component [Domain] | us-gaap:DividendsCommonStockCash (label) | 3012000000 | iso4217:USD | -6 | ||
| 13 | 0000789019 (http://www.sec.gov/CIK) | 2017-01-01 to 2017-03-31 | Equity Component [Domain] | us-gaap:DividendsCommonStockCash (label) | 3009000000 | iso4217:USD | -6 | ||
| 14 | 0000789019 (http://www.sec.gov/CIK) | 2017-04-01 to 2017-06-30 | Equity Component [Domain] | us-gaap:DividendsCommonStockCash (label) | 3006000000 | iso4217:USD | -6 | ||
| 15 | 0000789019 (http://www.sec.gov/CIK) | 2014-07-01 to 2015-06-30 | Retained Earnings [Member] | us-gaap:DividendsCommonStockCash (label) | 10063000000 | iso4217:USD | -6 | ||
| 16 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Retained Earnings [Member] | us-gaap:DividendsCommonStockCash (label) | 11329000000 | iso4217:USD | -6 | ||
| 17 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Retained Earnings [Member] | us-gaap:DividendsCommonStockCash (label) | 12040000000 | iso4217:USD | -6 | ||
| 18 | 0000789019 (http://www.sec.gov/CIK) | 2014-07-01 to 2015-06-30 | Equity Component [Domain] | us-gaap:NetIncomeLoss (label) | 12193000000 | iso4217:USD | -6 | ||
| 19 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2015-09-30 | Equity Component [Domain] | us-gaap:NetIncomeLoss (label) | 4902000000 | iso4217:USD | -6 | ||
| 20 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Equity Component [Domain] | us-gaap:NetIncomeLoss (label) | 16798000000 | iso4217:USD | -6 | ||
| 21 | 0000789019 (http://www.sec.gov/CIK) | 2015-10-01 to 2015-12-31 | Equity Component [Domain] | us-gaap:NetIncomeLoss (label) | 5018000000 | iso4217:USD | -6 | ||
| 22 | 0000789019 (http://www.sec.gov/CIK) | 2016-01-01 to 2016-03-31 | Equity Component [Domain] | us-gaap:NetIncomeLoss (label) | 3756000000 | iso4217:USD | -6 | ||
| 23 | 0000789019 (http://www.sec.gov/CIK) | 2016-04-01 to 2016-06-30 | Equity Component [Domain] | us-gaap:NetIncomeLoss (label) | 3122000000 | iso4217:USD | -6 | ||
| 24 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2016-09-30 | Equity Component [Domain] | us-gaap:NetIncomeLoss (label) | 4690000000 | iso4217:USD | -6 | ||
| 25 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Equity Component [Domain] | us-gaap:NetIncomeLoss (label) | 21204000000 | iso4217:USD | -6 | ||
| 26 | 0000789019 (http://www.sec.gov/CIK) | 2016-10-01 to 2016-12-31 | Equity Component [Domain] | us-gaap:NetIncomeLoss (label) | 5200000000 | iso4217:USD | -6 | ||
| 27 | 0000789019 (http://www.sec.gov/CIK) | 2017-01-01 to 2017-03-31 | Equity Component [Domain] | us-gaap:NetIncomeLoss (label) | 4801000000 | iso4217:USD | -6 | ||
| 28 | 0000789019 (http://www.sec.gov/CIK) | 2017-04-01 to 2017-06-30 | Equity Component [Domain] | us-gaap:NetIncomeLoss (label) | 6513000000 | iso4217:USD | -6 | ||
| 29 | 0000789019 (http://www.sec.gov/CIK) | 2014-07-01 to 2015-06-30 | Retained Earnings [Member] | us-gaap:NetIncomeLoss (label) | 12193000000 | iso4217:USD | -6 | ||
| 30 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Retained Earnings [Member] | us-gaap:NetIncomeLoss (label) | 16798000000 | iso4217:USD | -6 | ||
| 31 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Retained Earnings [Member] | us-gaap:NetIncomeLoss (label) | 21204000000 | iso4217:USD | -6 | ||
| 32 | 0000789019 (http://www.sec.gov/CIK) | 2014-07-01 to 2015-06-30 | Equity Component [Domain] | us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (label) | -1186000000 | iso4217:USD | -6 | ||
| 33 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Equity Component [Domain] | us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (label) | -985000000 | iso4217:USD | -6 | ||
| 34 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Equity Component [Domain] | us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (label) | -1106000000 | iso4217:USD | -6 | ||
| 35 | 0000789019 (http://www.sec.gov/CIK) | 2014-07-01 to 2015-06-30 | Accumulated Other Comprehensive Income [Member] | us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (label) | -1186000000 | iso4217:USD | -6 | ||
| 36 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Accumulated Other Comprehensive Income [Member] | us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (label) | -985000000 | iso4217:USD | -6 | ||
| 37 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Accumulated Other Comprehensive Income [Member] | us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (label) | -1106000000 | iso4217:USD | -6 | ||
| 38 | 0000789019 (http://www.sec.gov/CIK) | 2014-07-01 to 2015-06-30 | Common Stock Including Additional Paid In Capital [Member] | Stock Issued During Period Value New Issues | 634000000 | iso4217:USD | -6 | ||
| 39 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Common Stock Including Additional Paid In Capital [Member] | Stock Issued During Period Value New Issues | 668000000 | iso4217:USD | -6 | ||
| 40 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Common Stock Including Additional Paid In Capital [Member] | Stock Issued During Period Value New Issues | 772000000 | iso4217:USD | -6 | ||
| 41 | 0000789019 (http://www.sec.gov/CIK) | 2014-07-01 to 2015-06-30 | Equity Component [Domain] | us-gaap:StockRepurchasedDuringPeriodValue (label) | 13209000000 | iso4217:USD | -6 | ||
| 42 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Equity Component [Domain] | us-gaap:StockRepurchasedDuringPeriodValue (label) | 14800000000 | iso4217:USD | -6 | ||
| 43 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Equity Component [Domain] | us-gaap:StockRepurchasedDuringPeriodValue (label) | 10283000000 | iso4217:USD | -6 | ||
| 44 | 0000789019 (http://www.sec.gov/CIK) | 2014-07-01 to 2015-06-30 | Common Stock Including Additional Paid In Capital [Member] | us-gaap:StockRepurchasedDuringPeriodValue (label) | 3700000000 | iso4217:USD | -6 | ||
| 45 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Common Stock Including Additional Paid In Capital [Member] | us-gaap:StockRepurchasedDuringPeriodValue (label) | 3689000000 | iso4217:USD | -6 | ||
| 46 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Common Stock Including Additional Paid In Capital [Member] | us-gaap:StockRepurchasedDuringPeriodValue (label) | 2987000000 | iso4217:USD | -6 | ||
| 47 | 0000789019 (http://www.sec.gov/CIK) | 2014-07-01 to 2015-06-30 | Retained Earnings [Member] | us-gaap:StockRepurchasedDuringPeriodValue (label) | 10744000000 | iso4217:USD | -6 | ||
| 48 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Retained Earnings [Member] | us-gaap:StockRepurchasedDuringPeriodValue (label) | 12283000000 | iso4217:USD | -6 | ||
| 49 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Retained Earnings [Member] | us-gaap:StockRepurchasedDuringPeriodValue (label) | 8798000000 | iso4217:USD | -6 | ||
| 50 | 0000789019 (http://www.sec.gov/CIK) | 2015-06-30 | Equity Component [Domain] | us-gaap:StockholdersEquity (label) | 80083000000 | iso4217:USD | -6 | ||
| 51 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity Component [Domain] | us-gaap:StockholdersEquity (label) | 71997000000 | iso4217:USD | -6 | ||
| 52 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity Component [Domain] | us-gaap:StockholdersEquity (label) | 72394000000 | iso4217:USD | -6 | ||
| 53 | 0000789019 (http://www.sec.gov/CIK) | 2014-06-30 | Accumulated Other Comprehensive Income [Member] | us-gaap:StockholdersEquity (label) | 3708000000 | iso4217:USD | -6 | ||
| 54 | 0000789019 (http://www.sec.gov/CIK) | 2015-06-30 | Accumulated Other Comprehensive Income [Member] | us-gaap:StockholdersEquity (label) | 2522000000 | iso4217:USD | -6 | ||
| 55 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Accumulated Other Comprehensive Income [Member] | us-gaap:StockholdersEquity (label) | 1537000000 | iso4217:USD | -6 | ||
| 56 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Accumulated Other Comprehensive Income [Member] | us-gaap:StockholdersEquity (label) | 431000000 | iso4217:USD | -6 | ||
| 57 | 0000789019 (http://www.sec.gov/CIK) | 2014-06-30 | Common Stock Including Additional Paid In Capital [Member] | us-gaap:StockholdersEquity (label) | 68366000000 | iso4217:USD | -6 | ||
| 58 | 0000789019 (http://www.sec.gov/CIK) | 2015-06-30 | Common Stock Including Additional Paid In Capital [Member] | us-gaap:StockholdersEquity (label) | 68465000000 | iso4217:USD | -6 | ||
| 59 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Common Stock Including Additional Paid In Capital [Member] | us-gaap:StockholdersEquity (label) | 68178000000 | iso4217:USD | -6 | ||
| 60 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Common Stock Including Additional Paid In Capital [Member] | us-gaap:StockholdersEquity (label) | 69315000000 | iso4217:USD | -6 | ||
| 61 | 0000789019 (http://www.sec.gov/CIK) | 2014-06-30 | Retained Earnings [Member] | us-gaap:StockholdersEquity (label) | 17710000000 | iso4217:USD | -6 | ||
| 62 | 0000789019 (http://www.sec.gov/CIK) | 2015-06-30 | Retained Earnings [Member] | us-gaap:StockholdersEquity (label) | 9096000000 | iso4217:USD | -6 | ||
| 63 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Retained Earnings [Member] | us-gaap:StockholdersEquity (label) | 2282000000 | iso4217:USD | -6 | ||
| 64 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Retained Earnings [Member] | us-gaap:StockholdersEquity (label) | 2648000000 | iso4217:USD | -6 | ||
| 65 | 0000789019 (http://www.sec.gov/CIK) | 2014-07-01 to 2015-06-30 | Common Stock Including Additional Paid In Capital [Member] | Stockholders Equity Other | -3000000 | iso4217:USD | -6 | ||
| 66 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Common Stock Including Additional Paid In Capital [Member] | Stockholders Equity Other | -66000000 | iso4217:USD | -6 | ||
| 67 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Common Stock Including Additional Paid In Capital [Member] | Stockholders Equity Other | -86000000 | iso4217:USD | -6 |
| Fact Table | |
|---|---|
| Network |
100080 - Disclosure - ACCOUNTING POLICIES
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureACCOUNTINGPOLICIES)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100090 - Disclosure - EARNINGS PER SHARE
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEARNINGSPERSHARE)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100100 - Disclosure - OTHER INCOME (EXPENSE), NET
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureOTHERINCOMEEXPENSENET)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100110 - Disclosure - INVESTMENTS
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINVESTMENTS)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100120 - Disclosure - DERIVATIVES
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDERIVATIVES)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100130 - Disclosure - FAIR VALUE MEASUREMENTS
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFAIRVALUEMEASUREMENTS)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100140 - Disclosure - INVENTORIES
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINVENTORIES)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100150 - Disclosure - PROPERTY AND EQUIPMENT
(http://www.microsoft.com/20170630/taxonomy/role/DisclosurePROPERTYANDEQUIPMENT)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100160 - Disclosure - BUSINESS COMBINATIONS
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureBUSINESSCOMBINATIONS)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100170 - Disclosure - GOODWILL
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureGOODWILL)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100180 - Disclosure - INTANGIBLE ASSETS
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINTANGIBLEASSETS)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100190 - Disclosure - DEBT
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDEBT)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100200 - Disclosure - INCOME TAXES
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINCOMETAXES)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100210 - Disclosure - RESTRUCTURING CHARGES
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureRESTRUCTURINGCHARGES)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100220 - Disclosure - UNEARNED REVENUE
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureUNEARNEDREVENUE)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100230 - Disclosure - COMMITMENTS
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureCOMMITMENTS)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100240 - Disclosure - CONTINGENCIES
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureCONTINGENCIES)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100250 - Disclosure - STOCKHOLDERS' EQUITY
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSTOCKHOLDERSEQUITY)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100260 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE INCOME
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureACCUMULATEDOTHERCOMPREHENSIVEINCOME)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100270 - Disclosure - EMPLOYEE STOCK AND SAVINGS PLANS
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEMPLOYEESTOCKANDSAVINGSPLANS)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100280 - Disclosure - SEGMENT INFORMATION AND GEOGRAPHIC DATA
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSEGMENTINFORMATIONANDGEOGRAPHICDATA)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100290 - Disclosure - QUARTERLY INFORMATION (UNAUDITED)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureQUARTERLYINFORMATIONUNAUDITED)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100300 - Disclosure - ACCOUNTING POLICIES (Policies)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureACCOUNTINGPOLICIESPolicies)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100310 - Disclosure - ACCOUNTING POLICIES (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureACCOUNTINGPOLICIESTables)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100320 - Disclosure - EARNINGS PER SHARE (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEARNINGSPERSHARETables)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100330 - Disclosure - OTHER INCOME (EXPENSE), NET (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureOTHERINCOMEEXPENSENETTables)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100340 - Disclosure - INVESTMENTS (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINVESTMENTSTables)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100350 - Disclosure - DERIVATIVES (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDERIVATIVESTables)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Cash Flow Hedging [Member] | Schedule Of Derivative Instruments Gain Loss In Statement Of Financial Performance [Text Block] | We recognized the following gains (losses) on foreign exchange contracts designated as cash flow hedges:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 2 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Fair Value Hedging [Member] | Schedule Of Derivative Instruments Gain Loss In Statement Of Financial Performance [Text Block] | We recognized in other income (expense), net the following gains (losses) on contracts designated as fair value hedges and their related hedged items:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 3 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Nondesignated [Member] | Schedule Of Derivative Instruments Gain Loss In Statement Of Financial Performance [Text Block] | Gains (losses) from changes in fair values of derivatives that are not designated as hedges are primarily recognized in other income (expense), net. These amounts are shown in the table below, with the exception of gains (losses) on derivatives presented in income statement line items other than other income (expense), net, which were immaterial for the periods presented. Other than those derivatives entered into for investment purposes, such as commodity contracts, the gains (losses) below are generally economically offset by unrealized gains (losses) in the underlying available-for-sale securities and gains (losses) from foreign exchange rate changes on certain balance sheet amounts.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 4 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Hedging Relationship [Domain] | Schedule Of Derivative Instruments In Statement Of Financial Position Fair Value [Text Block] | The following table presents the fair values of derivative instruments designated as hedging instruments (“designated hedge derivatives”) and not designated as hedging instruments (“non-designated hedge derivatives”). The fair values exclude the impact of netting derivative assets and liabilities when a legally enforceable master netting agreement exists and fair value adjustments related to our own credit risk and counterparty credit risk:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 5 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Hedging Designation [Domain] | Schedule Of Derivative Instruments In Statement Of Financial Position Fair Value [Text Block] | The following table presents the fair values of derivative instruments designated as hedging instruments (“designated hedge derivatives”) and not designated as hedging instruments (“non-designated hedge derivatives”). The fair values exclude the impact of netting derivative assets and liabilities when a legally enforceable master netting agreement exists and fair value adjustments related to our own credit risk and counterparty credit risk:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fact Table | |
|---|---|
| Network |
100360 - Disclosure - FAIR VALUE MEASUREMENTS (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFAIRVALUEMEASUREMENTSTables)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100370 - Disclosure - INVENTORIES (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINVENTORIESTables)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100380 - Disclosure - PROPERTY AND EQUIPMENT (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosurePROPERTYANDEQUIPMENTTables)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100390 - Disclosure - BUSINESS COMBINATIONS (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureBUSINESSCOMBINATIONSTables)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | msft:LinkedInCorporationMember (label) | Revenue And Operating Loss Attributable To Acquiree Since Acquisition Date Table [Text Block] | Our consolidated income statement includes the following revenue and operating loss attributable to LinkedIn since the date of acquisition:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 2 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | msft:LinkedInCorporationMember (label) | Business Acquisition Pro Forma Information [Text Block] | Following are the supplemental consolidated financial results of Microsoft Corporation on an unaudited pro forma basis, as if the acquisition had been consummated on July 1, 2015:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 3 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Business Acquisition Acquiree [Domain] | Schedule Of Acquired Finite Lived Intangible Assets By Major Class [Text Block] | The components of intangible assets acquired during the periods presented were as follows:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 4 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | msft:LinkedInCorporationMember (label) | Schedule Of Acquired Finite Lived Intangible Assets By Major Class [Text Block] | Following are the details of the purchase price allocated to the intangible assets acquired:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 5 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | msft:LinkedInCorporationMember (label) | Schedule Of Business Acquisitions By Acquisition [Text Block] | The major classes of assets and liabilities to which we allocated the purchase price were as follows:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fact Table | |
|---|---|
| Network |
100400 - Disclosure - GOODWILL (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureGOODWILLTables)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100410 - Disclosure - INTANGIBLE ASSETS (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINTANGIBLEASSETSTables)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100420 - Disclosure - DEBT (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDEBTTables)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100430 - Disclosure - INCOME TAXES (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINCOMETAXESTables)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100440 - Disclosure - RESTRUCTURING CHARGES (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureRESTRUCTURINGCHARGESTables)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100450 - Disclosure - UNEARNED REVENUE (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureUNEARNEDREVENUETables)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100460 - Disclosure - COMMITMENTS (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureCOMMITMENTSTables)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100470 - Disclosure - STOCKHOLDERS' EQUITY (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSTOCKHOLDERSEQUITYTables)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100480 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE INCOME (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureACCUMULATEDOTHERCOMPREHENSIVEINCOMETables)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100490 - Disclosure - EMPLOYEE STOCK AND SAVINGS PLANS (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEMPLOYEESTOCKANDSAVINGSPLANSTables)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100500 - Disclosure - SEGMENT INFORMATION AND GEOGRAPHIC DATA (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSEGMENTINFORMATIONANDGEOGRAPHICDATATables)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100510 - Disclosure - QUARTERLY INFORMATION (UNAUDITED) (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureQUARTERLYINFORMATIONUNAUDITEDTables)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100520 - Disclosure - Accounting Policies - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureAccountingPoliciesAdditionalInformationDetail)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | Accounts Receivable Net And Other Assets | 4200000000 | iso4217:USD | -8 | ||
| 2 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | Accounts Receivable Net And Other Assets | 4200000000 | iso4217:USD | -8 | ||
| 3 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | Accounts Receivable Net And Other Assets | 2700000000 | iso4217:USD | -8 | ||
| 4 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | Accounts Receivable Net And Other Assets | 2700000000 | iso4217:USD | -8 | ||
| 5 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | Operating Lease Liabilities | 5200000000 | iso4217:USD | -8 | ||
| 6 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | Operating Lease Liabilities | 5200000000 | iso4217:USD | -8 | ||
| 7 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | Operating Lease Liabilities | 6600000000 | iso4217:USD | -8 | ||
| 8 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | Operating Lease Liabilities | 6600000000 | iso4217:USD | -8 | ||
| 9 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | Operating Lease Right Of Use Assets | 5200000000 | iso4217:USD | -8 | ||
| 10 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | Operating Lease Right Of Use Assets | 5200000000 | iso4217:USD | -8 | ||
| 11 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | Operating Lease Right Of Use Assets | 6600000000 | iso4217:USD | -8 | ||
| 12 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | Operating Lease Right Of Use Assets | 6600000000 | iso4217:USD | -8 | ||
| 13 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | msft:WindowsTenDeferralMember (label) | Revenue Recognition Period | _2458082 | ||||
| 14 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | us-gaap:MaximumMember (label) | Revenue Recognition Period | _2458684 | ||||
| 15 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | msft:WindowsTenDeferralMember (label) | Revenue Recognition Period | _2459288 | ||||
| 16 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | us-gaap:MinimumMember (label) | Revenue Recognition Period | _2459890 | ||||
| 17 | 0000789019 (http://www.sec.gov/CIK) | 2014-07-01 to 2015-06-30 | Type Of Adoption [Member] | Advertising Expense | 1900000000 | iso4217:USD | -8 | ||
| 18 | 0000789019 (http://www.sec.gov/CIK) | 2014-07-01 to 2015-06-30 | Deferred Revenue Arrangement Type [Domain] | Advertising Expense | 1900000000 | iso4217:USD | -8 | ||
| 19 | 0000789019 (http://www.sec.gov/CIK) | 2014-07-01 to 2015-06-30 | Property Plant And Equipment Type [Domain] | Advertising Expense | 1900000000 | iso4217:USD | -8 | ||
| 20 | 0000789019 (http://www.sec.gov/CIK) | 2014-07-01 to 2015-06-30 | Range [Member] | Advertising Expense | 1900000000 | iso4217:USD | -8 | ||
| 21 | 0000789019 (http://www.sec.gov/CIK) | 2014-07-01 to 2015-06-30 | Scenario Unspecified [Domain] | Advertising Expense | 1900000000 | iso4217:USD | -8 | ||
| 22 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Type Of Adoption [Member] | Advertising Expense | 1600000000 | iso4217:USD | -8 | ||
| 23 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Deferred Revenue Arrangement Type [Domain] | Advertising Expense | 1600000000 | iso4217:USD | -8 | ||
| 24 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Property Plant And Equipment Type [Domain] | Advertising Expense | 1600000000 | iso4217:USD | -8 | ||
| 25 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Range [Member] | Advertising Expense | 1600000000 | iso4217:USD | -8 | ||
| 26 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Scenario Unspecified [Domain] | Advertising Expense | 1600000000 | iso4217:USD | -8 | ||
| 27 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Type Of Adoption [Member] | Advertising Expense | 1500000000 | iso4217:USD | -8 | ||
| 28 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Deferred Revenue Arrangement Type [Domain] | Advertising Expense | 1500000000 | iso4217:USD | -8 | ||
| 29 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Property Plant And Equipment Type [Domain] | Advertising Expense | 1500000000 | iso4217:USD | -8 | ||
| 30 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Range [Member] | Advertising Expense | 1500000000 | iso4217:USD | -8 | ||
| 31 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Scenario Unspecified [Domain] | Advertising Expense | 1500000000 | iso4217:USD | -8 | ||
| 32 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Type Of Adoption [Member] | Deferred Revenue | 33909000000 | iso4217:USD | -6 | ||
| 33 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Deferred Revenue Arrangement Type [Domain] | Deferred Revenue | 33909000000 | iso4217:USD | -6 | ||
| 34 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Property Plant And Equipment Type [Domain] | Deferred Revenue | 33909000000 | iso4217:USD | -6 | ||
| 35 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Range [Member] | Deferred Revenue | 33909000000 | iso4217:USD | -6 | ||
| 36 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Unspecified [Domain] | Deferred Revenue | 33909000000 | iso4217:USD | -6 | ||
| 37 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Type Of Adoption [Member] | Deferred Revenue | 44479000000 | iso4217:USD | -6 | ||
| 38 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Deferred Revenue Arrangement Type [Domain] | Deferred Revenue | 44479000000 | iso4217:USD | -6 | ||
| 39 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Property Plant And Equipment Type [Domain] | Deferred Revenue | 44479000000 | iso4217:USD | -6 | ||
| 40 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Range [Member] | Deferred Revenue | 44479000000 | iso4217:USD | -6 | ||
| 41 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Unspecified [Domain] | Deferred Revenue | 44479000000 | iso4217:USD | -6 | ||
| 42 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | Deferred Revenue | -11716000000 | iso4217:USD | -6 | ||
| 43 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | Deferred Revenue | -11716000000 | iso4217:USD | -6 | ||
| 44 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | Deferred Revenue | -17823000000 | iso4217:USD | -6 | ||
| 45 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | Deferred Revenue | -17823000000 | iso4217:USD | -6 | ||
| 46 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | Deferred Revenue | 0 | iso4217:USD | -6 | ||
| 47 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | Deferred Revenue | 0 | iso4217:USD | -6 | ||
| 48 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | Deferred Revenue | 0 | iso4217:USD | -6 | ||
| 49 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | Deferred Revenue | 0 | iso4217:USD | -6 | ||
| 50 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | Deferred Revenue | 22193000000 | iso4217:USD | -6 | ||
| 51 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | Deferred Revenue | 26656000000 | iso4217:USD | -6 | ||
| 52 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Type Of Adoption [Member] | Deferred Tax Liabilities Noncurrent | 1476000000 | iso4217:USD | -6 | ||
| 53 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Deferred Revenue Arrangement Type [Domain] | Deferred Tax Liabilities Noncurrent | 1476000000 | iso4217:USD | -6 | ||
| 54 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Property Plant And Equipment Type [Domain] | Deferred Tax Liabilities Noncurrent | 1476000000 | iso4217:USD | -6 | ||
| 55 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Range [Member] | Deferred Tax Liabilities Noncurrent | 1476000000 | iso4217:USD | -6 | ||
| 56 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Unspecified [Domain] | Deferred Tax Liabilities Noncurrent | 1476000000 | iso4217:USD | -6 | ||
| 57 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Type Of Adoption [Member] | Deferred Tax Liabilities Noncurrent | 531000000 | iso4217:USD | -6 | ||
| 58 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Deferred Revenue Arrangement Type [Domain] | Deferred Tax Liabilities Noncurrent | 531000000 | iso4217:USD | -6 | ||
| 59 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Property Plant And Equipment Type [Domain] | Deferred Tax Liabilities Noncurrent | 531000000 | iso4217:USD | -6 | ||
| 60 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Range [Member] | Deferred Tax Liabilities Noncurrent | 531000000 | iso4217:USD | -6 | ||
| 61 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Unspecified [Domain] | Deferred Tax Liabilities Noncurrent | 531000000 | iso4217:USD | -6 | ||
| 62 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | Deferred Tax Liabilities Noncurrent | 4837000000 | iso4217:USD | -6 | ||
| 63 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | Deferred Tax Liabilities Noncurrent | 4837000000 | iso4217:USD | -6 | ||
| 64 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | Deferred Tax Liabilities Noncurrent | 5203000000 | iso4217:USD | -6 | ||
| 65 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | Deferred Tax Liabilities Noncurrent | 5203000000 | iso4217:USD | -6 | ||
| 66 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | Deferred Tax Liabilities Noncurrent | 0 | iso4217:USD | -6 | ||
| 67 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | Deferred Tax Liabilities Noncurrent | 0 | iso4217:USD | -6 | ||
| 68 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | Deferred Tax Liabilities Noncurrent | 0 | iso4217:USD | -6 | ||
| 69 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | Deferred Tax Liabilities Noncurrent | 0 | iso4217:USD | -6 | ||
| 70 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | Deferred Tax Liabilities Noncurrent | 6313000000 | iso4217:USD | -6 | ||
| 71 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | Deferred Tax Liabilities Noncurrent | 5734000000 | iso4217:USD | -6 | ||
| 72 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | us-gaap:MaximumMember (label) | Finite Lived Intangible Asset Useful Life | _2491946 | ||||
| 73 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | us-gaap:MinimumMember (label) | Finite Lived Intangible Asset Useful Life | _2492548 | ||||
| 74 | 0000789019 (http://www.sec.gov/CIK) | 2014-07-01 to 2015-06-30 | Type Of Adoption [Member] | us-gaap:IncomeTaxExpenseBenefit (label) | 6314000000 | iso4217:USD | -6 | ||
| 75 | 0000789019 (http://www.sec.gov/CIK) | 2014-07-01 to 2015-06-30 | Deferred Revenue Arrangement Type [Domain] | us-gaap:IncomeTaxExpenseBenefit (label) | 6314000000 | iso4217:USD | -6 | ||
| 76 | 0000789019 (http://www.sec.gov/CIK) | 2014-07-01 to 2015-06-30 | Property Plant And Equipment Type [Domain] | us-gaap:IncomeTaxExpenseBenefit (label) | 6314000000 | iso4217:USD | -6 | ||
| 77 | 0000789019 (http://www.sec.gov/CIK) | 2014-07-01 to 2015-06-30 | Range [Member] | us-gaap:IncomeTaxExpenseBenefit (label) | 6314000000 | iso4217:USD | -6 | ||
| 78 | 0000789019 (http://www.sec.gov/CIK) | 2014-07-01 to 2015-06-30 | Scenario Unspecified [Domain] | us-gaap:IncomeTaxExpenseBenefit (label) | 6314000000 | iso4217:USD | -6 | ||
| 79 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Type Of Adoption [Member] | us-gaap:IncomeTaxExpenseBenefit (label) | 2953000000 | iso4217:USD | -6 | ||
| 80 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Deferred Revenue Arrangement Type [Domain] | us-gaap:IncomeTaxExpenseBenefit (label) | 2953000000 | iso4217:USD | -6 | ||
| 81 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Property Plant And Equipment Type [Domain] | us-gaap:IncomeTaxExpenseBenefit (label) | 2953000000 | iso4217:USD | -6 | ||
| 82 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Range [Member] | us-gaap:IncomeTaxExpenseBenefit (label) | 2953000000 | iso4217:USD | -6 | ||
| 83 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Scenario Unspecified [Domain] | us-gaap:IncomeTaxExpenseBenefit (label) | 2953000000 | iso4217:USD | -6 | ||
| 84 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Type Of Adoption [Member] | us-gaap:IncomeTaxExpenseBenefit (label) | 1945000000 | iso4217:USD | -6 | ||
| 85 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Deferred Revenue Arrangement Type [Domain] | us-gaap:IncomeTaxExpenseBenefit (label) | 1945000000 | iso4217:USD | -6 | ||
| 86 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Property Plant And Equipment Type [Domain] | us-gaap:IncomeTaxExpenseBenefit (label) | 1945000000 | iso4217:USD | -6 | ||
| 87 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Range [Member] | us-gaap:IncomeTaxExpenseBenefit (label) | 1945000000 | iso4217:USD | -6 | ||
| 88 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Scenario Unspecified [Domain] | us-gaap:IncomeTaxExpenseBenefit (label) | 1945000000 | iso4217:USD | -6 | ||
| 89 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | us-gaap:IncomeTaxExpenseBenefit (label) | 2147000000 | iso4217:USD | -6 | ||
| 90 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Scenario Plan [Member] | us-gaap:IncomeTaxExpenseBenefit (label) | 2147000000 | iso4217:USD | -6 | ||
| 91 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | us-gaap:IncomeTaxExpenseBenefit (label) | 2467000000 | iso4217:USD | -6 | ||
| 92 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Scenario Plan [Member] | us-gaap:IncomeTaxExpenseBenefit (label) | 2467000000 | iso4217:USD | -6 | ||
| 93 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | us-gaap:IncomeTaxExpenseBenefit (label) | 0 | iso4217:USD | -6 | ||
| 94 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Scenario Plan [Member] | us-gaap:IncomeTaxExpenseBenefit (label) | 0 | iso4217:USD | -6 | ||
| 95 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | us-gaap:IncomeTaxExpenseBenefit (label) | 0 | iso4217:USD | -6 | ||
| 96 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Scenario Plan [Member] | us-gaap:IncomeTaxExpenseBenefit (label) | 0 | iso4217:USD | -6 | ||
| 97 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Scenario Plan [Member] | us-gaap:IncomeTaxExpenseBenefit (label) | 5100000000 | iso4217:USD | -6 | ||
| 98 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Scenario Plan [Member] | us-gaap:IncomeTaxExpenseBenefit (label) | 4412000000 | iso4217:USD | -6 | ||
| 99 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Building And Building Improvements [Member] | Property Plant And Equipment Useful Life | _2508060 | ||||
| 100 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | us-gaap:MaximumMember (label) | Property Plant And Equipment Useful Life | _2508662 | ||||
| 101 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Building And Building Improvements [Member] | Property Plant And Equipment Useful Life | _2509252 | ||||
| 102 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | us-gaap:MinimumMember (label) | Property Plant And Equipment Useful Life | _2509854 | ||||
| 103 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Computer Equipment [Member] | Property Plant And Equipment Useful Life | _2510444 | ||||
| 104 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | us-gaap:MaximumMember (label) | Property Plant And Equipment Useful Life | _2511046 | ||||
| 105 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Computer Equipment [Member] | Property Plant And Equipment Useful Life | _2511636 | ||||
| 106 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | us-gaap:MinimumMember (label) | Property Plant And Equipment Useful Life | _2512238 | ||||
| 107 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Furniture And Fixtures [Member] | Property Plant And Equipment Useful Life | _2512828 | ||||
| 108 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | us-gaap:MaximumMember (label) | Property Plant And Equipment Useful Life | _2513430 | ||||
| 109 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Furniture And Fixtures [Member] | Property Plant And Equipment Useful Life | _2514020 | ||||
| 110 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | us-gaap:MinimumMember (label) | Property Plant And Equipment Useful Life | _2514622 | ||||
| 111 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Leasehold Improvements [Member] | Property Plant And Equipment Useful Life | _2515212 | ||||
| 112 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | us-gaap:MaximumMember (label) | Property Plant And Equipment Useful Life | _2515814 | ||||
| 113 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Leasehold Improvements [Member] | Property Plant And Equipment Useful Life | _2516404 | ||||
| 114 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | us-gaap:MinimumMember (label) | Property Plant And Equipment Useful Life | _2517006 | ||||
| 115 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Software And Software Development Costs [Member] | Property Plant And Equipment Useful Life | _2517596 | ||||
| 116 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | us-gaap:MaximumMember (label) | Property Plant And Equipment Useful Life | _2518198 | ||||
| 117 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Software And Software Development Costs [Member] | Property Plant And Equipment Useful Life | _2518788 | ||||
| 118 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | us-gaap:MinimumMember (label) | Property Plant And Equipment Useful Life | _2519390 | ||||
| 119 | 0000789019 (http://www.sec.gov/CIK) | 2014-07-01 to 2015-06-30 | Type Of Adoption [Member] | us-gaap:SalesRevenueNet (label) | 93580000000 | iso4217:USD | -6 | ||
| 120 | 0000789019 (http://www.sec.gov/CIK) | 2014-07-01 to 2015-06-30 | Deferred Revenue Arrangement Type [Domain] | us-gaap:SalesRevenueNet (label) | 93580000000 | iso4217:USD | -6 | ||
| 121 | 0000789019 (http://www.sec.gov/CIK) | 2014-07-01 to 2015-06-30 | Property Plant And Equipment Type [Domain] | us-gaap:SalesRevenueNet (label) | 93580000000 | iso4217:USD | -6 | ||
| 122 | 0000789019 (http://www.sec.gov/CIK) | 2014-07-01 to 2015-06-30 | Range [Member] | us-gaap:SalesRevenueNet (label) | 93580000000 | iso4217:USD | -6 | ||
| 123 | 0000789019 (http://www.sec.gov/CIK) | 2014-07-01 to 2015-06-30 | Scenario Unspecified [Domain] | us-gaap:SalesRevenueNet (label) | 93580000000 | iso4217:USD | -6 | ||
| 124 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2015-09-30 | Type Of Adoption [Member] | us-gaap:SalesRevenueNet (label) | 20379000000 | iso4217:USD | -6 | ||
| 125 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2015-09-30 | Deferred Revenue Arrangement Type [Domain] | us-gaap:SalesRevenueNet (label) | 20379000000 | iso4217:USD | -6 | ||
| 126 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2015-09-30 | Property Plant And Equipment Type [Domain] | us-gaap:SalesRevenueNet (label) | 20379000000 | iso4217:USD | -6 | ||
| 127 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2015-09-30 | Range [Member] | us-gaap:SalesRevenueNet (label) | 20379000000 | iso4217:USD | -6 | ||
| 128 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2015-09-30 | Scenario Unspecified [Domain] | us-gaap:SalesRevenueNet (label) | 20379000000 | iso4217:USD | -6 | ||
| 129 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Type Of Adoption [Member] | us-gaap:SalesRevenueNet (label) | 85320000000 | iso4217:USD | -6 | ||
| 130 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Deferred Revenue Arrangement Type [Domain] | us-gaap:SalesRevenueNet (label) | 85320000000 | iso4217:USD | -6 | ||
| 131 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Property Plant And Equipment Type [Domain] | us-gaap:SalesRevenueNet (label) | 85320000000 | iso4217:USD | -6 | ||
| 132 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Range [Member] | us-gaap:SalesRevenueNet (label) | 85320000000 | iso4217:USD | -6 | ||
| 133 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Scenario Unspecified [Domain] | us-gaap:SalesRevenueNet (label) | 85320000000 | iso4217:USD | -6 | ||
| 134 | 0000789019 (http://www.sec.gov/CIK) | 2015-10-01 to 2015-12-31 | Type Of Adoption [Member] | us-gaap:SalesRevenueNet (label) | 23796000000 | iso4217:USD | -6 | ||
| 135 | 0000789019 (http://www.sec.gov/CIK) | 2015-10-01 to 2015-12-31 | Deferred Revenue Arrangement Type [Domain] | us-gaap:SalesRevenueNet (label) | 23796000000 | iso4217:USD | -6 | ||
| 136 | 0000789019 (http://www.sec.gov/CIK) | 2015-10-01 to 2015-12-31 | Property Plant And Equipment Type [Domain] | us-gaap:SalesRevenueNet (label) | 23796000000 | iso4217:USD | -6 | ||
| 137 | 0000789019 (http://www.sec.gov/CIK) | 2015-10-01 to 2015-12-31 | Range [Member] | us-gaap:SalesRevenueNet (label) | 23796000000 | iso4217:USD | -6 | ||
| 138 | 0000789019 (http://www.sec.gov/CIK) | 2015-10-01 to 2015-12-31 | Scenario Unspecified [Domain] | us-gaap:SalesRevenueNet (label) | 23796000000 | iso4217:USD | -6 | ||
| 139 | 0000789019 (http://www.sec.gov/CIK) | 2016-01-01 to 2016-03-31 | Type Of Adoption [Member] | us-gaap:SalesRevenueNet (label) | 20531000000 | iso4217:USD | -6 | ||
| 140 | 0000789019 (http://www.sec.gov/CIK) | 2016-01-01 to 2016-03-31 | Deferred Revenue Arrangement Type [Domain] | us-gaap:SalesRevenueNet (label) | 20531000000 | iso4217:USD | -6 | ||
| 141 | 0000789019 (http://www.sec.gov/CIK) | 2016-01-01 to 2016-03-31 | Property Plant And Equipment Type [Domain] | us-gaap:SalesRevenueNet (label) | 20531000000 | iso4217:USD | -6 | ||
| 142 | 0000789019 (http://www.sec.gov/CIK) | 2016-01-01 to 2016-03-31 | Range [Member] | us-gaap:SalesRevenueNet (label) | 20531000000 | iso4217:USD | -6 | ||
| 143 | 0000789019 (http://www.sec.gov/CIK) | 2016-01-01 to 2016-03-31 | Scenario Unspecified [Domain] | us-gaap:SalesRevenueNet (label) | 20531000000 | iso4217:USD | -6 | ||
| 144 | 0000789019 (http://www.sec.gov/CIK) | 2016-04-01 to 2016-06-30 | Type Of Adoption [Member] | us-gaap:SalesRevenueNet (label) | 20614000000 | iso4217:USD | -6 | ||
| 145 | 0000789019 (http://www.sec.gov/CIK) | 2016-04-01 to 2016-06-30 | Deferred Revenue Arrangement Type [Domain] | us-gaap:SalesRevenueNet (label) | 20614000000 | iso4217:USD | -6 | ||
| 146 | 0000789019 (http://www.sec.gov/CIK) | 2016-04-01 to 2016-06-30 | Property Plant And Equipment Type [Domain] | us-gaap:SalesRevenueNet (label) | 20614000000 | iso4217:USD | -6 | ||
| 147 | 0000789019 (http://www.sec.gov/CIK) | 2016-04-01 to 2016-06-30 | Range [Member] | us-gaap:SalesRevenueNet (label) | 20614000000 | iso4217:USD | -6 | ||
| 148 | 0000789019 (http://www.sec.gov/CIK) | 2016-04-01 to 2016-06-30 | Scenario Unspecified [Domain] | us-gaap:SalesRevenueNet (label) | 20614000000 | iso4217:USD | -6 | ||
| 149 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2016-09-30 | Type Of Adoption [Member] | us-gaap:SalesRevenueNet (label) | 20453000000 | iso4217:USD | -6 | ||
| 150 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2016-09-30 | Deferred Revenue Arrangement Type [Domain] | us-gaap:SalesRevenueNet (label) | 20453000000 | iso4217:USD | -6 | ||
| 151 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2016-09-30 | Property Plant And Equipment Type [Domain] | us-gaap:SalesRevenueNet (label) | 20453000000 | iso4217:USD | -6 | ||
| 152 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2016-09-30 | Range [Member] | us-gaap:SalesRevenueNet (label) | 20453000000 | iso4217:USD | -6 | ||
| 153 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2016-09-30 | Scenario Unspecified [Domain] | us-gaap:SalesRevenueNet (label) | 20453000000 | iso4217:USD | -6 | ||
| 154 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Type Of Adoption [Member] | us-gaap:SalesRevenueNet (label) | 89950000000 | iso4217:USD | -6 | ||
| 155 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Deferred Revenue Arrangement Type [Domain] | us-gaap:SalesRevenueNet (label) | 89950000000 | iso4217:USD | -6 | ||
| 156 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Property Plant And Equipment Type [Domain] | us-gaap:SalesRevenueNet (label) | 89950000000 | iso4217:USD | -6 | ||
| 157 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Range [Member] | us-gaap:SalesRevenueNet (label) | 89950000000 | iso4217:USD | -6 | ||
| 158 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Scenario Unspecified [Domain] | us-gaap:SalesRevenueNet (label) | 89950000000 | iso4217:USD | -6 | ||
| 159 | 0000789019 (http://www.sec.gov/CIK) | 2016-10-01 to 2016-12-31 | Type Of Adoption [Member] | us-gaap:SalesRevenueNet (label) | 24090000000 | iso4217:USD | -6 | ||
| 160 | 0000789019 (http://www.sec.gov/CIK) | 2016-10-01 to 2016-12-31 | Deferred Revenue Arrangement Type [Domain] | us-gaap:SalesRevenueNet (label) | 24090000000 | iso4217:USD | -6 | ||
| 161 | 0000789019 (http://www.sec.gov/CIK) | 2016-10-01 to 2016-12-31 | Property Plant And Equipment Type [Domain] | us-gaap:SalesRevenueNet (label) | 24090000000 | iso4217:USD | -6 | ||
| 162 | 0000789019 (http://www.sec.gov/CIK) | 2016-10-01 to 2016-12-31 | Range [Member] | us-gaap:SalesRevenueNet (label) | 24090000000 | iso4217:USD | -6 | ||
| 163 | 0000789019 (http://www.sec.gov/CIK) | 2016-10-01 to 2016-12-31 | Scenario Unspecified [Domain] | us-gaap:SalesRevenueNet (label) | 24090000000 | iso4217:USD | -6 | ||
| 164 | 0000789019 (http://www.sec.gov/CIK) | 2017-01-01 to 2017-03-31 | Type Of Adoption [Member] | us-gaap:SalesRevenueNet (label) | 22090000000 | iso4217:USD | -6 | ||
| 165 | 0000789019 (http://www.sec.gov/CIK) | 2017-01-01 to 2017-03-31 | Deferred Revenue Arrangement Type [Domain] | us-gaap:SalesRevenueNet (label) | 22090000000 | iso4217:USD | -6 | ||
| 166 | 0000789019 (http://www.sec.gov/CIK) | 2017-01-01 to 2017-03-31 | Property Plant And Equipment Type [Domain] | us-gaap:SalesRevenueNet (label) | 22090000000 | iso4217:USD | -6 | ||
| 167 | 0000789019 (http://www.sec.gov/CIK) | 2017-01-01 to 2017-03-31 | Range [Member] | us-gaap:SalesRevenueNet (label) | 22090000000 | iso4217:USD | -6 | ||
| 168 | 0000789019 (http://www.sec.gov/CIK) | 2017-01-01 to 2017-03-31 | Scenario Unspecified [Domain] | us-gaap:SalesRevenueNet (label) | 22090000000 | iso4217:USD | -6 | ||
| 169 | 0000789019 (http://www.sec.gov/CIK) | 2017-04-01 to 2017-06-30 | Type Of Adoption [Member] | us-gaap:SalesRevenueNet (label) | 23317000000 | iso4217:USD | -6 | ||
| 170 | 0000789019 (http://www.sec.gov/CIK) | 2017-04-01 to 2017-06-30 | Deferred Revenue Arrangement Type [Domain] | us-gaap:SalesRevenueNet (label) | 23317000000 | iso4217:USD | -6 | ||
| 171 | 0000789019 (http://www.sec.gov/CIK) | 2017-04-01 to 2017-06-30 | Property Plant And Equipment Type [Domain] | us-gaap:SalesRevenueNet (label) | 23317000000 | iso4217:USD | -6 | ||
| 172 | 0000789019 (http://www.sec.gov/CIK) | 2017-04-01 to 2017-06-30 | Range [Member] | us-gaap:SalesRevenueNet (label) | 23317000000 | iso4217:USD | -6 | ||
| 173 | 0000789019 (http://www.sec.gov/CIK) | 2017-04-01 to 2017-06-30 | Scenario Unspecified [Domain] | us-gaap:SalesRevenueNet (label) | 23317000000 | iso4217:USD | -6 | ||
| 174 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | us-gaap:SalesRevenueNet (label) | 5834000000 | iso4217:USD | -6 | ||
| 175 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Scenario Plan [Member] | us-gaap:SalesRevenueNet (label) | 5834000000 | iso4217:USD | -6 | ||
| 176 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | us-gaap:SalesRevenueNet (label) | 6621000000 | iso4217:USD | -6 | ||
| 177 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Scenario Plan [Member] | us-gaap:SalesRevenueNet (label) | 6621000000 | iso4217:USD | -6 | ||
| 178 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | us-gaap:SalesRevenueNet (label) | 0 | iso4217:USD | -6 | ||
| 179 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Scenario Plan [Member] | us-gaap:SalesRevenueNet (label) | 0 | iso4217:USD | -6 | ||
| 180 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | us-gaap:SalesRevenueNet (label) | 0 | iso4217:USD | -6 | ||
| 181 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Scenario Plan [Member] | us-gaap:SalesRevenueNet (label) | 0 | iso4217:USD | -6 | ||
| 182 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2015-09-30 | msft:WindowsTenDeferralMember (label) | us-gaap:SalesRevenueNet (label) | 1300000000 | iso4217:USD | -8 | ||
| 183 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | msft:WindowsTenDeferralMember (label) | us-gaap:SalesRevenueNet (label) | 6600000000 | iso4217:USD | -8 | ||
| 184 | 0000789019 (http://www.sec.gov/CIK) | 2015-10-01 to 2015-12-31 | msft:WindowsTenDeferralMember (label) | us-gaap:SalesRevenueNet (label) | 1700000000 | iso4217:USD | -8 | ||
| 185 | 0000789019 (http://www.sec.gov/CIK) | 2016-01-01 to 2016-03-31 | msft:WindowsTenDeferralMember (label) | us-gaap:SalesRevenueNet (label) | 1600000000 | iso4217:USD | -8 | ||
| 186 | 0000789019 (http://www.sec.gov/CIK) | 2016-04-01 to 2016-06-30 | msft:WindowsTenDeferralMember (label) | us-gaap:SalesRevenueNet (label) | 2000000000 | iso4217:USD | -8 | ||
| 187 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2016-09-30 | msft:WindowsTenDeferralMember (label) | us-gaap:SalesRevenueNet (label) | 1900000000 | iso4217:USD | -8 | ||
| 188 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | msft:WindowsTenDeferralMember (label) | us-gaap:SalesRevenueNet (label) | 6700000000 | iso4217:USD | -8 | ||
| 189 | 0000789019 (http://www.sec.gov/CIK) | 2016-10-01 to 2016-12-31 | msft:WindowsTenDeferralMember (label) | us-gaap:SalesRevenueNet (label) | 2000000000 | iso4217:USD | -8 | ||
| 190 | 0000789019 (http://www.sec.gov/CIK) | 2017-01-01 to 2017-03-31 | msft:WindowsTenDeferralMember (label) | us-gaap:SalesRevenueNet (label) | 1500000000 | iso4217:USD | -8 | ||
| 191 | 0000789019 (http://www.sec.gov/CIK) | 2017-04-01 to 2017-06-30 | msft:WindowsTenDeferralMember (label) | us-gaap:SalesRevenueNet (label) | 1400000000 | iso4217:USD | -8 | ||
| 192 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Scenario Plan [Member] | us-gaap:SalesRevenueNet (label) | 91154000000 | iso4217:USD | -6 | ||
| 193 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Scenario Plan [Member] | us-gaap:SalesRevenueNet (label) | 96571000000 | iso4217:USD | -6 |
| Fact Table | |
|---|---|
| Network |
100530 - Disclosure - Allowance for Doubtful Accounts (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureAllowanceForDoubtfulAccountsDetail)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 0000789019 (http://www.sec.gov/CIK) | 2014-07-01 to 2015-06-30 | Allowance For Doubtful Accounts [Member] | Valuation Allowances And Reserves Charged To Costs And Other | 77000000 | iso4217:USD | -6 | ||
| 2 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Allowance For Doubtful Accounts [Member] | Valuation Allowances And Reserves Charged To Costs And Other | 146000000 | iso4217:USD | -6 | ||
| 3 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Allowance For Doubtful Accounts [Member] | Valuation Allowances And Reserves Charged To Costs And Other | 85000000 | iso4217:USD | -6 | ||
| 4 | 0000789019 (http://www.sec.gov/CIK) | 2014-06-30 | Allowance For Doubtful Accounts [Member] | us-gaap:ValuationAllowancesAndReservesBalance (label) | 301000000 | iso4217:USD | -6 | ||
| 5 | 0000789019 (http://www.sec.gov/CIK) | 2015-06-30 | Allowance For Doubtful Accounts [Member] | us-gaap:ValuationAllowancesAndReservesBalance (label) | 335000000 | iso4217:USD | -6 | ||
| 6 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Allowance For Doubtful Accounts [Member] | us-gaap:ValuationAllowancesAndReservesBalance (label) | 426000000 | iso4217:USD | -6 | ||
| 7 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Allowance For Doubtful Accounts [Member] | us-gaap:ValuationAllowancesAndReservesBalance (label) | 405000000 | iso4217:USD | -6 | ||
| 8 | 0000789019 (http://www.sec.gov/CIK) | 2014-07-01 to 2015-06-30 | Allowance For Doubtful Accounts [Member] | Valuation Allowances And Reserves Deductions | 43000000 | iso4217:USD | -6 | ||
| 9 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Allowance For Doubtful Accounts [Member] | Valuation Allowances And Reserves Deductions | 55000000 | iso4217:USD | -6 | ||
| 10 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Allowance For Doubtful Accounts [Member] | Valuation Allowances And Reserves Deductions | 106000000 | iso4217:USD | -6 |
| Fact Table | |
|---|---|
| Network |
100540 - Disclosure - Expected Impacts of Adoption of Standards Related to Revenue Recognition and Leases to Reported Results - (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureExpectedImpactsOfAdoptionOfStandardsRelatedToRevenueRecognitionAndLeasesToReportedResultsDetail)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | us-gaap:AccountsReceivableNetCurrent (label) | 2359000000 | iso4217:USD | -6 | ||
| 2 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | us-gaap:AccountsReceivableNetCurrent (label) | 2359000000 | iso4217:USD | -6 | ||
| 3 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | us-gaap:AccountsReceivableNetCurrent (label) | 2639000000 | iso4217:USD | -6 | ||
| 4 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | us-gaap:AccountsReceivableNetCurrent (label) | 2639000000 | iso4217:USD | -6 | ||
| 5 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | us-gaap:AccountsReceivableNetCurrent (label) | 0 | iso4217:USD | -6 | ||
| 6 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | us-gaap:AccountsReceivableNetCurrent (label) | 0 | iso4217:USD | -6 | ||
| 7 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | us-gaap:AccountsReceivableNetCurrent (label) | 0 | iso4217:USD | -6 | ||
| 8 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | us-gaap:AccountsReceivableNetCurrent (label) | 0 | iso4217:USD | -6 | ||
| 9 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | us-gaap:AccountsReceivableNetCurrent (label) | 20636000000 | iso4217:USD | -6 | ||
| 10 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | us-gaap:AccountsReceivableNetCurrent (label) | 22431000000 | iso4217:USD | -6 | ||
| 11 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | Deferred Revenue | -11716000000 | iso4217:USD | -6 | ||
| 12 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | Deferred Revenue | -11716000000 | iso4217:USD | -6 | ||
| 13 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | Deferred Revenue | -17823000000 | iso4217:USD | -6 | ||
| 14 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | Deferred Revenue | -17823000000 | iso4217:USD | -6 | ||
| 15 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | Deferred Revenue | 0 | iso4217:USD | -6 | ||
| 16 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | Deferred Revenue | 0 | iso4217:USD | -6 | ||
| 17 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | Deferred Revenue | 0 | iso4217:USD | -6 | ||
| 18 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | Deferred Revenue | 0 | iso4217:USD | -6 | ||
| 19 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | Deferred Revenue | 22193000000 | iso4217:USD | -6 | ||
| 20 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | Deferred Revenue | 26656000000 | iso4217:USD | -6 | ||
| 21 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | Deferred Tax Liabilities Noncurrent | 4837000000 | iso4217:USD | -6 | ||
| 22 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | Deferred Tax Liabilities Noncurrent | 4837000000 | iso4217:USD | -6 | ||
| 23 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | Deferred Tax Liabilities Noncurrent | 5203000000 | iso4217:USD | -6 | ||
| 24 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | Deferred Tax Liabilities Noncurrent | 5203000000 | iso4217:USD | -6 | ||
| 25 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | Deferred Tax Liabilities Noncurrent | 0 | iso4217:USD | -6 | ||
| 26 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | Deferred Tax Liabilities Noncurrent | 0 | iso4217:USD | -6 | ||
| 27 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | Deferred Tax Liabilities Noncurrent | 0 | iso4217:USD | -6 | ||
| 28 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | Deferred Tax Liabilities Noncurrent | 0 | iso4217:USD | -6 | ||
| 29 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | Deferred Tax Liabilities Noncurrent | 6313000000 | iso4217:USD | -6 | ||
| 30 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | Deferred Tax Liabilities Noncurrent | 5734000000 | iso4217:USD | -6 | ||
| 31 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | us-gaap:EarningsPerShareDiluted (label) | 0.46 | iso4217:USD/shares | 2 | ||
| 32 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Scenario Plan [Member] | us-gaap:EarningsPerShareDiluted (label) | 0.46 | iso4217:USD/shares | 2 | ||
| 33 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | us-gaap:EarningsPerShareDiluted (label) | 0.54 | iso4217:USD/shares | 2 | ||
| 34 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Scenario Plan [Member] | us-gaap:EarningsPerShareDiluted (label) | 0.54 | iso4217:USD/shares | 2 | ||
| 35 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | us-gaap:EarningsPerShareDiluted (label) | 0 | iso4217:USD/shares | 0 | ||
| 36 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Scenario Plan [Member] | us-gaap:EarningsPerShareDiluted (label) | 0 | iso4217:USD/shares | 0 | ||
| 37 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | us-gaap:EarningsPerShareDiluted (label) | 0 | iso4217:USD/shares | 0 | ||
| 38 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Scenario Plan [Member] | us-gaap:EarningsPerShareDiluted (label) | 0 | iso4217:USD/shares | 0 | ||
| 39 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Scenario Plan [Member] | us-gaap:EarningsPerShareDiluted (label) | 2.56 | iso4217:USD/shares | 2 | ||
| 40 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Scenario Plan [Member] | us-gaap:EarningsPerShareDiluted (label) | 3.25 | iso4217:USD/shares | 2 | ||
| 41 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | us-gaap:IncomeTaxExpenseBenefit (label) | 2147000000 | iso4217:USD | -6 | ||
| 42 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Scenario Plan [Member] | us-gaap:IncomeTaxExpenseBenefit (label) | 2147000000 | iso4217:USD | -6 | ||
| 43 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | us-gaap:IncomeTaxExpenseBenefit (label) | 2467000000 | iso4217:USD | -6 | ||
| 44 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Scenario Plan [Member] | us-gaap:IncomeTaxExpenseBenefit (label) | 2467000000 | iso4217:USD | -6 | ||
| 45 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | us-gaap:IncomeTaxExpenseBenefit (label) | 0 | iso4217:USD | -6 | ||
| 46 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Scenario Plan [Member] | us-gaap:IncomeTaxExpenseBenefit (label) | 0 | iso4217:USD | -6 | ||
| 47 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | us-gaap:IncomeTaxExpenseBenefit (label) | 0 | iso4217:USD | -6 | ||
| 48 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Scenario Plan [Member] | us-gaap:IncomeTaxExpenseBenefit (label) | 0 | iso4217:USD | -6 | ||
| 49 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Scenario Plan [Member] | us-gaap:IncomeTaxExpenseBenefit (label) | 5100000000 | iso4217:USD | -6 | ||
| 50 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Scenario Plan [Member] | us-gaap:IncomeTaxExpenseBenefit (label) | 4412000000 | iso4217:USD | -6 | ||
| 51 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | us-gaap:NetIncomeLoss (label) | 3741000000 | iso4217:USD | -6 | ||
| 52 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Scenario Plan [Member] | us-gaap:NetIncomeLoss (label) | 3741000000 | iso4217:USD | -6 | ||
| 53 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | us-gaap:NetIncomeLoss (label) | 4285000000 | iso4217:USD | -6 | ||
| 54 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Scenario Plan [Member] | us-gaap:NetIncomeLoss (label) | 4285000000 | iso4217:USD | -6 | ||
| 55 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | us-gaap:NetIncomeLoss (label) | 0 | iso4217:USD | -6 | ||
| 56 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Scenario Plan [Member] | us-gaap:NetIncomeLoss (label) | 0 | iso4217:USD | -6 | ||
| 57 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | us-gaap:NetIncomeLoss (label) | 0 | iso4217:USD | -6 | ||
| 58 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Scenario Plan [Member] | us-gaap:NetIncomeLoss (label) | 0 | iso4217:USD | -6 | ||
| 59 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Scenario Plan [Member] | us-gaap:NetIncomeLoss (label) | 20539000000 | iso4217:USD | -6 | ||
| 60 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Scenario Plan [Member] | us-gaap:NetIncomeLoss (label) | 25489000000 | iso4217:USD | -6 | ||
| 61 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | Operating Lease Liability | 0 | iso4217:USD | -6 | ||
| 62 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | Operating Lease Liability | 0 | iso4217:USD | -6 | ||
| 63 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | Operating Lease Liability | 0 | iso4217:USD | -6 | ||
| 64 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | Operating Lease Liability | 0 | iso4217:USD | -6 | ||
| 65 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | Operating Lease Liability | 4257000000 | iso4217:USD | -6 | ||
| 66 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | Operating Lease Liability | 4257000000 | iso4217:USD | -6 | ||
| 67 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | Operating Lease Liability | 5372000000 | iso4217:USD | -6 | ||
| 68 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | Operating Lease Liability | 5372000000 | iso4217:USD | -6 | ||
| 69 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | Operating Lease Liability | 4257000000 | iso4217:USD | -6 | ||
| 70 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | Operating Lease Liability | 5372000000 | iso4217:USD | -6 | ||
| 71 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | Operating Lease Right Of Use Asset | 0 | iso4217:USD | -6 | ||
| 72 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | Operating Lease Right Of Use Asset | 0 | iso4217:USD | -6 | ||
| 73 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | Operating Lease Right Of Use Asset | 0 | iso4217:USD | -6 | ||
| 74 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | Operating Lease Right Of Use Asset | 0 | iso4217:USD | -6 | ||
| 75 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | Operating Lease Right Of Use Asset | 5198000000 | iso4217:USD | -6 | ||
| 76 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | Operating Lease Right Of Use Asset | 5198000000 | iso4217:USD | -6 | ||
| 77 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | Operating Lease Right Of Use Asset | 6555000000 | iso4217:USD | -6 | ||
| 78 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | Operating Lease Right Of Use Asset | 6555000000 | iso4217:USD | -6 | ||
| 79 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | Operating Lease Right Of Use Asset | 5198000000 | iso4217:USD | -6 | ||
| 80 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | Operating Lease Right Of Use Asset | 6555000000 | iso4217:USD | -6 | ||
| 81 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | Other Assets | 1872000000 | iso4217:USD | -6 | ||
| 82 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | Other Assets | 1872000000 | iso4217:USD | -6 | ||
| 83 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | Other Assets | 32000000 | iso4217:USD | -6 | ||
| 84 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | Other Assets | 32000000 | iso4217:USD | -6 | ||
| 85 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | Other Assets | 0 | iso4217:USD | -6 | ||
| 86 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | Other Assets | 0 | iso4217:USD | -6 | ||
| 87 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | Other Assets | 0 | iso4217:USD | -6 | ||
| 88 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | Other Assets | 0 | iso4217:USD | -6 | ||
| 89 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | Other Assets | 11180000000 | iso4217:USD | -6 | ||
| 90 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | Other Assets | 11179000000 | iso4217:USD | -6 | ||
| 91 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | Other Liabilities | 17000000 | iso4217:USD | -6 | ||
| 92 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | Other Liabilities | 17000000 | iso4217:USD | -6 | ||
| 93 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | Other Liabilities | -26000000 | iso4217:USD | -6 | ||
| 94 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | Other Liabilities | -26000000 | iso4217:USD | -6 | ||
| 95 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | Other Liabilities | 941000000 | iso4217:USD | -6 | ||
| 96 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | Other Liabilities | 941000000 | iso4217:USD | -6 | ||
| 97 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | Other Liabilities | 1183000000 | iso4217:USD | -6 | ||
| 98 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | Other Liabilities | 1183000000 | iso4217:USD | -6 | ||
| 99 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | Other Liabilities | 20547000000 | iso4217:USD | -6 | ||
| 100 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | Other Liabilities | 24621000000 | iso4217:USD | -6 | ||
| 101 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | us-gaap:SalesRevenueNet (label) | 5834000000 | iso4217:USD | -6 | ||
| 102 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Scenario Plan [Member] | us-gaap:SalesRevenueNet (label) | 5834000000 | iso4217:USD | -6 | ||
| 103 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | us-gaap:SalesRevenueNet (label) | 6621000000 | iso4217:USD | -6 | ||
| 104 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Scenario Plan [Member] | us-gaap:SalesRevenueNet (label) | 6621000000 | iso4217:USD | -6 | ||
| 105 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | us-gaap:SalesRevenueNet (label) | 0 | iso4217:USD | -6 | ||
| 106 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Scenario Plan [Member] | us-gaap:SalesRevenueNet (label) | 0 | iso4217:USD | -6 | ||
| 107 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | us-gaap:SalesRevenueNet (label) | 0 | iso4217:USD | -6 | ||
| 108 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Scenario Plan [Member] | us-gaap:SalesRevenueNet (label) | 0 | iso4217:USD | -6 | ||
| 109 | 0000789019 (http://www.sec.gov/CIK) | 2015-07-01 to 2016-06-30 | Scenario Plan [Member] | us-gaap:SalesRevenueNet (label) | 91154000000 | iso4217:USD | -6 | ||
| 110 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Scenario Plan [Member] | us-gaap:SalesRevenueNet (label) | 96571000000 | iso4217:USD | -6 | ||
| 111 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | us-gaap:StockholdersEquity (label) | 11093000000 | iso4217:USD | -6 | ||
| 112 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | us-gaap:StockholdersEquity (label) | 11093000000 | iso4217:USD | -6 | ||
| 113 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:AccountingStandardsUpdate201409Member (label) | us-gaap:StockholdersEquity (label) | 15317000000 | iso4217:USD | -6 | ||
| 114 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | us-gaap:StockholdersEquity (label) | 15317000000 | iso4217:USD | -6 | ||
| 115 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | us-gaap:StockholdersEquity (label) | 0 | iso4217:USD | -6 | ||
| 116 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | us-gaap:StockholdersEquity (label) | 0 | iso4217:USD | -6 | ||
| 117 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:AccountingStandardsUpdate201602Member (label) | us-gaap:StockholdersEquity (label) | 0 | iso4217:USD | -6 | ||
| 118 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | us-gaap:StockholdersEquity (label) | 0 | iso4217:USD | -6 | ||
| 119 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Scenario Plan [Member] | us-gaap:StockholdersEquity (label) | 83090000000 | iso4217:USD | -6 | ||
| 120 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Scenario Plan [Member] | us-gaap:StockholdersEquity (label) | 87711000000 | iso4217:USD | -6 |
| Fact Table | |
|---|---|
| Network |
100550 - Disclosure - Basic and Diluted Earnings Per Share (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureBasicAndDilutedEarningsPerShareDetail)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100560 - Disclosure - Components of Other Income (Expense), Net (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureComponentsOfOtherIncomeExpenseNetDetail)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100570 - Disclosure - Net Recognized Gains (Losses) on Investments (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureNetRecognizedGainsLossesOnInvestmentsDetail)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100580 - Disclosure - Investment Components, Including Associated Derivatives (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureInvestmentComponentsIncludingAssociatedDerivativesDetail)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Investment Type Categorization [Member] | us-gaap:AvailableForSaleSecurities (label) | 123671000000 | iso4217:USD | -6 | ||
| 2 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Investment Type Categorization [Member] | us-gaap:AvailableForSaleSecurities (label) | 139004000000 | iso4217:USD | -6 | ||
| 3 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Asset Backed Securities [Member] | us-gaap:AvailableForSaleSecurities (label) | 4808000000 | iso4217:USD | -6 | ||
| 4 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Asset Backed Securities [Member] | us-gaap:AvailableForSaleSecurities (label) | 3931000000 | iso4217:USD | -6 | ||
| 5 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Certificates Of Deposit [Member] | us-gaap:AvailableForSaleSecurities (label) | 1000000000 | iso4217:USD | -6 | ||
| 6 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Certificates Of Deposit [Member] | us-gaap:AvailableForSaleSecurities (label) | 1358000000 | iso4217:USD | -6 | ||
| 7 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Commercial Paper [Member] | us-gaap:AvailableForSaleSecurities (label) | 298000000 | iso4217:USD | -6 | ||
| 8 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Commercial Paper [Member] | us-gaap:AvailableForSaleSecurities (label) | 319000000 | iso4217:USD | -6 | ||
| 9 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Corporate Debt Securities [Member] | us-gaap:AvailableForSaleSecurities (label) | 6584000000 | iso4217:USD | -6 | ||
| 10 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Corporate Debt Securities [Member] | us-gaap:AvailableForSaleSecurities (label) | 4835000000 | iso4217:USD | -6 | ||
| 11 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity Securities [Member] | us-gaap:AvailableForSaleSecurities (label) | 9813000000 | iso4217:USD | -6 | ||
| 12 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity Securities [Member] | us-gaap:AvailableForSaleSecurities (label) | 5500000000 | iso4217:USD | -6 | ||
| 13 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Foreign Government Debt Securities [Member] | us-gaap:AvailableForSaleSecurities (label) | 5494000000 | iso4217:USD | -6 | ||
| 14 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Foreign Government Debt Securities [Member] | us-gaap:AvailableForSaleSecurities (label) | 5265000000 | iso4217:USD | -6 | ||
| 15 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Money Market Funds [Member] | us-gaap:AvailableForSaleSecurities (label) | 1012000000 | iso4217:USD | -6 | ||
| 16 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Money Market Funds [Member] | us-gaap:AvailableForSaleSecurities (label) | 1478000000 | iso4217:USD | -6 | ||
| 17 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label) | us-gaap:AvailableForSaleSecurities (label) | 90204000000 | iso4217:USD | -6 | ||
| 18 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label) | us-gaap:AvailableForSaleSecurities (label) | 111844000000 | iso4217:USD | -6 | ||
| 19 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | U S States And Political Subdivisions [Member] | us-gaap:AvailableForSaleSecurities (label) | 342000000 | iso4217:USD | -6 | ||
| 20 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | U S States And Political Subdivisions [Member] | us-gaap:AvailableForSaleSecurities (label) | 327000000 | iso4217:USD | -6 | ||
| 21 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Investment Type Categorization [Member] | Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax | 4895000000 | iso4217:USD | -6 | ||
| 22 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Investment Type Categorization [Member] | Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax | 3267000000 | iso4217:USD | -6 | ||
| 23 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Other Security Investments [Member] | Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax | 0 | iso4217:USD | -6 | ||
| 24 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Security Investments [Member] | Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax | 0 | iso4217:USD | -6 | ||
| 25 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Asset Backed Securities [Member] | Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax | 21000000 | iso4217:USD | -6 | ||
| 26 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Asset Backed Securities [Member] | Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax | 14000000 | iso4217:USD | -6 | ||
| 27 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Cash [Member] | Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax | 0 | iso4217:USD | -6 | ||
| 28 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Cash [Member] | Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax | 0 | iso4217:USD | -6 | ||
| 29 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Certificates Of Deposit [Member] | Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax | 0 | iso4217:USD | -6 | ||
| 30 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Certificates Of Deposit [Member] | Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax | 0 | iso4217:USD | -6 | ||
| 31 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Commercial Paper [Member] | Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax | 0 | iso4217:USD | -6 | ||
| 32 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Commercial Paper [Member] | Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax | 0 | iso4217:USD | -6 | ||
| 33 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Corporate Debt Securities [Member] | Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax | 110000000 | iso4217:USD | -6 | ||
| 34 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Corporate Debt Securities [Member] | Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax | 61000000 | iso4217:USD | -6 | ||
| 35 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity Securities [Member] | Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax | 4452000000 | iso4217:USD | -6 | ||
| 36 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity Securities [Member] | Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax | 3062000000 | iso4217:USD | -6 | ||
| 37 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Foreign Government Debt Securities [Member] | Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax | 10000000 | iso4217:USD | -6 | ||
| 38 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Foreign Government Debt Securities [Member] | Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax | 2000000 | iso4217:USD | -6 | ||
| 39 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Money Market Funds [Member] | Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax | 0 | iso4217:USD | -6 | ||
| 40 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Money Market Funds [Member] | Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax | 0 | iso4217:USD | -6 | ||
| 41 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label) | Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax | 245000000 | iso4217:USD | -6 | ||
| 42 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label) | Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax | 85000000 | iso4217:USD | -6 | ||
| 43 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | U S States And Political Subdivisions [Member] | Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax | 57000000 | iso4217:USD | -6 | ||
| 44 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | U S States And Political Subdivisions [Member] | Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax | 43000000 | iso4217:USD | -6 | ||
| 45 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Investment Type Categorization [Member] | Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax | 302000000 | iso4217:USD | -6 | ||
| 46 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Investment Type Categorization [Member] | Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax | 423000000 | iso4217:USD | -6 | ||
| 47 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Other Security Investments [Member] | Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax | 0 | iso4217:USD | -6 | ||
| 48 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Security Investments [Member] | Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax | 0 | iso4217:USD | -6 | ||
| 49 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Asset Backed Securities [Member] | Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax | 2000000 | iso4217:USD | -6 | ||
| 50 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Asset Backed Securities [Member] | Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax | 4000000 | iso4217:USD | -6 | ||
| 51 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Cash [Member] | Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax | 0 | iso4217:USD | -6 | ||
| 52 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Cash [Member] | Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax | 0 | iso4217:USD | -6 | ||
| 53 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Certificates Of Deposit [Member] | Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax | 0 | iso4217:USD | -6 | ||
| 54 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Certificates Of Deposit [Member] | Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax | 0 | iso4217:USD | -6 | ||
| 55 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Commercial Paper [Member] | Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax | 0 | iso4217:USD | -6 | ||
| 56 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Commercial Paper [Member] | Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax | 0 | iso4217:USD | -6 | ||
| 57 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Corporate Debt Securities [Member] | Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax | 35000000 | iso4217:USD | -6 | ||
| 58 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Corporate Debt Securities [Member] | Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax | 12000000 | iso4217:USD | -6 | ||
| 59 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity Securities [Member] | Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax | 236000000 | iso4217:USD | -6 | ||
| 60 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity Securities [Member] | Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax | 34000000 | iso4217:USD | -6 | ||
| 61 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Foreign Government Debt Securities [Member] | Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax | 18000000 | iso4217:USD | -6 | ||
| 62 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Foreign Government Debt Securities [Member] | Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax | 13000000 | iso4217:USD | -6 | ||
| 63 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Money Market Funds [Member] | Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax | 0 | iso4217:USD | -6 | ||
| 64 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Money Market Funds [Member] | Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax | 0 | iso4217:USD | -6 | ||
| 65 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label) | Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax | 11000000 | iso4217:USD | -6 | ||
| 66 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label) | Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax | 360000000 | iso4217:USD | -6 | ||
| 67 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | U S States And Political Subdivisions [Member] | Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax | 0 | iso4217:USD | -6 | ||
| 68 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | U S States And Political Subdivisions [Member] | Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax | 0 | iso4217:USD | -6 | ||
| 69 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Investment Type Categorization [Member] | Available For Sale Securities Amortized Cost | 119078000000 | iso4217:USD | -6 | ||
| 70 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Investment Type Categorization [Member] | Available For Sale Securities Amortized Cost | 136160000000 | iso4217:USD | -6 | ||
| 71 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Asset Backed Securities [Member] | Available For Sale Securities Amortized Cost | 4789000000 | iso4217:USD | -6 | ||
| 72 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Asset Backed Securities [Member] | Available For Sale Securities Amortized Cost | 3921000000 | iso4217:USD | -6 | ||
| 73 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Certificates Of Deposit [Member] | Available For Sale Securities Amortized Cost | 1000000000 | iso4217:USD | -6 | ||
| 74 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Certificates Of Deposit [Member] | Available For Sale Securities Amortized Cost | 1358000000 | iso4217:USD | -6 | ||
| 75 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Commercial Paper [Member] | Available For Sale Securities Amortized Cost | 298000000 | iso4217:USD | -6 | ||
| 76 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Commercial Paper [Member] | Available For Sale Securities Amortized Cost | 319000000 | iso4217:USD | -6 | ||
| 77 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Corporate Debt Securities [Member] | Available For Sale Securities Amortized Cost | 6509000000 | iso4217:USD | -6 | ||
| 78 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Corporate Debt Securities [Member] | Available For Sale Securities Amortized Cost | 4786000000 | iso4217:USD | -6 | ||
| 79 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity Securities [Member] | Available For Sale Securities Amortized Cost | 5597000000 | iso4217:USD | -6 | ||
| 80 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity Securities [Member] | Available For Sale Securities Amortized Cost | 2472000000 | iso4217:USD | -6 | ||
| 81 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Foreign Government Debt Securities [Member] | Available For Sale Securities Amortized Cost | 5502000000 | iso4217:USD | -6 | ||
| 82 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Foreign Government Debt Securities [Member] | Available For Sale Securities Amortized Cost | 5276000000 | iso4217:USD | -6 | ||
| 83 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Money Market Funds [Member] | Available For Sale Securities Amortized Cost | 1012000000 | iso4217:USD | -6 | ||
| 84 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Money Market Funds [Member] | Available For Sale Securities Amortized Cost | 1478000000 | iso4217:USD | -6 | ||
| 85 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label) | Available For Sale Securities Amortized Cost | 89970000000 | iso4217:USD | -6 | ||
| 86 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label) | Available For Sale Securities Amortized Cost | 112119000000 | iso4217:USD | -6 | ||
| 87 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | U S States And Political Subdivisions [Member] | Available For Sale Securities Amortized Cost | 285000000 | iso4217:USD | -6 | ||
| 88 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | U S States And Political Subdivisions [Member] | Available For Sale Securities Amortized Cost | 284000000 | iso4217:USD | -6 | ||
| 89 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Investment Type Categorization [Member] | us-gaap:AvailableForSaleSecuritiesCurrent (label) | 106730000000 | iso4217:USD | -6 | ||
| 90 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Investment Type Categorization [Member] | us-gaap:AvailableForSaleSecuritiesCurrent (label) | 125318000000 | iso4217:USD | -6 | ||
| 91 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Other Security Investments [Member] | us-gaap:AvailableForSaleSecuritiesCurrent (label) | -3000000 | iso4217:USD | -6 | ||
| 92 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Security Investments [Member] | us-gaap:AvailableForSaleSecuritiesCurrent (label) | 0 | iso4217:USD | -6 | ||
| 93 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Asset Backed Securities [Member] | us-gaap:AvailableForSaleSecuritiesCurrent (label) | 4808000000 | iso4217:USD | -6 | ||
| 94 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Asset Backed Securities [Member] | us-gaap:AvailableForSaleSecuritiesCurrent (label) | 3931000000 | iso4217:USD | -6 | ||
| 95 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Cash [Member] | us-gaap:AvailableForSaleSecuritiesCurrent (label) | 0 | iso4217:USD | -6 | ||
| 96 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Cash [Member] | us-gaap:AvailableForSaleSecuritiesCurrent (label) | 0 | iso4217:USD | -6 | ||
| 97 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Certificates Of Deposit [Member] | us-gaap:AvailableForSaleSecuritiesCurrent (label) | 132000000 | iso4217:USD | -6 | ||
| 98 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Certificates Of Deposit [Member] | us-gaap:AvailableForSaleSecuritiesCurrent (label) | 386000000 | iso4217:USD | -6 | ||
| 99 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Commercial Paper [Member] | us-gaap:AvailableForSaleSecuritiesCurrent (label) | 0 | iso4217:USD | -6 | ||
| 100 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Commercial Paper [Member] | us-gaap:AvailableForSaleSecuritiesCurrent (label) | 250000000 | iso4217:USD | -6 | ||
| 101 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Corporate Debt Securities [Member] | us-gaap:AvailableForSaleSecuritiesCurrent (label) | 6584000000 | iso4217:USD | -6 | ||
| 102 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Corporate Debt Securities [Member] | us-gaap:AvailableForSaleSecuritiesCurrent (label) | 4835000000 | iso4217:USD | -6 | ||
| 103 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity Securities [Member] | us-gaap:AvailableForSaleSecuritiesCurrent (label) | 0 | iso4217:USD | -6 | ||
| 104 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity Securities [Member] | us-gaap:AvailableForSaleSecuritiesCurrent (label) | 0 | iso4217:USD | -6 | ||
| 105 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Foreign Government Debt Securities [Member] | us-gaap:AvailableForSaleSecuritiesCurrent (label) | 4763000000 | iso4217:USD | -6 | ||
| 106 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Foreign Government Debt Securities [Member] | us-gaap:AvailableForSaleSecuritiesCurrent (label) | 3761000000 | iso4217:USD | -6 | ||
| 107 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Money Market Funds [Member] | us-gaap:AvailableForSaleSecuritiesCurrent (label) | 0 | iso4217:USD | -6 | ||
| 108 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Money Market Funds [Member] | us-gaap:AvailableForSaleSecuritiesCurrent (label) | 0 | iso4217:USD | -6 | ||
| 109 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label) | us-gaap:AvailableForSaleSecuritiesCurrent (label) | 90104000000 | iso4217:USD | -6 | ||
| 110 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label) | us-gaap:AvailableForSaleSecuritiesCurrent (label) | 111828000000 | iso4217:USD | -6 | ||
| 111 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | U S States And Political Subdivisions [Member] | us-gaap:AvailableForSaleSecuritiesCurrent (label) | 342000000 | iso4217:USD | -6 | ||
| 112 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | U S States And Political Subdivisions [Member] | us-gaap:AvailableForSaleSecuritiesCurrent (label) | 327000000 | iso4217:USD | -6 | ||
| 113 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Cash [Member] | us-gaap:Cash (label) | 3501000000 | iso4217:USD | -6 | ||
| 114 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Cash [Member] | us-gaap:Cash (label) | 3624000000 | iso4217:USD | -6 | ||
| 115 | 0000789019 (http://www.sec.gov/CIK) | 2014-06-30 | Investment Type Categorization [Member] | us-gaap:CashAndCashEquivalentsAtCarryingValue (label) | 8669000000 | iso4217:USD | -6 | ||
| 116 | 0000789019 (http://www.sec.gov/CIK) | 2015-06-30 | Investment Type Categorization [Member] | us-gaap:CashAndCashEquivalentsAtCarryingValue (label) | 5595000000 | iso4217:USD | -6 | ||
| 117 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Investment Type Categorization [Member] | us-gaap:CashAndCashEquivalentsAtCarryingValue (label) | 6510000000 | iso4217:USD | -6 | ||
| 118 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Investment Type Categorization [Member] | us-gaap:CashAndCashEquivalentsAtCarryingValue (label) | 7663000000 | iso4217:USD | -6 | ||
| 119 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Other Security Investments [Member] | us-gaap:CashAndCashEquivalentsAtCarryingValue (label) | 0 | iso4217:USD | -6 | ||
| 120 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Security Investments [Member] | us-gaap:CashAndCashEquivalentsAtCarryingValue (label) | 0 | iso4217:USD | -6 | ||
| 121 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Asset Backed Securities [Member] | us-gaap:CashAndCashEquivalentsAtCarryingValue (label) | 0 | iso4217:USD | -6 | ||
| 122 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Asset Backed Securities [Member] | us-gaap:CashAndCashEquivalentsAtCarryingValue (label) | 0 | iso4217:USD | -6 | ||
| 123 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Cash [Member] | us-gaap:CashAndCashEquivalentsAtCarryingValue (label) | 3501000000 | iso4217:USD | -6 | ||
| 124 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Cash [Member] | us-gaap:CashAndCashEquivalentsAtCarryingValue (label) | 3624000000 | iso4217:USD | -6 | ||
| 125 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Certificates Of Deposit [Member] | us-gaap:CashAndCashEquivalentsAtCarryingValue (label) | 868000000 | iso4217:USD | -6 | ||
| 126 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Certificates Of Deposit [Member] | us-gaap:CashAndCashEquivalentsAtCarryingValue (label) | 972000000 | iso4217:USD | -6 | ||
| 127 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Commercial Paper [Member] | us-gaap:CashAndCashEquivalentsAtCarryingValue (label) | 298000000 | iso4217:USD | -6 | ||
| 128 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Commercial Paper [Member] | us-gaap:CashAndCashEquivalentsAtCarryingValue (label) | 69000000 | iso4217:USD | -6 | ||
| 129 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Corporate Debt Securities [Member] | us-gaap:CashAndCashEquivalentsAtCarryingValue (label) | 0 | iso4217:USD | -6 | ||
| 130 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Corporate Debt Securities [Member] | us-gaap:CashAndCashEquivalentsAtCarryingValue (label) | 0 | iso4217:USD | -6 | ||
| 131 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity Securities [Member] | us-gaap:CashAndCashEquivalentsAtCarryingValue (label) | 0 | iso4217:USD | -6 | ||
| 132 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity Securities [Member] | us-gaap:CashAndCashEquivalentsAtCarryingValue (label) | 0 | iso4217:USD | -6 | ||
| 133 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Foreign Government Debt Securities [Member] | us-gaap:CashAndCashEquivalentsAtCarryingValue (label) | 731000000 | iso4217:USD | -6 | ||
| 134 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Foreign Government Debt Securities [Member] | us-gaap:CashAndCashEquivalentsAtCarryingValue (label) | 1504000000 | iso4217:USD | -6 | ||
| 135 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Money Market Funds [Member] | us-gaap:CashAndCashEquivalentsAtCarryingValue (label) | 1012000000 | iso4217:USD | -6 | ||
| 136 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Money Market Funds [Member] | us-gaap:CashAndCashEquivalentsAtCarryingValue (label) | 1478000000 | iso4217:USD | -6 | ||
| 137 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label) | us-gaap:CashAndCashEquivalentsAtCarryingValue (label) | 100000000 | iso4217:USD | -6 | ||
| 138 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label) | us-gaap:CashAndCashEquivalentsAtCarryingValue (label) | 16000000 | iso4217:USD | -6 | ||
| 139 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | U S States And Political Subdivisions [Member] | us-gaap:CashAndCashEquivalentsAtCarryingValue (label) | 0 | iso4217:USD | -6 | ||
| 140 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | U S States And Political Subdivisions [Member] | us-gaap:CashAndCashEquivalentsAtCarryingValue (label) | 0 | iso4217:USD | -6 | ||
| 141 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Other Security Investments [Member] | Equity Method Investment Aggregate Cost | 615000000 | iso4217:USD | -6 | ||
| 142 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Security Investments [Member] | Equity Method Investment Aggregate Cost | 523000000 | iso4217:USD | -6 | ||
| 143 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Other Security Investments [Member] | us-gaap:EquityMethodInvestments (label) | 615000000 | iso4217:USD | -6 | ||
| 144 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Security Investments [Member] | us-gaap:EquityMethodInvestments (label) | 523000000 | iso4217:USD | -6 | ||
| 145 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Investment Type Categorization [Member] | us-gaap:LongTermInvestments (label) | 10431000000 | iso4217:USD | -6 | ||
| 146 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Investment Type Categorization [Member] | us-gaap:LongTermInvestments (label) | 6023000000 | iso4217:USD | -6 | ||
| 147 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Other Security Investments [Member] | us-gaap:LongTermInvestments (label) | 618000000 | iso4217:USD | -6 | ||
| 148 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Security Investments [Member] | us-gaap:LongTermInvestments (label) | 523000000 | iso4217:USD | -6 | ||
| 149 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Asset Backed Securities [Member] | us-gaap:LongTermInvestments (label) | 0 | iso4217:USD | -6 | ||
| 150 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Asset Backed Securities [Member] | us-gaap:LongTermInvestments (label) | 0 | iso4217:USD | -6 | ||
| 151 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Cash [Member] | us-gaap:LongTermInvestments (label) | 0 | iso4217:USD | -6 | ||
| 152 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Cash [Member] | us-gaap:LongTermInvestments (label) | 0 | iso4217:USD | -6 | ||
| 153 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Certificates Of Deposit [Member] | us-gaap:LongTermInvestments (label) | 0 | iso4217:USD | -6 | ||
| 154 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Certificates Of Deposit [Member] | us-gaap:LongTermInvestments (label) | 0 | iso4217:USD | -6 | ||
| 155 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Commercial Paper [Member] | us-gaap:LongTermInvestments (label) | 0 | iso4217:USD | -6 | ||
| 156 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Commercial Paper [Member] | us-gaap:LongTermInvestments (label) | 0 | iso4217:USD | -6 | ||
| 157 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Corporate Debt Securities [Member] | us-gaap:LongTermInvestments (label) | 0 | iso4217:USD | -6 | ||
| 158 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Corporate Debt Securities [Member] | us-gaap:LongTermInvestments (label) | 0 | iso4217:USD | -6 | ||
| 159 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity Securities [Member] | us-gaap:LongTermInvestments (label) | 9813000000 | iso4217:USD | -6 | ||
| 160 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity Securities [Member] | us-gaap:LongTermInvestments (label) | 5500000000 | iso4217:USD | -6 | ||
| 161 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Foreign Government Debt Securities [Member] | us-gaap:LongTermInvestments (label) | 0 | iso4217:USD | -6 | ||
| 162 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Foreign Government Debt Securities [Member] | us-gaap:LongTermInvestments (label) | 0 | iso4217:USD | -6 | ||
| 163 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Money Market Funds [Member] | us-gaap:LongTermInvestments (label) | 0 | iso4217:USD | -6 | ||
| 164 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Money Market Funds [Member] | us-gaap:LongTermInvestments (label) | 0 | iso4217:USD | -6 | ||
| 165 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label) | us-gaap:LongTermInvestments (label) | 0 | iso4217:USD | -6 | ||
| 166 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label) | us-gaap:LongTermInvestments (label) | 0 | iso4217:USD | -6 | ||
| 167 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | U S States And Political Subdivisions [Member] | us-gaap:LongTermInvestments (label) | 0 | iso4217:USD | -6 | ||
| 168 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | U S States And Political Subdivisions [Member] | us-gaap:LongTermInvestments (label) | 0 | iso4217:USD | -6 |
| Fact Table | |
|---|---|
| Network |
100590 - Disclosure - Investments - Cost Method - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureInvestmentsCostMethodAdditionalInformationDetail)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Fair Value Measurements Nonrecurring [Member] | us-gaap:CostMethodInvestments (label) | 767000000 | iso4217:USD | -6 | ||
| 2 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Fair Value Measurements Nonrecurring [Member] | us-gaap:CostMethodInvestments (label) | 1073000000 | iso4217:USD | -6 |
| Fact Table | |
|---|---|
| Network |
100600 - Disclosure - Investments - Secured Borrowings and Loaned Securities - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureInvestmentsSecuredBorrowingsAndLoanedSecuritiesAdditionalInformationDetail)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Cash [Member] | Securities Received As Collateral | 294000000 | iso4217:USD | -6 | ||
| 2 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label) | Securities Received As Collateral | 3700000000 | iso4217:USD | -8 |
| Fact Table | |
|---|---|
| Network |
100610 - Disclosure - Unrealized Losses on Investments (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureUnrealizedLossesOnInvestmentsDetail)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Major Types Of Debt And Equity Securities [Domain] | Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss | 137000000 | iso4217:USD | -6 | ||
| 2 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Major Types Of Debt And Equity Securities [Domain] | Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss | 56000000 | iso4217:USD | -6 | ||
| 3 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Asset Backed Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss | 1000000 | iso4217:USD | -6 | ||
| 4 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Asset Backed Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss | 1000000 | iso4217:USD | -6 | ||
| 5 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Corporate Debt Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss | 24000000 | iso4217:USD | -6 | ||
| 6 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Corporate Debt Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss | 4000000 | iso4217:USD | -6 | ||
| 7 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss | 89000000 | iso4217:USD | -6 | ||
| 8 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss | 28000000 | iso4217:USD | -6 | ||
| 9 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Foreign Government Debt Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss | 15000000 | iso4217:USD | -6 | ||
| 10 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Foreign Government Debt Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss | 11000000 | iso4217:USD | -6 | ||
| 11 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label) | Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss | 8000000 | iso4217:USD | -6 | ||
| 12 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label) | Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss | 12000000 | iso4217:USD | -6 | ||
| 13 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Major Types Of Debt And Equity Securities [Domain] | Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss | 302000000 | iso4217:USD | -6 | ||
| 14 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Major Types Of Debt And Equity Securities [Domain] | Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss | 423000000 | iso4217:USD | -6 | ||
| 15 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Asset Backed Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss | 2000000 | iso4217:USD | -6 | ||
| 16 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Asset Backed Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss | 4000000 | iso4217:USD | -6 | ||
| 17 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Corporate Debt Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss | 35000000 | iso4217:USD | -6 | ||
| 18 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Corporate Debt Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss | 12000000 | iso4217:USD | -6 | ||
| 19 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss | 236000000 | iso4217:USD | -6 | ||
| 20 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss | 34000000 | iso4217:USD | -6 | ||
| 21 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Foreign Government Debt Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss | 18000000 | iso4217:USD | -6 | ||
| 22 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Foreign Government Debt Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss | 13000000 | iso4217:USD | -6 | ||
| 23 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label) | Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss | 11000000 | iso4217:USD | -6 | ||
| 24 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label) | Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss | 360000000 | iso4217:USD | -6 | ||
| 25 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Major Types Of Debt And Equity Securities [Domain] | Available For Sale Securities Continuous Unrealized Loss Position Fair Value | 14155000000 | iso4217:USD | -6 | ||
| 26 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Major Types Of Debt And Equity Securities [Domain] | Available For Sale Securities Continuous Unrealized Loss Position Fair Value | 94287000000 | iso4217:USD | -6 | ||
| 27 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Asset Backed Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Fair Value | 1166000000 | iso4217:USD | -6 | ||
| 28 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Asset Backed Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Fair Value | 1266000000 | iso4217:USD | -6 | ||
| 29 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Corporate Debt Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Fair Value | 1968000000 | iso4217:USD | -6 | ||
| 30 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Corporate Debt Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Fair Value | 846000000 | iso4217:USD | -6 | ||
| 31 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Fair Value | 1286000000 | iso4217:USD | -6 | ||
| 32 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Fair Value | 217000000 | iso4217:USD | -6 | ||
| 33 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Foreign Government Debt Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Fair Value | 3487000000 | iso4217:USD | -6 | ||
| 34 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Foreign Government Debt Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Fair Value | 4029000000 | iso4217:USD | -6 | ||
| 35 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label) | Available For Sale Securities Continuous Unrealized Loss Position Fair Value | 6248000000 | iso4217:USD | -6 | ||
| 36 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label) | Available For Sale Securities Continuous Unrealized Loss Position Fair Value | 87929000000 | iso4217:USD | -6 | ||
| 37 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Major Types Of Debt And Equity Securities [Domain] | Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss | 165000000 | iso4217:USD | -6 | ||
| 38 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Major Types Of Debt And Equity Securities [Domain] | Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss | 367000000 | iso4217:USD | -6 | ||
| 39 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Asset Backed Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss | 1000000 | iso4217:USD | -6 | ||
| 40 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Asset Backed Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss | 3000000 | iso4217:USD | -6 | ||
| 41 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Corporate Debt Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss | 11000000 | iso4217:USD | -6 | ||
| 42 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Corporate Debt Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss | 8000000 | iso4217:USD | -6 | ||
| 43 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss | 147000000 | iso4217:USD | -6 | ||
| 44 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss | 6000000 | iso4217:USD | -6 | ||
| 45 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Foreign Government Debt Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss | 3000000 | iso4217:USD | -6 | ||
| 46 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Foreign Government Debt Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss | 2000000 | iso4217:USD | -6 | ||
| 47 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label) | Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss | 3000000 | iso4217:USD | -6 | ||
| 48 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label) | Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss | 348000000 | iso4217:USD | -6 | ||
| 49 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Major Types Of Debt And Equity Securities [Domain] | Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value | 12188000000 | iso4217:USD | -6 | ||
| 50 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Major Types Of Debt And Equity Securities [Domain] | Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value | 93370000000 | iso4217:USD | -6 | ||
| 51 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Asset Backed Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value | 844000000 | iso4217:USD | -6 | ||
| 52 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Asset Backed Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value | 1068000000 | iso4217:USD | -6 | ||
| 53 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Corporate Debt Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value | 1180000000 | iso4217:USD | -6 | ||
| 54 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Corporate Debt Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value | 669000000 | iso4217:USD | -6 | ||
| 55 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value | 896000000 | iso4217:USD | -6 | ||
| 56 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value | 69000000 | iso4217:USD | -6 | ||
| 57 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Foreign Government Debt Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value | 3452000000 | iso4217:USD | -6 | ||
| 58 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Foreign Government Debt Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value | 4006000000 | iso4217:USD | -6 | ||
| 59 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label) | Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value | 5816000000 | iso4217:USD | -6 | ||
| 60 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label) | Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value | 87558000000 | iso4217:USD | -6 | ||
| 61 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Major Types Of Debt And Equity Securities [Domain] | Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value | 1967000000 | iso4217:USD | -6 | ||
| 62 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Major Types Of Debt And Equity Securities [Domain] | Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value | 917000000 | iso4217:USD | -6 | ||
| 63 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Asset Backed Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value | 322000000 | iso4217:USD | -6 | ||
| 64 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Asset Backed Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value | 198000000 | iso4217:USD | -6 | ||
| 65 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Corporate Debt Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value | 788000000 | iso4217:USD | -6 | ||
| 66 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Corporate Debt Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value | 177000000 | iso4217:USD | -6 | ||
| 67 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value | 390000000 | iso4217:USD | -6 | ||
| 68 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value | 148000000 | iso4217:USD | -6 | ||
| 69 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Foreign Government Debt Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value | 35000000 | iso4217:USD | -6 | ||
| 70 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Foreign Government Debt Securities [Member] | Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value | 23000000 | iso4217:USD | -6 | ||
| 71 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label) | Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value | 432000000 | iso4217:USD | -6 | ||
| 72 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label) | Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value | 371000000 | iso4217:USD | -6 |
| Fact Table | |
|---|---|
| Network |
100620 - Disclosure - Debt Investment Maturities (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDebtInvestmentMaturitiesDetail)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations |
|---|
| Fact Table | |
|---|---|
| Network |
100630 - Disclosure - Derivatives - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDerivativesAdditionalInformationDetail)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Commodity Contract [Member] | Derivative Notional Amount | 631000000 | iso4217:USD | -6 | ||
| 2 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Nondesignated [Member] | Derivative Notional Amount | 631000000 | iso4217:USD | -6 | ||
| 3 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Long [Member] | Derivative Notional Amount | 631000000 | iso4217:USD | -6 | ||
| 4 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Commodity Contract [Member] | Derivative Notional Amount | 19000000 | iso4217:USD | -6 | ||
| 5 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Nondesignated [Member] | Derivative Notional Amount | 19000000 | iso4217:USD | -6 | ||
| 6 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Long [Member] | Derivative Notional Amount | 19000000 | iso4217:USD | -6 | ||
| 7 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Commodity Contract [Member] | Derivative Notional Amount | 162000000 | iso4217:USD | -6 | ||
| 8 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Nondesignated [Member] | Derivative Notional Amount | 162000000 | iso4217:USD | -6 | ||
| 9 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Short [Member] | Derivative Notional Amount | 162000000 | iso4217:USD | -6 | ||
| 10 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Credit Risk Contract [Member] | Derivative Notional Amount | 440000000 | iso4217:USD | -6 | ||
| 11 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Nondesignated [Member] | Derivative Notional Amount | 440000000 | iso4217:USD | -6 | ||
| 12 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Long [Member] | Derivative Notional Amount | 440000000 | iso4217:USD | -6 | ||
| 13 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Credit Risk Contract [Member] | Derivative Notional Amount | 267000000 | iso4217:USD | -6 | ||
| 14 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Nondesignated [Member] | Derivative Notional Amount | 267000000 | iso4217:USD | -6 | ||
| 15 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Long [Member] | Derivative Notional Amount | 267000000 | iso4217:USD | -6 | ||
| 16 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Credit Risk Contract [Member] | Derivative Notional Amount | 273000000 | iso4217:USD | -6 | ||
| 17 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Nondesignated [Member] | Derivative Notional Amount | 273000000 | iso4217:USD | -6 | ||
| 18 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Short [Member] | Derivative Notional Amount | 273000000 | iso4217:USD | -6 | ||
| 19 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Credit Risk Contract [Member] | Derivative Notional Amount | 63000000 | iso4217:USD | -6 | ||
| 20 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Nondesignated [Member] | Derivative Notional Amount | 63000000 | iso4217:USD | -6 | ||
| 21 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Short [Member] | Derivative Notional Amount | 63000000 | iso4217:USD | -6 | ||
| 22 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity Contract [Member] | Derivative Notional Amount | 737000000 | iso4217:USD | -6 | ||
| 23 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Designated As Hedging Instrument [Member] | Derivative Notional Amount | 737000000 | iso4217:USD | -6 | ||
| 24 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Long [Member] | Derivative Notional Amount | 737000000 | iso4217:USD | -6 | ||
| 25 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity Contract [Member] | Derivative Notional Amount | 1600000000 | iso4217:USD | -8 | ||
| 26 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Designated As Hedging Instrument [Member] | Derivative Notional Amount | 1600000000 | iso4217:USD | -8 | ||
| 27 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Long [Member] | Derivative Notional Amount | 1600000000 | iso4217:USD | -8 | ||
| 28 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity Contract [Member] | Derivative Notional Amount | 986000000 | iso4217:USD | -6 | ||
| 29 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Designated As Hedging Instrument [Member] | Derivative Notional Amount | 986000000 | iso4217:USD | -6 | ||
| 30 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Short [Member] | Derivative Notional Amount | 986000000 | iso4217:USD | -6 | ||
| 31 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity Contract [Member] | Derivative Notional Amount | 1800000000 | iso4217:USD | -8 | ||
| 32 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Designated As Hedging Instrument [Member] | Derivative Notional Amount | 1800000000 | iso4217:USD | -8 | ||
| 33 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Short [Member] | Derivative Notional Amount | 1800000000 | iso4217:USD | -8 | ||
| 34 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity Contract [Member] | Derivative Notional Amount | 1300000000 | iso4217:USD | -8 | ||
| 35 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Long [Member] | Derivative Notional Amount | 1300000000 | iso4217:USD | -8 | ||
| 36 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity Contract [Member] | Derivative Notional Amount | 1900000000 | iso4217:USD | -8 | ||
| 37 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Long [Member] | Derivative Notional Amount | 1900000000 | iso4217:USD | -8 | ||
| 38 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity Contract [Member] | Derivative Notional Amount | 2200000000 | iso4217:USD | -8 | ||
| 39 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Short [Member] | Derivative Notional Amount | 2200000000 | iso4217:USD | -8 | ||
| 40 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity Contract [Member] | Derivative Notional Amount | 2400000000 | iso4217:USD | -8 | ||
| 41 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Short [Member] | Derivative Notional Amount | 2400000000 | iso4217:USD | -8 | ||
| 42 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Foreign Exchange Contract [Member] | Derivative Notional Amount | 8400000000 | iso4217:USD | -8 | ||
| 43 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Cash Flow Hedging [Member] | Derivative Notional Amount | 8400000000 | iso4217:USD | -8 | ||
| 44 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Short [Member] | Derivative Notional Amount | 8400000000 | iso4217:USD | -8 | ||
| 45 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Foreign Exchange Contract [Member] | Derivative Notional Amount | 8900000000 | iso4217:USD | -8 | ||
| 46 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Cash Flow Hedging [Member] | Derivative Notional Amount | 8900000000 | iso4217:USD | -8 | ||
| 47 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Short [Member] | Derivative Notional Amount | 8900000000 | iso4217:USD | -8 | ||
| 48 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Foreign Exchange Contract [Member] | Derivative Notional Amount | 5300000000 | iso4217:USD | -8 | ||
| 49 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Fair Value Hedging [Member] | Derivative Notional Amount | 5300000000 | iso4217:USD | -8 | ||
| 50 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Short [Member] | Derivative Notional Amount | 5300000000 | iso4217:USD | -8 | ||
| 51 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Foreign Exchange Contract [Member] | Derivative Notional Amount | 5100000000 | iso4217:USD | -8 | ||
| 52 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Fair Value Hedging [Member] | Derivative Notional Amount | 5100000000 | iso4217:USD | -8 | ||
| 53 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Short [Member] | Derivative Notional Amount | 5100000000 | iso4217:USD | -8 | ||
| 54 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Foreign Exchange Contract [Member] | Derivative Notional Amount | 12000000000 | iso4217:USD | -8 | ||
| 55 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Nondesignated [Member] | Derivative Notional Amount | 12000000000 | iso4217:USD | -8 | ||
| 56 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Long [Member] | Derivative Notional Amount | 12000000000 | iso4217:USD | -8 | ||
| 57 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Foreign Exchange Contract [Member] | Derivative Notional Amount | 8800000000 | iso4217:USD | -8 | ||
| 58 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Nondesignated [Member] | Derivative Notional Amount | 8800000000 | iso4217:USD | -8 | ||
| 59 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Long [Member] | Derivative Notional Amount | 8800000000 | iso4217:USD | -8 | ||
| 60 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Foreign Exchange Contract [Member] | Derivative Notional Amount | 11700000000 | iso4217:USD | -8 | ||
| 61 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Nondesignated [Member] | Derivative Notional Amount | 11700000000 | iso4217:USD | -8 | ||
| 62 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Short [Member] | Derivative Notional Amount | 11700000000 | iso4217:USD | -8 | ||
| 63 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Foreign Exchange Contract [Member] | Derivative Notional Amount | 10600000000 | iso4217:USD | -8 | ||
| 64 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Nondesignated [Member] | Derivative Notional Amount | 10600000000 | iso4217:USD | -8 | ||
| 65 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Short [Member] | Derivative Notional Amount | 10600000000 | iso4217:USD | -8 | ||
| 66 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Interest Rate Contract [Member] | Derivative Notional Amount | 328000000 | iso4217:USD | -6 | ||
| 67 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Nondesignated [Member] | Derivative Notional Amount | 328000000 | iso4217:USD | -6 | ||
| 68 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Long [Member] | Derivative Notional Amount | 328000000 | iso4217:USD | -6 | ||
| 69 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Interest Rate Contract [Member] | Derivative Notional Amount | 233000000 | iso4217:USD | -6 | ||
| 70 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Nondesignated [Member] | Derivative Notional Amount | 233000000 | iso4217:USD | -6 | ||
| 71 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Long [Member] | Derivative Notional Amount | 233000000 | iso4217:USD | -6 | ||
| 72 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Interest Rate Contract [Member] | Derivative Notional Amount | 2400000000 | iso4217:USD | -8 | ||
| 73 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Nondesignated [Member] | Derivative Notional Amount | 2400000000 | iso4217:USD | -8 | ||
| 74 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Short [Member] | Derivative Notional Amount | 2400000000 | iso4217:USD | -8 | ||
| 75 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Interest Rate Contract [Member] | Derivative Notional Amount | 352000000 | iso4217:USD | -6 | ||
| 76 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Nondesignated [Member] | Derivative Notional Amount | 352000000 | iso4217:USD | -6 | ||
| 77 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Short [Member] | Derivative Notional Amount | 352000000 | iso4217:USD | -6 | ||
| 78 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Mortgage Backed Securities [Member] | Derivative Notional Amount | 548000000 | iso4217:USD | -6 | ||
| 79 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Nondesignated [Member] | Derivative Notional Amount | 548000000 | iso4217:USD | -6 | ||
| 80 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Long [Member] | Derivative Notional Amount | 548000000 | iso4217:USD | -6 | ||
| 81 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Mortgage Backed Securities [Member] | Derivative Notional Amount | 567000000 | iso4217:USD | -6 | ||
| 82 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Nondesignated [Member] | Derivative Notional Amount | 567000000 | iso4217:USD | -6 | ||
| 83 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Long [Member] | Derivative Notional Amount | 567000000 | iso4217:USD | -6 | ||
| 84 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Derivative Contract Type [Domain] | Financial Instrument Covenant Minimum Liquidity | 1000000000 | iso4217:USD | INF | ||
| 85 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Longterm Debt Type [Domain] | Financial Instrument Covenant Minimum Liquidity | 1000000000 | iso4217:USD | INF | ||
| 86 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Position [Domain] | Financial Instrument Covenant Minimum Liquidity | 1000000000 | iso4217:USD | INF | ||
| 87 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Derivative Contract Type [Domain] | Financial Instrument Covenant Minimum Liquidity Requirement | 1000000000 | iso4217:USD | INF | ||
| 88 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Longterm Debt Type [Domain] | Financial Instrument Covenant Minimum Liquidity Requirement | 1000000000 | iso4217:USD | INF | ||
| 89 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Position [Domain] | Financial Instrument Covenant Minimum Liquidity Requirement | 1000000000 | iso4217:USD | INF | ||
| 90 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Unsecured Debt [Member] | Debt Instrument Credit Rating | AAA | ||||
| 91 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Derivative Contract Type [Domain] | Foreign Currency Cash Flow Hedge Gain Loss To Be Reclassified During Next12 Months | 130000000 | iso4217:USD | -6 | ||
| 92 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Longterm Debt Type [Domain] | Foreign Currency Cash Flow Hedge Gain Loss To Be Reclassified During Next12 Months | 130000000 | iso4217:USD | -6 | ||
| 93 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Position [Domain] | Foreign Currency Cash Flow Hedge Gain Loss To Be Reclassified During Next12 Months | 130000000 | iso4217:USD | -6 | ||
| 94 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Derivative Contract Type [Domain] | Maximum Length Of Time Foreign Currency Cash Flow Hedge | _2221924 | ||||
| 95 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Longterm Debt Type [Domain] | Maximum Length Of Time Foreign Currency Cash Flow Hedge | _2222514 | ||||
| 96 | 0000789019 (http://www.sec.gov/CIK) | 2016-07-01 to 2017-06-30 | Position [Domain] | Maximum Length Of Time Foreign Currency Cash Flow Hedge | _2223104 |
| Fact Table | |
|---|---|
| Network |
100640 - Disclosure - Fair Values of Derivative Instruments (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFairValuesOfDerivativeInstrumentsDetail)
|
| Table | (implied) |
| # | Reporting Entity [Axis] | Period [Axis] | Scenario [Axis] | Concept | Fact Value | Unit | Rounding | Parenthetical Explanations | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Eligible For Offsetting [Member] | Derivative Assets Net Amounts Presented In Balance Sheet | -7000000 | iso4217:USD | -6 | ||
| 2 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity And Other Investments [Member] | Derivative Assets Net Amounts Presented In Balance Sheet | -7000000 | iso4217:USD | -6 | ||
| 3 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Eligible For Offsetting [Member] | Derivative Assets Net Amounts Presented In Balance Sheet | 0 | iso4217:USD | -6 | ||
| 4 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity And Other Investments [Member] | Derivative Assets Net Amounts Presented In Balance Sheet | 0 | iso4217:USD | -6 | ||
| 5 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Eligible For Offsetting [Member] | Derivative Assets Net Amounts Presented In Balance Sheet | 246000000 | iso4217:USD | -6 | ||
| 6 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Other Current Assets [Member] | Derivative Assets Net Amounts Presented In Balance Sheet | 246000000 | iso4217:USD | -6 | ||
| 7 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Eligible For Offsetting [Member] | Derivative Assets Net Amounts Presented In Balance Sheet | 204000000 | iso4217:USD | -6 | ||
| 8 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Current Assets [Member] | Derivative Assets Net Amounts Presented In Balance Sheet | 204000000 | iso4217:USD | -6 | ||
| 9 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Eligible For Offsetting [Member] | Derivative Assets Net Amounts Presented In Balance Sheet | -2000000 | iso4217:USD | -6 | ||
| 10 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Noncurrent Assets [Member] | Derivative Assets Net Amounts Presented In Balance Sheet | -2000000 | iso4217:USD | -6 | ||
| 11 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Eligible For Offsetting [Member] | Derivative Assets Net Amounts Presented In Balance Sheet | -5000000 | iso4217:USD | -6 | ||
| 12 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Short Term Investments [Member] | Derivative Assets Net Amounts Presented In Balance Sheet | -5000000 | iso4217:USD | -6 | ||
| 13 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Eligible For Offsetting [Member] | Derivative Assets Net Amounts Presented In Balance Sheet | 80000000 | iso4217:USD | -6 | ||
| 14 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Short Term Investments [Member] | Derivative Assets Net Amounts Presented In Balance Sheet | 80000000 | iso4217:USD | -6 | ||
| 15 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity And Other Investments [Member] | Derivative Assets Potential Net Amounts Not Presented In Balance Sheet | -7000000 | iso4217:USD | -6 | ||
| 16 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity And Other Investments [Member] | Derivative Assets Potential Net Amounts Not Presented In Balance Sheet | 0 | iso4217:USD | -6 | ||
| 17 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Other Current Assets [Member] | Derivative Assets Potential Net Amounts Not Presented In Balance Sheet | 246000000 | iso4217:USD | -6 | ||
| 18 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Current Assets [Member] | Derivative Assets Potential Net Amounts Not Presented In Balance Sheet | 204000000 | iso4217:USD | -6 | ||
| 19 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Noncurrent Assets [Member] | Derivative Assets Potential Net Amounts Not Presented In Balance Sheet | -2000000 | iso4217:USD | -6 | ||
| 20 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Short Term Investments [Member] | Derivative Assets Potential Net Amounts Not Presented In Balance Sheet | -5000000 | iso4217:USD | -6 | ||
| 21 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Short Term Investments [Member] | Derivative Assets Potential Net Amounts Not Presented In Balance Sheet | 80000000 | iso4217:USD | -6 | ||
| 22 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Eligible For Offsetting [Member] | Derivative Fair Value Of Derivative Asset Amount Not Offset | 0 | iso4217:USD | -6 | ||
| 23 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity And Other Investments [Member] | Derivative Fair Value Of Derivative Asset Amount Not Offset | 0 | iso4217:USD | -6 | ||
| 24 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Eligible For Offsetting [Member] | Derivative Fair Value Of Derivative Asset Amount Not Offset | 0 | iso4217:USD | -6 | ||
| 25 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity And Other Investments [Member] | Derivative Fair Value Of Derivative Asset Amount Not Offset | 0 | iso4217:USD | -6 | ||
| 26 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Eligible For Offsetting [Member] | Derivative Fair Value Of Derivative Asset Amount Not Offset | 0 | iso4217:USD | -6 | ||
| 27 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Other Current Assets [Member] | Derivative Fair Value Of Derivative Asset Amount Not Offset | 0 | iso4217:USD | -6 | ||
| 28 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Eligible For Offsetting [Member] | Derivative Fair Value Of Derivative Asset Amount Not Offset | 0 | iso4217:USD | -6 | ||
| 29 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Current Assets [Member] | Derivative Fair Value Of Derivative Asset Amount Not Offset | 0 | iso4217:USD | -6 | ||
| 30 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Eligible For Offsetting [Member] | Derivative Fair Value Of Derivative Asset Amount Not Offset | 0 | iso4217:USD | -6 | ||
| 31 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Noncurrent Assets [Member] | Derivative Fair Value Of Derivative Asset Amount Not Offset | 0 | iso4217:USD | -6 | ||
| 32 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Eligible For Offsetting [Member] | Derivative Fair Value Of Derivative Asset Amount Not Offset | 0 | iso4217:USD | -6 | ||
| 33 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Short Term Investments [Member] | Derivative Fair Value Of Derivative Asset Amount Not Offset | 0 | iso4217:USD | -6 | ||
| 34 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Eligible For Offsetting [Member] | Derivative Fair Value Of Derivative Asset Amount Not Offset | 0 | iso4217:USD | -6 | ||
| 35 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Short Term Investments [Member] | Derivative Fair Value Of Derivative Asset Amount Not Offset | 0 | iso4217:USD | -6 | ||
| 36 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Eligible For Offsetting [Member] | Derivative Fair Value Of Derivative Liability Amount Not Offset | 0 | iso4217:USD | -6 | ||
| 37 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Other Current Liabilities [Member] | Derivative Fair Value Of Derivative Liability Amount Not Offset | 0 | iso4217:USD | -6 | ||
| 38 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Eligible For Offsetting [Member] | Derivative Fair Value Of Derivative Liability Amount Not Offset | 0 | iso4217:USD | -6 | ||
| 39 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Current Liabilities [Member] | Derivative Fair Value Of Derivative Liability Amount Not Offset | 0 | iso4217:USD | -6 | ||
| 40 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Eligible For Offsetting [Member] | Derivative Fair Value Of Derivative Liability Amount Not Offset | 0 | iso4217:USD | -6 | ||
| 41 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Noncurrent Liabilities [Member] | Derivative Fair Value Of Derivative Liability Amount Not Offset | 0 | iso4217:USD | -6 | ||
| 42 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Eligible For Offsetting [Member] | Derivative Liabilities Net Amounts Presented In Balance Sheet | 232000000 | iso4217:USD | -6 | ||
| 43 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Other Current Liabilities [Member] | Derivative Liabilities Net Amounts Presented In Balance Sheet | 232000000 | iso4217:USD | -6 | ||
| 44 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Eligible For Offsetting [Member] | Derivative Liabilities Net Amounts Presented In Balance Sheet | 113000000 | iso4217:USD | -6 | ||
| 45 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Current Liabilities [Member] | Derivative Liabilities Net Amounts Presented In Balance Sheet | 113000000 | iso4217:USD | -6 | ||
| 46 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Eligible For Offsetting [Member] | Derivative Liabilities Net Amounts Presented In Balance Sheet | 1000000 | iso4217:USD | -6 | ||
| 47 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Noncurrent Liabilities [Member] | Derivative Liabilities Net Amounts Presented In Balance Sheet | 1000000 | iso4217:USD | -6 | ||
| 48 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Other Current Liabilities [Member] | Derivative Liabilities Potential Net Amounts Not Presented In Balance Sheet | 482000000 | iso4217:USD | -6 | ||
| 49 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Current Liabilities [Member] | Derivative Liabilities Potential Net Amounts Not Presented In Balance Sheet | 341000000 | iso4217:USD | -6 | ||
| 50 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Noncurrent Liabilities [Member] | Derivative Liabilities Potential Net Amounts Not Presented In Balance Sheet | 1000000 | iso4217:USD | -6 | ||
| 51 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Eligible For Offsetting [Member] | Derivative Asset Fair Value Gross Liability | 25000000 | iso4217:USD | -6 | ||
| 52 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity And Other Investments [Member] | Derivative Asset Fair Value Gross Liability | 25000000 | iso4217:USD | -6 | ||
| 53 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Eligible For Offsetting [Member] | Derivative Asset Fair Value Gross Liability | 67000000 | iso4217:USD | -6 | ||
| 54 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity And Other Investments [Member] | Derivative Asset Fair Value Gross Liability | 67000000 | iso4217:USD | -6 | ||
| 55 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Eligible For Offsetting [Member] | Derivative Asset Fair Value Gross Liability | 302000000 | iso4217:USD | -6 | ||
| 56 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Other Current Assets [Member] | Derivative Asset Fair Value Gross Liability | 302000000 | iso4217:USD | -6 | ||
| 57 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Eligible For Offsetting [Member] | Derivative Asset Fair Value Gross Liability | 132000000 | iso4217:USD | -6 | ||
| 58 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Current Assets [Member] | Derivative Asset Fair Value Gross Liability | 132000000 | iso4217:USD | -6 | ||
| 59 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Eligible For Offsetting [Member] | Derivative Asset Fair Value Gross Liability | 8000000 | iso4217:USD | -6 | ||
| 60 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Noncurrent Assets [Member] | Derivative Asset Fair Value Gross Liability | 8000000 | iso4217:USD | -6 | ||
| 61 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Eligible For Offsetting [Member] | Derivative Asset Fair Value Gross Liability | 74000000 | iso4217:USD | -6 | ||
| 62 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Short Term Investments [Member] | Derivative Asset Fair Value Gross Liability | 74000000 | iso4217:USD | -6 | ||
| 63 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Eligible For Offsetting [Member] | Derivative Asset Fair Value Gross Liability | 20000000 | iso4217:USD | -6 | ||
| 64 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Short Term Investments [Member] | Derivative Asset Fair Value Gross Liability | 20000000 | iso4217:USD | -6 | ||
| 65 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Eligible For Offsetting [Member] | Derivative Collateral Obligation To Return Cash | 250000000 | iso4217:USD | -6 | ||
| 66 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Other Current Liabilities [Member] | Derivative Collateral Obligation To Return Cash | 250000000 | iso4217:USD | -6 | ||
| 67 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Eligible For Offsetting [Member] | Derivative Collateral Obligation To Return Cash | 228000000 | iso4217:USD | -6 | ||
| 68 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Current Liabilities [Member] | Derivative Collateral Obligation To Return Cash | 228000000 | iso4217:USD | -6 | ||
| 69 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Eligible For Offsetting [Member] | Derivative Collateral Obligation To Return Cash | 0 | iso4217:USD | -6 | ||
| 70 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Noncurrent Liabilities [Member] | Derivative Collateral Obligation To Return Cash | 0 | iso4217:USD | -6 | ||
| 71 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Eligible For Offsetting [Member] | Derivative Collateral Right To Reclaim Cash | 0 | iso4217:USD | -6 | ||
| 72 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity And Other Investments [Member] | Derivative Collateral Right To Reclaim Cash | 0 | iso4217:USD | -6 | ||
| 73 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Eligible For Offsetting [Member] | Derivative Collateral Right To Reclaim Cash | 0 | iso4217:USD | -6 | ||
| 74 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity And Other Investments [Member] | Derivative Collateral Right To Reclaim Cash | 0 | iso4217:USD | -6 | ||
| 75 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Eligible For Offsetting [Member] | Derivative Collateral Right To Reclaim Cash | 0 | iso4217:USD | -6 | ||
| 76 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Other Current Assets [Member] | Derivative Collateral Right To Reclaim Cash | 0 | iso4217:USD | -6 | ||
| 77 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Eligible For Offsetting [Member] | Derivative Collateral Right To Reclaim Cash | 0 | iso4217:USD | -6 | ||
| 78 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Current Assets [Member] | Derivative Collateral Right To Reclaim Cash | 0 | iso4217:USD | -6 | ||
| 79 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Eligible For Offsetting [Member] | Derivative Collateral Right To Reclaim Cash | 0 | iso4217:USD | -6 | ||
| 80 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Noncurrent Assets [Member] | Derivative Collateral Right To Reclaim Cash | 0 | iso4217:USD | -6 | ||
| 81 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Eligible For Offsetting [Member] | Derivative Collateral Right To Reclaim Cash | 0 | iso4217:USD | -6 | ||
| 82 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Short Term Investments [Member] | Derivative Collateral Right To Reclaim Cash | 0 | iso4217:USD | -6 | ||
| 83 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Eligible For Offsetting [Member] | Derivative Collateral Right To Reclaim Cash | 0 | iso4217:USD | -6 | ||
| 84 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Short Term Investments [Member] | Derivative Collateral Right To Reclaim Cash | 0 | iso4217:USD | -6 | ||
| 85 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Eligible For Offsetting [Member] | Derivative Fair Value Of Derivative Asset | 18000000 | iso4217:USD | -6 | ||
| 86 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity And Other Investments [Member] | Derivative Fair Value Of Derivative Asset | 18000000 | iso4217:USD | -6 | ||
| 87 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Eligible For Offsetting [Member] | Derivative Fair Value Of Derivative Asset | 67000000 | iso4217:USD | -6 | ||
| 88 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity And Other Investments [Member] | Derivative Fair Value Of Derivative Asset | 67000000 | iso4217:USD | -6 | ||
| 89 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Eligible For Offsetting [Member] | Derivative Fair Value Of Derivative Asset | 548000000 | iso4217:USD | -6 | ||
| 90 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Other Current Assets [Member] | Derivative Fair Value Of Derivative Asset | 548000000 | iso4217:USD | -6 | ||
| 91 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Eligible For Offsetting [Member] | Derivative Fair Value Of Derivative Asset | 336000000 | iso4217:USD | -6 | ||
| 92 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Current Assets [Member] | Derivative Fair Value Of Derivative Asset | 336000000 | iso4217:USD | -6 | ||
| 93 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Eligible For Offsetting [Member] | Derivative Fair Value Of Derivative Asset | 6000000 | iso4217:USD | -6 | ||
| 94 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Noncurrent Assets [Member] | Derivative Fair Value Of Derivative Asset | 6000000 | iso4217:USD | -6 | ||
| 95 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Eligible For Offsetting [Member] | Derivative Fair Value Of Derivative Asset | 69000000 | iso4217:USD | -6 | ||
| 96 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Short Term Investments [Member] | Derivative Fair Value Of Derivative Asset | 69000000 | iso4217:USD | -6 | ||
| 97 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Eligible For Offsetting [Member] | Derivative Fair Value Of Derivative Asset | 100000000 | iso4217:USD | -6 | ||
| 98 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Short Term Investments [Member] | Derivative Fair Value Of Derivative Asset | 100000000 | iso4217:USD | -6 | ||
| 99 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity And Other Investments [Member] | Derivative Fair Value Of Derivative Asset | 18000000 | iso4217:USD | -6 | ||
| 100 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity And Other Investments [Member] | Derivative Fair Value Of Derivative Asset | 67000000 | iso4217:USD | -6 | ||
| 101 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity And Other Investments [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 102 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Credit Risk Contract [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 103 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Nondesignated [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 104 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity And Other Investments [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 105 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Credit Risk Contract [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 106 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Nondesignated [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 107 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity And Other Investments [Member] | Derivative Fair Value Of Derivative Asset | 18000000 | iso4217:USD | -6 | ||
| 108 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity Contract [Member] | Derivative Fair Value Of Derivative Asset | 18000000 | iso4217:USD | -6 | ||
| 109 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Designated As Hedging Instrument [Member] | Derivative Fair Value Of Derivative Asset | 18000000 | iso4217:USD | -6 | ||
| 110 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity And Other Investments [Member] | Derivative Fair Value Of Derivative Asset | 67000000 | iso4217:USD | -6 | ||
| 111 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity Contract [Member] | Derivative Fair Value Of Derivative Asset | 67000000 | iso4217:USD | -6 | ||
| 112 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Designated As Hedging Instrument [Member] | Derivative Fair Value Of Derivative Asset | 67000000 | iso4217:USD | -6 | ||
| 113 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity And Other Investments [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 114 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity Contract [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 115 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Nondesignated [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 116 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity And Other Investments [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 117 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity Contract [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 118 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Nondesignated [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 119 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity And Other Investments [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 120 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Foreign Exchange Contract [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 121 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Designated As Hedging Instrument [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 122 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity And Other Investments [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 123 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Foreign Exchange Contract [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 124 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Designated As Hedging Instrument [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 125 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity And Other Investments [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 126 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Foreign Exchange Contract [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 127 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Nondesignated [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 128 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity And Other Investments [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 129 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Foreign Exchange Contract [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 130 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Nondesignated [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 131 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity And Other Investments [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 132 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Interest Rate Contract [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 133 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Nondesignated [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 134 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity And Other Investments [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 135 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Interest Rate Contract [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 136 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Nondesignated [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 137 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity And Other Investments [Member] | Derivative Fair Value Of Derivative Asset | 18000000 | iso4217:USD | -6 | ||
| 138 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Designated As Hedging Instrument [Member] | Derivative Fair Value Of Derivative Asset | 18000000 | iso4217:USD | -6 | ||
| 139 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity And Other Investments [Member] | Derivative Fair Value Of Derivative Asset | 67000000 | iso4217:USD | -6 | ||
| 140 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Designated As Hedging Instrument [Member] | Derivative Fair Value Of Derivative Asset | 67000000 | iso4217:USD | -6 | ||
| 141 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity And Other Investments [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 142 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Nondesignated [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 143 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity And Other Investments [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 144 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Nondesignated [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 145 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Other Current Assets [Member] | Derivative Fair Value Of Derivative Asset | 548000000 | iso4217:USD | -6 | ||
| 146 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Current Assets [Member] | Derivative Fair Value Of Derivative Asset | 336000000 | iso4217:USD | -6 | ||
| 147 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Other Current Assets [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 148 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Credit Risk Contract [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 149 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Nondesignated [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 150 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Current Assets [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 151 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Credit Risk Contract [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 152 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Nondesignated [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 153 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Other Current Assets [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 154 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity Contract [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 155 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Designated As Hedging Instrument [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 156 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Current Assets [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 157 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity Contract [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 158 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Designated As Hedging Instrument [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 159 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Other Current Assets [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 160 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Equity Contract [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 161 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Nondesignated [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 162 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Current Assets [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 163 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity Contract [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 164 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Nondesignated [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 165 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Other Current Assets [Member] | Derivative Fair Value Of Derivative Asset | 392000000 | iso4217:USD | -6 | ||
| 166 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Foreign Exchange Contract [Member] | Derivative Fair Value Of Derivative Asset | 392000000 | iso4217:USD | -6 | ||
| 167 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Designated As Hedging Instrument [Member] | Derivative Fair Value Of Derivative Asset | 392000000 | iso4217:USD | -6 | ||
| 168 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Current Assets [Member] | Derivative Fair Value Of Derivative Asset | 133000000 | iso4217:USD | -6 | ||
| 169 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Foreign Exchange Contract [Member] | Derivative Fair Value Of Derivative Asset | 133000000 | iso4217:USD | -6 | ||
| 170 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Designated As Hedging Instrument [Member] | Derivative Fair Value Of Derivative Asset | 133000000 | iso4217:USD | -6 | ||
| 171 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Other Current Assets [Member] | Derivative Fair Value Of Derivative Asset | 156000000 | iso4217:USD | -6 | ||
| 172 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Foreign Exchange Contract [Member] | Derivative Fair Value Of Derivative Asset | 156000000 | iso4217:USD | -6 | ||
| 173 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Nondesignated [Member] | Derivative Fair Value Of Derivative Asset | 156000000 | iso4217:USD | -6 | ||
| 174 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Current Assets [Member] | Derivative Fair Value Of Derivative Asset | 203000000 | iso4217:USD | -6 | ||
| 175 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Foreign Exchange Contract [Member] | Derivative Fair Value Of Derivative Asset | 203000000 | iso4217:USD | -6 | ||
| 176 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Nondesignated [Member] | Derivative Fair Value Of Derivative Asset | 203000000 | iso4217:USD | -6 | ||
| 177 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Other Current Assets [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 178 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Interest Rate Contract [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 179 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Nondesignated [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 180 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Current Assets [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 181 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Interest Rate Contract [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 182 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Nondesignated [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 183 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Other Current Assets [Member] | Derivative Fair Value Of Derivative Asset | 392000000 | iso4217:USD | -6 | ||
| 184 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Designated As Hedging Instrument [Member] | Derivative Fair Value Of Derivative Asset | 392000000 | iso4217:USD | -6 | ||
| 185 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Current Assets [Member] | Derivative Fair Value Of Derivative Asset | 133000000 | iso4217:USD | -6 | ||
| 186 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Designated As Hedging Instrument [Member] | Derivative Fair Value Of Derivative Asset | 133000000 | iso4217:USD | -6 | ||
| 187 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Other Current Assets [Member] | Derivative Fair Value Of Derivative Asset | 156000000 | iso4217:USD | -6 | ||
| 188 | 0000789019 (http://www.sec.gov/CIK) | 2016-06-30 | Nondesignated [Member] | Derivative Fair Value Of Derivative Asset | 156000000 | iso4217:USD | -6 | ||
| 189 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Current Assets [Member] | Derivative Fair Value Of Derivative Asset | 203000000 | iso4217:USD | -6 | ||
| 190 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Nondesignated [Member] | Derivative Fair Value Of Derivative Asset | 203000000 | iso4217:USD | -6 | ||
| 191 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Noncurrent Assets [Member] | Derivative Fair Value Of Derivative Asset | 6000000 | iso4217:USD | -6 | ||
| 192 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Noncurrent Assets [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 193 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Credit Risk Contract [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 194 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Nondesignated [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 195 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Noncurrent Assets [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 196 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity Contract [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 197 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Designated As Hedging Instrument [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 198 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Noncurrent Assets [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 199 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Equity Contract [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 200 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Nondesignated [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 201 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Other Noncurrent Assets [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 202 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Foreign Exchange Contract [Member] | Derivative Fair Value Of Derivative Asset | 0 | iso4217:USD | -6 | ||
| 203 | 0000789019 (http://www.sec.gov/CIK) | 2017-06-30 | Designated As Hedging Instrument [Member] |