2.2.0.7trueDerivatives - Additional Information (Detail) (USD $)1063 - Disclosure - Derivatives - Additional Information (Detail)truefalsefalsefalse1USDfalsefalseiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170sharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0pureStandardhttp://www.xbrl.org/2003/instancepure0$false2USDtruefalsefalsefalseDerivatives Soldus-gaap_DerivativeByNatureAxisxbrldihttp://xbrl.org/2006/xbrldimsft_DerivativesSoldMemberus-gaap_DerivativeByNatureAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false3USDtruefalsefalsefalseDerivatives Soldus-gaap_DerivativeByNatureAxisxbrldihttp://xbrl.org/2006/xbrldimsft_DerivativesSoldMemberus-gaap_DerivativeByNatureAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false4USDtruefalsefalsefalseDerivatives Soldus-gaap_DerivativeByNatureAxisxbrldihttp://xbrl.org/2006/xbrldimsft_DerivativesSoldMemberus-gaap_DerivativeByNatureAxisexplicitMemberfalsefalseEquity Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EquityContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false5USDtruefalsefalsefalseDerivatives Purchasedus-gaap_DerivativeByNatureAxisxbrldihttp://xbrl.org/2006/xbrldimsft_DerivativesPurchasedMemberus-gaap_DerivativeByNatureAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false6USDtruefalsefalsefalseDerivatives Purchasedus-gaap_DerivativeByNatureAxisxbrldihttp://xbrl.org/2006/xbrldimsft_DerivativesPurchasedMemberus-gaap_DerivativeByNatureAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false7USDtruefalsefalsefalseDerivatives Purchasedus-gaap_DerivativeByNatureAxisxbrldihttp://xbrl.org/2006/xbrldimsft_DerivativesPurchasedMemberus-gaap_DerivativeByNatureAxisexplicitMemberfalsefalseEquity Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EquityContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$53us-gaap_NotionalAmountOfForeignCurrencyCashFlowHedgeDerivativesus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse00falsefalsefalse2truetruefalsefalse93000000009300000000truefalsefalse3truetruefalsefalse72000000007200000000truefalsefalse4falsefalsefalsefalse00truefalsefalse5falsefalsefalsefalse00truefalsefalse6falsefalsefalsefalse00truefalsefalse7falsefalsefalsefalse00truefalsefalsexbrli:monetaryItemTypemonetaryAggregate notional amount of all foreign currency derivatives designated as hedging instruments in cash flow hedges. Notional amount refers to the number of currency units specified in the foreign currency derivative contract.No authoritative reference available.false63us-gaap_NotionalAmountOfForeignCurrencyFairValueHedgeDerivativesus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse00falsefalsefalse2falsetruefalsefalse523000000523000000truefalsefalse3falsetruefalsefalse35000000003500000000truefalsefalse4falsefalsefalsefalse00truefalsefalse5falsefalsefalsefalse00truefalsefalse6falsefalsefalsefalse00truefalsefalse7falsefalsefalsefalse00truefalsefalsexbrli:monetaryItemTypemonetaryAggregate notional amount of all foreign currency derivatives designated as hedging instruments in fair value hedges. Notional amount refers to the number of currency units specified in the foreign currency derivative contract.No authoritative reference available.false73us-gaap_NotionalAmountOfForeignCurrencyDerivativeInstrumentsNotDesignatedAsHedgingInstrumentsus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse00falsefalsefalse2falsetruefalsefalse53000000005300000000truefalsefalse3falsetruefalsefalse36000000003600000000truefalsefalse4falsefalsefalsefalse00truefalsefalse5falsetruefalsefalse78000000007800000000truefalsefalse6falsetruefalsefalse32000000003200000000truefalsefalse7falsefalsefalsefalse00truefalsefalsexbrli:monetaryItemTypemonetaryAggregate notional amount of all foreign currency derivatives not designated as hedging instruments. Notional amount refers to the number of currency units specified in the foreign currency derivative contract.No authoritative reference available.false83us-gaap_NotionalAmountOfDerivativesus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00truefalsefalse3falsefalsefalsefalse00truefalsefalse4falsetruefalsefalse472000000472000000truefalsefalse5falsefalsefalsefalse00truefalsefalse6falsefalsefalsefalse00truefalsefalse7falsetruefalsefalse918000000918000000truefalsefalsexbrli:monetaryItemTypemonetaryAggregate notional amount of all derivatives. The notional amount relates to a number of currency units, shares, bushels, pounds, or other units specified in a derivative instrument.No authoritative reference available.false93us-gaap_NotionalAmountOfInterestRateDerivativeInstrumentsNotDesignatedAsHedgingInstrumentsus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse00falsefalsefalse2falsetruefalsefalse18000000001800000000truefalsefalse3falsetruefalsefalse456000000456000000truefalsefalse4falsefalsefalsefalse00truefalsefalse5falsetruefalsefalse31000000003100000000truefalsefalse6falsetruefalsefalse27000000002700000000truefalsefalse7falsefalsefalsefalse00truefalsefalsexbrli:monetaryItemTypemonetaryAggregate notional amount of all interest rate derivatives not designated as hedging instruments. Notional amount refers to the monetary amount specified in the interest rate derivative contract.No authoritative reference available.false103us-gaap_NotionalAmountOfOtherDerivativesNotDesignatedAsHedgingInstrumentsus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00truefalsefalse3falsefalsefalsefalse00truefalsefalse4falsefalsefalsefalse00truefalsefalse5falsetruefalsefalse00truefalsefalse6falsetruefalsefalse13000000001300000000truefalsefalse7falsefalsefalsefalse00truefalsefalsexbrli:monetaryItemTypemonetaryAggregate notional amount of all derivatives not designated as a hedging instrument. The notional amount relates to a number of currency units, shares, bushels, pounds, or other units specified in a derivative instrument.No authoritative reference available.false113us-gaap_NotionalAmountOfPriceRiskDerivativesus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse00falsefalsefalse2falsetruefalsefalse376000000376000000truefalsefalse3falsetruefalsefalse3300000033000000truefalsefalse4falsefalsefalsefalse00truefalsefalse5falsetruefalsefalse11000000001100000000truefalsefalse6falsetruefalsefalse543000000543000000truefalsefalse7falsefalsefalsefalse00truefalsefalsexbrli:monetaryItemTypemonetaryAggregate notional amount of price risk derivatives, which relates to the monetary amount specified in the price risk derivative instruments. Excludes notional amounts on derivatives expressed in nonmonetary units.No authoritative reference available.false123msft_OtherFinancialInstrumentCovenantDescriptionmsftfalsenadurationDescription of minimum financial levels (for example, tangible net worth and working capital) and achievement of certain...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse00Certain of our counterparty agreements for derivative instruments contain provisions that require our issued and outstanding long-term unsecured debt to maintain an investment grade credit rating and require us to maintain a minimum liquidity of $1.0 billion.Certain of our counterparty agreements for derivative instruments contain provisions that require our issued and outstanding long-term unsecured debt tofalsefalsefalse2falsefalsefalsefalse00truefalsefalse3falsefalsefalsefalse00truefalsefalse4falsefalsefalsefalse00truefalsefalse5falsefalsefalsefalse00truefalsefalse6falsefalsefalsefalse00truefalsefalse7falsefalsefalsefalse00truefalsefalsexbrli:stringItemTypestringDescription of minimum financial levels (for example, tangible net worth and working capital) and achievement of certain financial ratios (for example, working capital ratio and debt service coverage ratio), and adherence to certain clauses which generally require or restrict certain actions to be in compliance with the covenant clauses of the financial instrument agreement. May also include a discussion of the adverse consequences that would result if the entity violates or fails to satisfy the covenants.No authoritative reference available.false133us-gaap_DebtInstrumentCreditRatingus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse00AAAAAAfalsefalsefalse2falsefalsefalsefalse00truefalsefalse3falsefalsefalsefalse00truefalsefalse4falsefalsefalsefalse00truefalsefalse5falsefalsefalsefalse00truefalsefalse6falsefalsefalsefalse00truefalsefalse7falsefalsefalsefalse00truefalsefalsexbrli:stringItemTypestringDescription of the credit rating indicative of likelihood of repayment of the debt instrument given by a credit rating agency (for example, Standard and Poor's, Moody's, Fitch).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 22
-Article 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 129
-Paragraph 2, 4
false143us-gaap_ForeignCurrencyCashFlowHedgeGainLossToBeReclassifiedDuringNext12Monthsus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1truetruefalsefalse496000000496000000falsefalsefalse2falsefalsefalsefalse00truefalsefalse3falsefalsefalsefalse00truefalsefalse4falsefalsefalsefalse00truefalsefalse5falsefalsefalsefalse00truefalsefalse6falsefalsefalsefalse00truefalsefalse7falsefalsefalsefalse00truefalsefalsexbrli:monetaryItemTypemonetaryThe estimated net amount of unrealized gains (losses) on foreign currency cash flow hedges at the reporting date expected to be reclassified to earnings within the next 12 months.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 45
-Subparagraph b(2)
false710falseNoRoundingUnKnownUnKnownfalsetrue