2.2.0.7 true Employee Stock and Savings Plans - Additional Information (Detail) (USD $) 1108 - Disclosure - Employee Stock and Savings Plans - Additional Information (Detail) true false In Millions, except Per Share data false false 1 USD false false pure Standard http://www.xbrl.org/2003/instance pure 0 iso4217_USD_per_shares Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares 0 iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 shares Standard http://www.xbrl.org/2003/instance shares 0 $ false 2 USD false false iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 shares Standard http://www.xbrl.org/2003/instance shares 0 iso4217_USD_per_shares Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares 0 pure Standard http://www.xbrl.org/2003/instance pure 0 $ false 3 USD false false iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 shares Standard http://www.xbrl.org/2003/instance shares 0 iso4217_USD_per_shares Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares 0 pure Standard http://www.xbrl.org/2003/instance pure 0 $ false 4 USD false false shares Standard http://www.xbrl.org/2003/instance shares 0 iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 iso4217_USD_per_shares Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares 0 pure Standard http://www.xbrl.org/2003/instance pure 0 $ 2 2 msft_ShareBasedCompensationArrangementByShareBasedPaymentAwardMarketPriceLessDiscount msft false na duration The percentage of market value at which employees are able to purchase shares of common stock. false false false false false false false false false false false terselabel false 1 false true false false 0.90 0.90 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false 4 false false false false 0 0 false false false us-types:percentItemType pure The percentage of market value at which employees are able to purchase shares of common stock. No authoritative reference available. false 3 2 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false true false false 0.15 0.15 false false false 2 false true false false 0.15 0.15 false false false 3 false false false false 0 0 false false false 4 false false false false 0 0 false false false us-types:percentItemType pure An entity may opt to disclose the highest percentage of annual salary that an employee is permitted to utilize with respect to the plan. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph 65 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 false 4 2 msft_ShareBasedCompensationArrangementByEmployeeStockPurchasePlanNumberOfSharesAuthorized msft false na instant The maximum number of shares originally approved, net of any subsequent amendments and adjustments, for employee purchases... false false false false false false false false false false false false 1 false true false false 64000000 64 false false false 2 false true false false 64000000 64 false false false 3 false false false false 0 0 false false false 4 false false false false 0 0 false false false xbrli:sharesItemType shares The maximum number of shares originally approved, net of any subsequent amendments and adjustments, for employee purchases under the employee stock purchase plan. No authoritative reference available. false 5 2 us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfExercisableOptions us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false true false false 690000000 690 false false false 2 false true false false 690000000 690 false false false 3 false false false false 0 0 false false false 4 false false false false 0 0 false false false xbrli:sharesItemType shares The number of shares reserved for issuance pertaining to the outstanding exercisable stock options as of the balance-sheet date in the customized range of exercise prices for which the market and performance vesting condition has been satisfied. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph b(1)(c) false 13 2 msft_ConversionOfAquiredBusinessesStockOptions msft false na duration Number of stock options obtained through acquisitions of businesses. false false false false false false false false false false false false 1 false false false false 0 0 false false false 2 false true false false 1000000 1 false false false 3 false true false false 1000000 1 false false false 4 false true false false 10000000 10 false false false xbrli:sharesItemType shares Number of stock options obtained through acquisitions of businesses. No authoritative reference available. false 17 2 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice us-gaap true na instant No definition available. false false false false false false false false false false false true 1 true true false false 24.68 24.68 false false false 2 true true false false 24.68 24.68 false false false 3 true true false false 27.99 27.99 false false false 4 false false false false 0 0 false false false us-types:perShareItemType decimal The weighted average price as of the beginning of the year at which grantees can acquire the shares reserved for issuance under the stock option plan. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph b(1)(a) false 18 2 us-gaap_ProceedsFromStockOptionsExercised us-gaap true debit duration No definition available. false false false false false false false false false false false false 1 false false false false 0 0 false false false 2 true true false false 1800000000 1800 false false false 3 true true false false 88000000 88 false false false 4 true true false false 3000000000 3000 false false false xbrli:monetaryItemType monetary The cash inflow associated with the amount received from holders exercising their stock options. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 18 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph i Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 19 -Subparagraph a false 19 2 us-gaap_TaxBenefitFromStockOptionsExercised us-gaap true debit duration No definition available. false false false false false false false false false false false false 1 false false false false 0 0 false false false 2 false true false false 126000000 126 false false false 3 false true false false 12000000 12 false false false 4 false true false false 365000000 365 false false false xbrli:monetaryItemType monetary Reductions in the entity's income taxes that arise when compensation cost (from non-qualified stock options) recognized on the entity's tax return exceeds compensation cost from non-qualified stock options recognized on the income statement. This element increases net cash provided by operating activities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A132 false 20 2 us-gaap_DefinedContributionPlanCostRecognized us-gaap true debit duration No definition available. false false false false false false false false false false false false 1 false false false false 0 0 false false false 2 false true false false 275000000 275 false false false 3 false true false false 262000000 262 false false false 4 false true false false 238000000 238 false false false xbrli:monetaryItemType monetary The amount of the cost recognized during the period for defined contribution plans. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 132R -Paragraph 11 false 23 0 na true na na No definition available. false true false false false false false false false false false http://www.microsoft.com/taxonomy/role/disclosureemployeestockandsavingsplansadditionalinformation false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false 4 false false false false 0 0 false false false false 5 USD true false false false Stock Awards us-gaap_StatementClassOfStockAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_RestrictedStockMember us-gaap_StatementClassOfStockAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 shares Standard http://www.xbrl.org/2003/instance shares 0 iso4217_USD_per_shares Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares 0 iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 28 2 msft_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestTerm msft false na duration The period over which the award generally vests. false false false false false false false false false false false false 1 false false false false 0 0 false false false 2 false true false false 5 5 false false false 3 false false false false 0 0 false false false 4 false false false false 0 0 false false false xbrli:decimalItemType decimal The period over which the award generally vests. No authoritative reference available. false 33 2 us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false false false false 0 0 false false false 2 false true false false 4200000000 4200 false false false 3 false false false false 0 0 false false false 4 false false false false 0 0 false false false xbrli:monetaryItemType monetary As of the balance-sheet date, the aggregate unrecognized cost of share-based awards made to employees under share-based compensation plans that have yet to vest. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph h false 34 2 us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition us-gaap true na duration No definition available. false false false false false false false false false false false false 1 false false false false 0 0 false false false 2 false true false false 3.4 3.4 false false false 3 false false false false 0 0 false false false 4 false false false false 0 0 false false false xbrli:decimalItemType decimal The weighted average period over which unrecognized compensation is expected to be recognized for share-based compensation plans, using a decimal to express in number of years. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph h false 45 0 na true na na No definition available. false true false false false false false false false false false http://www.microsoft.com/taxonomy/role/disclosureemployeestockandsavingsplansadditionalinformation false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false 4 false false false false 0 0 false false false false 6 USD true false false false Shared Performance Stock Awards us-gaap_StatementClassOfStockAxis xbrldi http://xbrl.org/2006/xbrldi msft_SharedPerformanceStockAwardsMember us-gaap_StatementClassOfStockAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 shares Standard http://www.xbrl.org/2003/instance shares 0 iso4217_USD_per_shares Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares 0 iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ false 7 USD true false false false Shared Performance Stock Awards us-gaap_StatementClassOfStockAxis xbrldi http://xbrl.org/2006/xbrldi msft_SharedPerformanceStockAwardsMember us-gaap_StatementClassOfStockAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 shares Standard http://www.xbrl.org/2003/instance shares 0 iso4217_USD_per_shares Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares 0 iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ false 8 USD true false false false Shared Performance Stock Awards us-gaap_StatementClassOfStockAxis xbrldi http://xbrl.org/2006/xbrldi msft_SharedPerformanceStockAwardsMember us-gaap_StatementClassOfStockAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 shares Standard http://www.xbrl.org/2003/instance shares 0 iso4217_USD_per_shares Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares 0 iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 53 2 msft_AdditionalSharePool msft false na duration An additional percentage of the target award pool that may be granted based on individual performance. false false false false false false false false false false false false 1 false false false false 0 0 false false false 2 false true false false 0.12 0.12 false false false 3 false true false false 0.12 0.12 false false false 4 false true false false 0.12 0.12 false false false us-types:percentItemType pure An additional percentage of the target award pool that may be granted based on individual performance. No authoritative reference available. false 55 2 us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false false false false 0 0 false false false 2 true true false false 482000000 482 false false false 3 false false false false 0 0 false false false 4 false false false false 0 0 false false false xbrli:monetaryItemType monetary As of the balance-sheet date, the aggregate unrecognized cost of share-based awards made to employees under share-based compensation plans that have yet to vest. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph h false 56 2 us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition us-gaap true na duration No definition available. false false false false false false false false false false false false 1 false false false false 0 0 false false false 2 false true false false 2.4 2.4 false false false 3 false false false false 0 0 false false false 4 false false false false 0 0 false false false xbrli:decimalItemType decimal The weighted average period over which unrecognized compensation is expected to be recognized for share-based compensation plans, using a decimal to express in number of years. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph h false 67 0 na true na na No definition available. false true false false false false false false false false false http://www.microsoft.com/taxonomy/role/disclosureemployeestockandsavingsplansadditionalinformation false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false 4 false false false false 0 0 false false false false 9 true false false false Shared Performance Stock Awards us-gaap_StatementClassOfStockAxis xbrldi http://xbrl.org/2006/xbrldi msft_SharedPerformanceStockAwardsMember us-gaap_StatementClassOfStockAxis explicitMember false false Lower Limit msft_RangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_LowerLimitMember msft_RangeAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 false 10 true false false false Shared Performance Stock Awards us-gaap_StatementClassOfStockAxis xbrldi http://xbrl.org/2006/xbrldi msft_SharedPerformanceStockAwardsMember us-gaap_StatementClassOfStockAxis explicitMember false false Lower Limit msft_RangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_LowerLimitMember msft_RangeAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 false 11 true false false false Shared Performance Stock Awards us-gaap_StatementClassOfStockAxis xbrldi http://xbrl.org/2006/xbrldi msft_SharedPerformanceStockAwardsMember us-gaap_StatementClassOfStockAxis explicitMember false false Lower Limit msft_RangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_LowerLimitMember msft_RangeAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 na No definition available. No authoritative reference available. false 74 2 msft_ShareBasedCompensationArrangementByShareBasedPaymentAwardTargetAward msft false na duration The percentage of the target award pool that is granted based on performance. false false false false false false false false false false false false 1 false false false false 0 0 false false false 2 false true false false 0 0 false false false 3 false true false false 0 0 false false false 4 false true false false 0 0 false false false us-types:percentItemType pure The percentage of the target award pool that is granted based on performance. No authoritative reference available. false 89 0 na true na na No definition available. false true false false false false false false false false false http://www.microsoft.com/taxonomy/role/disclosureemployeestockandsavingsplansadditionalinformation false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false 4 false false false false 0 0 false false false false 12 true false false false Shared Performance Stock Awards us-gaap_StatementClassOfStockAxis xbrldi http://xbrl.org/2006/xbrldi msft_SharedPerformanceStockAwardsMember us-gaap_StatementClassOfStockAxis explicitMember false false Upper Limit msft_RangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_UpperLimitMember msft_RangeAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 false 13 true false false false Shared Performance Stock Awards us-gaap_StatementClassOfStockAxis xbrldi http://xbrl.org/2006/xbrldi msft_SharedPerformanceStockAwardsMember us-gaap_StatementClassOfStockAxis explicitMember false false Upper Limit msft_RangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_UpperLimitMember msft_RangeAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 false 14 true false false false Shared Performance Stock Awards us-gaap_StatementClassOfStockAxis xbrldi http://xbrl.org/2006/xbrldi msft_SharedPerformanceStockAwardsMember us-gaap_StatementClassOfStockAxis explicitMember false false Upper Limit msft_RangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_UpperLimitMember msft_RangeAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 na No definition available. No authoritative reference available. false 96 2 msft_ShareBasedCompensationArrangementByShareBasedPaymentAwardTargetAward msft false na duration The percentage of the target award pool that is granted based on performance. false false false false false false false false false false false false 1 false false false false 0 0 false false false 2 false true false false 1.50 1.50 false false false 3 false true false false 1.50 1.50 false false false 4 false true false false 1.50 1.50 false false false us-types:percentItemType pure The percentage of the target award pool that is granted based on performance. No authoritative reference available. false 111 0 na true na na No definition available. false true false false false false false false false false false http://www.microsoft.com/taxonomy/role/disclosureemployeestockandsavingsplansadditionalinformation false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false 4 false false false false 0 0 false false false false 15 USD true false false false Acquisition us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionBySupplierAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_AcquisitionMember us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionBySupplierAxis explicitMember iso4217_USD_per_shares Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares 0 shares Standard http://www.xbrl.org/2003/instance shares 0 $ na No definition available. No authoritative reference available. false 124 2 msft_EndingAcquiredEnterprisesStockOptions msft false na instant Ending number of stock options of acquired enterprises. false false false false false false false false false false false false 1 false false false false 0 0 false false false 2 false true false false 3000000 3 false false false 3 false false false false 0 0 false false false 4 false false false false 0 0 false false false xbrli:sharesItemType shares Ending number of stock options of acquired enterprises. No authoritative reference available. false 125 2 us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit us-gaap true na duration No definition available. false false false false false false false false false false false true 1 false false false false 0 0 false false false 2 true true false false 0.01 0.01 false false false 3 false false false false 0 0 false false false 4 false false false false 0 0 false false false us-types:perShareItemType decimal The floor of a customized range of exercise prices for purposes of disclosing shares potentially issuable under outstanding stock option awards on all stock option plans and other required information pertaining to awards in the customized range. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph 64 false 126 2 us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit us-gaap true na duration No definition available. false false false false false false false false false false false true 1 false false false false 0 0 false false false 2 true true false false 150.93 150.93 false false false 3 false false false false 0 0 false false false 4 false false false false 0 0 false false false us-types:perShareItemType decimal The ceiling of a customized range of exercise prices for purposes of disclosing shares potentially issuable under outstanding stock option awards on all stock option plans and other required information pertaining to awards in the customized range. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph 64 false 127 2 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice us-gaap true na instant No definition available. false false false false false false false false false false false true 1 false false false false 0 0 false false false 2 true true false false 7.49 7.49 false false false 3 false false false false 0 0 false false false 4 false false false false 0 0 false false false us-types:perShareItemType decimal The weighted average price as of the beginning of the year at which grantees can acquire the shares reserved for issuance under the stock option plan. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph b(1)(a) false 133 0 na true na na No definition available. false true false false false false false false false false false http://www.microsoft.com/taxonomy/role/disclosureemployeestockandsavingsplansadditionalinformation false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false 4 false false false false 0 0 false false false false 16 true false false false Lower Limit msft_RangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_LowerLimitMember msft_RangeAxis explicitMember false false Executive Officer Incentive Plan us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_ExecutiveOfficerIncentivePlanMember us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 false 17 true false false false Lower Limit msft_RangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_LowerLimitMember msft_RangeAxis explicitMember false false Executive Officer Incentive Plan us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_ExecutiveOfficerIncentivePlanMember us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 na No definition available. No authoritative reference available. false 140 2 msft_ShareBasedCompensationArrangementByShareBasedPaymentAwardTargetAward msft false na duration The percentage of the target award pool that is granted based on performance. false false false false false false false false false false false false 1 false false false false 0 0 false false false 2 false true false false 0 0 false false false 3 false true false false 0 0 false false false 4 false false false false 0 0 false false false us-types:percentItemType pure The percentage of the target award pool that is granted based on performance. No authoritative reference available. false 155 0 na true na na No definition available. false true false false false false false false false false false http://www.microsoft.com/taxonomy/role/disclosureemployeestockandsavingsplansadditionalinformation false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false 4 false false false false 0 0 false false false false 18 true false false false Lower Limit msft_RangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_LowerLimitMember msft_RangeAxis explicitMember false false Stock Options Granted After 2001 us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_StockOptionsGrantedAfter2001Member us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis explicitMember false false Certain Other Options us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis xbrldi http://xbrl.org/2006/xbrldi msft_CertainOptionsOtherMember us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 false 19 true false false false Lower Limit msft_RangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_LowerLimitMember msft_RangeAxis explicitMember false false Stock Options Granted After 2001 us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_StockOptionsGrantedAfter2001Member us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis explicitMember false false Certain Other Options us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis xbrldi http://xbrl.org/2006/xbrldi msft_CertainOptionsOtherMember us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 false 20 true false false false Lower Limit msft_RangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_LowerLimitMember msft_RangeAxis explicitMember false false Stock Options Granted After 2001 us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_StockOptionsGrantedAfter2001Member us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis explicitMember false false Certain Other Options us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis xbrldi http://xbrl.org/2006/xbrldi msft_CertainOptionsOtherMember us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 na No definition available. No authoritative reference available. false 160 2 msft_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestTerm msft false na duration The period over which the award generally vests. false false false false false false false false false false false false 1 false false false false 0 0 false false false 2 false true false false 4.5 4.5 false false false 3 false true false false 4.5 4.5 false false false 4 false true false false 4.5 4.5 false false false xbrli:decimalItemType decimal The period over which the award generally vests. No authoritative reference available. false 177 0 na true na na No definition available. false true false false false false false false false false false http://www.microsoft.com/taxonomy/role/disclosureemployeestockandsavingsplansadditionalinformation false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false 4 false false false false 0 0 false false false false 21 true false false false Upper Limit msft_RangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_UpperLimitMember msft_RangeAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 false 22 true false false false Upper Limit msft_RangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_UpperLimitMember msft_RangeAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 false 23 true false false false Upper Limit msft_RangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_UpperLimitMember msft_RangeAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 na No definition available. No authoritative reference available. false 197 2 msft_CashArrangementEmployeeSubscriptionRate msft false na duration The maximum percentage of an employee's salary that they may contribute to the savings plan. false false false false false false false false false false false false 1 false false false false 0 0 false false false 2 false true false false 0.50 0.50 false false false 3 false true false false 0.50 0.50 false false false 4 false true false false 0.50 0.50 false false false us-types:percentItemType pure The maximum percentage of an employee's salary that they may contribute to the savings plan. No authoritative reference available. false 198 2 msft_DefinedContributionPlanContributionRate msft false na duration The maximum percentage of an employee's earnings that the company may contribute to the savings plan. false false false false false false false false false false false false 1 false false false false 0 0 false false false 2 false true false false 0.03 0.03 false false false 3 false true false false 0.03 0.03 false false false 4 false true false false 0.03 0.03 false false false us-types:percentItemType pure The maximum percentage of an employee's earnings that the company may contribute to the savings plan. No authoritative reference available. false 199 0 na true na na No definition available. false true false false false false false false false false false http://www.microsoft.com/taxonomy/role/disclosureemployeestockandsavingsplansadditionalinformation false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false 4 false false false false 0 0 false false false false 24 true false false false Upper Limit msft_RangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_UpperLimitMember msft_RangeAxis explicitMember false false Executive Officer Incentive Plan us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_ExecutiveOfficerIncentivePlanMember us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 false 25 true false false false Upper Limit msft_RangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_UpperLimitMember msft_RangeAxis explicitMember false false Executive Officer Incentive Plan us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_ExecutiveOfficerIncentivePlanMember us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 na No definition available. No authoritative reference available. false 206 2 msft_ShareBasedCompensationArrangementByShareBasedPaymentAwardTargetAward msft false na duration The percentage of the target award pool that is granted based on performance. false false false false false false false false false false false false 1 false false false false 0 0 false false false 2 false true false false 1.50 1.50 false false false 3 false true false false 1.50 1.50 false false false 4 false false false false 0 0 false false false us-types:percentItemType pure The percentage of the target award pool that is granted based on performance. No authoritative reference available. false 221 0 na true na na No definition available. false true false false false false false false false false false http://www.microsoft.com/taxonomy/role/disclosureemployeestockandsavingsplansadditionalinformation false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false 4 false false false false 0 0 false false false false 26 true false false false Upper Limit msft_RangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_UpperLimitMember msft_RangeAxis explicitMember false false Stock Options Granted After 2001 us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_StockOptionsGrantedAfter2001Member us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis explicitMember false false Certain Other Options us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis xbrldi http://xbrl.org/2006/xbrldi msft_CertainOptionsOtherMember us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 false 27 true false false false Upper Limit msft_RangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_UpperLimitMember msft_RangeAxis explicitMember false false Stock Options Granted After 2001 us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_StockOptionsGrantedAfter2001Member us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis explicitMember false false Certain Other Options us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis xbrldi http://xbrl.org/2006/xbrldi msft_CertainOptionsOtherMember us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 false 28 true false false false Upper Limit msft_RangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_UpperLimitMember msft_RangeAxis explicitMember false false Stock Options Granted After 2001 us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_StockOptionsGrantedAfter2001Member us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis explicitMember false false Certain Other Options us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis xbrldi http://xbrl.org/2006/xbrldi msft_CertainOptionsOtherMember us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 na No definition available. No authoritative reference available. false 226 2 msft_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestTerm msft false na duration The period over which the award generally vests. false false false false false false false false false false false false 1 false false false false 0 0 false false false 2 false true false false 7.5 7.5 false false false 3 false true false false 7.5 7.5 false false false 4 false true false false 7.5 7.5 false false false xbrli:decimalItemType decimal The period over which the award generally vests. No authoritative reference available. false 243 0 na true na na No definition available. false true false false false false false false false false false http://www.microsoft.com/taxonomy/role/disclosureemployeestockandsavingsplansadditionalinformation false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false 4 false false false false 0 0 false false false false 29 true false false false Executive Officer Incentive Plan us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_ExecutiveOfficerIncentivePlanMember us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 false 30 true false false false Executive Officer Incentive Plan us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_ExecutiveOfficerIncentivePlanMember us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 na No definition available. No authoritative reference available. false 252 2 msft_OperatingIncomePercentAvailableForAward msft false na duration The percentage of operating income available as a pool to be granted to employees through the Executive Officer Incentive... false false false false false false false false false false false false 1 false false false false 0 0 false false false 2 false true false false 0.0045 0.0045 false false false 3 false true false false 0.0035 0.0035 false false false 4 false false false false 0 0 false false false us-types:percentItemType pure The percentage of operating income available as a pool to be granted to employees through the Executive Officer Incentive Plan. No authoritative reference available. false 265 0 na true na na No definition available. false true false false false false false false false false false http://www.microsoft.com/taxonomy/role/disclosureemployeestockandsavingsplansadditionalinformation false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false 4 false false false false 0 0 false false false false 31 true false false false Executive Officer Incentive Plan us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_ExecutiveOfficerIncentivePlanMember us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis explicitMember false false Cash us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsByReportLineAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_CashMember us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsByReportLineAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 false 32 true false false false Executive Officer Incentive Plan us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_ExecutiveOfficerIncentivePlanMember us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis explicitMember false false Cash us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsByReportLineAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_CashMember us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsByReportLineAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 na No definition available. No authoritative reference available. false 274 2 msft_OperatingIncomePercentAvailableForAward msft false na duration The percentage of operating income available as a pool to be granted to employees through the Executive Officer Incentive... false false false false false false false false false false false false 1 false false false false 0 0 false false false 2 false true false false 0.20 0.20 false false false 3 false true false false 0.20 0.20 false false false 4 false false false false 0 0 false false false us-types:percentItemType pure The percentage of operating income available as a pool to be granted to employees through the Executive Officer Incentive Plan. No authoritative reference available. false 287 0 na true na na No definition available. false true false false false false false false false false false http://www.microsoft.com/taxonomy/role/disclosureemployeestockandsavingsplansadditionalinformation false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false 4 false false false false 0 0 false false false false 33 true false false false Executive Officer Incentive Plan us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_ExecutiveOfficerIncentivePlanMember us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis explicitMember false false Stock Awards us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsByReportLineAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_RestrictedStockMember us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsByReportLineAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 false 34 true false false false Executive Officer Incentive Plan us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_ExecutiveOfficerIncentivePlanMember us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis explicitMember false false Stock Awards us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsByReportLineAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_RestrictedStockMember us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsByReportLineAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 na No definition available. No authoritative reference available. false 296 2 msft_OperatingIncomePercentAvailableForAward msft false na duration The percentage of operating income available as a pool to be granted to employees through the Executive Officer Incentive... false false false false false false false false false false false false 1 false false false false 0 0 false false false 2 false true false false 0.80 0.80 false false false 3 false true false false 0.80 0.80 false false false 4 false false false false 0 0 false false false us-types:percentItemType pure The percentage of operating income available as a pool to be granted to employees through the Executive Officer Incentive Plan. No authoritative reference available. false 309 0 na true na na No definition available. false true false false false false false false false false false http://www.microsoft.com/taxonomy/role/disclosureemployeestockandsavingsplansadditionalinformation false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false 4 false false false false 0 0 false false false false 35 true false false false Stock Options Granted Between 1995 and 2001 us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_StockOptionsGrantedBetween1995And2001Member us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis explicitMember false false Certain Options us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis xbrldi http://xbrl.org/2006/xbrldi msft_CertainOptionsMember us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 false 36 true false false false Stock Options Granted Between 1995 and 2001 us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_StockOptionsGrantedBetween1995And2001Member us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis explicitMember false false Certain Options us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis xbrldi http://xbrl.org/2006/xbrldi msft_CertainOptionsMember us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 false 37 true false false false Stock Options Granted Between 1995 and 2001 us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_StockOptionsGrantedBetween1995And2001Member us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis explicitMember false false Certain Options us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis xbrldi http://xbrl.org/2006/xbrldi msft_CertainOptionsMember us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 na No definition available. No authoritative reference available. false 314 2 msft_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestTerm msft false na duration The period over which the award generally vests. false false false false false false false false false false false false 1 false false false false 0 0 false false false 2 false true false false 4.5 4.5 false false false 3 false true false false 4.5 4.5 false false false 4 false true false false 4.5 4.5 false false false xbrli:decimalItemType decimal The period over which the award generally vests. No authoritative reference available. false 315 2 msft_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationTerm msft false na duration The term of the award from grant date to expiration. false false false false false false false false false false false false 1 false false false false 0 0 false false false 2 false true false false 7 7 false false false 3 false true false false 7 7 false false false 4 false true false false 7 7 false false false xbrli:decimalItemType decimal The term of the award from grant date to expiration. No authoritative reference available. false 331 0 na true na na No definition available. false true false false false false false false false false false http://www.microsoft.com/taxonomy/role/disclosureemployeestockandsavingsplansadditionalinformation false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 false false false 4 false false false false 0 0 false false false false 38 true false false false Stock Options Granted After 2001 us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_StockOptionsGrantedAfter2001Member us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis explicitMember false false Certain Other Options us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis xbrldi http://xbrl.org/2006/xbrldi msft_CertainOptionsOtherMember us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 false 39 true false false false Stock Options Granted After 2001 us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_StockOptionsGrantedAfter2001Member us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis explicitMember false false Certain Other Options us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis xbrldi http://xbrl.org/2006/xbrldi msft_CertainOptionsOtherMember us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 false 40 true false false false Stock Options Granted After 2001 us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis xbrldi http://xbrl.org/2006/xbrldi msft_StockOptionsGrantedAfter2001Member us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis explicitMember false false Certain Other Options us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis xbrldi http://xbrl.org/2006/xbrldi msft_CertainOptionsOtherMember us-gaap_EmployeeStockOwnershipPlanESOPDisclosuresByPlanAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 na No definition available. No authoritative reference available. false 337 2 msft_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationTerm msft false na duration The term of the award from grant date to expiration. false false false false false false false false false false false false 1 false false false false 0 0 false false false 2 false true false false 10 10 false false false 3 false true false false 10 10 false false false 4 false true false false 10 10 false false false xbrli:decimalItemType decimal The term of the award from grant date to expiration. No authoritative reference available. false 4 48 false Millions Millions NoRounding false true