msft

Entry Point (Associations) | Terms | Structures | Rules | Type-subtype | Disclosures | Dislosure Mechanics Rules | Dislosure Rules (Reporting Checklist) Download all

# Report Element Label Report Element Category Period Type Balance Type Report Element Name
1 100000 - Document - Document and Entity Information Network

*

*

http://www.xbrlsite.com/msft/role/DocumentDocumentAndEntityInformation
2 Document And Entity Information [Abstract] Abstract msft:DocumentAndEntityInformationAbstract
3 Statement [Table] Hypercube base:StatementTable
4 Legal Entity [Axis] Dimension other:LegalEntityAxis
5 Entity [Domain] Member other:EntityDomain
6 Statement [Line Items] LineItems base:StatementLineItems
7 Document Type Concept (other:submissionTypeItemType) For Period other:DocumentType
8 Amendment Flag Concept (Yes/No) For Period other:AmendmentFlag
9 Document Period End Date Concept (Date) For Period other:DocumentPeriodEndDate
10 Document Fiscal Year Focus Concept (Year) For Period other:DocumentFiscalYearFocus
11 Document Fiscal Period Focus Concept (other:fiscalPeriodItemType) For Period other:DocumentFiscalPeriodFocus
12 Trading Symbol Concept (Text/String) For Period other:TradingSymbol
13 Entity Registrant Name Concept (Text/String) For Period other:EntityRegistrantName
14 Entity Central Index Key Concept (other:centralIndexKeyItemType) For Period other:EntityCentralIndexKey
15 Current Fiscal Year End Date Concept (Month/Day) For Period other:CurrentFiscalYearEndDate
16 Entity Well-known Seasoned Issuer Concept (other:yesNoItemType) For Period other:EntityWellKnownSeasonedIssuer
17 Entity Current Reporting Status Concept (other:yesNoItemType) For Period other:EntityCurrentReportingStatus
18 Entity Voluntary Filers Concept (other:yesNoItemType) For Period other:EntityVoluntaryFilers
19 Entity Filer Category Concept (other:filerCategoryItemType) For Period other:EntityFilerCategory
20 Entity Common Stock, Par Value Per Share Concept (Share) For Period other:EntityListingParValuePerShare
21 Entity Common Stock, Shares Outstanding Concept (Shares) As Of other:EntityCommonStockSharesOutstanding
22 Entity Public Float Concept (Monetary) As Of Credit other:EntityPublicFloat
23 I.R.S. Employer Identification No. Concept (other:nineDigitItemType) For Period other:EntityTaxIdentificationNumber
24 100010 - Statement - INCOME STATEMENTS Network

*

*

http://www.xbrlsite.com/msft/role/StatementINCOMESTATEMENTS
25 Income Statement [Abstract] Abstract base:IncomeStatementAbstract
26 Statement [Table] Hypercube base:StatementTable
27 Legal Entity [Axis] Dimension other:LegalEntityAxis
28 Entity [Domain] Member other:EntityDomain
29 Statement [Line Items] LineItems base:StatementLineItems
30 Revenue Abstract base:SalesRevenueNetAbstract
31 Product Concept (Monetary) For Period Credit base:SalesRevenueGoodsNet
32 Service and other Concept (Monetary) For Period Credit msft:SalesRevenueServicesAndOtherNet
33 Total revenue Concept (Monetary) For Period Credit base:SalesRevenueNet
34 Cost of revenue Abstract base:CostOfRevenueAbstract
35 Product Concept (Monetary) For Period Debit base:CostOfGoodsSold
36 Service and other Concept (Monetary) For Period Debit msft:CostOfServicesAndOther
37 Total cost of revenue Concept (Monetary) For Period Debit base:CostOfRevenue
38 Gross margin Concept (Monetary) For Period Credit base:GrossProfit
39 Research and development Concept (Monetary) For Period Debit base:ResearchAndDevelopmentExpense
40 Sales and marketing Concept (Monetary) For Period Debit base:SellingAndMarketingExpense
41 General and administrative Concept (Monetary) For Period Debit base:GeneralAndAdministrativeExpense
42 Impairment, integration, and restructuring Concept (Monetary) For Period Debit msft:ImpairmentIntegrationAndRestructuringExpenses
43 Operating income Concept (Monetary) For Period Credit base:OperatingIncomeLoss
44 Other income (expense), net Concept (Monetary) For Period Credit base:NonoperatingIncomeExpense
45 Income before income taxes Concept (Monetary) For Period Credit base:IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments
46 Provision for income taxes Concept (Monetary) For Period Debit base:IncomeTaxExpenseBenefit
47 Net income Concept (Monetary) For Period Credit base:NetIncomeLoss
48 Earnings per share: Abstract base:EarningsPerShareAbstract
49 Basic Concept (Share) For Period base:EarningsPerShareBasic
50 Diluted Concept (Share) For Period base:EarningsPerShareDiluted
51 Weighted average shares outstanding: Abstract base:WeightedAverageNumberOfSharesOutstandingAbstract
52 Basic Concept (Shares) For Period base:WeightedAverageNumberOfSharesOutstandingBasic
53 Diluted Concept (Shares) For Period base:WeightedAverageNumberOfDilutedSharesOutstanding
54 Cash dividends declared per common share Concept (Share) For Period base:CommonStockDividendsPerShareDeclared
55 100020 - Statement - COMPREHENSIVE INCOME STATEMENTS Network

*

*

http://www.xbrlsite.com/msft/role/StatementCOMPREHENSIVEINCOMESTATEMENTS
56 Statement Of Income And Comprehensive Income [Abstract] Abstract base:StatementOfIncomeAndComprehensiveIncomeAbstract
57 Statement [Table] Hypercube base:StatementTable
58 Legal Entity [Axis] Dimension other:LegalEntityAxis
59 Entity [Domain] Member other:EntityDomain
60 Statement [Line Items] LineItems base:StatementLineItems
61 Net income Concept (Monetary) For Period Credit base:NetIncomeLoss
62 Other comprehensive income (loss): Abstract base:OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract
63 Net unrealized gains (losses) on derivatives (net of tax effects of $(5), $(12), and $20) Concept (Monetary) For Period Credit base:OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesNetOfTax
64 Net unrealized losses on investments (net of tax effects of $(613), $(121), and $(197)) Concept (Monetary) For Period Credit base:OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax
65 Translation adjustments and other (net of tax effects of $9, $(33), and $16) Concept (Monetary) For Period Credit base:OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax
66 Other comprehensive loss Concept (Monetary) For Period Credit base:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent
67 Comprehensive income Concept (Monetary) For Period Credit base:ComprehensiveIncomeNetOfTax
68 100030 - Statement - COMPREHENSIVE INCOME STATEMENTS (Parenthetical) Network

*

*

http://www.xbrlsite.com/msft/role/StatementCOMPREHENSIVEINCOMESTATEMENTSParenthetical
69 Statement Of Income And Comprehensive Income [Abstract] Abstract base:StatementOfIncomeAndComprehensiveIncomeAbstract
70 Statement [Table] Hypercube base:StatementTable
71 Legal Entity [Axis] Dimension other:LegalEntityAxis
72 Entity [Domain] Member other:EntityDomain
73 Statement [Line Items] LineItems base:StatementLineItems
74 Net unrealized gains (losses) on derivatives, tax effects Concept (Monetary) For Period Debit base:OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesTax
75 Net unrealized losses on investments, tax effects Concept (Monetary) For Period Debit base:OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax
76 Translation adjustments and other, tax effects Concept (Monetary) For Period Debit base:OtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentTax
77 100040 - Statement - BALANCE SHEETS Network

*

*

http://www.xbrlsite.com/msft/role/StatementBALANCESHEETS
78 Statement Of Financial Position [Abstract] Abstract base:StatementOfFinancialPositionAbstract
79 Statement [Table] Hypercube base:StatementTable
80 Legal Entity [Axis] Dimension other:LegalEntityAxis
81 Entity [Domain] Member other:EntityDomain
82 Statement [Line Items] LineItems base:StatementLineItems
83 Assets Abstract base:AssetsAbstract
84 Current assets: Abstract base:AssetsCurrentAbstract
85 Cash and cash equivalents Concept (Monetary) As Of Debit base:CashAndCashEquivalentsAtCarryingValue
86 Short-term investments (including securities loaned of $3,694 and $204) Concept (Monetary) As Of Debit base:AvailableForSaleSecuritiesCurrent
87 Total cash, cash equivalents, and short-term investments Concept (Monetary) As Of Debit base:CashCashEquivalentsAndShortTermInvestments
88 Accounts receivable, net of allowance for doubtful accounts of $405 and $426 Concept (Monetary) As Of Debit base:AccountsReceivableNetCurrent
89 Inventories Concept (Monetary) As Of Debit base:InventoryNet
90 Other Concept (Monetary) As Of Debit base:OtherAssetsCurrent
91 Total current assets Concept (Monetary) As Of Debit base:AssetsCurrent
92 Property and equipment, net of accumulated depreciation of $24,179 and $19,800 Concept (Monetary) As Of Debit base:PropertyPlantAndEquipmentNet
93 Equity and other investments Concept (Monetary) As Of Debit base:LongTermInvestments
94 Goodwill Concept (Monetary) As Of Debit base:Goodwill
95 Intangible assets, net Concept (Monetary) As Of Debit base:FiniteLivedIntangibleAssetsNet
96 Other long-term assets Concept (Monetary) As Of Debit base:OtherAssetsNoncurrent
97 Total assets Concept (Monetary) As Of Debit base:Assets
98 Liabilities and stockholders" equity Abstract base:LiabilitiesAndStockholdersEquityAbstract
99 Current liabilities: Abstract base:LiabilitiesCurrentAbstract
100 Accounts payable Concept (Monetary) As Of Credit base:AccountsPayableCurrent
101 Short-term debt Concept (Monetary) As Of Credit base:ShortTermBorrowings
102 Current portion of long-term debt Concept (Monetary) As Of Credit base:LongTermDebtCurrent
103 Accrued compensation Concept (Monetary) As Of Credit base:EmployeeRelatedLiabilitiesCurrent
104 Income taxes Concept (Monetary) As Of Credit base:AccruedIncomeTaxesCurrent
105 Short-term unearned revenue Concept (Monetary) As Of Credit base:DeferredRevenueCurrent
106 Securities lending payable Concept (Monetary) As Of Credit base:DepositsReceivedForSecuritiesLoanedAtCarryingValue
107 Other Concept (Monetary) As Of Credit base:OtherLiabilitiesCurrent
108 Total current liabilities Concept (Monetary) As Of Credit base:LiabilitiesCurrent
109 Long-term debt Concept (Monetary) As Of Credit base:LongTermDebtNoncurrent
110 Long-term unearned revenue Concept (Monetary) As Of Credit base:DeferredRevenueNoncurrent
111 Deferred income taxes Concept (Monetary) As Of Credit base:DeferredTaxLiabilitiesNoncurrent
112 Other long-term liabilities Concept (Monetary) As Of Credit base:OtherLiabilitiesNoncurrent
113 Total liabilities Concept (Monetary) As Of Credit base:Liabilities
114 Commitments and contingencies Concept (Monetary) As Of Credit base:CommitmentsAndContingencies
115 Stockholders" equity: Abstract base:StockholdersEquityAbstract
116 Common stock and paid-in capital - shares authorized 24,000; outstanding 7,708 and 7,808 Concept (Monetary) As Of Credit base:CommonStocksIncludingAdditionalPaidInCapital
117 Retained earnings Concept (Monetary) As Of Credit base:RetainedEarningsAccumulatedDeficit
118 Accumulated other comprehensive income Concept (Monetary) As Of Credit base:AccumulatedOtherComprehensiveIncomeLossNetOfTax
119 Total stockholders" equity Concept (Monetary) As Of Credit base:StockholdersEquity
120 Total liabilities and stockholders" equity Concept (Monetary) As Of Credit base:LiabilitiesAndStockholdersEquity
121 100050 - Statement - BALANCE SHEETS (Parenthetical) Network

*

*

http://www.xbrlsite.com/msft/role/StatementBALANCESHEETSParenthetical
122 Statement Of Financial Position [Abstract] Abstract base:StatementOfFinancialPositionAbstract
123 Statement [Table] Hypercube base:StatementTable
124 Legal Entity [Axis] Dimension other:LegalEntityAxis
125 Entity [Domain] Member other:EntityDomain
126 Statement [Line Items] LineItems base:StatementLineItems
127 Short-term investments, securities loaned Concept (Monetary) As Of Credit base:SecuritiesLoaned
128 Accounts receivable, allowance for doubtful accounts Concept (Monetary) As Of Credit base:AllowanceForDoubtfulAccountsReceivableCurrent
129 Property and equipment, accumulated depreciation Concept (Monetary) As Of Credit base:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment
130 Common stock, shares authorized Concept (Shares) As Of base:CommonStockSharesAuthorized
131 Common stock, outstanding Concept (Shares) As Of base:CommonStockSharesOutstanding
132 100060 - Statement - CASH FLOWS STATEMENTS Network

*

*

http://www.xbrlsite.com/msft/role/StatementCASHFLOWSSTATEMENTS
133 Statement Of Cash Flows [Abstract] Abstract base:StatementOfCashFlowsAbstract
134 Statement [Table] Hypercube base:StatementTable
135 Legal Entity [Axis] Dimension other:LegalEntityAxis
136 Entity [Domain] Member other:EntityDomain
137 Statement [Line Items] LineItems base:StatementLineItems
138 Operations Abstract base:NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract
139 Net income Concept (Monetary) For Period Credit base:NetIncomeLoss
140 Adjustments to reconcile net income to net cash from operations: Abstract base:AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract
141 Goodwill and asset impairments Concept (Monetary) For Period Debit base:AssetImpairmentCharges
142 Depreciation, amortization, and other Concept (Monetary) For Period Debit msft:DepreciationAmortizationAndOther
143 Stock-based compensation expense Concept (Monetary) For Period Debit base:ShareBasedCompensation
144 Net recognized gains on investments and derivatives Concept (Monetary) For Period Credit msft:GainLossOnInvestmentsAndDerivativeInstruments
145 Deferred income taxes Concept (Monetary) For Period Debit base:DeferredIncomeTaxExpenseBenefit
146 Deferral of unearned revenue Concept (Monetary) For Period Debit base:IncreaseDecreaseInDeferredRevenue
147 Recognition of unearned revenue Concept (Monetary) For Period Credit base:RecognitionOfDeferredRevenue
148 Changes in operating assets and liabilities: Abstract base:IncreaseDecreaseInOperatingCapitalAbstract
149 Accounts receivable Concept (Monetary) For Period Credit base:IncreaseDecreaseInAccountsReceivable
150 Inventories Concept (Monetary) For Period Credit base:IncreaseDecreaseInInventories
151 Other current assets Concept (Monetary) For Period Credit base:IncreaseDecreaseInOtherCurrentAssets
152 Other long-term assets Concept (Monetary) For Period Credit base:IncreaseDecreaseInOtherNoncurrentAssets
153 Accounts payable Concept (Monetary) For Period Debit base:IncreaseDecreaseInAccountsPayable
154 Other current liabilities Concept (Monetary) For Period Debit base:IncreaseDecreaseInOtherCurrentLiabilities
155 Other long-term liabilities Concept (Monetary) For Period Debit base:IncreaseDecreaseInOtherNoncurrentLiabilities
156 Net cash from operations Concept (Monetary) For Period base:NetCashProvidedByUsedInOperatingActivitiesContinuingOperations
157 Financing Abstract base:NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract
158 Proceeds from issuance (repayments) of short-term debt, maturities of 90 days or less, net Concept (Monetary) For Period Debit base:ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess
159 Proceeds from issuance of debt Concept (Monetary) For Period Debit base:ProceedsFromDebtMaturingInMoreThanThreeMonths
160 Repayments of debt Concept (Monetary) For Period Credit base:RepaymentsOfDebtMaturingInMoreThanThreeMonths
161 Common stock issued Concept (Monetary) For Period Debit base:ProceedsFromIssuanceOfCommonStock
162 Common stock repurchased Concept (Monetary) For Period Credit base:PaymentsForRepurchaseOfCommonStock
163 Common stock cash dividends paid Concept (Monetary) For Period Credit base:PaymentsOfDividendsCommonStock
164 Other, net Concept (Monetary) For Period Debit base:ProceedsFromPaymentsForOtherFinancingActivities
165 Net cash from (used in) financing Concept (Monetary) For Period Debit base:NetCashProvidedByUsedInFinancingActivitiesContinuingOperations
166 Investing Abstract base:NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract
167 Additions to property and equipment Concept (Monetary) For Period Credit base:PaymentsToAcquirePropertyPlantAndEquipment
168 Acquisition of companies, net of cash acquired, and purchases of intangible and other assets Concept (Monetary) For Period Credit msft:AcquisitionsNetOfCashAcquiredAndPurchasesOfIntangibleAndOtherAssets
169 Purchases of investments Concept (Monetary) For Period Credit base:PaymentsToAcquireInvestments
170 Maturities of investments Concept (Monetary) For Period Debit base:ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities
171 Sales of investments Concept (Monetary) For Period Debit base:ProceedsFromSaleOfAvailableForSaleSecurities
172 Securities lending payable Concept (Monetary) For Period Credit base:IncreaseDecreaseInCollateralHeldUnderSecuritiesLending
173 Net cash used in investing Concept (Monetary) For Period Debit base:NetCashProvidedByUsedInInvestingActivitiesContinuingOperations
174 Effect of foreign exchange rates on cash and cash equivalents Concept (Monetary) For Period Debit base:EffectOfExchangeRateOnCashAndCashEquivalents
175 Net change in cash and cash equivalents Concept (Monetary) For Period Debit base:CashAndCashEquivalentsPeriodIncreaseDecrease
176 Cash and cash equivalents, beginning of period Concept (Monetary) As Of Debit base:CashAndCashEquivalentsAtCarryingValue
177 Cash and cash equivalents, end of period Concept (Monetary) As Of Debit base:CashAndCashEquivalentsAtCarryingValue
178 100070 - Statement - STOCKHOLDERS' EQUITY STATEMENTS Network

*

*

http://www.xbrlsite.com/msft/role/StatementSTOCKHOLDERSEQUITYSTATEMENTS
179 Statement Of Stockholders Equity [Abstract] Abstract base:StatementOfStockholdersEquityAbstract
180 Statement [Table] Hypercube base:StatementTable
181 Legal Entity [Axis] Dimension other:LegalEntityAxis
182 Entity [Domain] Member other:EntityDomain
183 Equity Components [Axis] Dimension base:StatementEquityComponentsAxis
184 Equity Component [Domain] Member base:EquityComponentDomain
185 Common stock and paid-in capital Member base:CommonStockIncludingAdditionalPaidInCapitalMember
186 Retained earnings Member base:RetainedEarningsMember
187 Accumulated other comprehensive income Member base:AccumulatedOtherComprehensiveIncomeMember
188 Statement [Line Items] LineItems base:StatementLineItems
189 Balance, beginning of period Concept (Monetary) As Of Credit base:StockholdersEquity
190 Common stock issued Concept (Monetary) For Period Credit base:StockIssuedDuringPeriodValueNewIssues
191 Net income Concept (Monetary) For Period Credit base:NetIncomeLoss
192 Other comprehensive loss Concept (Monetary) For Period Credit base:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent
193 Common stock cash dividends Concept (Monetary) For Period Debit base:DividendsCommonStockCash
194 Common stock repurchased Concept (Monetary) For Period Debit base:StockRepurchasedDuringPeriodValue
195 Stock-based compensation expense Concept (Monetary) For Period Credit base:AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue
196 Stock-based compensation income tax benefits Concept (Monetary) For Period Credit base:AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet
197 Other, net Concept (Monetary) For Period Debit base:StockholdersEquityOther
198 Balance, end of period Concept (Monetary) As Of Credit base:StockholdersEquity
199 100080 - Disclosure - ACCOUNTING POLICIES Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureACCOUNTINGPOLICIES
200 Accounting Policies [Abstract] Abstract base:AccountingPoliciesAbstract
201 Statement [Table] Hypercube base:StatementTable
202 Legal Entity [Axis] Dimension other:LegalEntityAxis
203 Entity [Domain] Member other:EntityDomain
204 Statement [Line Items] LineItems base:StatementLineItems
205 ACCOUNTING POLICIES Concept (Text Block (HTML)) For Period base:SignificantAccountingPoliciesTextBlock
206 100090 - Disclosure - EARNINGS PER SHARE Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureEARNINGSPERSHARE
207 Earnings Per Share [Abstract] Abstract base:EarningsPerShareAbstract
208 Statement [Table] Hypercube base:StatementTable
209 Legal Entity [Axis] Dimension other:LegalEntityAxis
210 Entity [Domain] Member other:EntityDomain
211 Statement [Line Items] LineItems base:StatementLineItems
212 EARNINGS PER SHARE Concept (Text Block (HTML)) For Period base:EarningsPerShareTextBlock
213 100100 - Disclosure - OTHER INCOME (EXPENSE), NET Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureOTHERINCOMEEXPENSENET
214 Other Income And Expenses [Abstract] Abstract base:OtherIncomeAndExpensesAbstract
215 Statement [Table] Hypercube base:StatementTable
216 Legal Entity [Axis] Dimension other:LegalEntityAxis
217 Entity [Domain] Member other:EntityDomain
218 Statement [Line Items] LineItems base:StatementLineItems
219 OTHER INCOME (EXPENSE), NET Concept (Text Block (HTML)) For Period base:OtherNonoperatingIncomeAndExpenseTextBlock
220 100110 - Disclosure - INVESTMENTS Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureINVESTMENTS
221 Cash And Cash Equivalents [Abstract] Abstract base:CashAndCashEquivalentsAbstract
222 Statement [Table] Hypercube base:StatementTable
223 Legal Entity [Axis] Dimension other:LegalEntityAxis
224 Entity [Domain] Member other:EntityDomain
225 Statement [Line Items] LineItems base:StatementLineItems
226 INVESTMENTS Concept (Text Block (HTML)) For Period base:InvestmentsInDebtAndEquityInstrumentsCashAndCashEquivalentsUnrealizedAndRealizedGainsLossesTextBlock
227 100120 - Disclosure - DERIVATIVES Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureDERIVATIVES
228 Derivative Instruments And Hedging Activities Disclosure [Abstract] Abstract base:DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract
229 Statement [Table] Hypercube base:StatementTable
230 Legal Entity [Axis] Dimension other:LegalEntityAxis
231 Entity [Domain] Member other:EntityDomain
232 Statement [Line Items] LineItems base:StatementLineItems
233 DERIVATIVES Concept (Text Block (HTML)) For Period base:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock
234 100130 - Disclosure - FAIR VALUE MEASUREMENTS Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureFAIRVALUEMEASUREMENTS
235 Fair Value Disclosures [Abstract] Abstract base:FairValueDisclosuresAbstract
236 Statement [Table] Hypercube base:StatementTable
237 Legal Entity [Axis] Dimension other:LegalEntityAxis
238 Entity [Domain] Member other:EntityDomain
239 Statement [Line Items] LineItems base:StatementLineItems
240 FAIR VALUE MEASUREMENTS Concept (Text Block (HTML)) For Period base:FairValueDisclosuresTextBlock
241 100140 - Disclosure - INVENTORIES Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureINVENTORIES
242 Inventory Disclosure [Abstract] Abstract base:InventoryDisclosureAbstract
243 Statement [Table] Hypercube base:StatementTable
244 Legal Entity [Axis] Dimension other:LegalEntityAxis
245 Entity [Domain] Member other:EntityDomain
246 Statement [Line Items] LineItems base:StatementLineItems
247 INVENTORIES Concept (Text Block (HTML)) For Period base:InventoryDisclosureTextBlock
248 100150 - Disclosure - PROPERTY AND EQUIPMENT Network

*

*

http://www.xbrlsite.com/msft/role/DisclosurePROPERTYANDEQUIPMENT
249 Property Plant And Equipment [Abstract] Abstract base:PropertyPlantAndEquipmentAbstract
250 Statement [Table] Hypercube base:StatementTable
251 Legal Entity [Axis] Dimension other:LegalEntityAxis
252 Entity [Domain] Member other:EntityDomain
253 Statement [Line Items] LineItems base:StatementLineItems
254 PROPERTY AND EQUIPMENT Concept (Text Block (HTML)) For Period base:PropertyPlantAndEquipmentDisclosureTextBlock
255 100160 - Disclosure - BUSINESS COMBINATIONS Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureBUSINESSCOMBINATIONS
256 Business Combinations [Abstract] Abstract base:BusinessCombinationsAbstract
257 Statement [Table] Hypercube base:StatementTable
258 Legal Entity [Axis] Dimension other:LegalEntityAxis
259 Entity [Domain] Member other:EntityDomain
260 Statement [Line Items] LineItems base:StatementLineItems
261 BUSINESS COMBINATIONS Concept (Text Block (HTML)) For Period base:MergersAcquisitionsAndDispositionsDisclosuresTextBlock
262 100170 - Disclosure - GOODWILL Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureGOODWILL
263 Goodwill And Intangible Assets Disclosure [Abstract] Abstract base:GoodwillAndIntangibleAssetsDisclosureAbstract
264 Statement [Table] Hypercube base:StatementTable
265 Legal Entity [Axis] Dimension other:LegalEntityAxis
266 Entity [Domain] Member other:EntityDomain
267 Statement [Line Items] LineItems base:StatementLineItems
268 GOODWILL Concept (Text Block (HTML)) For Period base:GoodwillDisclosureTextBlock
269 100180 - Disclosure - INTANGIBLE ASSETS Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureINTANGIBLEASSETS
270 Goodwill And Intangible Assets Disclosure [Abstract] Abstract base:GoodwillAndIntangibleAssetsDisclosureAbstract
271 Statement [Table] Hypercube base:StatementTable
272 Legal Entity [Axis] Dimension other:LegalEntityAxis
273 Entity [Domain] Member other:EntityDomain
274 Statement [Line Items] LineItems base:StatementLineItems
275 INTANGIBLE ASSETS Concept (Text Block (HTML)) For Period base:IntangibleAssetsDisclosureTextBlock
276 100190 - Disclosure - DEBT Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureDEBT
277 Debt Disclosure [Abstract] Abstract base:DebtDisclosureAbstract
278 Statement [Table] Hypercube base:StatementTable
279 Legal Entity [Axis] Dimension other:LegalEntityAxis
280 Entity [Domain] Member other:EntityDomain
281 Statement [Line Items] LineItems base:StatementLineItems
282 DEBT Concept (Text Block (HTML)) For Period base:DebtDisclosureTextBlock
283 100200 - Disclosure - INCOME TAXES Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureINCOMETAXES
284 Income Tax Disclosure [Abstract] Abstract base:IncomeTaxDisclosureAbstract
285 Statement [Table] Hypercube base:StatementTable
286 Legal Entity [Axis] Dimension other:LegalEntityAxis
287 Entity [Domain] Member other:EntityDomain
288 Statement [Line Items] LineItems base:StatementLineItems
289 INCOME TAXES Concept (Text Block (HTML)) For Period base:IncomeTaxDisclosureTextBlock
290 100210 - Disclosure - RESTRUCTURING CHARGES Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureRESTRUCTURINGCHARGES
291 Restructuring And Related Activities [Abstract] Abstract base:RestructuringAndRelatedActivitiesAbstract
292 Statement [Table] Hypercube base:StatementTable
293 Legal Entity [Axis] Dimension other:LegalEntityAxis
294 Entity [Domain] Member other:EntityDomain
295 Statement [Line Items] LineItems base:StatementLineItems
296 RESTRUCTURING CHARGES Concept (Text Block (HTML)) For Period base:RestructuringAndRelatedActivitiesDisclosureTextBlock
297 100220 - Disclosure - UNEARNED REVENUE Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureUNEARNEDREVENUE
298 Deferred Revenue Disclosure [Abstract] Abstract base:DeferredRevenueDisclosureAbstract
299 Statement [Table] Hypercube base:StatementTable
300 Legal Entity [Axis] Dimension other:LegalEntityAxis
301 Entity [Domain] Member other:EntityDomain
302 Statement [Line Items] LineItems base:StatementLineItems
303 UNEARNED REVENUE Concept (Text Block (HTML)) For Period base:DeferredRevenueDisclosureTextBlock
304 100230 - Disclosure - COMMITMENTS Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureCOMMITMENTS
305 Commitments And Contingencies Disclosure [Abstract] Abstract base:CommitmentsAndContingenciesDisclosureAbstract
306 Statement [Table] Hypercube base:StatementTable
307 Legal Entity [Axis] Dimension other:LegalEntityAxis
308 Entity [Domain] Member other:EntityDomain
309 Statement [Line Items] LineItems base:StatementLineItems
310 COMMITMENTS Concept (Text Block (HTML)) For Period base:CommitmentsDisclosureTextBlock
311 100240 - Disclosure - CONTINGENCIES Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureCONTINGENCIES
312 Commitments And Contingencies Disclosure [Abstract] Abstract base:CommitmentsAndContingenciesDisclosureAbstract
313 Statement [Table] Hypercube base:StatementTable
314 Legal Entity [Axis] Dimension other:LegalEntityAxis
315 Entity [Domain] Member other:EntityDomain
316 Statement [Line Items] LineItems base:StatementLineItems
317 CONTINGENCIES Concept (Text Block (HTML)) For Period base:LegalMattersAndContingenciesTextBlock
318 100250 - Disclosure - STOCKHOLDERS' EQUITY Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureSTOCKHOLDERSEQUITY
319 Equity [Abstract] Abstract base:EquityAbstract
320 Statement [Table] Hypercube base:StatementTable
321 Legal Entity [Axis] Dimension other:LegalEntityAxis
322 Entity [Domain] Member other:EntityDomain
323 Statement [Line Items] LineItems base:StatementLineItems
324 STOCKHOLDERS" EQUITY Concept (Text Block (HTML)) For Period base:StockholdersEquityNoteDisclosureTextBlock
325 100260 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE INCOME Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureACCUMULATEDOTHERCOMPREHENSIVEINCOME
326 Equity [Abstract] Abstract base:EquityAbstract
327 Statement [Table] Hypercube base:StatementTable
328 Legal Entity [Axis] Dimension other:LegalEntityAxis
329 Entity [Domain] Member other:EntityDomain
330 Statement [Line Items] LineItems base:StatementLineItems
331 ACCUMULATED OTHER COMPREHENSIVE INCOME Concept (Text Block (HTML)) For Period base:ComprehensiveIncomeNoteTextBlock
332 100270 - Disclosure - EMPLOYEE STOCK AND SAVINGS PLANS Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureEMPLOYEESTOCKANDSAVINGSPLANS
333 Postemployment Benefits [Abstract] Abstract base:PostemploymentBenefitsAbstract
334 Statement [Table] Hypercube base:StatementTable
335 Legal Entity [Axis] Dimension other:LegalEntityAxis
336 Entity [Domain] Member other:EntityDomain
337 Statement [Line Items] LineItems base:StatementLineItems
338 EMPLOYEE STOCK AND SAVINGS PLANS Concept (Text Block (HTML)) For Period base:CompensationAndEmployeeBenefitPlansTextBlock
339 100280 - Disclosure - SEGMENT INFORMATION AND GEOGRAPHIC DATA Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureSEGMENTINFORMATIONANDGEOGRAPHICDATA
340 Segment Reporting [Abstract] Abstract base:SegmentReportingAbstract
341 Statement [Table] Hypercube base:StatementTable
342 Legal Entity [Axis] Dimension other:LegalEntityAxis
343 Entity [Domain] Member other:EntityDomain
344 Statement [Line Items] LineItems base:StatementLineItems
345 SEGMENT INFORMATION AND GEOGRAPHIC DATA Concept (Text Block (HTML)) For Period base:SegmentReportingDisclosureTextBlock
346 100290 - Disclosure - QUARTERLY INFORMATION (UNAUDITED) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureQUARTERLYINFORMATIONUNAUDITED
347 Quarterly Financial Information Disclosure [Abstract] Abstract base:QuarterlyFinancialInformationDisclosureAbstract
348 Statement [Table] Hypercube base:StatementTable
349 Legal Entity [Axis] Dimension other:LegalEntityAxis
350 Entity [Domain] Member other:EntityDomain
351 Statement [Line Items] LineItems base:StatementLineItems
352 QUARTERLY INFORMATION (UNAUDITED) Concept (Text Block (HTML)) For Period base:QuarterlyFinancialInformationTextBlock
353 100300 - Disclosure - ACCOUNTING POLICIES (Policies) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureACCOUNTINGPOLICIESPolicies
354 Accounting Policies [Abstract] Abstract base:AccountingPoliciesAbstract
355 Statement [Table] Hypercube base:StatementTable
356 Legal Entity [Axis] Dimension other:LegalEntityAxis
357 Entity [Domain] Member other:EntityDomain
358 Statement [Line Items] LineItems base:StatementLineItems
359 Accounting Principles Concept (Text Block (HTML)) For Period base:BasisOfAccountingPolicyPolicyTextBlock
360 Principles of Consolidation Concept (Text Block (HTML)) For Period base:ConsolidationPolicyTextBlock
361 Estimates and Assumptions Concept (Text Block (HTML)) For Period base:UseOfEstimates
362 Foreign Currencies Concept (Text Block (HTML)) For Period base:ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock
363 Product Revenue and Service and Other Revenue Concept (Text Block (HTML)) For Period msft:ProductRevenueAndServiceAndOtherRevenuePolicyTextBlock
364 Revenue Recognition Concept (Text Block (HTML)) For Period base:RevenueRecognitionPolicyTextBlock
365 Cost of Revenue Concept (Text Block (HTML)) For Period base:CostOfSalesPolicyTextBlock
366 Product Warranty Concept (Text Block (HTML)) For Period base:StandardProductWarrantyPolicy
367 Research and Development Concept (Text Block (HTML)) For Period base:ResearchDevelopmentAndComputerSoftwarePolicyTextBlock
368 Sales and Marketing Concept (Text Block (HTML)) For Period msft:SellingAndMarketingPolicyTextBlock
369 Stock-Based Compensation Concept (Text Block (HTML)) For Period base:ShareBasedCompensationOptionAndIncentivePlansPolicy
370 Income Taxes Concept (Text Block (HTML)) For Period base:IncomeTaxPolicyTextBlock
371 Fair Value Measurements Concept (Text Block (HTML)) For Period base:FairValueOfFinancialInstrumentsPolicy
372 Investments Concept (Text Block (HTML)) For Period base:InvestmentPolicyTextBlock
373 Derivatives Concept (Text Block (HTML)) For Period base:DerivativesPolicyTextBlock
374 Allowance for Doubtful Accounts Concept (Text Block (HTML)) For Period base:TradeAndOtherAccountsReceivablePolicy
375 Inventories Concept (Text Block (HTML)) For Period base:InventoryPolicyTextBlock
376 Property and Equipment Concept (Text Block (HTML)) For Period base:PropertyPlantAndEquipmentPolicyTextBlock
377 Goodwill Concept (Text Block (HTML)) For Period base:GoodwillAndIntangibleAssetsGoodwillPolicy
378 Intangible Assets Concept (Text Block (HTML)) For Period base:IntangibleAssetsFiniteLivedPolicy
379 Recent Accounting Guidance Concept (Text Block (HTML)) For Period base:NewAccountingPronouncementsPolicyPolicyTextBlock
380 Earnings Per Share Concept (Text Block (HTML)) For Period base:EarningsPerSharePolicyTextBlock
381 Segment Reporting Concept (Text Block (HTML)) For Period base:SegmentReportingPolicyPolicyTextBlock
382 100310 - Disclosure - ACCOUNTING POLICIES (Tables) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureACCOUNTINGPOLICIESTables
383 Accounting Policies [Abstract] Abstract base:AccountingPoliciesAbstract
384 Statement [Table] Hypercube base:StatementTable
385 Legal Entity [Axis] Dimension other:LegalEntityAxis
386 Entity [Domain] Member other:EntityDomain
387 Statement [Line Items] LineItems base:StatementLineItems
388 Allowance for Doubtful Accounts Concept (Text Block (HTML)) For Period base:ScheduleOfCreditLossesForFinancingReceivablesCurrentTableTextBlock
389 Expected Impacts of Adoption of Standards Related to Revenue Recognition and Leases to Reported Results Concept (Text Block (HTML)) For Period base:ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock
390 100320 - Disclosure - EARNINGS PER SHARE (Tables) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureEARNINGSPERSHARETables
391 Earnings Per Share [Abstract] Abstract base:EarningsPerShareAbstract
392 Statement [Table] Hypercube base:StatementTable
393 Legal Entity [Axis] Dimension other:LegalEntityAxis
394 Entity [Domain] Member other:EntityDomain
395 Statement [Line Items] LineItems base:StatementLineItems
396 Basic and Diluted Earnings Per Share Concept (Text Block (HTML)) For Period base:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock
397 100330 - Disclosure - OTHER INCOME (EXPENSE), NET (Tables) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureOTHERINCOMEEXPENSENETTables
398 Other Income And Expenses [Abstract] Abstract base:OtherIncomeAndExpensesAbstract
399 Statement [Table] Hypercube base:StatementTable
400 Legal Entity [Axis] Dimension other:LegalEntityAxis
401 Entity [Domain] Member other:EntityDomain
402 Statement [Line Items] LineItems base:StatementLineItems
403 Components of Other Income (Expense), Net Concept (Text Block (HTML)) For Period base:ScheduleOfOtherNonoperatingIncomeExpenseTableTextBlock
404 Net Recognized Gains (Losses) on Investments Concept (Text Block (HTML)) For Period base:RealizedGainLossOnInvestmentsTableTextBlock
405 100340 - Disclosure - INVESTMENTS (Tables) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureINVESTMENTSTables
406 Cash And Cash Equivalents [Abstract] Abstract base:CashAndCashEquivalentsAbstract
407 Statement [Table] Hypercube base:StatementTable
408 Legal Entity [Axis] Dimension other:LegalEntityAxis
409 Entity [Domain] Member other:EntityDomain
410 Statement [Line Items] LineItems base:StatementLineItems
411 Investment Components, Including Associated Derivatives Concept (Text Block (HTML)) For Period msft:ScheduleOfCashCashEquivalentsAndInvestmentsTableTextBlock
412 Unrealized Losses on Investments Concept (Text Block (HTML)) For Period base:ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock
413 Debt Investment Maturities Concept (Text Block (HTML)) For Period base:InvestmentsClassifiedByContractualMaturityDateTableTextBlock
414 100350 - Disclosure - DERIVATIVES (Tables) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureDERIVATIVESTables
415 Derivative Instruments And Hedging Activities Disclosure [Abstract] Abstract base:DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract
416 Statement [Table] Hypercube base:StatementTable
417 Legal Entity [Axis] Dimension other:LegalEntityAxis
418 Entity [Domain] Member other:EntityDomain
419 Hedging Relationship [Axis] Dimension base:DerivativeInstrumentsGainLossByHedgingRelationshipAxis
420 Hedging Relationship [Domain] Member base:HedgingRelationshipDomain
421 Fair value hedging Member base:FairValueHedgingMember
422 Cash flow hedging Member base:CashFlowHedgingMember
423 Hedging Designation Dimension base:HedgingDesignationAxis
424 Hedging Designation [Domain] Member base:HedgingDesignationDomain
425 Non-designated Hedge Derivatives Member base:NondesignatedMember
426 Statement [Line Items] LineItems base:StatementLineItems
427 Fair Values of Derivative Instruments Concept (Text Block (HTML)) For Period base:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock
428 Gains (Losses) on Derivative Instruments Concept (Text Block (HTML)) For Period base:ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock
429 100360 - Disclosure - FAIR VALUE MEASUREMENTS (Tables) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureFAIRVALUEMEASUREMENTSTables
430 Fair Value Disclosures [Abstract] Abstract base:FairValueDisclosuresAbstract
431 Statement [Table] Hypercube base:StatementTable
432 Legal Entity [Axis] Dimension other:LegalEntityAxis
433 Entity [Domain] Member other:EntityDomain
434 Statement [Line Items] LineItems base:StatementLineItems
435 Financial Assets and Liabilities Measured at Fair Value on Recurring Basis Concept (Text Block (HTML)) For Period base:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock
436 Reconciliation of Total Assets Measured at Fair Value on Recurring Basis to Balance Sheet Presentation Concept (Text Block (HTML)) For Period msft:ReconciliationOfAssetsMeasuredAtFairValueOnRecurringBasisToBalanceSheetPresentationTableTextBlock
437 100370 - Disclosure - INVENTORIES (Tables) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureINVENTORIESTables
438 Inventory Disclosure [Abstract] Abstract base:InventoryDisclosureAbstract
439 Statement [Table] Hypercube base:StatementTable
440 Legal Entity [Axis] Dimension other:LegalEntityAxis
441 Entity [Domain] Member other:EntityDomain
442 Statement [Line Items] LineItems base:StatementLineItems
443 Components of Inventories Concept (Text Block (HTML)) For Period base:ScheduleOfInventoryCurrentTableTextBlock
444 100380 - Disclosure - PROPERTY AND EQUIPMENT (Tables) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosurePROPERTYANDEQUIPMENTTables
445 Property Plant And Equipment [Abstract] Abstract base:PropertyPlantAndEquipmentAbstract
446 Statement [Table] Hypercube base:StatementTable
447 Legal Entity [Axis] Dimension other:LegalEntityAxis
448 Entity [Domain] Member other:EntityDomain
449 Statement [Line Items] LineItems base:StatementLineItems
450 Components of Property and Equipment Concept (Text Block (HTML)) For Period base:PropertyPlantAndEquipmentTextBlock
451 100390 - Disclosure - BUSINESS COMBINATIONS (Tables) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureBUSINESSCOMBINATIONSTables
452 Business Combinations [Abstract] Abstract base:BusinessCombinationsAbstract
453 Statement [Table] Hypercube base:StatementTable
454 Legal Entity [Axis] Dimension other:LegalEntityAxis
455 Entity [Domain] Member other:EntityDomain
456 Business Acquisition Dimension base:BusinessAcquisitionAxis
457 Business Acquisition, Acquiree Member base:BusinessAcquisitionAcquireeDomain
458 LinkedIn Corporation Member msft:LinkedInCorporationMember
459 Statement [Line Items] LineItems base:StatementLineItems
460 Major Classes of Assets and Liabilities to Which We Allocated the Purchase Price Concept (Text Block (HTML)) For Period base:ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock
461 Acquired Intangible Assets Concept (Text Block (HTML)) For Period base:ScheduleOfAcquiredFiniteLivedIntangibleAssetsByMajorClassTextBlock
462 Revenue and Operating Loss Attributable to Acquiree, Since the Date of Acquisition Concept (Text Block (HTML)) For Period msft:RevenueAndOperatingLossAttributableToAcquireeSinceAcquisitionDateTableTextBlock
463 Supplemental Consolidated Financial Results on Unaudited Pro Forma Basis, as If the Acquisition Had Been Consummated on Beginning of Period Concept (Text Block (HTML)) For Period base:BusinessAcquisitionProFormaInformationTextBlock
464 100400 - Disclosure - GOODWILL (Tables) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureGOODWILLTables
465 Goodwill And Intangible Assets Disclosure [Abstract] Abstract base:GoodwillAndIntangibleAssetsDisclosureAbstract
466 Statement [Table] Hypercube base:StatementTable
467 Legal Entity [Axis] Dimension other:LegalEntityAxis
468 Entity [Domain] Member other:EntityDomain
469 Statement [Line Items] LineItems base:StatementLineItems
470 Carrying Amount of Goodwill Concept (Text Block (HTML)) For Period base:ScheduleOfGoodwillTextBlock
471 100410 - Disclosure - INTANGIBLE ASSETS (Tables) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureINTANGIBLEASSETSTables
472 Goodwill And Intangible Assets Disclosure [Abstract] Abstract base:GoodwillAndIntangibleAssetsDisclosureAbstract
473 Statement [Table] Hypercube base:StatementTable
474 Legal Entity [Axis] Dimension other:LegalEntityAxis
475 Entity [Domain] Member other:EntityDomain
476 Statement [Line Items] LineItems base:StatementLineItems
477 Finite-Lived Intangible Assets Concept (Text Block (HTML)) For Period base:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock
478 Acquired Intangible Assets Concept (Text Block (HTML)) For Period base:ScheduleOfAcquiredFiniteLivedIntangibleAssetsByMajorClassTextBlock
479 Estimated Future Amortization Expense Related to Intangible Assets Concept (Text Block (HTML)) For Period base:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock
480 100420 - Disclosure - DEBT (Tables) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureDEBTTables
481 Debt Disclosure [Abstract] Abstract base:DebtDisclosureAbstract
482 Statement [Table] Hypercube base:StatementTable
483 Legal Entity [Axis] Dimension other:LegalEntityAxis
484 Entity [Domain] Member other:EntityDomain
485 Statement [Line Items] LineItems base:StatementLineItems
486 Long-term Debt Concept (Text Block (HTML)) For Period base:ScheduleOfDebtInstrumentsTextBlock
487 Maturities of Long-term Debt Concept (Text Block (HTML)) For Period base:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock
488 100430 - Disclosure - INCOME TAXES (Tables) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureINCOMETAXESTables
489 Income Tax Disclosure [Abstract] Abstract base:IncomeTaxDisclosureAbstract
490 Statement [Table] Hypercube base:StatementTable
491 Legal Entity [Axis] Dimension other:LegalEntityAxis
492 Entity [Domain] Member other:EntityDomain
493 Statement [Line Items] LineItems base:StatementLineItems
494 Provision for Income Taxes Concept (Text Block (HTML)) For Period base:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock
495 Income (Loss) Before Income Taxes Concept (Text Block (HTML)) For Period base:ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock
496 Difference Between Income Taxes Computed at Federal Statutory Rate and Provision for Income Taxes Concept (Text Block (HTML)) For Period base:ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock
497 Deferred Income Tax Assets and Liabilities Concept (Text Block (HTML)) For Period base:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock
498 Changes in Unrecognized Tax Benefits Concept (Text Block (HTML)) For Period base:SummaryOfIncomeTaxContingenciesTextBlock
499 100440 - Disclosure - RESTRUCTURING CHARGES (Tables) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureRESTRUCTURINGCHARGESTables
500 Restructuring And Related Activities [Abstract] Abstract base:RestructuringAndRelatedActivitiesAbstract
501 Statement [Table] Hypercube base:StatementTable
502 Legal Entity [Axis] Dimension other:LegalEntityAxis
503 Entity [Domain] Member other:EntityDomain
504 Statement [Line Items] LineItems base:StatementLineItems
505 Changes in Restructuring Liability Concept (Text Block (HTML)) For Period base:ScheduleOfRestructuringReserveByTypeOfCostTextBlock
506 100450 - Disclosure - UNEARNED REVENUE (Tables) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureUNEARNEDREVENUETables
507 Deferred Revenue Disclosure [Abstract] Abstract base:DeferredRevenueDisclosureAbstract
508 Statement [Table] Hypercube base:StatementTable
509 Legal Entity [Axis] Dimension other:LegalEntityAxis
510 Entity [Domain] Member other:EntityDomain
511 Statement [Line Items] LineItems base:StatementLineItems
512 Unearned Revenue by Segment Concept (Text Block (HTML)) For Period msft:DeferredRevenueBySegmentTextBlock
513 100460 - Disclosure - COMMITMENTS (Tables) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureCOMMITMENTSTables
514 Commitments And Contingencies Disclosure [Abstract] Abstract base:CommitmentsAndContingenciesDisclosureAbstract
515 Statement [Table] Hypercube base:StatementTable
516 Legal Entity [Axis] Dimension other:LegalEntityAxis
517 Entity [Domain] Member other:EntityDomain
518 Statement [Line Items] LineItems base:StatementLineItems
519 Future Minimum Rental Commitments Under Non-cancellable Operating Leases Concept (Text Block (HTML)) For Period base:ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock
520 Future Minimum Lease Payments under Non-cancellable Capital Leases Concept (Text Block (HTML)) For Period base:ScheduleOfFutureMinimumLeasePaymentsForCapitalLeasesTableTextBlock
521 100470 - Disclosure - STOCKHOLDERS' EQUITY (Tables) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureSTOCKHOLDERSEQUITYTables
522 Equity [Abstract] Abstract base:EquityAbstract
523 Statement [Table] Hypercube base:StatementTable
524 Legal Entity [Axis] Dimension other:LegalEntityAxis
525 Entity [Domain] Member other:EntityDomain
526 Statement [Line Items] LineItems base:StatementLineItems
527 Shares of Common Stock Outstanding Concept (Text Block (HTML)) For Period base:ScheduleOfCommonStockOutstandingRollForwardTableTextBlock
528 Share Repurchases Concept (Text Block (HTML)) For Period msft:ShareRepurchaseProgramDisclosureTableTextBlock
529 Dividends Declared Concept (Text Block (HTML)) For Period base:DividendsDeclaredTableTextBlock
530 100480 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE INCOME (Tables) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureACCUMULATEDOTHERCOMPREHENSIVEINCOMETables
531 Equity [Abstract] Abstract base:EquityAbstract
532 Statement [Table] Hypercube base:StatementTable
533 Legal Entity [Axis] Dimension other:LegalEntityAxis
534 Entity [Domain] Member other:EntityDomain
535 Statement [Line Items] LineItems base:StatementLineItems
536 Summary of Changes in Accumulated Other Comprehensive Income by Component Concept (Text Block (HTML)) For Period base:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock
537 100490 - Disclosure - EMPLOYEE STOCK AND SAVINGS PLANS (Tables) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureEMPLOYEESTOCKANDSAVINGSPLANSTables
538 Postemployment Benefits [Abstract] Abstract base:PostemploymentBenefitsAbstract
539 Statement [Table] Hypercube base:StatementTable
540 Legal Entity [Axis] Dimension other:LegalEntityAxis
541 Entity [Domain] Member other:EntityDomain
542 Statement [Line Items] LineItems base:StatementLineItems
543 Stock-Based Compensation Expense and Related Income Tax Benefits Concept (Text Block (HTML)) For Period base:ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock
544 Assumptions Used in Estimating the Fair Value of Stock Award Grants Concept (Text Block (HTML)) For Period msft:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsedTableTextBlock
545 Stock Plan Activity Concept (Text Block (HTML)) For Period base:DisclosureOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTextBlock
546 Employee Purchased Shares Concept (Text Block (HTML)) For Period base:ScheduleOfShareBasedCompensationEmployeeStockPurchasePlanActivityTableTextBlock
547 100500 - Disclosure - SEGMENT INFORMATION AND GEOGRAPHIC DATA (Tables) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureSEGMENTINFORMATIONANDGEOGRAPHICDATATables
548 Segment Reporting [Abstract] Abstract base:SegmentReportingAbstract
549 Statement [Table] Hypercube base:StatementTable
550 Legal Entity [Axis] Dimension other:LegalEntityAxis
551 Entity [Domain] Member other:EntityDomain
552 Statement [Line Items] LineItems base:StatementLineItems
553 Segment Revenue Concept (Text Block (HTML)) For Period base:ReconciliationOfRevenueFromSegmentsToConsolidatedTextBlock
554 Segment Operating Income (Loss) Concept (Text Block (HTML)) For Period base:ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTextBlock
555 Revenue Classified by Major Geographic Areas Concept (Text Block (HTML)) For Period base:ScheduleOfRevenueFromExternalCustomersAttributedToForeignCountriesByGeographicAreaTextBlock
556 Revenue Classified by Significant Product and Service Offerings Concept (Text Block (HTML)) For Period base:ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock
557 Long-Lived Assets, Excluding Financial Instruments and Tax Assets, Classified by Location of Controlling Statutory Company Concept (Text Block (HTML)) For Period base:ScheduleOfEntityWideDisclosureOnGeographicAreasLongLivedAssetsInIndividualForeignCountriesByCountryTextBlock
558 100510 - Disclosure - QUARTERLY INFORMATION (UNAUDITED) (Tables) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureQUARTERLYINFORMATIONUNAUDITEDTables
559 Quarterly Financial Information Disclosure [Abstract] Abstract base:QuarterlyFinancialInformationDisclosureAbstract
560 Statement [Table] Hypercube base:StatementTable
561 Legal Entity [Axis] Dimension other:LegalEntityAxis
562 Entity [Domain] Member other:EntityDomain
563 Statement [Line Items] LineItems base:StatementLineItems
564 Quarterly Information (Unaudited) Concept (Text Block (HTML)) For Period base:ScheduleOfQuarterlyFinancialInformationTableTextBlock
565 100520 - Disclosure - Accounting Policies - Additional Information (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureAccountingPoliciesAdditionalInformationDetail
566 Accounting Policies [Abstract] Abstract base:AccountingPoliciesAbstract
567 Significant Accounting Policies [Table] Hypercube msft:SignificantAccountingPoliciesTable
568 Legal Entity [Axis] Dimension other:LegalEntityAxis
569 Entity [Domain] Member other:EntityDomain
570 Deferred Revenue Arrangement Type Dimension base:DeferredRevenueArrangementTypeAxis
571 Deferred Revenue [Domain] Member base:DeferredRevenueArrangementTypeDomain
572 Windows 10 Licenses Member msft:WindowsTenDeferralMember
573 Range Dimension base:RangeAxis
574 Range [Domain] Member base:RangeMember
575 Lower Limit Member base:MinimumMember
576 Upper Limit Member base:MaximumMember
577 Property, Plant and Equipment, Type [Axis] Dimension base:PropertyPlantAndEquipmentByTypeAxis
578 Property, Plant and Equipment, Type [Domain] Member base:PropertyPlantAndEquipmentTypeDomain
579 Software Member base:SoftwareAndSoftwareDevelopmentCostsMember
580 Computer Equipment Member base:ComputerEquipmentMember
581 Buildings and Improvements Member base:BuildingAndBuildingImprovementsMember
582 Leasehold Improvements Member base:LeaseholdImprovementsMember
583 Furniture and Fixtures Member base:FurnitureAndFixturesMember
584 Adjustments for New Accounting Pronouncements Dimension base:AdjustmentsForNewAccountingPronouncementsAxis
585 Type of Adoption Member base:TypeOfAdoptionMember
586 Accounting Standards Update 2016-02 Member base:AccountingStandardsUpdate201602Member
587 Accounting Standards Update 2014-09 Member base:AccountingStandardsUpdate201409Member
588 Scenario Dimension base:StatementScenarioAxis
589 Scenario, Unspecified Member base:ScenarioUnspecifiedDomain
590 Scenario Plan Member base:ScenarioPlanMember
591 Significant Accounting Policies [Line Items] LineItems msft:SignificantAccountingPoliciesLineItems
592 Revenue recognition period Concept (xbrli:durationItemType) For Period msft:RevenueRecognitionPeriod
593 Advertising expense Concept (Monetary) For Period Debit base:AdvertisingExpense
594 Estimated useful lives Concept (xbrli:durationItemType) For Period base:PropertyPlantAndEquipmentUsefulLife
595 Estimated useful lives of intangible assets Concept (xbrli:durationItemType) For Period base:FiniteLivedIntangibleAssetUsefulLife
596 Recognition of additional ROU assets for operating leases Concept (Monetary) As Of Debit msft:OperatingLeaseRightOfUseAssets
597 Recognition of additional lease liabilities for operating leases Concept (Monetary) As Of Credit msft:OperatingLeaseLiabilities
598 Revenue Concept (Monetary) For Period Credit base:SalesRevenueNet
599 Provision for income taxes Concept (Monetary) For Period Debit base:IncomeTaxExpenseBenefit
600 Accounts receivable and other current and long-term assets Concept (Monetary) As Of Debit msft:AccountsReceivableNetAndOtherAssets
601 Unearned revenue Concept (Monetary) As Of Credit base:DeferredRevenue
602 Deferred income taxes Concept (Monetary) As Of Credit base:DeferredTaxLiabilitiesNoncurrent
603 100530 - Disclosure - Allowance for Doubtful Accounts (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureAllowanceForDoubtfulAccountsDetail
604 Organization Consolidation And Presentation Of Financial Statements [Abstract] Abstract base:OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract
605 Valuation and Qualifying Accounts Disclosure [Table] Hypercube base:ValuationAndQualifyingAccountsDisclosureTable
606 Legal Entity [Axis] Dimension other:LegalEntityAxis
607 Entity [Domain] Member other:EntityDomain
608 Valuation Allowances and Reserves Type [Axis] Dimension base:ValuationAllowancesAndReservesTypeAxis
609 Valuation Allowances and Reserves [Domain] Member base:ValuationAllowancesAndReservesDomain
610 Allowance for doubtful accounts Member base:AllowanceForDoubtfulAccountsMember
611 Valuation and Qualifying Accounts Disclosure [Line Items] LineItems base:ValuationAndQualifyingAccountsDisclosureLineItems
612 Balance, beginning of period Concept (Monetary) As Of Credit base:ValuationAllowancesAndReservesBalance
613 Charged to costs and other Concept (Monetary) For Period Credit msft:ValuationAllowancesAndReservesChargedToCostsAndOther
614 Write-offs Concept (Monetary) For Period Debit base:ValuationAllowancesAndReservesDeductions
615 Balance, end of period Concept (Monetary) As Of Credit base:ValuationAllowancesAndReservesBalance
616 100540 - Disclosure - Expected Impacts of Adoption of Standards Related to Revenue Recognition and Leases to Reported Results - (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureExpectedImpactsOfAdoptionOfStandardsRelatedToRevenueRecognitionAndLeasesToReportedResultsDetail
617 Accounting Policies [Abstract] Abstract base:AccountingPoliciesAbstract
618 New Accounting Pronouncements Or Change In Accounting Principle [Table] Hypercube base:NewAccountingPronouncementsOrChangeInAccountingPrincipleTable
619 Legal Entity [Axis] Dimension other:LegalEntityAxis
620 Entity [Domain] Member other:EntityDomain
621 Adjustments for New Accounting Pronouncements Dimension base:AdjustmentsForNewAccountingPronouncementsAxis
622 Type of Adoption Member base:TypeOfAdoptionMember
623 New Revenue Standard Adjustment Member base:AccountingStandardsUpdate201409Member
624 New Lease Standard Adjustment Member base:AccountingStandardsUpdate201602Member
625 Scenario Dimension base:StatementScenarioAxis
626 Scenario, Unspecified Member base:ScenarioUnspecifiedDomain
627 Scenario Plan Member base:ScenarioPlanMember
628 New Accounting Pronouncements Or Change In Accounting Principle [Line Items] LineItems base:NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems
629 Income statements: Abstract base:IncomeStatementAbstract
630 Revenue Concept (Monetary) For Period Credit base:SalesRevenueNet
631 Provision for income taxes Concept (Monetary) For Period Debit base:IncomeTaxExpenseBenefit
632 Net income Concept (Monetary) For Period Credit base:NetIncomeLoss
633 Diluted Concept (Share) For Period base:EarningsPerShareDiluted
634 Balance sheets: Abstract base:StatementOfFinancialPositionAbstract
635 Accounts receivable, net Concept (Monetary) As Of Debit base:AccountsReceivableNetCurrent
636 Operating lease right-of-use assets Concept (Monetary) As Of Debit base:OperatingLeaseRightOfUseAsset
637 Other current and long-term assets Concept (Monetary) As Of Debit base:OtherAssets
638 Unearned revenue Concept (Monetary) As Of Credit base:DeferredRevenue
639 Deferred income taxes Concept (Monetary) As Of Credit base:DeferredTaxLiabilitiesNoncurrent
640 Operating lease liabilities Concept (Monetary) As Of Credit base:OperatingLeaseLiability
641 Other current and long-term liabilities Concept (Monetary) As Of Credit base:OtherLiabilities
642 Stockholders" equity Concept (Monetary) As Of Credit base:StockholdersEquity
643 100550 - Disclosure - Basic and Diluted Earnings Per Share (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureBasicAndDilutedEarningsPerShareDetail
644 Earnings Per Share Basic And Diluted [Abstract] Abstract base:EarningsPerShareBasicAndDilutedAbstract
645 Schedule of Earnings Per Share, Basic and Diluted, by Common Class [Table] Hypercube msft:ScheduleOfEarningsPerShareBasicAndDilutedByCommonClassTable
646 Legal Entity [Axis] Dimension other:LegalEntityAxis
647 Entity [Domain] Member other:EntityDomain
648 Schedule of Earnings Per Share, Basic and Diluted, by Common Class [Line Items] LineItems msft:ScheduleOfEarningsPerShareBasicAndDilutedByCommonClassLineItems
649 Net income available for common shareholders (A) Concept (Monetary) For Period Credit base:NetIncomeLoss
650 Weighted average outstanding shares of common stock (B) Concept (Shares) For Period base:WeightedAverageNumberOfSharesOutstandingBasic
651 Dilutive effect of stock-based awards Concept (Shares) For Period base:IncrementalCommonSharesAttributableToShareBasedPaymentArrangements
652 Common stock and common stock equivalents (C) Concept (Shares) For Period base:WeightedAverageNumberOfDilutedSharesOutstanding
653 Earnings Per Share Abstract base:EarningsPerShareAbstract
654 Basic (A/B) Concept (Share) For Period base:EarningsPerShareBasic
655 Diluted (A/C) Concept (Share) For Period base:EarningsPerShareDiluted
656 100560 - Disclosure - Components of Other Income (Expense), Net (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureComponentsOfOtherIncomeExpenseNetDetail
657 Other Income And Expenses [Abstract] Abstract base:OtherIncomeAndExpensesAbstract
658 Other Income Expense [Table] Hypercube msft:OtherIncomeExpenseTable
659 Legal Entity [Axis] Dimension other:LegalEntityAxis
660 Entity [Domain] Member other:EntityDomain
661 Components of Other Income (Expense) [Line Items] LineItems base:ComponentOfOtherIncomeNonoperatingLineItems
662 Dividends and interest income Concept (Monetary) For Period Credit base:InvestmentIncomeNet
663 Interest expense Concept (Monetary) For Period Debit base:InterestExpense
664 Net recognized gains on investments Concept (Monetary) For Period Credit base:GainLossOnInvestments
665 Net losses on derivatives Concept (Monetary) For Period Credit base:GainLossOnDerivativeInstrumentsNetPretax
666 Net gains (losses) on foreign currency remeasurements Concept (Monetary) For Period Credit base:ForeignCurrencyTransactionGainLossBeforeTax
667 Other, net Concept (Monetary) For Period Credit base:OtherNonoperatingIncomeExpense
668 Total Concept (Monetary) For Period Credit base:NonoperatingIncomeExpense
669 100570 - Disclosure - Net Recognized Gains (Losses) on Investments (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureNetRecognizedGainsLossesOnInvestmentsDetail
670 Statement Of Income And Comprehensive Income [Abstract] Abstract base:StatementOfIncomeAndComprehensiveIncomeAbstract
671 Schedule of Gain (Loss) on Investments [Table] Hypercube base:ScheduleOfGainLossOnInvestmentsTable
672 Legal Entity [Axis] Dimension other:LegalEntityAxis
673 Entity [Domain] Member other:EntityDomain
674 Gains (Losses) on Investments [Line Items] LineItems base:ScheduleOfGainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostIncomeStatementReportedAmountsSummaryLineItems
675 Other-than-temporary impairments of investments Concept (Monetary) For Period Debit base:MarketableSecuritiesRealizedGainLossOtherThanTemporaryImpairmentsAmount
676 Realized gains from sales of available-for-sale securities Concept (Monetary) For Period Credit base:AvailableForSaleSecuritiesGrossRealizedGains
677 Realized losses from sales of available-for-sale securities Concept (Monetary) For Period Debit base:AvailableForSaleSecuritiesGrossRealizedLosses
678 Total Concept (Monetary) For Period Credit base:GainLossOnInvestments
679 100580 - Disclosure - Investment Components, Including Associated Derivatives (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureInvestmentComponentsIncludingAssociatedDerivativesDetail
680 Investments Debt And Equity Securities [Abstract] Abstract base:InvestmentsDebtAndEquitySecuritiesAbstract
681 Cash, Cash Equivalents and Investments [Table] Hypercube msft:CashCashEquivalentsAndInvestmentsTable
682 Legal Entity [Axis] Dimension other:LegalEntityAxis
683 Entity [Domain] Member other:EntityDomain
684 Schedule of Investment Income, Reported Amounts, by Category Dimension base:InvestmentTypeAxis
685 Investments [Domain] Member base:InvestmentTypeCategorizationMember
686 Cash Member base:CashMember
687 Mutual funds Member base:MoneyMarketFundsMember
688 Commercial paper Member base:CommercialPaperMember
689 Certificates of deposit Member base:CertificatesOfDepositMember
690 U.S. government and agency securities Member base:USGovernmentAgenciesDebtSecuritiesMember
691 Foreign government bonds Member base:ForeignGovernmentDebtSecuritiesMember
692 Mortgage- and asset-backed securities Member base:AssetBackedSecuritiesMember
693 Corporate notes and bonds Member base:CorporateDebtSecuritiesMember
694 Municipal securities Member base:USStatesAndPoliticalSubdivisionsMember
695 Common and preferred stock Member base:EquitySecuritiesMember
696 Other investments Member msft:OtherSecurityInvestmentsMember
697 Cash, Cash Equivalents and Investments [Line Items] LineItems msft:CashCashEquivalentsAndInvestmentsLineItems
698 Cost Basis Concept (Monetary) As Of Debit base:AvailableForSaleSecuritiesAmortizedCost
699 Cost Basis Concept (Monetary) As Of Debit base:EquityMethodInvestmentAggregateCost
700 Cash Concept (Monetary) As Of Debit base:Cash
701 Unrealized Gains Concept (Monetary) As Of Credit base:AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax
702 Unrealized Losses Concept (Monetary) As Of Debit base:AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax
703 Recorded Basis Concept (Monetary) As Of Debit base:AvailableForSaleSecurities
704 Recorded Basis Concept (Monetary) As Of Debit base:EquityMethodInvestments
705 Cash and cash equivalents Concept (Monetary) As Of Debit base:CashAndCashEquivalentsAtCarryingValue
706 Short-term Investments Concept (Monetary) As Of Debit base:AvailableForSaleSecuritiesCurrent
707 Equity and Other Investments Concept (Monetary) As Of Debit base:LongTermInvestments
708 100590 - Disclosure - Investments - Cost Method - Additional Information (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureInvestmentsCostMethodAdditionalInformationDetail
709 Investments Debt And Equity Securities [Abstract] Abstract base:InvestmentsDebtAndEquitySecuritiesAbstract
710 Schedule of Cost method Investments [Table] Hypercube base:ScheduleOfCostMethodInvestmentsTable
711 Legal Entity [Axis] Dimension other:LegalEntityAxis
712 Entity [Domain] Member other:EntityDomain
713 Fair Value by Measurement Frequency Dimension base:FairValueByMeasurementFrequencyAxis
714 Fair Value, Measurement Frequency [Domain] Member base:FairValueMeasurementFrequencyDomain
715 Fair Value, Measurements, Nonrecurring Member base:FairValueMeasurementsNonrecurringMember
716 Schedule of Cost-method Investments [Line Items] LineItems base:ScheduleOfCostMethodInvestmentsLineItems
717 Recorded basis of common and preferred stock that are restricted for more than one year or are not publicly traded Concept (Monetary) As Of Debit base:CostMethodInvestments
718 100600 - Disclosure - Investments - Secured Borrowings and Loaned Securities - Additional Information (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureInvestmentsSecuredBorrowingsAndLoanedSecuritiesAdditionalInformationDetail
719 Investments Debt And Equity Securities [Abstract] Abstract base:InvestmentsDebtAndEquitySecuritiesAbstract
720 Investment [Table] Hypercube invest:InvestmentTable
721 Legal Entity [Axis] Dimension other:LegalEntityAxis
722 Entity [Domain] Member other:EntityDomain
723 Schedule of Investment Income, Reported Amounts, by Category Dimension base:InvestmentTypeAxis
724 Investments [Domain] Member base:InvestmentTypeCategorizationMember
725 U.S. Government and Agency Securities Member base:USGovernmentAgenciesDebtSecuritiesMember
726 Cash Member base:CashMember
727 Investment [Line Items] LineItems invest:InvestmentLineItems
728 Collateral received Concept (Monetary) As Of Debit base:SecuritiesReceivedAsCollateral
729 100610 - Disclosure - Unrealized Losses on Investments (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureUnrealizedLossesOnInvestmentsDetail
730 Investments Debt And Equity Securities [Abstract] Abstract base:InvestmentsDebtAndEquitySecuritiesAbstract
731 Investments, Unrealized Loss Position [Table] Hypercube msft:InvestmentsUnrealizedLossPositionTable
732 Legal Entity [Axis] Dimension other:LegalEntityAxis
733 Entity [Domain] Member other:EntityDomain
734 Schedule of Available for sale Securities, Major Types of Debt and Equity Securities Dimension base:MajorTypesOfDebtAndEquitySecuritiesAxis
735 Major Types of Debt and Equity Securities [Domain] Member base:MajorTypesOfDebtAndEquitySecuritiesDomain
736 U.S. government and agency securities Member base:USGovernmentAgenciesDebtSecuritiesMember
737 Foreign government bonds Member base:ForeignGovernmentDebtSecuritiesMember
738 Mortgage- and asset-backed securities Member base:AssetBackedSecuritiesMember
739 Corporate notes and bonds Member base:CorporateDebtSecuritiesMember
740 Common and preferred stock Member base:EquitySecuritiesMember
741 Unrealized Losses on Investments [Line Items] LineItems msft:InvestmentsUnrealizedLossPositionLineItems
742 Less than 12 Months - Fair Value Concept (Monetary) As Of Debit base:AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue
743 Less than 12 Months - Unrealized Losses Concept (Monetary) As Of Debit base:AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss
744 12 Months or Greater - Fair Value Concept (Monetary) As Of Debit base:AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue
745 12 Months or Greater - Unrealized Losses Concept (Monetary) As Of Debit base:AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss
746 Total Fair Value Concept (Monetary) As Of Debit base:AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue
747 Total Unrealized Losses Concept (Monetary) As Of Debit base:AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss
748 100620 - Disclosure - Debt Investment Maturities (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureDebtInvestmentMaturitiesDetail
749 Investments Debt And Equity Securities [Abstract] Abstract base:InvestmentsDebtAndEquitySecuritiesAbstract
750 Investments Classified by Contractual Maturity Date [Table] Hypercube msft:InvestmentsClassifiedByContractualMaturityDateTable
751 Legal Entity [Axis] Dimension other:LegalEntityAxis
752 Entity [Domain] Member other:EntityDomain
753 Investments Classified by Contractual Maturity Date [Line Items] LineItems msft:InvestmentsClassifiedByContractualMaturityDateLineItems
754 Cost Basis Abstract base:AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostBasisRollingMaturityAbstract
755 Due in one year or less Concept (Monetary) As Of Debit base:AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis
756 Due after one year through five years Concept (Monetary) As Of Debit base:AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis
757 Due after five years through 10 years Concept (Monetary) As Of Debit base:AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis
758 Due after 10 years Concept (Monetary) As Of Debit base:AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis
759 Total Concept (Monetary) As Of Debit base:AvailableForSaleDebtSecuritiesAmortizedCostBasis
760 Estimated Fair Value Abstract base:AvailableForSaleSecuritiesDebtMaturitiesFairValueRollingMaturityAbstract
761 Due in one year or less Concept (Monetary) As Of Debit base:AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue
762 Due after one year through five years Concept (Monetary) As Of Debit base:AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue
763 Due after five years through 10 years Concept (Monetary) As Of Debit base:AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue
764 Due after 10 years Concept (Monetary) As Of Debit base:AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue
765 Total Concept (Monetary) As Of Debit base:AvailableForSaleSecuritiesDebtSecurities
766 100630 - Disclosure - Derivatives - Additional Information (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureDerivativesAdditionalInformationDetail
767 Derivative Instruments And Hedging Activities Disclosure [Abstract] Abstract base:DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract
768 Derivative [Table] Hypercube base:DerivativeTable
769 Legal Entity [Axis] Dimension other:LegalEntityAxis
770 Entity [Domain] Member other:EntityDomain
771 Position [Axis] Dimension base:PositionAxis
772 Position [Domain] Member base:PositionDomain
773 Derivatives Sold Member base:ShortMember
774 Derivatives Purchased Member base:LongMember
775 Hedging Relationship [Axis] Dimension base:DerivativeInstrumentsGainLossByHedgingRelationshipAxis
776 Hedging Relationship [Domain] Member base:HedgingRelationshipDomain
777 Cash flow hedging Member base:CashFlowHedgingMember
778 Fair value hedging Member base:FairValueHedgingMember
779 Derivative Instrument [Axis] Dimension base:DerivativeInstrumentRiskAxis
780 Derivative Contract [Domain] Member base:DerivativeContractTypeDomain
781 Foreign Exchange Contracts Member base:ForeignExchangeContractMember
782 Equity Contracts Member base:EquityContractMember
783 Interest Rate Contracts Member base:InterestRateContractMember
784 Mortgage-backed securities Member base:MortgageBackedSecuritiesMember
785 Credit Contracts Member base:CreditRiskContractMember
786 Commodity Contracts Member base:CommodityContractMember
787 Hedging Designation Dimension base:HedgingDesignationAxis
788 Hedging Designation [Domain] Member base:HedgingDesignationDomain
789 Non-designated Hedge Derivatives Member base:NondesignatedMember
790 Designated Hedge Derivatives Member base:DesignatedAsHedgingInstrumentMember
791 Long-term Debt, Type Dimension base:LongtermDebtTypeAxis
792 Long term Debt, Type [Domain] Member base:LongtermDebtTypeDomain
793 Senior Unsecured Obligations Member base:UnsecuredDebtMember
794 Derivative [Line Items] LineItems base:DerivativeLineItems
795 Maximum length of time hedged in cash flow hedge Concept (xbrli:durationItemType) For Period base:MaximumLengthOfTimeForeignCurrencyCashFlowHedge
796 Notional amounts Concept (Monetary) As Of invest:DerivativeNotionalAmount
797 Minimum required liquidity under certain counterparty agreements Concept (Monetary) For Period Debit msft:FinancialInstrumentCovenantMinimumLiquidityRequirement
798 Debt instrument credit rating Concept (Text/String) For Period base:DebtInstrumentCreditRating
799 Minimum liquidity for the period as defined by certain counterparty agreements Concept (Monetary) As Of Debit msft:FinancialInstrumentCovenantMinimumLiquidity
800 Estimated derivative net gains (losses) included in AOCI that will be reclassified into earnings within 12 months Concept (Monetary) As Of Credit base:ForeignCurrencyCashFlowHedgeGainLossToBeReclassifiedDuringNext12Months
801 100640 - Disclosure - Fair Values of Derivative Instruments (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureFairValuesOfDerivativeInstrumentsDetail
802 Derivative Instruments And Hedging Activities Disclosure [Abstract] Abstract base:DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract
803 Fair Values Derivatives, Balance Sheet Location, by Derivative Contract Type [Table] Hypercube base:FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable
804 Legal Entity [Axis] Dimension other:LegalEntityAxis
805 Entity [Domain] Member other:EntityDomain
806 Hedging Designation Dimension base:HedgingDesignationAxis
807 Hedging Designation [Domain] Member base:HedgingDesignationDomain
808 Non-designated Hedge Derivatives Member base:NondesignatedMember
809 Designated Hedge Derivatives Member base:DesignatedAsHedgingInstrumentMember
810 Derivatives, Fair Value, by Balance Sheet Location Dimension base:BalanceSheetLocationAxis
811 Balance Sheet Location [Domain] Member base:BalanceSheetLocationDomain
812 Short-term Investments Member base:ShortTermInvestmentsMember
813 Other Current Assets Member base:OtherCurrentAssetsMember
814 Equity and Other Investments Member msft:EquityAndOtherInvestmentsMember
815 Other Long-term Assets Member base:OtherNoncurrentAssetsMember
816 Other Current Liabilities Member base:OtherCurrentLiabilitiesMember
817 Other Long-term Liabilities Member base:OtherNoncurrentLiabilitiesMember
818 Derivative Instrument [Axis] Dimension base:DerivativeInstrumentRiskAxis
819 Derivative Contract [Domain] Member base:DerivativeContractTypeDomain
820 Foreign Exchange Contracts Member base:ForeignExchangeContractMember
821 Equity Contracts Member base:EquityContractMember
822 Interest Rate Contracts Member base:InterestRateContractMember
823 Credit Contracts Member base:CreditRiskContractMember
824 Balance Sheet Offsetting Eligibility [Axis] Dimension msft:BalanceSheetOffsettingEligibilityAxis
825 Balance Sheet Offsetting Eligibility [Domain] Member msft:BalanceSheetOffsettingEligibilityDomain
826 Eligible for Offsetting Member msft:EligibleForOffsettingMember
827 Derivatives, Fair Value [Line Items] LineItems base:DerivativesFairValueLineItems
828 Derivative Assets Concept (Monetary) As Of Debit base:DerivativeFairValueOfDerivativeAsset
829 Gross amounts of derivatives offset on the balance sheet, assets Concept (Monetary) As Of Credit base:DerivativeAssetFairValueGrossLiability
830 Net amounts presented on the balance sheet, assets Concept (Monetary) As Of Debit msft:DerivativeAssetsNetAmountsPresentedInBalanceSheet
831 Gross amounts of derivatives not offset on the balance sheet, assets Concept (Monetary) As Of Debit msft:DerivativeFairValueOfDerivativeAssetAmountNotOffset
832 Cash collateral received, assets Concept (Monetary) As Of Debit base:DerivativeCollateralRightToReclaimCash
833 Net amount, assets Concept (Monetary) As Of Debit msft:DerivativeAssetsPotentialNetAmountsNotPresentedInBalanceSheet
834 Derivative Liabilities Concept (Monetary) As Of Credit base:DerivativeFairValueOfDerivativeLiability
835 Gross amounts of derivatives offset on the balance sheet, liabilities Concept (Monetary) As Of Debit base:DerivativeLiabilityFairValueGrossAsset
836 Net amounts presented on the balance sheet, liabilities Concept (Monetary) As Of Credit msft:DerivativeLiabilitiesNetAmountsPresentedInBalanceSheet
837 Gross amounts of derivatives not offset on the balance sheet, liabilities Concept (Monetary) As Of Credit msft:DerivativeFairValueOfDerivativeLiabilityAmountNotOffset
838 Cash collateral received, liabilities Concept (Monetary) As Of Credit base:DerivativeCollateralObligationToReturnCash
839 Net amount, liabilities Concept (Monetary) As Of Credit msft:DerivativeLiabilitiesPotentialNetAmountsNotPresentedInBalanceSheet
840 100650 - Disclosure - Gains (Losses) on Fair Value Hedges and Related Hedged Items (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureGainsLossesOnFairValueHedgesAndRelatedHedgedItemsDetail
841 Derivative Instruments And Hedging Activities Disclosure [Abstract] Abstract base:DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract
842 Derivative Instruments, Gain (Loss) [Table] Hypercube base:DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable
843 Legal Entity [Axis] Dimension other:LegalEntityAxis
844 Entity [Domain] Member other:EntityDomain
845 Derivative Instrument [Axis] Dimension base:DerivativeInstrumentRiskAxis
846 Derivative Contract [Domain] Member base:DerivativeContractTypeDomain
847 Foreign Exchange Contracts Member base:ForeignExchangeContractMember
848 Equity Contracts Member base:EquityContractMember
849 Derivative Instruments, Gain (Loss) [Line Items] LineItems base:DerivativeInstrumentsGainLossLineItems
850 Derivatives Concept (Monetary) For Period Credit base:ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1
851 Hedged items Concept (Monetary) For Period Credit base:ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1
852 Total amount of ineffectiveness Concept (Monetary) For Period Credit base:GainLossOnFairValueHedgeIneffectivenessNet
853 Amount of equity contracts excluded from effectiveness assessment Concept (Monetary) For Period Credit base:GainLossFromComponentsExcludedFromAssessmentOfFairValueHedgeEffectivenessNet
854 100660 - Disclosure - Gains (Losses) Related to Cash Flow Hedges (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureGainsLossesRelatedToCashFlowHedgesDetail
855 Derivative Instruments And Hedging Activities Disclosure [Abstract] Abstract base:DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract
856 Derivative Instruments, Gain (Loss) [Table] Hypercube base:DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable
857 Legal Entity [Axis] Dimension other:LegalEntityAxis
858 Entity [Domain] Member other:EntityDomain
859 Hedging Designation Dimension base:HedgingDesignationAxis
860 Hedging Designation [Domain] Member base:HedgingDesignationDomain
861 Designated Hedge Derivatives Member base:DesignatedAsHedgingInstrumentMember
862 Derivative Instrument [Axis] Dimension base:DerivativeInstrumentRiskAxis
863 Derivative Contract [Domain] Member base:DerivativeContractTypeDomain
864 Foreign Exchange Contracts Member base:ForeignExchangeContractMember
865 Derivative Instruments, Gain (Loss) [Line Items] LineItems base:DerivativeInstrumentsGainLossLineItems
866 Effective Portion Concept (Text/String) For Period msft:GainLossOnCashFlowHedgeEffectivenessNetAbstract
867 Gains recognized in other comprehensive income (net of tax effects of $4, $24 and $35) Concept (Monetary) For Period Credit base:OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax
868 Gains reclassified from accumulated other comprehensive income into revenue Concept (Monetary) For Period Credit base:ForeignCurrencyCashFlowHedgeGainLossReclassifiedToEarningsNet
869 Amount Excluded from Effectiveness Assessment and Ineffective Portion Abstract base:DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNetAbstract
870 Losses recognized in other income (expense), net Concept (Monetary) For Period Credit base:DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNet
871 100670 - Disclosure - Gains (Losses) Related to Cash Flow Hedges (Parenthetical) (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureGainsLossesRelatedToCashFlowHedgesParentheticalDetail
872 Derivative Instruments And Hedging Activities Disclosure [Abstract] Abstract base:DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract
873 Derivative Instruments, Gain (Loss) [Table] Hypercube base:DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable
874 Legal Entity [Axis] Dimension other:LegalEntityAxis
875 Entity [Domain] Member other:EntityDomain
876 Hedging Designation Dimension base:HedgingDesignationAxis
877 Hedging Designation [Domain] Member base:HedgingDesignationDomain
878 Designated Hedge Derivatives Member base:DesignatedAsHedgingInstrumentMember
879 Derivative Instrument [Axis] Dimension base:DerivativeInstrumentRiskAxis
880 Derivative Contract [Domain] Member base:DerivativeContractTypeDomain
881 Foreign Exchange Contracts Member base:ForeignExchangeContractMember
882 Derivative Instruments, Gain (Loss) [Line Items] LineItems base:DerivativeInstrumentsGainLossLineItems
883 Gains (losses) recognized in other comprehensive income, tax effects Concept (Monetary) For Period Debit base:OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodTax
884 100680 - Disclosure - Non-Designated Derivative Gains (Losses) (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureNonDesignatedDerivativeGainsLossesDetail
885 Derivative Instruments And Hedging Activities Disclosure [Abstract] Abstract base:DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract
886 Derivative Instruments, Gain (Loss) [Table] Hypercube base:DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable
887 Legal Entity [Axis] Dimension other:LegalEntityAxis
888 Entity [Domain] Member other:EntityDomain
889 Derivative Instrument [Axis] Dimension base:DerivativeInstrumentRiskAxis
890 Derivative Contract [Domain] Member base:DerivativeContractTypeDomain
891 Foreign Exchange Contracts Member base:ForeignExchangeContractMember
892 Equity Contracts Member base:EquityContractMember
893 Interest Rate Contracts Member base:InterestRateContractMember
894 Credit Contracts Member base:CreditRiskContractMember
895 Commodity Contracts Member base:CommodityContractMember
896 Derivative Instruments, Gain (Loss) [Line Items] LineItems base:DerivativeInstrumentsGainLossLineItems
897 Changes in fair value of derivatives not designated as hedges Concept (Monetary) For Period Credit base:DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet
898 100690 - Disclosure - Financial Assets and Liabilities Measured at Fair Value on Recurring Basis (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail
899 Fair Value Disclosures [Abstract] Abstract base:FairValueDisclosuresAbstract
900 Fair Value Measurements, Recurring and Nonrecurring [Table] Hypercube base:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable
901 Legal Entity [Axis] Dimension other:LegalEntityAxis
902 Entity [Domain] Member other:EntityDomain
903 Liability Class [Axis] Dimension base:FairValueByLiabilityClassAxis
904 Fair Value by Liability Class [Domain] Member base:FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain
905 Derivatives and other Member base:DerivativeFinancialInstrumentsLiabilitiesMember
906 Right Of Offset And Netting [Axis] Dimension msft:RightOfOffsetAndNettingAxis
907 Right Of Offset And Netting [Domain] Member msft:RightOfOffsetAndNettingDomain
908 Gross Member msft:GrossMember
909 Netting Member msft:NettingMember
910 Net Member msft:NetMember
911 Fair Value by Asset Class Dimension base:FairValueByAssetClassAxis
912 Asset Class [Domain] Member base:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain
913 Mutual funds Member base:MoneyMarketFundsMember
914 Commercial paper Member base:CommercialPaperMember
915 Certificates of deposit Member base:CertificatesOfDepositMember
916 U.S. government and agency securities Member base:USGovernmentAgenciesDebtSecuritiesMember
917 Foreign government bonds Member base:ForeignGovernmentDebtSecuritiesMember
918 Mortgage- and asset-backed securities Member base:AssetBackedSecuritiesMember
919 Corporate notes and bonds Member base:CorporateDebtSecuritiesMember
920 Municipal securities Member base:USStatesAndPoliticalSubdivisionsMember
921 Common and preferred stock Member base:EquitySecuritiesMember
922 Derivatives Member base:DerivativeFinancialInstrumentsAssetsMember
923 Fair Value, Hierarchy [Axis] Dimension base:FairValueByFairValueHierarchyLevelAxis
924 Fair Value Hierarchy [Domain] Member base:FairValueMeasurementsFairValueHierarchyDomain
925 Level 1 Member base:FairValueInputsLevel1Member
926 Level 2 Member base:FairValueInputsLevel2Member
927 Level 3 Member base:FairValueInputsLevel3Member
928 Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] LineItems base:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems
929 Assets Concept (Monetary) As Of Debit base:AssetsFairValueDisclosureRecurring
930 Liabilities Concept (Monetary) As Of Credit base:LiabilitiesFairValueDisclosureRecurring
931 100700 - Disclosure - Reconciliation of Total Assets Measured at Fair Value on Recurring Basis to Balance Sheet Presentation (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureReconciliationOfTotalAssetsMeasuredAtFairValueOnRecurringBasisToBalanceSheetPresentationDetail
932 Fair Value Disclosures [Abstract] Abstract base:FairValueDisclosuresAbstract
933 Fair Value Measurements, Recurring and Nonrecurring [Table] Hypercube base:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable
934 Legal Entity [Axis] Dimension other:LegalEntityAxis
935 Entity [Domain] Member other:EntityDomain
936 Fair Value by Measurement Frequency Dimension base:FairValueByMeasurementFrequencyAxis
937 Fair Value, Measurement Frequency [Domain] Member base:FairValueMeasurementFrequencyDomain
938 Fair Value, Measurements, Recurring Member base:FairValueMeasurementsRecurringMember
939 Fair Value, Measurements, Nonrecurring Member base:FairValueMeasurementsNonrecurringMember
940 Derivatives, Fair Value, by Balance Sheet Location Dimension base:BalanceSheetLocationAxis
941 Balance Sheet Location [Domain] Member base:BalanceSheetLocationDomain
942 Other Current and Long-term Assets Member base:OtherAssetsMember
943 Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] LineItems base:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems
944 Net fair value of assets measured at fair value on a recurring basis Concept (Monetary) As Of Debit base:AssetsFairValueDisclosureRecurring
945 Cash Concept (Monetary) As Of Debit base:Cash
946 Common and preferred stock measured at fair value on a nonrecurring basis Concept (Monetary) As Of Debit base:CostMethodInvestments
947 Other investments measured at fair value on a nonrecurring basis Concept (Monetary) As Of Debit base:EquityMethodInvestments
948 Less derivative net assets classified as other current and long-term assets Concept (Monetary) As Of Debit base:DerivativeAssets
949 Other Concept (Monetary) As Of Debit base:OtherAssetsFairValueDisclosure
950 Recorded basis of investment components Concept (Monetary) As Of Debit base:AvailableForSaleSecurities
951 100710 - Disclosure - Components of Inventories (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureComponentsOfInventoriesDetail
952 Inventory Disclosure [Abstract] Abstract base:InventoryDisclosureAbstract
953 Inventory, Current [Table] Hypercube base:InventoryCurrentTable
954 Legal Entity [Axis] Dimension other:LegalEntityAxis
955 Entity [Domain] Member other:EntityDomain
956 Inventory [Line Items] LineItems base:InventoryLineItems
957 Raw materials Concept (Monetary) As Of Debit base:InventoryRawMaterialsNetOfReserves
958 Work in process Concept (Monetary) As Of Debit base:InventoryWorkInProcessNetOfReserves
959 Finished goods Concept (Monetary) As Of Debit base:InventoryFinishedGoodsNetOfReserves
960 Total Concept (Monetary) As Of Debit base:InventoryNet
961 100720 - Disclosure - Components of Property and Equipment (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureComponentsOfPropertyAndEquipmentDetail
962 Property Plant And Equipment [Abstract] Abstract base:PropertyPlantAndEquipmentAbstract
963 Property, Plant and Equipment [Table] Hypercube base:ScheduleOfPropertyPlantAndEquipmentTable
964 Legal Entity [Axis] Dimension other:LegalEntityAxis
965 Entity [Domain] Member other:EntityDomain
966 Property, Plant and Equipment [Line Items] LineItems base:PropertyPlantAndEquipmentLineItems
967 Land Concept (Monetary) As Of Debit base:Land
968 Buildings and improvements Concept (Monetary) As Of Debit base:BuildingsAndImprovementsGross
969 Leasehold improvements Concept (Monetary) As Of Debit base:LeaseholdImprovementsGross
970 Computer equipment and software Concept (Monetary) As Of Debit msft:ComputerHardwareAndSoftware
971 Furniture and equipment Concept (Monetary) As Of Debit base:FurnitureAndFixturesGross
972 Total, at cost Concept (Monetary) As Of Debit base:PropertyPlantAndEquipmentGross
973 Accumulated depreciation Concept (Monetary) As Of Credit base:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment
974 Total, net Concept (Monetary) As Of Debit base:PropertyPlantAndEquipmentNet
975 100730 - Disclosure - Property and Equipment - Additional Information (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosurePropertyAndEquipmentAdditionalInformationDetail
976 Property Plant And Equipment [Abstract] Abstract base:PropertyPlantAndEquipmentAbstract
977 Property, Plant and Equipment [Table] Hypercube base:ScheduleOfPropertyPlantAndEquipmentTable
978 Legal Entity [Axis] Dimension other:LegalEntityAxis
979 Entity [Domain] Member other:EntityDomain
980 Property, Plant and Equipment [Line Items] LineItems base:PropertyPlantAndEquipmentLineItems
981 Assets recorded under capital leases Concept (Monetary) As Of Debit base:CapitalLeasedAssetsGross
982 Accumulated depreciation associated with capital leases Concept (Monetary) As Of Credit base:CapitalLeasesLesseeBalanceSheetAssetsByMajorClassAccumulatedDeprecation
983 Property and equipment acquired under capital leases Concept (Monetary) For Period Credit base:CapitalLeaseObligationsIncurred
984 Depreciation expense Concept (Monetary) For Period Debit base:Depreciation
985 100740 - Disclosure - Business Combinations - Additional Information (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureBusinessCombinationsAdditionalInformationDetail
986 Business Combinations [Abstract] Abstract base:BusinessCombinationsAbstract
987 Schedule of Business Acquisitions, by Acquisition [Table] Hypercube base:ScheduleOfBusinessAcquisitionsByAcquisitionTable
988 Legal Entity [Axis] Dimension other:LegalEntityAxis
989 Entity [Domain] Member other:EntityDomain
990 Business Acquisition Dimension base:BusinessAcquisitionAxis
991 Business Acquisition, Acquiree Member base:BusinessAcquisitionAcquireeDomain
992 LinkedIn Corporation Member msft:LinkedInCorporationMember
993 Business Acquisition [Line Items] LineItems base:BusinessAcquisitionLineItems
994 Acquisition date Concept (Date) For Period base:BusinessAcquisitionEffectiveDateOfAcquisition1
995 Name of acquired entity Concept (Text/String) For Period base:BusinessAcquisitionNameOfAcquiredEntity
996 Total purchase price Concept (Monetary) For Period Credit base:BusinessCombinationConsiderationTransferred1
997 Cash paid to acquire the business Concept (Monetary) For Period Credit base:PaymentsToAcquireBusinessesGross
998 100750 - Disclosure - Major Classes of Assets and Liabilities to Which We Allocated the Purchase Price (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureMajorClassesOfAssetsAndLiabilitiesToWhichWeAllocatedPurchasePriceDetail
999 Business Combinations [Abstract] Abstract base:BusinessCombinationsAbstract
1000 Schedule of Business Acquisitions, by Acquisition [Table] Hypercube base:ScheduleOfBusinessAcquisitionsByAcquisitionTable
1001 Legal Entity [Axis] Dimension other:LegalEntityAxis
1002 Entity [Domain] Member other:EntityDomain
1003 Business Acquisition Dimension base:BusinessAcquisitionAxis
1004 Business Acquisition, Acquiree Member base:BusinessAcquisitionAcquireeDomain
1005 LinkedIn Corporation Member msft:LinkedInCorporationMember
1006 Business Acquisition [Line Items] LineItems base:BusinessAcquisitionLineItems
1007 Cash and cash equivalents Concept (Monetary) As Of Debit base:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents
1008 Short-term investments Concept (Monetary) As Of Debit base:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities
1009 Other current assets Concept (Monetary) As Of Debit base:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther
1010 Property and equipment Concept (Monetary) As Of Debit base:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment
1011 Intangible assets Concept (Monetary) As Of Debit base:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles
1012 Goodwill Concept (Monetary) As Of Debit base:Goodwill
1013 Short-term debt Concept (Monetary) As Of Credit msft:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesShortTermDebt
1014 Other current liabilities Concept (Monetary) As Of Credit base:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther
1015 Deferred income taxes Concept (Monetary) As Of Credit base:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent
1016 Other Concept (Monetary) As Of Credit msft:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherLiabilitiesNet
1017 Total purchase price Concept (Monetary) As Of Debit base:BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet
1018 100760 - Disclosure - Major Classes of Assets and Liabilities to Which We Allocated the Purchase Price (Parenthetical) (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureMajorClassesOfAssetsAndLiabilitiesToWhichWeAllocatedPurchasePriceParentheticalDetail
1019 Business Combinations [Abstract] Abstract base:BusinessCombinationsAbstract
1020 Schedule of Business Acquisitions, by Acquisition [Table] Hypercube base:ScheduleOfBusinessAcquisitionsByAcquisitionTable
1021 Legal Entity [Axis] Dimension other:LegalEntityAxis
1022 Entity [Domain] Member other:EntityDomain
1023 Business Acquisition Dimension base:BusinessAcquisitionAxis
1024 Business Acquisition, Acquiree Member base:BusinessAcquisitionAcquireeDomain
1025 LinkedIn Corporation Member msft:LinkedInCorporationMember
1026 Business Acquisition [Line Items] LineItems base:BusinessAcquisitionLineItems
1027 Goodwill expected to be deductible for income tax purposes Concept (Monetary) As Of Debit base:BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount
1028 Business combination, long-term debt Concept (Monetary) As Of Credit base:DebtInstrumentFaceAmount
1029 100770 - Disclosure - Acquired Intangible Assets (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureAcquiredIntangibleAssetsDetail
1030 Business Combinations [Abstract] Abstract base:BusinessCombinationsAbstract
1031 Finite Lived Intangible Assets Acquired as Part of Business Combination [Table] Hypercube base:FiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTable
1032 Legal Entity [Axis] Dimension other:LegalEntityAxis
1033 Entity [Domain] Member other:EntityDomain
1034 Business Acquisition Dimension base:BusinessAcquisitionAxis
1035 Business Acquisition, Acquiree Member base:BusinessAcquisitionAcquireeDomain
1036 LinkedIn Corporation Member msft:LinkedInCorporationMember
1037 Finite Lived Intangible Assets by Major Class [Axis] Dimension base:FiniteLivedIntangibleAssetsByMajorClassAxis
1038 Finite Lived Intangible Assets, Major Class Name [Domain] Member base:FiniteLivedIntangibleAssetsMajorClassNameDomain
1039 Customer-related Member base:CustomerRelationshipsMember
1040 Marketing-related (trade names) Member base:MarketingRelatedIntangibleAssetsMember
1041 Technology-based Member base:TechnologyBasedIntangibleAssetsMember
1042 Contract-based Member base:ContractualRightsMember
1043 Acquired Finite-Lived Intangible Assets [Line Items] LineItems base:AcquiredFiniteLivedIntangibleAssetsLineItems
1044 Fair value of intangible assets acquired Concept (Monetary) As Of Debit base:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles
1045 Weighted Average Life Concept (xbrli:durationItemType) For Period base:AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife
1046 100780 - Disclosure - Revenue and Operating Loss Attributable to Acquiree, Since the Date of Acquisition (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureRevenueAndOperatingLossAttributableToAcquireeSinceDateOfAcquisitionDetail
1047 Business Combinations [Abstract] Abstract base:BusinessCombinationsAbstract
1048 Schedule of Business Acquisitions, by Acquisition [Table] Hypercube base:ScheduleOfBusinessAcquisitionsByAcquisitionTable
1049 Legal Entity [Axis] Dimension other:LegalEntityAxis
1050 Entity [Domain] Member other:EntityDomain
1051 Business Acquisition Dimension base:BusinessAcquisitionAxis
1052 Business Acquisition, Acquiree Member base:BusinessAcquisitionAcquireeDomain
1053 LinkedIn Corporation Member msft:LinkedInCorporationMember
1054 Business Acquisition [Line Items] LineItems base:BusinessAcquisitionLineItems
1055 Revenue Concept (Monetary) For Period Credit base:BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual
1056 Operating loss Concept (Monetary) For Period Credit base:BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual
1057 100790 - Disclosure - Supplemental Consolidated Financial Results on Unaudited Pro Forma Basis, as If the Acquisition Had Been Consummated on Beginning of Period (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureSupplementalConsolidatedFinancialResultsOnUnauditedProFormaBasisAsIfAcquisitionHadBeenConsummatedOnBeginningOfPeriodDetail
1058 Business Combinations [Abstract] Abstract base:BusinessCombinationsAbstract
1059 Schedule of Business Acquisitions, by Acquisition [Table] Hypercube base:ScheduleOfBusinessAcquisitionsByAcquisitionTable
1060 Legal Entity [Axis] Dimension other:LegalEntityAxis
1061 Entity [Domain] Member other:EntityDomain
1062 Business Acquisition Dimension base:BusinessAcquisitionAxis
1063 Business Acquisition, Acquiree Member base:BusinessAcquisitionAcquireeDomain
1064 LinkedIn Corporation Member msft:LinkedInCorporationMember
1065 Business Acquisition [Line Items] LineItems base:BusinessAcquisitionLineItems
1066 Revenue Concept (Monetary) For Period Credit base:BusinessAcquisitionsProFormaRevenue
1067 Net income Concept (Monetary) For Period Credit base:BusinessAcquisitionsProFormaNetIncomeLoss
1068 Diluted earnings per share Concept (Share) For Period base:BusinessAcquisitionProFormaEarningsPerShareDiluted
1069 100800 - Disclosure - Carrying Amount of Goodwill (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureCarryingAmountOfGoodwillDetail
1070 Goodwill And Intangible Assets Disclosure [Abstract] Abstract base:GoodwillAndIntangibleAssetsDisclosureAbstract
1071 Schedule of Goodwill [Table] Hypercube base:ScheduleOfGoodwillTable
1072 Legal Entity [Axis] Dimension other:LegalEntityAxis
1073 Entity [Domain] Member other:EntityDomain
1074 Statement, Business Segments Dimension base:StatementBusinessSegmentsAxis
1075 Segments [Domain] Member base:SegmentDomain
1076 Productivity and Business Processes Member msft:ProductivityAndBusinessProcessesMember
1077 Intelligent Cloud Member msft:IntelligentCloudMember
1078 More Personal Computing Member msft:MorePersonalComputingMember
1079 Goodwill [Line Items] LineItems base:GoodwillLineItems
1080 Beginning Balance Concept (Monetary) As Of Debit base:Goodwill
1081 Acquisitions Concept (Monetary) For Period Debit base:GoodwillAcquiredDuringPeriod
1082 Other Concept (Monetary) For Period Debit base:GoodwillOtherIncreaseDecrease
1083 Ending Balance Concept (Monetary) As Of Debit base:Goodwill
1084 100810 - Disclosure - Goodwill - Additional Information (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureGoodwillAdditionalInformationDetail
1085 Goodwill And Intangible Assets Disclosure [Abstract] Abstract base:GoodwillAndIntangibleAssetsDisclosureAbstract
1086 Schedule of Goodwill [Table] Hypercube base:ScheduleOfGoodwillTable
1087 Legal Entity [Axis] Dimension other:LegalEntityAxis
1088 Entity [Domain] Member other:EntityDomain
1089 Statement, Business Segments Dimension base:StatementBusinessSegmentsAxis
1090 Segments [Domain] Member base:SegmentDomain
1091 Phone Hardware Member msft:PhoneHardwareMember
1092 Goodwill [Line Items] LineItems base:GoodwillLineItems
1093 Accumulated goodwill impairment Concept (Monetary) As Of Credit base:GoodwillImpairedAccumulatedImpairmentLoss
1094 Goodwill impairment charge Concept (Monetary) For Period Debit base:GoodwillImpairmentLoss
1095 100820 - Disclosure - Finite-Lived Intangible Assets (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureFiniteLivedIntangibleAssetsDetail
1096 Goodwill And Intangible Assets Disclosure [Abstract] Abstract base:GoodwillAndIntangibleAssetsDisclosureAbstract
1097 Schedule of Finite Lived Intangible Assets [Table] Hypercube base:ScheduleOfFiniteLivedIntangibleAssetsTable
1098 Legal Entity [Axis] Dimension other:LegalEntityAxis
1099 Entity [Domain] Member other:EntityDomain
1100 Finite Lived Intangible Assets by Major Class [Axis] Dimension base:FiniteLivedIntangibleAssetsByMajorClassAxis
1101 Finite Lived Intangible Assets, Major Class Name [Domain] Member base:FiniteLivedIntangibleAssetsMajorClassNameDomain
1102 Technology-based Member base:TechnologyBasedIntangibleAssetsMember
1103 Marketing-related Member base:MarketingRelatedIntangibleAssetsMember
1104 Contract-based Member base:ContractualRightsMember
1105 Customer-related Member base:CustomerRelationshipsMember
1106 Finite-Lived Intangible Assets [Line Items] LineItems base:FiniteLivedIntangibleAssetsLineItems
1107 Gross Carrying Amount Concept (Monetary) As Of Debit base:FiniteLivedIntangibleAssetsGross
1108 Accumulated Amortization Concept (Monetary) As Of Credit base:FiniteLivedIntangibleAssetsAccumulatedAmortization
1109 Net Carrying Amount Concept (Monetary) As Of Debit base:FiniteLivedIntangibleAssetsNet
1110 100830 - Disclosure - Finite-Lived Intangible Assets (Parenthetical) (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureFiniteLivedIntangibleAssetsParentheticalDetail
1111 Goodwill And Intangible Assets Disclosure [Abstract] Abstract base:GoodwillAndIntangibleAssetsDisclosureAbstract
1112 Schedule of Finite Lived Intangible Assets [Table] Hypercube base:ScheduleOfFiniteLivedIntangibleAssetsTable
1113 Legal Entity [Axis] Dimension other:LegalEntityAxis
1114 Entity [Domain] Member other:EntityDomain
1115 Finite Lived Intangible Assets by Major Class [Axis] Dimension base:FiniteLivedIntangibleAssetsByMajorClassAxis
1116 Finite Lived Intangible Assets, Major Class Name [Domain] Member base:FiniteLivedIntangibleAssetsMajorClassNameDomain
1117 Technology-based Member base:TechnologyBasedIntangibleAssetsMember
1118 Finite-Lived Intangible Assets [Line Items] LineItems base:FiniteLivedIntangibleAssetsLineItems
1119 Net carrying amount of software to be sold, leased, or otherwise marketed Concept (Monetary) As Of Debit base:CapitalizedSoftwareDevelopmentCostsForSoftwareSoldToCustomers
1120 100840 - Disclosure - Intangible Assets - Additional Information (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureIntangibleAssetsAdditionalInformationDetail
1121 Goodwill And Intangible Assets Disclosure [Abstract] Abstract base:GoodwillAndIntangibleAssetsDisclosureAbstract
1122 Schedule of Finite Lived Intangible Assets [Table] Hypercube base:ScheduleOfFiniteLivedIntangibleAssetsTable
1123 Legal Entity [Axis] Dimension other:LegalEntityAxis
1124 Entity [Domain] Member other:EntityDomain
1125 Statement, Business Segments Dimension base:StatementBusinessSegmentsAxis
1126 Segments [Domain] Member base:SegmentDomain
1127 Devices Member msft:DevicesMember
1128 Phone Hardware Member msft:PhoneHardwareMember
1129 Finite-Lived Intangible Assets [Line Items] LineItems base:FiniteLivedIntangibleAssetsLineItems
1130 Impairment charges of intangible assets Concept (Monetary) For Period Debit base:ImpairmentOfIntangibleAssetsFinitelived
1131 Intangible assets amortization expense Concept (Monetary) For Period Debit base:AmortizationOfIntangibleAssets
1132 Amortization of capitalized software Concept (Monetary) For Period Debit base:CapitalizedComputerSoftwareAmortization1
1133 100850 - Disclosure - Intangible Assets Acquired (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureIntangibleAssetsAcquiredDetail
1134 Goodwill And Intangible Assets Disclosure [Abstract] Abstract base:GoodwillAndIntangibleAssetsDisclosureAbstract
1135 Schedule of Acquired Finite Lived Intangible Asset by Major Class [Table] Hypercube base:ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable
1136 Legal Entity [Axis] Dimension other:LegalEntityAxis
1137 Entity [Domain] Member other:EntityDomain
1138 Finite Lived Intangible Assets by Major Class [Axis] Dimension base:FiniteLivedIntangibleAssetsByMajorClassAxis
1139 Finite Lived Intangible Assets, Major Class Name [Domain] Member base:FiniteLivedIntangibleAssetsMajorClassNameDomain
1140 Customer-related Member base:CustomerRelationshipsMember
1141 Technology-based Member base:TechnologyBasedIntangibleAssetsMember
1142 Marketing-related Member base:MarketingRelatedIntangibleAssetsMember
1143 Contract-based Member base:ContractualRightsMember
1144 Acquired Finite-Lived Intangible Assets [Line Items] LineItems base:AcquiredFiniteLivedIntangibleAssetsLineItems
1145 Amount Concept (Monetary) For Period Debit msft:AcquiredFiniteLivedIntangibleAssets
1146 Weighted Average Life Concept (xbrli:durationItemType) For Period base:AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife
1147 100860 - Disclosure - Estimated Future Amortization Expense Related to Intangible Assets (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureEstimatedFutureAmortizationExpenseRelatedToIntangibleAssetsDetail
1148 Goodwill And Intangible Assets Disclosure [Abstract] Abstract base:GoodwillAndIntangibleAssetsDisclosureAbstract
1149 Schedule of Finite Lived Intangible Assets [Table] Hypercube base:ScheduleOfFiniteLivedIntangibleAssetsTable
1150 Legal Entity [Axis] Dimension other:LegalEntityAxis
1151 Entity [Domain] Member other:EntityDomain
1152 Finite-Lived Intangible Assets [Line Items] LineItems base:FiniteLivedIntangibleAssetsLineItems
1153 Year Ending June 30, 2018 Concept (Monetary) As Of Debit base:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths
1154 Year Ending June 30, 2019 Concept (Monetary) As Of Debit base:FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo
1155 Year Ending June 30, 2020 Concept (Monetary) As Of Debit base:FiniteLivedIntangibleAssetsAmortizationExpenseYearThree
1156 Year Ending June 30, 2021 Concept (Monetary) As Of Debit base:FiniteLivedIntangibleAssetsAmortizationExpenseYearFour
1157 Year Ending June 30, 2022 Concept (Monetary) As Of Debit base:FiniteLivedIntangibleAssetsAmortizationExpenseYearFive
1158 Thereafter Concept (Monetary) As Of Debit base:FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive
1159 Net Carrying Amount Concept (Monetary) As Of Debit base:FiniteLivedIntangibleAssetsNet
1160 100870 - Disclosure - Debt - Additional Information (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureDebtAdditionalInformationDetail
1161 Debt Disclosure [Abstract] Abstract base:DebtDisclosureAbstract
1162 Schedule of Long term Debt Instruments [Table] Hypercube base:DebtInstrumentTable
1163 Legal Entity [Axis] Dimension other:LegalEntityAxis
1164 Entity [Domain] Member other:EntityDomain
1165 Short term Debt, Type [Axis] Dimension base:ShortTermDebtTypeAxis
1166 Short term Debt, Type [Domain] Member base:ShortTermDebtTypeDomain
1167 Commercial paper Member base:CommercialPaperMember
1168 Range Dimension base:RangeAxis
1169 Range [Domain] Member base:RangeMember
1170 Lower Limit Member base:MinimumMember
1171 Upper Limit Member base:MaximumMember
1172 Debt Instrument Dimension base:DebtInstrumentAxis
1173 Debt Instrument, Name [Domain] Member base:DebtInstrumentNameDomain
1174 Credit Facility Expire on October 31st 2017 Member msft:CreditFacilityExpireOnOctoberThirtyOneTwentySeventeenMember
1175 Credit Facility Expire on November 14th 2018 Member msft:CreditFacilityExpireOnNovemberFourteenTwentyEighteenMember
1176 Debt Instrument [Line Items] LineItems base:DebtInstrumentLineItems
1177 Commercial paper Concept (Monetary) As Of Credit base:CommercialPaper
1178 Commercial paper, weighted average interest rate Concept (Percent) As Of base:ShortTermDebtWeightedAverageInterestRate
1179 Commercial paper, maturity term Concept (xbrli:durationItemType) For Period base:DebtInstrumentTerm
1180 Credit facility Concept (Monetary) As Of Credit base:LineOfCreditFacilityMaximumBorrowingCapacity
1181 Credit facility, expiration date Concept (Date) For Period base:LineOfCreditFacilityExpirationDate1
1182 Credit facility, financial covenant Concept (Text/String) For Period base:LineOfCreditFacilityCovenantCompliance
1183 Credit facility, drawn Concept (Monetary) For Period Debit base:ProceedsFromLinesOfCredit
1184 Long-term debt Concept (Monetary) As Of Credit base:LongTermDebt
1185 Long-term debt fair value Concept (Monetary) As Of Credit base:LongTermDebtFairValue
1186 Cash paid for interest Concept (Monetary) For Period Credit base:InterestPaid
1187 Unamortized discount and debt issuance costs Concept (Monetary) As Of Debit base:DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet
1188 100880 - Disclosure - Long-term Debt (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureLongTermDebtDetail
1189 Debt Disclosure [Abstract] Abstract base:DebtDisclosureAbstract
1190 Schedule of Long term Debt Instruments [Table] Hypercube base:DebtInstrumentTable
1191 Legal Entity [Axis] Dimension other:LegalEntityAxis
1192 Entity [Domain] Member other:EntityDomain
1193 Debt Instrument Dimension base:DebtInstrumentAxis
1194 Debt Instrument, Name [Domain] Member base:DebtInstrumentNameDomain
1195 Notes 0.875 Percent Due November 15th 2017 Member msft:NotesZeroPointEightSevenFivePercentDueNovemberFifteenTwentySeventeenMember
1196 Notes 1.0 Percent Due May 1st 2018 Member msft:NotesOnePointZeroPercentDueMayOneTwentyEighteenMember
1197 Notes 1.30 Percent Due November 3rd 2018 Member msft:NotesOnePointThreeZeroPercentDueNovemberThreeTwentyEighteenMember
1198 Notes 1.625 Percent Due December 6th 2018 Member msft:NotesOnePointSixTwoFivePercentDueDecemberSixTwentyEighteenMember
1199 Notes 4.2 Percent Due June 1st 2019 Member msft:NotesFourPointTwoPercentDueJuneOneTwentyNineteenMember
1200 Notes 1.1 Percent Due August 8th 2019 Member msft:NotesOnePointOnePercentDueAugustEightTwentyNineteenMember
1201 Notes 0.500 Percent Due November 1st 2019 Member msft:NotesZeroPointFivePercentDueNovemberOneTwentyNineteenMember
1202 Notes 1.850 Percent Due February 6th 2020 Member msft:NotesOnePointEightFivePercentDueFebruarySixTwentyTwentyMember
1203 Notes 1.850 Percent Due February 12th 2020 Member msft:NotesOnePointEightFivePercentDueFebruaryTwelveTwentyTwentyMember
1204 Notes 3.0 Percent Due October 1st 2020 Member msft:NotesThreePointZeroPercentDueOctoberOneTwentyTwentyMember
1205 Notes 2.0 Percent Due November 3rd 2020 Member msft:NotesTwoPointZeroPercentDueNovemberThreeTwentyTwentyMember
1206 Notes 4.0 Percent Due February 8th 2021 Member msft:NotesFourPointZeroPercentDueFebruaryEightTwentyTwentyOneMember
1207 Notes 1.55 Percent Due August 8th 2021 Member msft:NotesOnePointFiveFivePercentDueAugustEightTwentyTwentyOneMember
1208 Notes 2.125 Percent Due December 6th 2021 Member msft:NotesTwoPointOneTwoFivePercentDueDecemberSixTwentyTwentyOneMember
1209 Notes 2.40 Percent Due February 6th 2022 Member msft:NotesTwoPointFourPercentDueFebruarySixTwentyTwentyTwoMember
1210 Notes 2.375 Percent Due February 12th 2022 Member msft:NotesTwoPointThreeSevenFivePercentDueFebruaryTwelveTwentyTwentyTwoMember
1211 Notes 2.65 Percent Due November 3rd 2022 Member msft:NotesTwoPointSixFivePercentDueNovemberThreeTwentyTwentyTwoMember
1212 Notes 2.125 Percent Due November 15th 2022 Member msft:NotesTwoPointOneTwoFivePercentDueNovemberFifteenTwentyTwentyTwoMember
1213 Notes 2.375 Percent Due May 1st 2023 Member msft:NotesTwoPointThreeSevenFivePercentDueMayOneTwentyTwentyThreeMember
1214 Notes 2.0 Percent Due August 8th 2023 Member msft:NotesTwoPointZeroPercentDueAugustEightTwentyTwentyThreeMember
1215 Notes 3.625 Percent Due December 15th 2023 Member msft:NotesThreePointSixTwoFivePercentDueDecemberFifteenTwentyTwentyThreeMember
1216 Notes 2.875 Percent Due February 6th 2024 Member msft:NotesTwoPointEightSevenFivePercentDueFebruarySixTwentyTwentyFourMember
1217 Notes 2.70 Percent Due February 12th 2025 Member msft:NotesTwoPointSevenPercentDueFebruaryTwelveTwentyTwentyFiveMember
1218 Notes 3.125 Percent Due November 3rd 2025 Member msft:NotesThreePointOneTwoFivePercentDueNovemberThreeTwentyTwentyFiveMember
1219 Notes 2.4 Percent Due August 8th 2026 Member msft:NotesTwoPointFourPercentDueAugustEightTwentyTwentySixMember
1220 Notes 3.3 Percent Due February 6th 2027 Member msft:NotesThreePointThreePercentDueFebruarySixTwentyTwentySevenMember
1221 Notes 3.125 Percent Due December 6th 2028 Member msft:NotesThreePointOneTwoFivePercentDueDecemberSixTwentyTwentyEightMember
1222 Notes 2.625 Percent Due May 2nd 2033 Member msft:NotesTwoPointSixTwoFivePercentDueMayTwoTwentyThirtyThreeMember
1223 Notes 3.50 Percent Due February 12th 2035 Member msft:NotesThreePointFivePercentDueFebruaryTwelveTwentyThirtyFiveMember
1224 Notes 4.2 Percent Due November 3rd 2035 Member msft:NotesFourPointTwoPercentDueNovemberThreeTwentyThirtyFiveMember
1225 Notes 3.45 Percent Due August 8th 2036 Member msft:NotesThreePointFourFivePercentDueAugustEightTwentyThirtySixMember
1226 Notes 4.1 Percent Due February 6th 2037 Member msft:NotesFourPointOnePercentDueFebruarySixTwentyThirtySevenMember
1227 Notes 5.2 Percent Due June 1st 2039 Member msft:NotesFivePointTwoPercentDueJuneOneTwentyThirtyNineMember
1228 Notes 4.5 Percent Due October 1st 2040 Member msft:NotesFourPointFivePercentDueOctoberOneTwentyFortyMember
1229 Notes 5.3 Percent Due February 8th 2041 Member msft:NotesFivePointThreePercentDueFebruaryEightTwentyFortyOneMember
1230 Notes 3.5 Percent Due November 15th 2042 Member msft:NotesThreePointFivePercentDueNovemberFifteenTwentyFortyTwoMember
1231 Notes 3.750 Percent Due May 1st 2043 Member msft:NotesThreePointSevenFivePercentDueMayOneTwentyFortyThreeMember
1232 Notes 4.875 Percent Due December 15th 2043 Member msft:NotesFourPointEightSevenFivePercentDueDecemberFifteenTwentyFortyThreeMember
1233 Notes 3.750 Percent Due February 12th 2045 Member msft:NotesThreePointSevenFivePercentDueFebruaryTwelveTwentyFortyFiveMember
1234 Notes 4.45 Percent Due November 3rd 2045 Member msft:NotesFourPointFourFivePercentDueNovemberThreeTwentyFortyFiveMember
1235 Notes 3.7 Percent Due August 8th 2046 Member msft:NotesThreePointSevenPercentDueAugustEightTwentyFortySixMember
1236 Notes 4.25 Percent Due February 6th 2047 Member msft:NotesFourPointTwoFivePercentDueFebruarySixTwentyFortySevenMember
1237 Notes 4.0 Percent Due February 12th 2055 Member msft:NotesFourPercentDueFebruaryTwelveTwentyFiftyFiveMember
1238 Notes 4.75 Percent Due November 3rd 2055 Member msft:NotesFourPointSevenFivePercentDueNovemberThreeTwentyFiftyFiveMember
1239 Notes 3.95 Percent Due August 8th 2056 Member msft:NotesThreePointNineFivePercentDueAugustEightTwentyFiftySixMember
1240 Notes 4.5 Percent Due February 6th 2057 Member msft:NotesFourPointFivePercentDueFebruarySixTwentyFiftySevenMember
1241 Debt Instrument [Line Items] LineItems base:DebtInstrumentLineItems
1242 Debt maturity date Concept (Date) For Period base:DebtInstrumentMaturityDate
1243 Face Value Concept (Monetary) As Of Credit base:DebtInstrumentFaceAmount
1244 Stated Interest Rate Concept (Percent) As Of base:DebtInstrumentInterestRateStatedPercentage
1245 Effective Interest Rate Concept (Percent) As Of base:DebtInstrumentInterestRateEffectivePercentage
1246 100890 - Disclosure - Long-term Debt (Parenthetical) (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureLongTermDebtParentheticalDetail
1247 Debt Disclosure [Abstract] Abstract base:DebtDisclosureAbstract
1248 Schedule of Long term Debt Instruments [Table] Hypercube base:DebtInstrumentTable
1249 Legal Entity [Axis] Dimension other:LegalEntityAxis
1250 Entity [Domain] Member other:EntityDomain
1251 Debt Instrument Dimension base:DebtInstrumentAxis
1252 Debt Instrument, Name [Domain] Member base:DebtInstrumentNameDomain
1253 USD Debt Issued in Period Member msft:USDDebtIssuedInPeriodMember
1254 Debt Instrument [Line Items] LineItems base:DebtInstrumentLineItems
1255 Face Value Concept (Monetary) As Of Credit base:DebtInstrumentFaceAmount
1256 100900 - Disclosure - Maturities of Long-term Debt (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureMaturitiesOfLongTermDebtDetail
1257 Debt Disclosure [Abstract] Abstract base:DebtDisclosureAbstract
1258 Schedule of Long term Debt Instruments [Table] Hypercube base:DebtInstrumentTable
1259 Legal Entity [Axis] Dimension other:LegalEntityAxis
1260 Entity [Domain] Member other:EntityDomain
1261 Debt Instrument [Line Items] LineItems base:DebtInstrumentLineItems
1262 Year Ending June 30, 2018 Concept (Monetary) As Of Credit base:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths
1263 Year Ending June 30, 2019 Concept (Monetary) As Of Credit base:LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo
1264 Year Ending June 30, 2020 Concept (Monetary) As Of Credit base:LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree
1265 Year Ending June 30, 2021 Concept (Monetary) As Of Credit base:LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour
1266 Year Ending June 30, 2022 Concept (Monetary) As Of Credit base:LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive
1267 Thereafter Concept (Monetary) As Of Credit base:LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive
1268 Total Concept (Monetary) As Of Credit base:DebtInstrumentFaceAmount
1269 100910 - Disclosure - Provision for Income Taxes (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureProvisionForIncomeTaxesDetail
1270 Income Tax Disclosure [Abstract] Abstract base:IncomeTaxDisclosureAbstract
1271 Reconciliation of Provision of Income Taxes [Table] Hypercube msft:ReconciliationOfProvisionOfIncomeTaxesTable
1272 Legal Entity [Axis] Dimension other:LegalEntityAxis
1273 Entity [Domain] Member other:EntityDomain
1274 Reconciliation of Provision of Income Taxes [Line Items] LineItems msft:ReconciliationOfProvisionOfIncomeTaxesLineItems
1275 Current Taxes Abstract base:CurrentIncomeTaxExpenseBenefitContinuingOperationsAbstract
1276 U.S. federal Concept (Monetary) For Period Debit base:CurrentFederalTaxExpenseBenefit
1277 U.S. state and local Concept (Monetary) For Period Debit base:CurrentStateAndLocalTaxExpenseBenefit
1278 Foreign Concept (Monetary) For Period Debit base:CurrentForeignTaxExpenseBenefit
1279 Current taxes Concept (Monetary) For Period Debit base:CurrentIncomeTaxExpenseBenefit
1280 Deferred Taxes Abstract base:DeferredIncomeTaxExpenseBenefitContinuingOperationsAbstract
1281 Deferred taxes Concept (Monetary) For Period Debit base:DeferredIncomeTaxExpenseBenefit
1282 Provision for income taxes Concept (Monetary) For Period Debit base:IncomeTaxExpenseBenefit
1283 100920 - Disclosure - Income Taxes - Additional Information (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureIncomeTaxesAdditionalInformationDetail
1284 Income Tax Disclosure [Abstract] Abstract base:IncomeTaxDisclosureAbstract
1285 Income Taxes [Table] Hypercube msft:IncomeTaxesTable
1286 Legal Entity [Axis] Dimension other:LegalEntityAxis
1287 Entity [Domain] Member other:EntityDomain
1288 Statement, Business Segments Dimension base:StatementBusinessSegmentsAxis
1289 Segments [Domain] Member base:SegmentDomain
1290 Phone Business Member msft:PhoneBusinessMember
1291 Income Statement Location [Axis] Dimension base:IncomeStatementLocationAxis
1292 Income Statement Location [Domain] Member base:IncomeStatementLocationDomain
1293 Impairment, integration, and restructuring expenses Member msft:ImpairmentIntegrationAndRestructuringExpensesMember
1294 Deferred Revenue Arrangement Type Dimension base:DeferredRevenueArrangementTypeAxis
1295 Deferred Revenue [Domain] Member base:DeferredRevenueArrangementTypeDomain
1296 Windows 10 Licenses Member msft:WindowsTenDeferralMember
1297 Income Tax Authority Dimension base:IncomeTaxAuthorityAxis
1298 Income Tax Authority [Domain] Member base:IncomeTaxAuthorityDomain
1299 Regional Operating Centers Member msft:RegionalOperatingCentersMember
1300 Foreign Country Member base:ForeignCountryMember
1301 Scenario Dimension base:StatementScenarioAxis
1302 Scenario, Unspecified Member base:ScenarioUnspecifiedDomain
1303 Restatement Adjustment Member base:RestatementAdjustmentMember
1304 Income Taxes [Line Items] LineItems msft:IncomeTaxesLineItems
1305 U.S. deferred tax benefit Concept (Monetary) For Period Debit base:DeferredFederalStateAndLocalTaxExpenseBenefit
1306 Foreign deferred tax benefit Concept (Monetary) For Period Debit base:DeferredForeignIncomeTaxExpenseBenefit
1307 U.S. income (loss) before income taxes Concept (Monetary) For Period Credit base:IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic
1308 Foreign income (loss) before income taxes Concept (Monetary) For Period Credit base:IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign
1309 Foreign earnings, taxed at rates lower than U.S. rate as a percentage of foreign income before tax Concept (Percent) For Period msft:ForeignEarningsTaxedAtRatesLowerThanUsRate
1310 Deferred income tax assets, loss carryforward Concept (Monetary) As Of Debit base:DeferredTaxAssetsOperatingLossCarryforwards
1311 Deferred income tax assets, valuation allowance Concept (Monetary) As Of Credit base:DeferredTaxAssetsValuationAllowance
1312 Operating loss carryforwards Concept (Monetary) As Of Debit base:OperatingLossCarryforwards
1313 Temporary differences resulting from earnings for certain non-U.S. subsidiaries which are permanently reinvested outside the United States Concept (Monetary) As Of Credit base:UndistributedEarningsOfForeignSubsidiaries
1314 Unrecognized tax liability on temporary differences resulting from earnings for certain non-U.S. subsidiaries which are permanently reinvested outside the United States Concept (Monetary) As Of Debit base:DeferredTaxLiabilityNotRecognizedAmountOfUnrecognizedDeferredTaxLiabilityUndistributedEarningsOfForeignSubsidiaries
1315 Income taxes paid, net of refunds Concept (Monetary) For Period Credit base:IncomeTaxesPaidNet
1316 Tax contingencies and other tax liabilities Concept (Monetary) As Of Credit base:AccruedIncomeTaxesNoncurrent
1317 Unrecognized tax benefits Concept (Monetary) As Of Credit base:UnrecognizedTaxBenefits
1318 Unrecognized tax benefits, if recognized would affect our effective tax rates Concept (Monetary) As Of Credit base:UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate
1319 Accrued interest expense related to uncertain tax positions net of federal income tax benefits Concept (Monetary) As Of Credit base:UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued
1320 Interest expense on unrecognized tax benefits Concept (Monetary) For Period Debit base:UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestExpense
1321 100930 - Disclosure - Income (Loss) Before Income Taxes (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureIncomeLossBeforeIncomeTaxesDetail
1322 Income Tax Disclosure [Abstract] Abstract base:IncomeTaxDisclosureAbstract
1323 Schedule of Components of Income Before Income Tax Expense (Benefit) [Table] Hypercube msft:ScheduleOfComponentsOfIncomeBeforeIncomeTaxExpenseBenefitTable
1324 Legal Entity [Axis] Dimension other:LegalEntityAxis
1325 Entity [Domain] Member other:EntityDomain
1326 Schedule of Components of Income Before Income Tax Expense (Benefit) [Line Items] LineItems msft:ScheduleOfComponentsOfIncomeBeforeIncomeTaxExpenseBenefitLineItems
1327 U.S. Concept (Monetary) For Period Credit base:IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic
1328 Foreign Concept (Monetary) For Period Credit base:IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign
1329 Income before income taxes Concept (Monetary) For Period Credit base:IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments
1330 100940 - Disclosure - Difference Between Income Taxes Computed at Federal Statutory Rate and Provision for Income Taxes (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureDifferenceBetweenIncomeTaxesComputedAtFederalStatutoryRateAndProvisionForIncomeTaxesDetail
1331 Income Tax Disclosure [Abstract] Abstract base:IncomeTaxDisclosureAbstract
1332 Reconciliation of Statutory Federal Tax Rate [Table] Hypercube msft:ReconciliationOfStatutoryFederalTaxRateTable
1333 Legal Entity [Axis] Dimension other:LegalEntityAxis
1334 Entity [Domain] Member other:EntityDomain
1335 Reconciliation of Statutory Federal Tax Rate [Line Items] LineItems msft:ReconciliationOfStatutoryFederalTaxRateLineItems
1336 Federal statutory rate Concept (Percent) For Period base:EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate
1337 Effect of: Abstract base:EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract
1338 Foreign earnings taxed at lower rates Concept (Percent) For Period base:EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential
1339 Phone business losses Concept (Percent) For Period msft:EffectiveIncomeTaxRateReconciliationPhoneBusinessGainsLosses
1340 Excess tax benefits relating to stock-based compensation Concept (Percent) For Period msft:EffectiveIncomeTaxRateReconciliationDeductionsExcessTaxBenefitsStockBasedCompensation
1341 Domestic production activities deduction Concept (Percent) For Period base:EffectiveIncomeTaxRateReconciliationDeductionsQualifiedProductionActivities
1342 Interest, net Concept (Percent) For Period msft:EffectiveIncomeTaxRateReconciliationInterestIncomeExpense
1343 Other reconciling items, net Concept (Percent) For Period base:EffectiveIncomeTaxRateReconciliationOtherAdjustments
1344 Effective rate Concept (Percent) For Period base:EffectiveIncomeTaxRateContinuingOperations
1345 100950 - Disclosure - Deferred Income Tax Assets and Liabilities (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureDeferredIncomeTaxAssetsAndLiabilitiesDetail
1346 Income Tax Disclosure [Abstract] Abstract base:IncomeTaxDisclosureAbstract
1347 Schedule of Deferred Income Tax Assets and Liabilities [Table] Hypercube msft:ScheduleOfDeferredIncomeTaxAssetsAndLiabilitiesTable
1348 Legal Entity [Axis] Dimension other:LegalEntityAxis
1349 Entity [Domain] Member other:EntityDomain
1350 Derivatives, Fair Value, by Balance Sheet Location Dimension base:BalanceSheetLocationAxis
1351 Balance Sheet Location [Domain] Member base:BalanceSheetLocationDomain
1352 Other Long-term Assets Member base:OtherNoncurrentAssetsMember
1353 Long-term Deferred Income Tax Liabilities Member msft:DeferredIncomeTaxLiabilitiesNoncurrentMember
1354 Schedule of Deferred Income Tax Assets and Liabilities [Line Items] LineItems msft:ScheduleOfDeferredIncomeTaxAssetsAndLiabilitiesLineItems
1355 Deferred Income Tax Assets Abstract base:DeferredTaxAssetsNetAbstract
1356 Stock-based compensation expense Concept (Monetary) As Of Debit base:DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost
1357 Other expense items Concept (Monetary) As Of Debit base:DeferredTaxAssetsTaxDeferredExpenseOther
1358 Restructuring charges Concept (Monetary) As Of Debit base:DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsRestructuringCharges
1359 Unearned revenue Concept (Monetary) As Of Debit base:DeferredTaxAssetsDeferredIncome
1360 Impaired investments Concept (Monetary) As Of Debit base:DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsImpairmentLosses
1361 Loss carryforwards Concept (Monetary) As Of Debit base:DeferredTaxAssetsOperatingLossCarryforwards
1362 Depreciation and amortization Concept (Monetary) As Of Debit msft:DeferredTaxAssetsDepreciationAndAmortization
1363 Other revenue items Concept (Monetary) As Of Debit base:DeferredTaxAssetsOther
1364 Deferred income tax assets Concept (Monetary) As Of Debit base:DeferredTaxAssetsGross
1365 Less valuation allowance Concept (Monetary) As Of Credit base:DeferredTaxAssetsValuationAllowance
1366 Deferred income tax assets, net of valuation allowance Concept (Monetary) As Of Debit base:DeferredTaxAssetsNet
1367 Deferred Income Tax Liabilities Abstract base:DeferredTaxLiabilitiesAbstract
1368 Foreign earnings Concept (Monetary) As Of Credit base:DeferredTaxLiabilitiesUndistributedForeignEarnings
1369 Unrealized gain on investments and debt Concept (Monetary) As Of Credit msft:DeferredTaxLiabilitiesUnrealizedGainsInvestmentsAndDebt
1370 Depreciation and amortization Concept (Monetary) As Of Credit msft:DeferredTaxLiabilitiesDepreciationAndAmortization
1371 Other Concept (Monetary) As Of Credit base:DeferredTaxLiabilitiesOther
1372 Deferred income tax liabilities Concept (Monetary) As Of Credit base:DeferredIncomeTaxLiabilities
1373 Net deferred income tax assets Concept (Monetary) As Of Debit base:DeferredTaxAssetsLiabilitiesNet
1374 Net deferred income tax liabilities Concept (Monetary) As Of Credit base:DeferredTaxLiabilities
1375 100960 - Disclosure - Changes in Unrecognized Tax Benefits (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureChangesInUnrecognizedTaxBenefitsDetail
1376 Income Tax Disclosure [Abstract] Abstract base:IncomeTaxDisclosureAbstract
1377 Income Tax Contingency [Table] Hypercube base:IncomeTaxContingencyTable
1378 Legal Entity [Axis] Dimension other:LegalEntityAxis
1379 Entity [Domain] Member other:EntityDomain
1380 Income Tax Contingency [Line Items] LineItems base:IncomeTaxContingencyLineItems
1381 Balance, beginning of year Concept (Monetary) As Of Credit base:UnrecognizedTaxBenefits
1382 Decreases related to settlements Concept (Monetary) For Period Debit base:UnrecognizedTaxBenefitsDecreasesResultingFromSettlementsWithTaxingAuthorities
1383 Increases for tax positions related to the current year Concept (Monetary) For Period Credit base:UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions
1384 Increases for tax positions related to prior years Concept (Monetary) For Period Credit base:UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions
1385 Decreases for tax positions related to prior years Concept (Monetary) For Period Debit base:UnrecognizedTaxBenefitsDecreasesResultingFromPriorPeriodTaxPositions
1386 Decreases due to lapsed statutes of limitations Concept (Monetary) For Period Debit base:UnrecognizedTaxBenefitsReductionsResultingFromLapseOfApplicableStatuteOfLimitations
1387 Balance, end of year Concept (Monetary) As Of Credit base:UnrecognizedTaxBenefits
1388 100970 - Disclosure - Income Taxes - Additional Information Regarding Examinations (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureIncomeTaxesAdditionalInformationRegardingExaminationsDetail
1389 Income Tax Disclosure [Abstract] Abstract base:IncomeTaxDisclosureAbstract
1390 Income Tax Examination [Table] Hypercube base:IncomeTaxExaminationTable
1391 Legal Entity [Axis] Dimension other:LegalEntityAxis
1392 Entity [Domain] Member other:EntityDomain
1393 Income Tax Authority, Name [Axis] Dimension base:IncomeTaxAuthorityNameAxis
1394 Income Tax Authority, Name [Domain] Member base:IncomeTaxAuthorityNameDomain
1395 Internal Revenue Service (IRS) Member base:InternalRevenueServiceIRSMember
1396 Tax Period [Axis] Dimension base:TaxPeriodAxis
1397 Tax Period [Domain] Member base:TaxPeriodDomain
1398 Earliest Tax Year Member base:EarliestTaxYearMember
1399 Latest Tax Year Member base:LatestTaxYearMember
1400 Income Tax Authority Dimension base:IncomeTaxAuthorityAxis
1401 Income Tax Authority [Domain] Member base:IncomeTaxAuthorityDomain
1402 Foreign Country Member base:ForeignCountryMember
1403 Income Tax Examination [Line Items] LineItems base:IncomeTaxExaminationLineItems
1404 Tax years under audit Concept (Year) For Period base:IncomeTaxExaminationYearUnderExamination
1405 Tax years subject to examination Concept (Year) For Period base:OpenTaxYear
1406 100980 - Disclosure - Restructuring Charges - Additional Information (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureRestructuringChargesAdditionalInformationDetail
1407 Restructuring And Related Activities [Abstract] Abstract base:RestructuringAndRelatedActivitiesAbstract
1408 Schedule of Restructuring and Related Costs [Table] Hypercube base:ScheduleOfRestructuringAndRelatedCostsTable
1409 Legal Entity [Axis] Dimension other:LegalEntityAxis
1410 Entity [Domain] Member other:EntityDomain
1411 Restructuring Plan [Axis] Dimension base:RestructuringPlanAxis
1412 Restructuring Plan [Domain] Member base:RestructuringPlanDomain
1413 Phone Hardware Restructuring Plan Member msft:PhoneHardwareRestructuringPlanMember
1414 2016 Restructuring Member msft:TwentySixteenRestructuringPlanMember
1415 2017 Restructuring Member msft:TwentySeventeenRestructuringPlanMember
1416 Restructuring Type [Axis] Dimension base:RestructuringCostAndReserveAxis
1417 Type of Restructuring [Domain] Member base:TypeOfRestructuringDomain
1418 Severance Member base:EmployeeSeveranceMember
1419 Restructuring Cost and Reserve [Line Items] LineItems base:RestructuringCostAndReserveLineItems
1420 Number of positions eliminated Concept (Integer) For Period base:RestructuringAndRelatedCostNumberOfPositionsEliminated
1421 Restructuring charges Concept (Monetary) For Period Debit base:RestructuringCharges
1422 Reversal of prior year restructuring charges Concept (Monetary) For Period Debit base:RestructuringReserveAccrualAdjustment1
1423 Completion date Concept (Date) For Period base:RestructuringAndRelatedActivitiesCompletionDate
1424 100990 - Disclosure - Changes in Restructuring Liability (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureChangesInRestructuringLiabilityDetail
1425 Restructuring And Related Activities [Abstract] Abstract base:RestructuringAndRelatedActivitiesAbstract
1426 Schedule of Restructuring and Related Costs [Table] Hypercube base:ScheduleOfRestructuringAndRelatedCostsTable
1427 Legal Entity [Axis] Dimension other:LegalEntityAxis
1428 Entity [Domain] Member other:EntityDomain
1429 Restructuring Type [Axis] Dimension base:RestructuringCostAndReserveAxis
1430 Type of Restructuring [Domain] Member base:TypeOfRestructuringDomain
1431 Severance Member base:EmployeeSeveranceMember
1432 Other Member base:OtherRestructuringMember
1433 Restructuring Cost and Reserve [Line Items] LineItems base:RestructuringCostAndReserveLineItems
1434 Balance, as of June 30, 2016 Concept (Monetary) As Of Credit base:RestructuringReserve
1435 Restructuring charges Concept (Monetary) For Period Debit base:RestructuringCharges
1436 Cash paid Concept (Monetary) For Period Credit base:PaymentsForRestructuring
1437 Other Concept (Monetary) For Period Debit base:RestructuringReserveSettledWithoutCash2
1438 Balance, as of June 30, 2017 Concept (Monetary) As Of Credit base:RestructuringReserve
1439 101000 - Disclosure - Unearned Revenue by Segment (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureUnearnedRevenueBySegmentDetail
1440 Deferred Revenue Disclosure [Abstract] Abstract base:DeferredRevenueDisclosureAbstract
1441 Deferred Revenue Arrangement, by Type [Table] Hypercube base:DeferredRevenueArrangementByTypeTable
1442 Legal Entity [Axis] Dimension other:LegalEntityAxis
1443 Entity [Domain] Member other:EntityDomain
1444 Segment Reporting Reconciling Item Dimension base:ConsolidationItemsAxis
1445 Consolidation Items [Domain] Member base:ConsolidationItemsDomain
1446 Reportable Segments Member base:OperatingSegmentsMember
1447 Corporate and Other Member msft:CorporateAndReconcilingItemsMember
1448 Statement, Business Segments Dimension base:StatementBusinessSegmentsAxis
1449 Segments [Domain] Member base:SegmentDomain
1450 Productivity and Business Processes Member msft:ProductivityAndBusinessProcessesMember
1451 Intelligent Cloud Member msft:IntelligentCloudMember
1452 More Personal Computing Member msft:MorePersonalComputingMember
1453 Deferred Revenue Arrangement [Line Items] LineItems base:DeferredRevenueArrangementLineItems
1454 Unearned revenue Concept (Monetary) As Of Credit base:DeferredRevenue
1455 101010 - Disclosure - Commitments - Additional Information (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureCommitmentsAdditionalInformationDetail
1456 Commitments And Contingencies Disclosure [Abstract] Abstract base:CommitmentsAndContingenciesDisclosureAbstract
1457 Commitments [Table] Hypercube msft:CommitmentsTable
1458 Legal Entity [Axis] Dimension other:LegalEntityAxis
1459 Entity [Domain] Member other:EntityDomain
1460 Category of Item Purchased [Axis] Dimension base:LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis
1461 Long term Purchase Commitment, Category of Item Purchased [Domain] Member base:LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain
1462 Building, Building Improvements and Leasehold Improvements Member msft:BuildingBuildingImprovementsAndLeaseholdImprovementsMember
1463 Property Subject to or Available for Operating Lease [Axis] Dimension base:PropertySubjectToOrAvailableForOperatingLeaseAxis
1464 Property Subject to or Available for Operating Lease [Domain] Member base:PropertySubjectToOrAvailableForOperatingLeaseDomain
1465 Buildings Member base:BuildingMember
1466 Derivatives, Fair Value, by Balance Sheet Location Dimension base:BalanceSheetLocationAxis
1467 Balance Sheet Location [Domain] Member base:BalanceSheetLocationDomain
1468 Other Current Liabilities Member base:OtherCurrentLiabilitiesMember
1469 Other Long-term Liabilities Member base:OtherNoncurrentLiabilitiesMember
1470 Unrecorded Unconditional Purchase Obligation by Category of Item Purchased Dimension base:UnrecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis
1471 Unconditional Purchase Obligation, Category of Goods or Services Acquired Member base:UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain
1472 Capital Leases Member msft:CapitalLeaseMember
1473 Commitments [Line Items] LineItems msft:CommitmentsLineItems
1474 Committed for construction of new buildings, building improvements and leasehold improvements Concept (Monetary) As Of Credit base:CommitmentsFairValueDisclosure
1475 Rental expense for facilities operating leases Concept (Monetary) For Period Debit base:LeaseAndRentalExpense
1476 Current capital lease obligations Concept (Monetary) As Of Credit base:CapitalLeaseObligationsCurrent
1477 Long-term capital lease obligations Concept (Monetary) As Of Credit base:CapitalLeaseObligationsNoncurrent
1478 Additional purchase obligations for capital leases executed but not yet recorded Concept (Monetary) As Of Credit base:UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount
1479 101020 - Disclosure - Future Minimum Rental Commitments Under Non-cancellable Operating Leases (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureFutureMinimumRentalCommitmentsUnderNonCancellableOperatingLeasesDetail
1480 Commitments And Contingencies Disclosure [Abstract] Abstract base:CommitmentsAndContingenciesDisclosureAbstract
1481 Schedule of Operating Leased Assets [Table] Hypercube base:ScheduleOfOperatingLeasedAssetsTable
1482 Legal Entity [Axis] Dimension other:LegalEntityAxis
1483 Entity [Domain] Member other:EntityDomain
1484 Property, Plant and Equipment, Type [Axis] Dimension base:PropertyPlantAndEquipmentByTypeAxis
1485 Property, Plant and Equipment, Type [Domain] Member base:PropertyPlantAndEquipmentTypeDomain
1486 Buildings Member base:BuildingMember
1487 Operating Leased Assets [Line Items] LineItems base:OperatingLeasedAssetsLineItems
1488 Year Ending June 30, 2018 Concept (Monetary) As Of Credit base:OperatingLeasesFutureMinimumPaymentsDueCurrent
1489 Year Ending June 30, 2019 Concept (Monetary) As Of Credit base:OperatingLeasesFutureMinimumPaymentsDueInTwoYears
1490 Year Ending June 30, 2020 Concept (Monetary) As Of Credit base:OperatingLeasesFutureMinimumPaymentsDueInThreeYears
1491 Year Ending June 30, 2021 Concept (Monetary) As Of Credit base:OperatingLeasesFutureMinimumPaymentsDueInFourYears
1492 Year Ending June 30, 2022 Concept (Monetary) As Of Credit base:OperatingLeasesFutureMinimumPaymentsDueInFiveYears
1493 Thereafter Concept (Monetary) As Of Credit base:OperatingLeasesFutureMinimumPaymentsDueThereafter
1494 Total Concept (Monetary) As Of Credit base:OperatingLeasesFutureMinimumPaymentsDue
1495 101030 - Disclosure - Future Minimum Lease Payments under Non-cancellable Capital Leases (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureFutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesDetail
1496 Commitments And Contingencies Disclosure [Abstract] Abstract base:CommitmentsAndContingenciesDisclosureAbstract
1497 Future Minimum Lease Payments Under Non Cancellable Capital Leases [Table] Hypercube msft:FutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesTable
1498 Legal Entity [Axis] Dimension other:LegalEntityAxis
1499 Entity [Domain] Member other:EntityDomain
1500 Future Minimum Lease Payments Under Non Cancellable Capital Leases [Line Items] LineItems msft:FutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesLineItems
1501 Capital Leases, Future Minimum Payments Due, Fiscal Year Maturity [Abstract] Abstract base:CapitalLeasesFutureMinimumPaymentsDueAbstract
1502 Year Ending June 30, 2018 Concept (Monetary) As Of Credit base:CapitalLeasesFutureMinimumPaymentsDueCurrent
1503 Year Ending June 30, 2019 Concept (Monetary) As Of Credit base:CapitalLeasesFutureMinimumPaymentsDueInTwoYears
1504 Year Ending June 30, 2020 Concept (Monetary) As Of Credit base:CapitalLeasesFutureMinimumPaymentsDueInThreeYears
1505 Year Ending June 30, 2021 Concept (Monetary) As Of Credit base:CapitalLeasesFutureMinimumPaymentsDueInFourYears
1506 Year Ending June 30, 2022 Concept (Monetary) As Of Credit base:CapitalLeasesFutureMinimumPaymentsDueInFiveYears
1507 Thereafter Concept (Monetary) As Of Credit base:CapitalLeasesFutureMinimumPaymentsDueThereafter
1508 Total Concept (Monetary) As Of Credit base:CapitalLeasesFutureMinimumPaymentsDue
1509 101040 - Disclosure - Future Minimum Lease Payments under Non-cancellable Capital Leases (Parenthetical) (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureFutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesParentheticalDetail
1510 Commitments And Contingencies Disclosure [Abstract] Abstract base:CommitmentsAndContingenciesDisclosureAbstract
1511 Future Minimum Lease Payments Under Non Cancellable Capital Leases [Table] Hypercube msft:FutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesTable
1512 Legal Entity [Axis] Dimension other:LegalEntityAxis
1513 Entity [Domain] Member other:EntityDomain
1514 Future Minimum Lease Payments Under Non Cancellable Capital Leases [Line Items] LineItems msft:FutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesLineItems
1515 Capital Leases, Future Minimum Payments Due, Fiscal Year Maturity [Abstract] Abstract base:CapitalLeasesFutureMinimumPaymentsDueAbstract
1516 Capital leases includes imputed interest Concept (Monetary) As Of Debit base:CapitalLeasesFutureMinimumPaymentsInterestIncludedInPayments
1517 101050 - Disclosure - Contingencies - Additional Information (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureContingenciesAdditionalInformationDetail
1518 Commitments And Contingencies Disclosure [Abstract] Abstract base:CommitmentsAndContingenciesDisclosureAbstract
1519 Loss Contingencies [Table] Hypercube base:LossContingenciesTable
1520 Legal Entity [Axis] Dimension other:LegalEntityAxis
1521 Entity [Domain] Member other:EntityDomain
1522 Loss Contingencies [Line Items] LineItems base:LossContingenciesLineItems
1523 Accrual for disclosed loss contingencies, current, ending balance Concept (Monetary) As Of Credit base:LossContingencyAccrualCarryingValueCurrent
1524 Amount not accrued for estimated maximum losses for disclosed loss contingencies Concept (Monetary) As Of Debit base:LossContingencyRangeOfPossibleLossPortionNotAccrued
1525 101060 - Disclosure - Shares of Common Stock Outstanding (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureSharesOfCommonStockOutstandingDetail
1526 Equity [Abstract] Abstract base:EquityAbstract
1527 Schedule of Capital Units [Table] Hypercube base:ScheduleOfCapitalUnitsTable
1528 Legal Entity [Axis] Dimension other:LegalEntityAxis
1529 Entity [Domain] Member other:EntityDomain
1530 Capital Unit [Line Items] LineItems base:CapitalUnitLineItems
1531 Balance, beginning of year Concept (Shares) As Of base:CommonStockSharesOutstanding
1532 Issued Concept (Shares) For Period base:StockIssuedDuringPeriodSharesNewIssues
1533 Repurchased Concept (Shares) For Period base:StockRepurchasedDuringPeriodShares
1534 Balance, end of year Concept (Shares) As Of base:CommonStockSharesOutstanding
1535 101070 - Disclosure - Stockholders' Equity - Additional Information (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureStockholdersEquityAdditionalInformationDetail
1536 Statement Of Stockholders Equity [Abstract] Abstract base:StatementOfStockholdersEquityAbstract
1537 Share Repurchases [Table] Hypercube msft:ShareRepurchasesTable
1538 Legal Entity [Axis] Dimension other:LegalEntityAxis
1539 Entity [Domain] Member other:EntityDomain
1540 Share Repurchase Program Dimension base:ShareRepurchaseProgramAxis
1541 Share Repurchase Program Member base:ShareRepurchaseProgramDomain
1542 Share Repurchase Program 2013 Member msft:ShareRepurchaseProgramTwentyThirteenMember
1543 Share Repurchase Program 2016 Member msft:ShareRepurchaseProgramTwentySixteenMember
1544 Share Repurchases [Line Items] LineItems msft:ShareRepurchasesLineItems
1545 Amount available for repurchase under the share repurchase program approved by the company"s Board of Directors Concept (Monetary) As Of Credit base:StockRepurchaseProgramAuthorizedAmount1
1546 Unused amount of share repurchase program Concept (Monetary) As Of Credit base:StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1
1547 101080 - Disclosure - Share Repurchases (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureShareRepurchasesDetail
1548 Equity [Abstract] Abstract base:EquityAbstract
1549 Share Repurchases [Table] Hypercube msft:ShareRepurchasesTable
1550 Legal Entity [Axis] Dimension other:LegalEntityAxis
1551 Entity [Domain] Member other:EntityDomain
1552 Share Repurchase Program Dimension base:ShareRepurchaseProgramAxis
1553 Share Repurchase Program Member base:ShareRepurchaseProgramDomain
1554 Share Repurchase Program 2013 Member msft:ShareRepurchaseProgramTwentyThirteenMember
1555 Share Repurchase Program 2016 Member msft:ShareRepurchaseProgramTwentySixteenMember
1556 Share Repurchases [Line Items] LineItems msft:ShareRepurchasesLineItems
1557 Shares of common stock repurchased Concept (Shares) For Period base:StockRepurchasedDuringPeriodShares
1558 Value of common stock repurchased Concept (Monetary) For Period Debit base:StockRepurchasedDuringPeriodValue
1559 101090 - Disclosure - Dividends Declared (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureDividendsDeclaredDetail
1560 Equity [Abstract] Abstract base:EquityAbstract
1561 Dividends [Table] Hypercube msft:DividendsTable
1562 Legal Entity [Axis] Dimension other:LegalEntityAxis
1563 Entity [Domain] Member other:EntityDomain
1564 Dividends [Line Items] LineItems msft:DividendsLineItems
1565 Declaration Date Concept (Date) For Period base:DividendsPayableDateDeclaredDayMonthAndYear
1566 Dividend Per Share Concept (Share) For Period base:CommonStockDividendsPerShareDeclared
1567 Record Date Concept (Date) For Period base:DividendsPayableDateOfRecordDayMonthAndYear
1568 Total Amount Concept (Monetary) For Period Debit base:DividendsCommonStockCash
1569 Payment Date Concept (Date) For Period base:DividendPayableDateToBePaidDayMonthAndYear
1570 101100 - Disclosure - Summary of Changes in Accumulated Other Comprehensive Income by Component (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureSummaryOfChangesInAccumulatedOtherComprehensiveIncomeByComponentDetail
1571 Statement Of Income And Comprehensive Income [Abstract] Abstract base:StatementOfIncomeAndComprehensiveIncomeAbstract
1572 Accumulated Other Comprehensive Income (Loss) [Table] Hypercube base:AccumulatedOtherComprehensiveIncomeLossTable
1573 Legal Entity [Axis] Dimension other:LegalEntityAxis
1574 Entity [Domain] Member other:EntityDomain
1575 Equity Components [Axis] Dimension base:StatementEquityComponentsAxis
1576 Equity Component [Domain] Member base:EquityComponentDomain
1577 Derivatives Member base:AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember
1578 Investments Member base:AccumulatedNetUnrealizedInvestmentGainLossMember
1579 Translation adjustments and other Member msft:AccumulatedTranslationAdjustmentAndOtherMember
1580 Accumulated other comprehensive income Member base:AccumulatedOtherComprehensiveIncomeMember
1581 Income Statement Location [Axis] Dimension base:IncomeStatementLocationAxis
1582 Income Statement Location [Domain] Member base:IncomeStatementLocationDomain
1583 Revenue Member base:SalesMember
1584 Other income (expense), net Member base:NonoperatingIncomeExpenseMember
1585 Accumulated Other Comprehensive Income (Loss) [Line Items] LineItems base:AccumulatedOtherComprehensiveIncomeLossLineItems
1586 Balance, beginning of period Concept (Monetary) As Of Credit base:StockholdersEquity
1587 Unrealized gains, net of tax effects Concept (Monetary) For Period Credit base:OciBeforeReclassificationsNetOfTaxAttributableToParent
1588 Reclassification adjustments for gains Concept (Monetary) For Period Debit base:ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent
1589 Tax expense included in provision for income taxes Concept (Monetary) For Period Credit base:ReclassificationFromAociCurrentPeriodTax
1590 Amounts reclassified from accumulated other comprehensive income Concept (Monetary) For Period Debit base:ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent
1591 Net current period other comprehensive income (loss) Concept (Monetary) For Period Credit base:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent
1592 Balance, end of period Concept (Monetary) As Of Credit base:StockholdersEquity
1593 101110 - Disclosure - Summary of Changes in Accumulated Other Comprehensive Income by Component (Parenthetical) (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureSummaryOfChangesInAccumulatedOtherComprehensiveIncomeByComponentParentheticalDetail
1594 Statement Of Income And Comprehensive Income [Abstract] Abstract base:StatementOfIncomeAndComprehensiveIncomeAbstract
1595 Accumulated Other Comprehensive Income (Loss) [Table] Hypercube base:AccumulatedOtherComprehensiveIncomeLossTable
1596 Legal Entity [Axis] Dimension other:LegalEntityAxis
1597 Entity [Domain] Member other:EntityDomain
1598 Equity Components [Axis] Dimension base:StatementEquityComponentsAxis
1599 Equity Component [Domain] Member base:EquityComponentDomain
1600 Derivatives Member base:AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember
1601 Investments Member base:AccumulatedNetUnrealizedInvestmentGainLossMember
1602 Translation adjustments and other Member msft:AccumulatedTranslationAdjustmentAndOtherMember
1603 Accumulated Other Comprehensive Income (Loss) [Line Items] LineItems base:AccumulatedOtherComprehensiveIncomeLossLineItems
1604 Unrealized gains (losses), tax effects Concept (Monetary) For Period Debit base:OtherComprehensiveIncomeLossBeforeReclassificationsTax
1605 Net current period other comprehensive income (loss), tax effects Concept (Monetary) For Period Debit base:OtherComprehensiveIncomeLossTaxPortionAttributableToParent1
1606 101120 - Disclosure - Employee Stock and Savings Plans - Additional Information (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureEmployeeStockAndSavingsPlansAdditionalInformationDetail
1607 Disclosure Of Compensation Related Costs Sharebased Payments [Abstract] Abstract base:DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract
1608 Compensation Related Costs Disclosure [Table] Hypercube msft:CompensationRelatedCostsDisclosureTable
1609 Legal Entity [Axis] Dimension other:LegalEntityAxis
1610 Entity [Domain] Member other:EntityDomain
1611 Award Type [Axis] Dimension base:AwardTypeAxis
1612 Equity Award [Domain] Member base:ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain
1613 Stock Awards Member base:RestrictedStockMember
1614 Restricted Stock Units Member base:RestrictedStockUnitsRSUMember
1615 Performance Stock Units Member base:PerformanceSharesMember
1616 Employee Stock Member base:EmployeeStockMember
1617 Range Dimension base:RangeAxis
1618 Range [Domain] Member base:RangeMember
1619 Lower Limit Member base:MinimumMember
1620 Upper Limit Member base:MaximumMember
1621 Plan Name [Axis] Dimension base:PlanNameAxis
1622 Plan Name [Domain] Member base:PlanNameDomain
1623 Executive Incentive Plan Member msft:ExecutiveIncentivePlanMember
1624 Other Postretirement Benefits, Individual Contracts, Type of Deferred Compensation [Axis] Dimension base:DeferredCompensationArrangementWithIndividualPostretirementBenefitsByTypeOfDeferredCompensationAxis
1625 Other Postretirement Benefits, Individual Contracts, Type of Deferred Compensation [Domain] Member base:OtherPostretirementBenefitsIndividualContractsTypeOfDeferredCompensationDomain
1626 First 6% of Participant Contributions Member msft:FirstSixPercentOfParticipantContributionsMember
1627 IRS Compensation Limit Member msft:IRSCompensationLimitMember
1628 Compensation Related Costs Disclosure [Line Items] LineItems msft:CompensationRelatedCostsDisclosureLineItems
1629 Shares authorized for future grant Concept (Shares) As Of base:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant
1630 Award vest period Concept (xbrli:durationItemType) For Period base:ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1
1631 Unrecognized compensation costs Concept (Monetary) As Of Debit base:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized
1632 Unrecognized compensation costs are expected to be recognized over a weighted average period (years) Concept (xbrli:durationItemType) For Period base:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1
1633 Weighted average grant-date fair value Concept (Share) For Period base:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue
1634 Fair value of awards vested Concept (Monetary) For Period Debit base:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue
1635 Percentage of market value at which employees are able to purchase shares of common stock Concept (Percent) For Period base:SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent
1636 Maximum percentage of gross compensation at which employees may purchase shares Concept (Percent) As Of base:ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate
1637 Company contribution amount for each dollar a participant contributes to the savings plan Concept (Percent) For Period base:DefinedContributionPlanEmployerMatchingContributionPercentOfMatch
1638 Percentage of employee"s earnings the company may contribute to the savings plan Concept (Percent) For Period base:DefinedContributionPlanEmployerMatchingContributionPercent
1639 Matching contributions for all employee savings plans Concept (Monetary) For Period Debit base:DefinedContributionPlanCostRecognized
1640 101130 - Disclosure - Stock-Based Compensation Expense and Related Income Tax Benefits (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureStockBasedCompensationExpenseAndRelatedIncomeTaxBenefitsDetail
1641 Disclosure Of Compensation Related Costs Sharebased Payments [Abstract] Abstract base:DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract
1642 Schedule of Employee Service Share based Compensation, Allocation of Recognized Period Costs [Table] Hypercube base:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable
1643 Legal Entity [Axis] Dimension other:LegalEntityAxis
1644 Entity [Domain] Member other:EntityDomain
1645 Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items] LineItems base:EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems
1646 Stock-based compensation expense Concept (Monetary) For Period Debit base:AllocatedShareBasedCompensationExpense
1647 Income tax benefits related to stock-based compensation Concept (Monetary) For Period Credit base:EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense
1648 101140 - Disclosure - Assumptions Used in Estimating the Fair Value of Stock Award Grants (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureAssumptionsUsedInEstimatingFairValueOfStockAwardGrantsDetail
1649 Disclosure Of Compensation Related Costs Sharebased Payments [Abstract] Abstract base:DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract
1650 Share based Compensation Arrangement by Share based Payment Award, Fair Value Assumptions, Method Used [Table] Hypercube msft:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsedTable
1651 Legal Entity [Axis] Dimension other:LegalEntityAxis
1652 Entity [Domain] Member other:EntityDomain
1653 Range Dimension base:RangeAxis
1654 Range [Domain] Member base:RangeMember
1655 Lower Limit Member base:MinimumMember
1656 Upper Limit Member base:MaximumMember
1657 Share based Compensation Arrangement by Share based Payment Award, Fair Value Assumptions, Method Used [Line Items] LineItems msft:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsedLineItems
1658 Dividends per share (quarterly amounts) Concept (Share) For Period msft:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendsPerShare
1659 Interest rates minimum Concept (Percent) For Period base:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum
1660 Interest rates maximum Concept (Percent) For Period base:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum
1661 101150 - Disclosure - Stock Plan Activity (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureStockPlanActivityDetail
1662 Disclosure Of Compensation Related Costs Sharebased Payments [Abstract] Abstract base:DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract
1663 Schedule of Share based Compensation Arrangements by Share based Payment Award [Table] Hypercube base:ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable
1664 Legal Entity [Axis] Dimension other:LegalEntityAxis
1665 Entity [Domain] Member other:EntityDomain
1666 Award Type [Axis] Dimension base:AwardTypeAxis
1667 Equity Award [Domain] Member base:ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain
1668 Stock Awards Member base:RestrictedStockMember
1669 Share based Compensation Arrangement by Share based Payment Award [Line Items] LineItems base:ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems
1670 Shares Abstract base:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward
1671 Nonvested balance, beginning of year Concept (Shares) As Of base:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber
1672 Granted Concept (Shares) For Period base:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
1673 Assumed in acquisitions Concept (Shares) For Period msft:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAssumedAcquisitionInPeriod
1674 Vested Concept (Shares) For Period base:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod
1675 Forfeited Concept (Shares) For Period base:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod
1676 Nonvested balance, end of year Concept (Shares) As Of base:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber
1677 Weighted Average Grant-Date Fair Value Abstract base:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward
1678 Nonvested balance, beginning of year Concept (Share) As Of base:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue
1679 Granted Concept (Share) For Period base:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue
1680 Assumed in acquisitions Concept (Share) For Period msft:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAssumedInAcquisitionsWeightedAverageGrantDateFairValue
1681 Vested Concept (Share) For Period base:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue
1682 Forfeited Concept (Share) For Period base:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue
1683 Nonvested balance, end of year Concept (Share) As Of base:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue
1684 101160 - Disclosure - Stock Plan Activity (Parenthetical) (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureStockPlanActivityParentheticalDetail
1685 Disclosure Of Compensation Related Costs Sharebased Payments [Abstract] Abstract base:DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract
1686 Schedule of Share based Compensation Arrangements by Share based Payment Award [Table] Hypercube base:ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable
1687 Legal Entity [Axis] Dimension other:LegalEntityAxis
1688 Entity [Domain] Member other:EntityDomain
1689 Award Type [Axis] Dimension base:AwardTypeAxis
1690 Equity Award [Domain] Member base:ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain
1691 Performance Stock Units Member base:PerformanceSharesMember
1692 Share based Compensation Arrangement by Share based Payment Award [Line Items] LineItems base:ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems
1693 Nonvested stock awards granted Concept (Shares) For Period base:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
1694 101170 - Disclosure - Employee Purchased Shares (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureEmployeePurchasedSharesDetail
1695 Disclosure Of Compensation Related Costs Sharebased Payments [Abstract] Abstract base:DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract
1696 Employee Stock Purchase Plan [Table] Hypercube msft:EmployeeStockPurchasePlanTable
1697 Legal Entity [Axis] Dimension other:LegalEntityAxis
1698 Entity [Domain] Member other:EntityDomain
1699 Employee Stock Purchase Plan [Line Items] LineItems msft:EmployeeStockPurchasePlanLineItems
1700 Shares purchased Concept (Shares) For Period base:StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans
1701 Average price per share Concept (Share) For Period msft:StockIssuedEmployeeStockPurchasePlanAveragePricePerShare
1702 101180 - Disclosure - Segment Revenue (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureSegmentRevenueDetail
1703 Segment Reporting [Abstract] Abstract base:SegmentReportingAbstract
1704 Schedule of Segment Reporting Information, by Segment [Table] Hypercube base:ScheduleOfSegmentReportingInformationBySegmentTable
1705 Legal Entity [Axis] Dimension other:LegalEntityAxis
1706 Entity [Domain] Member other:EntityDomain
1707 Segment Reporting Reconciling Item Dimension base:ConsolidationItemsAxis
1708 Consolidation Items [Domain] Member base:ConsolidationItemsDomain
1709 Reportable Segments Member base:OperatingSegmentsMember
1710 Corporate and Other Member msft:CorporateAndReconcilingItemsMember
1711 Statement, Business Segments Dimension base:StatementBusinessSegmentsAxis
1712 Segments [Domain] Member base:SegmentDomain
1713 Productivity and Business Processes Member msft:ProductivityAndBusinessProcessesMember
1714 Intelligent Cloud Member msft:IntelligentCloudMember
1715 More Personal Computing Member msft:MorePersonalComputingMember
1716 Segment Reporting Information [Line Items] LineItems base:SegmentReportingInformationLineItems
1717 Revenue Concept (Monetary) For Period Credit base:SalesRevenueNet
1718 101190 - Disclosure - Operating Income (Loss) by Segment (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureOperatingIncomeLossBySegmentDetail
1719 Segment Reporting [Abstract] Abstract base:SegmentReportingAbstract
1720 Schedule of Segment Reporting Information, by Segment [Table] Hypercube base:ScheduleOfSegmentReportingInformationBySegmentTable
1721 Legal Entity [Axis] Dimension other:LegalEntityAxis
1722 Entity [Domain] Member other:EntityDomain
1723 Segment Reporting Reconciling Item Dimension base:ConsolidationItemsAxis
1724 Consolidation Items [Domain] Member base:ConsolidationItemsDomain
1725 Reportable Segments Member base:OperatingSegmentsMember
1726 Corporate and Other Member msft:CorporateAndReconcilingItemsMember
1727 Statement, Business Segments Dimension base:StatementBusinessSegmentsAxis
1728 Segments [Domain] Member base:SegmentDomain
1729 Productivity and Business Processes Member msft:ProductivityAndBusinessProcessesMember
1730 Intelligent Cloud Member msft:IntelligentCloudMember
1731 More Personal Computing Member msft:MorePersonalComputingMember
1732 Segment Reporting Information [Line Items] LineItems base:SegmentReportingInformationLineItems
1733 Operating income (loss) Concept (Monetary) For Period Credit base:OperatingIncomeLoss
1734 101200 - Disclosure - Corporate and Other Operating Income (Loss) Activity (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureCorporateAndOtherOperatingIncomeLossActivityDetail
1735 Segment Reporting [Abstract] Abstract base:SegmentReportingAbstract
1736 Reconciliation of Operating Profit (Loss) from Segments to Consolidated [Table] Hypercube base:ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTable
1737 Legal Entity [Axis] Dimension other:LegalEntityAxis
1738 Entity [Domain] Member other:EntityDomain
1739 Segment Reporting Reconciling Item Dimension base:ConsolidationItemsAxis
1740 Consolidation Items [Domain] Member base:ConsolidationItemsDomain
1741 Corporate and Other Member msft:CorporateAndReconcilingItemsMember
1742 Income Statement Location [Axis] Dimension base:IncomeStatementLocationAxis
1743 Income Statement Location [Domain] Member base:IncomeStatementLocationDomain
1744 Impairment, integration, and restructuring expenses Member msft:ImpairmentIntegrationAndRestructuringExpensesMember
1745 Deferred Revenue Arrangement Type Dimension base:DeferredRevenueArrangementTypeAxis
1746 Deferred Revenue [Domain] Member base:DeferredRevenueArrangementTypeDomain
1747 Net revenue deferral from Windows 10 Member msft:WindowsTenDeferralMember
1748 Segment Reporting, Reconciling Item for Operating Profit (Loss) from Segment to Consolidated [Line Items] LineItems base:SegmentReportingReconcilingItemForOperatingProfitLossFromSegmentToConsolidatedLineItems
1749 Operating income (loss) Concept (Monetary) For Period Credit base:OperatingIncomeLoss
1750 101210 - Disclosure - Segment Information and Geographic Data - Additional Information (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureSegmentInformationAndGeographicDataAdditionalInformationDetail
1751 Segment Reporting [Abstract] Abstract base:SegmentReportingAbstract
1752 Schedule of Segment Reporting Information, by Segment [Table] Hypercube base:ScheduleOfSegmentReportingInformationBySegmentTable
1753 Legal Entity [Axis] Dimension other:LegalEntityAxis
1754 Entity [Domain] Member other:EntityDomain
1755 Segment Reporting Information [Line Items] LineItems base:SegmentReportingInformationLineItems
1756 Sales to an individual customer Concept (Text/String) For Period base:SegmentReportingDisclosureOfMajorCustomers
1757 101220 - Disclosure - Revenue Classified by Major Geographic Areas (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureRevenueClassifiedByMajorGeographicAreasDetail
1758 Segment Reporting [Abstract] Abstract base:SegmentReportingAbstract
1759 Geographic Information [Table] Hypercube msft:GeographicInformationTable
1760 Legal Entity [Axis] Dimension other:LegalEntityAxis
1761 Entity [Domain] Member other:EntityDomain
1762 Statement, Geographical Dimension base:StatementGeographicalAxis
1763 Geographical [Domain] Member base:SegmentGeographicalDomain
1764 United States Member country:US
1765 Other Countries Member base:NonUsMember
1766 Geographic Information [Line Items] LineItems msft:GeographicInformationLineItems
1767 Revenues Concept (Monetary) For Period Credit base:SalesRevenueNet
1768 101230 - Disclosure - Revenue Classified by Significant Product and Service Offerings (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureRevenueClassifiedBySignificantProductAndServiceOfferingsDetail
1769 Segment Reporting [Abstract] Abstract base:SegmentReportingAbstract
1770 Revenue from External Customers by Products and Services [Table] Hypercube base:ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable
1771 Legal Entity [Axis] Dimension other:LegalEntityAxis
1772 Entity [Domain] Member other:EntityDomain
1773 Products and Services Dimension base:ProductOrServiceAxis
1774 Products and Services [Domain] Member base:ProductsAndServicesDomain
1775 Microsoft Office system Member msft:MicrosoftOfficeSystemMember
1776 Server products and tools Member msft:ServerProductsAndToolsMember
1777 Xbox Member msft:XboxMember
1778 Windows PC operating system Member msft:WindowsOperatingSystemsForComputingDevicesMember
1779 Advertising Member msft:AdvertisingMember
1780 Consulting and product support services Member msft:ConsultingAndProductSupportServicesMember
1781 Devices Member msft:DevicesMember
1782 LinkedIn Member msft:LinkedInCorporationMember
1783 Other products and services Member msft:OtherProductsAndServicesMember
1784 Revenue from External Customer [Line Items] LineItems base:EntityWideInformationRevenueFromExternalCustomerLineItems
1785 Revenue Concept (Monetary) For Period Credit base:SalesRevenueNet
1786 101240 - Disclosure - Revenue Classified by Significant Product and Service Offerings (Parenthetical) (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureRevenueClassifiedBySignificantProductAndServiceOfferingsParentheticalDetail
1787 Segment Reporting [Abstract] Abstract base:SegmentReportingAbstract
1788 Revenue from External Customers by Products and Services [Table] Hypercube base:ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable
1789 Legal Entity [Axis] Dimension other:LegalEntityAxis
1790 Entity [Domain] Member other:EntityDomain
1791 Products or Services Secondary Categorization [Axis] Dimension msft:ProductsOrServicesSecondaryCategorizationAxis
1792 Products or Services Name Secondary Categorization [Domain] Member msft:ProductsOrServicesNameSecondaryCategorizationDomain
1793 Commercial Cloud Member msft:CommercialCloudMember
1794 Revenue from External Customer [Line Items] LineItems base:EntityWideInformationRevenueFromExternalCustomerLineItems
1795 Revenue Concept (Monetary) For Period Credit base:SalesRevenueNet
1796 101250 - Disclosure - Long-Lived Assets, Excluding Financial Instruments and Tax Assets, Classified by Location of Controlling Statutory Company (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureLongLivedAssetsExcludingFinancialInstrumentsAndTaxAssetsClassifiedByLocationOfControllingStatutoryCompanyDetail
1797 Segment Reporting [Abstract] Abstract base:SegmentReportingAbstract
1798 Certain Long Lived Assets by Geography [Table] Hypercube msft:CertainLongLivedAssetsByGeographyTable
1799 Legal Entity [Axis] Dimension other:LegalEntityAxis
1800 Entity [Domain] Member other:EntityDomain
1801 Statement, Geographical Dimension base:StatementGeographicalAxis
1802 Geographical [Domain] Member base:SegmentGeographicalDomain
1803 United States Member country:US
1804 Ireland Member country:IE
1805 Luxembourg Member country:LU
1806 Other Countries Member msft:OtherCountriesMember
1807 Certain Long-Lived Assets by Geography [Line Items] LineItems msft:CertainLongLivedAssetsByGeographyLineItems
1808 Long-lived assets Concept (Monetary) As Of Debit base:NoncurrentAssets
1809 101260 - Disclosure - Quarterly Information (Unaudited) (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureQuarterlyInformationUnauditedDetail
1810 Quarterly Financial Information Disclosure [Abstract] Abstract base:QuarterlyFinancialInformationDisclosureAbstract
1811 Quarterly Financial Information [Table] Hypercube msft:QuarterlyFinancialInformationTable
1812 Legal Entity [Axis] Dimension other:LegalEntityAxis
1813 Entity [Domain] Member other:EntityDomain
1814 Quarterly Financial Information [Line Items] LineItems msft:QuarterlyFinancialInformationLineItems
1815 Revenue Concept (Monetary) For Period Credit base:SalesRevenueNet
1816 Gross margin Concept (Monetary) For Period Credit base:GrossProfit
1817 Operating income Concept (Monetary) For Period Credit base:OperatingIncomeLoss
1818 Net income Concept (Monetary) For Period Credit base:NetIncomeLoss
1819 Basic earnings per share Concept (Share) For Period base:EarningsPerShareBasic
1820 Diluted earnings per share Concept (Share) For Period base:EarningsPerShareDiluted
1821 101270 - Disclosure - Quarterly Information (Unaudited) (Parenthetical) (Detail) Network

*

*

http://www.xbrlsite.com/msft/role/DisclosureQuarterlyInformationUnauditedParentheticalDetail
1822 Quarterly Financial Information Disclosure [Abstract] Abstract base:QuarterlyFinancialInformationDisclosureAbstract
1823 Quarterly Financial Information [Table] Hypercube msft:QuarterlyFinancialInformationTable
1824 Legal Entity [Axis] Dimension other:LegalEntityAxis
1825 Entity [Domain] Member other:EntityDomain
1826 Deferred Revenue Arrangement Type Dimension base:DeferredRevenueArrangementTypeAxis
1827 Deferred Revenue [Domain] Member base:DeferredRevenueArrangementTypeDomain
1828 Windows 10 Licenses Member msft:WindowsTenDeferralMember
1829 Restructuring Plan [Axis] Dimension base:RestructuringPlanAxis
1830 Restructuring Plan [Domain] Member base:RestructuringPlanDomain
1831 Sales and Marketing Restructuring Plan Member msft:SalesAndMarketingRestructuringPlanMember
1832 2016 Restructuring Plans Member msft:TwentySixteenRestructuringPlanMember
1833 Restructuring Type [Axis] Dimension base:RestructuringCostAndReserveAxis
1834 Type of Restructuring [Domain] Member base:TypeOfRestructuringDomain
1835 Severance Member base:EmployeeSeveranceMember
1836 Statement, Business Segments Dimension base:StatementBusinessSegmentsAxis
1837 Segments [Domain] Member base:SegmentDomain
1838 Phone Business Member msft:PhoneBusinessMember
1839 Quarterly Financial Information [Line Items] LineItems msft:QuarterlyFinancialInformationLineItems
1840 Revenue Concept (Monetary) For Period Credit base:SalesRevenueNet
1841 Restructuring charges Concept (Monetary) For Period Debit base:RestructuringCharges
1842 Decrease in operating income due to impairment, integration and restructuring Concept (Monetary) For Period Credit msft:ImpairmentIntegrationAndRestructuringEffectOnOperatingIncomeLossAfterTax
1843 Decrease in net income due to impairment, integration and restructuring Concept (Monetary) For Period Credit msft:ImpairmentIntegrationAndRestructuringEffectOnEarningsAfterTax
1844 Decrease in diluted earnings per share due to impairment, integration and restructuring Concept (Share) For Period msft:ImpairmentIntegrationAndRestructuringEffectOnEarningsPerShareAfterTax
1845 Asset impairment charges Concept (Monetary) For Period Debit base:AssetImpairmentCharges