2.2.0.7trueFair Values of Derivative Instruments (Detail) (USD $)1064 - Disclosure - Fair Values of Derivative Instruments (Detail)truefalseIn Millionsfalsefalse1USDfalsefalseiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170pureStandardhttp://www.xbrl.org/2003/instancepure0sharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0$false2USDfalsefalseiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170sharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0$22us-gaap_DerivativeAssetFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false32us-gaap_DerivativeAssetNotDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1truetruefalsefalse210000000210falsefalsefalse2truetruefalsefalse202000000202falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false42us-gaap_DerivativeAssetDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse566000000566falsefalsefalse2falsetruefalsefalse431000000431falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false52us-gaap_DerivativeFairValueOfDerivativeAssetus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse776000000776falsefalsefalse2falsetruefalsefalse633000000633falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of derivative asset, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
true62us-gaap_DerivativeLiabilityFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false92us-gaap_DerivativeFairValueOfDerivativeLiabilityus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse-165000000-165falsefalsefalse2falsetruefalsefalse-349000000-349falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of derivative liability, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
true100natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurefairvaluesofderivativeinstrumentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse3USDtruefalsefalsefalseForeign Exchange Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignExchangeContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false4USDtruefalsefalsefalseForeign Exchange Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignExchangeContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false112us-gaap_DerivativeAssetFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false122us-gaap_DerivativeAssetNotDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse4900000049falsefalsefalse2falsetruefalsefalse5700000057falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false132us-gaap_DerivativeAssetDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse566000000566falsefalsefalse2falsetruefalsefalse429000000429falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false142us-gaap_DerivativeFairValueOfDerivativeAssetus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse615000000615falsefalsefalse2falsetruefalsefalse486000000486falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of derivative asset, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
true152us-gaap_DerivativeLiabilityFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false182us-gaap_DerivativeFairValueOfDerivativeLiabilityus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse-69000000-69falsefalsefalse2falsetruefalsefalse-258000000-258falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of derivative liability, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
true190natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurefairvaluesofderivativeinstrumentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse5USDtruefalsefalsefalseForeign Exchange Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignExchangeContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseShort-term investmentsus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ShortTermInvestmentsMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false6USDtruefalsefalsefalseForeign Exchange Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignExchangeContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseShort-term investmentsus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ShortTermInvestmentsMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false202us-gaap_DerivativeAssetFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false212us-gaap_DerivativeAssetNotDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse1500000015falsefalsefalse2falsetruefalsefalse90000009falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false222us-gaap_DerivativeAssetDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse30000003falsefalsefalse2falsetruefalsefalse1200000012falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false280natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurefairvaluesofderivativeinstrumentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse7USDtruefalsefalsefalseForeign Exchange Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignExchangeContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseOther current assetsus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldimsft_OtherCurrentAssetsMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false8USDtruefalsefalsefalseForeign Exchange Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignExchangeContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseOther current assetsus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldimsft_OtherCurrentAssetsMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false292us-gaap_DerivativeAssetFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false302us-gaap_DerivativeAssetNotDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse3400000034falsefalsefalse2falsetruefalsefalse4800000048falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false312us-gaap_DerivativeAssetDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse563000000563falsefalsefalse2falsetruefalsefalse417000000417falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false370natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurefairvaluesofderivativeinstrumentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse9USDtruefalsefalsefalseForeign Exchange Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignExchangeContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseOther current liabilitiesus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldimsft_OtherCurrentLiabilitiesMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false10USDtruefalsefalsefalseForeign Exchange Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignExchangeContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseOther current liabilitiesus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldimsft_OtherCurrentLiabilitiesMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false422us-gaap_DerivativeLiabilityFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false432us-gaap_DerivativeLiabilityNotDesignatedAsHedgingInstrumentFairValueus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse-60000000-60falsefalsefalse2falsetruefalsefalse-183000000-183falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative liability that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false442us-gaap_DerivativeLiabilityDesignatedAsHedgingInstrumentFairValueus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse-9000000-9falsefalsefalse2falsetruefalsefalse-75000000-75falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative liability (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false460natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurefairvaluesofderivativeinstrumentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse11USDtruefalsefalsefalseForeign Exchange Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignExchangeContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseEquity and other investmentsus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldimsft_LongTermMarketableSecuritiesMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false472us-gaap_DerivativeAssetFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false492us-gaap_DerivativeAssetDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false550natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurefairvaluesofderivativeinstrumentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse12USDtruefalsefalsefalseInterest Rate Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false13USDtruefalsefalsefalseInterest Rate Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false562us-gaap_DerivativeAssetFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false572us-gaap_DerivativeAssetNotDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse1200000012falsefalsefalse2falsetruefalsefalse4400000044falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false582us-gaap_DerivativeAssetDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false592us-gaap_DerivativeFairValueOfDerivativeAssetus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse1200000012falsefalsefalse2falsetruefalsefalse4400000044falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of derivative asset, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
true602us-gaap_DerivativeLiabilityFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false632us-gaap_DerivativeFairValueOfDerivativeLiabilityus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse-33000000-33falsefalsefalse2falsetruefalsefalse-20000000-20falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of derivative liability, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
true640natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurefairvaluesofderivativeinstrumentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse14USDtruefalsefalsefalseInterest Rate Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseShort-term investmentsus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ShortTermInvestmentsMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false15USDtruefalsefalsefalseInterest Rate Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseShort-term investmentsus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ShortTermInvestmentsMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false652us-gaap_DerivativeAssetFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false662us-gaap_DerivativeAssetNotDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse1200000012falsefalsefalse2falsetruefalsefalse4400000044falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false672us-gaap_DerivativeAssetDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false730natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurefairvaluesofderivativeinstrumentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse16USDtruefalsefalsefalseInterest Rate Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseOther current assetsus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldimsft_OtherCurrentAssetsMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false17USDtruefalsefalsefalseInterest Rate Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseOther current assetsus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldimsft_OtherCurrentAssetsMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false742us-gaap_DerivativeAssetFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false752us-gaap_DerivativeAssetNotDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false762us-gaap_DerivativeAssetDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false820natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurefairvaluesofderivativeinstrumentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse18USDtruefalsefalsefalseInterest Rate Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseOther current liabilitiesus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldimsft_OtherCurrentLiabilitiesMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false19USDtruefalsefalsefalseInterest Rate Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseOther current liabilitiesus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldimsft_OtherCurrentLiabilitiesMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false872us-gaap_DerivativeLiabilityFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false882us-gaap_DerivativeLiabilityNotDesignatedAsHedgingInstrumentFairValueus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse-33000000-33falsefalsefalse2falsetruefalsefalse-20000000-20falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative liability that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false892us-gaap_DerivativeLiabilityDesignatedAsHedgingInstrumentFairValueus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative liability (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false910natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurefairvaluesofderivativeinstrumentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse20USDtruefalsefalsefalseInterest Rate Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseEquity and other investmentsus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldimsft_LongTermMarketableSecuritiesMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false922us-gaap_DerivativeAssetFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false942us-gaap_DerivativeAssetDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false1000natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurefairvaluesofderivativeinstrumentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse21USDtruefalsefalsefalseCredit Risk Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CreditRiskContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false22USDtruefalsefalsefalseCredit Risk Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CreditRiskContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false1012us-gaap_DerivativeAssetFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false1022us-gaap_DerivativeAssetNotDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse70000007falsefalsefalse2falsetruefalsefalse2100000021falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false1032us-gaap_DerivativeAssetDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false1042us-gaap_DerivativeFairValueOfDerivativeAssetus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse70000007falsefalsefalse2falsetruefalsefalse2100000021falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of derivative asset, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
true1052us-gaap_DerivativeLiabilityFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false1082us-gaap_DerivativeFairValueOfDerivativeLiabilityus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse-41000000-41falsefalsefalse2falsetruefalsefalse-62000000-62falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of derivative liability, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
true1090natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurefairvaluesofderivativeinstrumentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse23USDtruefalsefalsefalseCredit Risk Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CreditRiskContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseShort-term investmentsus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ShortTermInvestmentsMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false24USDtruefalsefalsefalseCredit Risk Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CreditRiskContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseShort-term investmentsus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ShortTermInvestmentsMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false1102us-gaap_DerivativeAssetFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false1112us-gaap_DerivativeAssetNotDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse70000007falsefalsefalse2falsetruefalsefalse2100000021falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false1122us-gaap_DerivativeAssetDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false1180natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurefairvaluesofderivativeinstrumentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse25USDtruefalsefalsefalseCredit Risk Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CreditRiskContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseOther current assetsus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldimsft_OtherCurrentAssetsMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false26USDtruefalsefalsefalseCredit Risk Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CreditRiskContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseOther current assetsus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldimsft_OtherCurrentAssetsMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false1192us-gaap_DerivativeAssetFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false1202us-gaap_DerivativeAssetNotDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false1212us-gaap_DerivativeAssetDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false1270natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurefairvaluesofderivativeinstrumentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse27USDtruefalsefalsefalseCredit Risk Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CreditRiskContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseOther current liabilitiesus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldimsft_OtherCurrentLiabilitiesMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false28USDtruefalsefalsefalseCredit Risk Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CreditRiskContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseOther current liabilitiesus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldimsft_OtherCurrentLiabilitiesMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false1322us-gaap_DerivativeLiabilityFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false1332us-gaap_DerivativeLiabilityNotDesignatedAsHedgingInstrumentFairValueus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse-41000000-41falsefalsefalse2falsetruefalsefalse-62000000-62falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative liability that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false1342us-gaap_DerivativeLiabilityDesignatedAsHedgingInstrumentFairValueus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative liability (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false1360natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurefairvaluesofderivativeinstrumentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse29USDtruefalsefalsefalseCredit Risk Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CreditRiskContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseEquity and other investmentsus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldimsft_LongTermMarketableSecuritiesMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false1372us-gaap_DerivativeAssetFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false1392us-gaap_DerivativeAssetDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false1450natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurefairvaluesofderivativeinstrumentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse30USDtruefalsefalsefalseCommodity Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommodityContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false31USDtruefalsefalsefalseCommodity Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommodityContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false1462us-gaap_DerivativeAssetFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false1472us-gaap_DerivativeAssetNotDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse80000008falsefalsefalse2falsetruefalsefalse20000002falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false1482us-gaap_DerivativeAssetDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false1492us-gaap_DerivativeFairValueOfDerivativeAssetus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse80000008falsefalsefalse2falsetruefalsefalse20000002falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of derivative asset, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
true1502us-gaap_DerivativeLiabilityFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false1532us-gaap_DerivativeFairValueOfDerivativeLiabilityus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse-5000000-5falsefalsefalse2falsetruefalsefalse-6000000-6falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of derivative liability, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
true1540natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurefairvaluesofderivativeinstrumentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse32USDtruefalsefalsefalseCommodity Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommodityContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseShort-term investmentsus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ShortTermInvestmentsMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false33USDtruefalsefalsefalseCommodity Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommodityContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseShort-term investmentsus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ShortTermInvestmentsMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false1552us-gaap_DerivativeAssetFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false1562us-gaap_DerivativeAssetNotDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse80000008falsefalsefalse2falsetruefalsefalse20000002falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false1572us-gaap_DerivativeAssetDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false1630natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurefairvaluesofderivativeinstrumentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse34USDtruefalsefalsefalseCommodity Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommodityContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseOther current assetsus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldimsft_OtherCurrentAssetsMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false35USDtruefalsefalsefalseCommodity Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommodityContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseOther current assetsus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldimsft_OtherCurrentAssetsMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false1642us-gaap_DerivativeAssetFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false1652us-gaap_DerivativeAssetNotDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false1662us-gaap_DerivativeAssetDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false1720natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurefairvaluesofderivativeinstrumentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse36USDtruefalsefalsefalseCommodity Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommodityContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseOther current liabilitiesus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldimsft_OtherCurrentLiabilitiesMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false37USDtruefalsefalsefalseCommodity Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommodityContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseOther current liabilitiesus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldimsft_OtherCurrentLiabilitiesMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false1772us-gaap_DerivativeLiabilityFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false1782us-gaap_DerivativeLiabilityNotDesignatedAsHedgingInstrumentFairValueus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse-5000000-5falsefalsefalse2falsetruefalsefalse-6000000-6falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative liability that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false1792us-gaap_DerivativeLiabilityDesignatedAsHedgingInstrumentFairValueus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative liability (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false1810natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurefairvaluesofderivativeinstrumentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse38USDtruefalsefalsefalseCommodity Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommodityContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseEquity and other investmentsus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldimsft_LongTermMarketableSecuritiesMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false1822us-gaap_DerivativeAssetFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false1842us-gaap_DerivativeAssetDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false1900natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurefairvaluesofderivativeinstrumentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse39USDtruefalsefalsefalseEquity Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EquityContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false40USDtruefalsefalsefalseEquity Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EquityContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false1912us-gaap_DerivativeAssetFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false1922us-gaap_DerivativeAssetNotDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse134000000134falsefalsefalse2falsetruefalsefalse7800000078falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false1932us-gaap_DerivativeAssetDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse20000002falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false1942us-gaap_DerivativeFairValueOfDerivativeAssetus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse134000000134falsefalsefalse2falsetruefalsefalse8000000080falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of derivative asset, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
true1952us-gaap_DerivativeLiabilityFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false1982us-gaap_DerivativeFairValueOfDerivativeLiabilityus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse-17000000-17falsefalsefalse2falsetruefalsefalse-3000000-3falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of derivative liability, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
true1990natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurefairvaluesofderivativeinstrumentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse41USDtruefalsefalsefalseEquity Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EquityContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseShort-term investmentsus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ShortTermInvestmentsMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false42USDtruefalsefalsefalseEquity Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EquityContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseShort-term investmentsus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ShortTermInvestmentsMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false2002us-gaap_DerivativeAssetFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false2012us-gaap_DerivativeAssetNotDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse134000000134falsefalsefalse2falsetruefalsefalse7800000078falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false2022us-gaap_DerivativeAssetDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false2080natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurefairvaluesofderivativeinstrumentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse43USDtruefalsefalsefalseEquity Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EquityContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseOther current assetsus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldimsft_OtherCurrentAssetsMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false44USDtruefalsefalsefalseEquity Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EquityContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseOther current assetsus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldimsft_OtherCurrentAssetsMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false2092us-gaap_DerivativeAssetFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false2102us-gaap_DerivativeAssetNotDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false2112us-gaap_DerivativeAssetDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false2170natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurefairvaluesofderivativeinstrumentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse45USDtruefalsefalsefalseEquity Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EquityContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseOther current liabilitiesus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldimsft_OtherCurrentLiabilitiesMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false46USDtruefalsefalsefalseEquity Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EquityContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseOther current liabilitiesus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldimsft_OtherCurrentLiabilitiesMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false2222us-gaap_DerivativeLiabilityFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false2232us-gaap_DerivativeLiabilityNotDesignatedAsHedgingInstrumentFairValueus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse-17000000-17falsefalsefalse2falsetruefalsefalse-3000000-3falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative liability that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false2242us-gaap_DerivativeLiabilityDesignatedAsHedgingInstrumentFairValueus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative liability (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false2260natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurefairvaluesofderivativeinstrumentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse47USDtruefalsefalsefalseEquity Contractsmsft_DerivativesByDerivativeInstrumentContractAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EquityContractMembermsft_DerivativesByDerivativeInstrumentContractAxisexplicitMemberfalsefalseEquity and other investmentsus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldimsft_LongTermMarketableSecuritiesMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false2272us-gaap_DerivativeAssetFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false2292us-gaap_DerivativeAssetDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsetruefalsefalse20000002falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false2350natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurefairvaluesofderivativeinstrumentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse48USDtruefalsefalsefalseShort-term investmentsus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ShortTermInvestmentsMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false49USDtruefalsefalsefalseShort-term investmentsus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ShortTermInvestmentsMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false2362us-gaap_DerivativeAssetFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false2372us-gaap_DerivativeAssetNotDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse176000000176falsefalsefalse2falsetruefalsefalse154000000154falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false2382us-gaap_DerivativeAssetDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse30000003falsefalsefalse2falsetruefalsefalse1200000012falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false2440natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurefairvaluesofderivativeinstrumentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse50USDtruefalsefalsefalseOther current assetsus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldimsft_OtherCurrentAssetsMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false51USDtruefalsefalsefalseOther current assetsus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldimsft_OtherCurrentAssetsMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false2452us-gaap_DerivativeAssetFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false2462us-gaap_DerivativeAssetNotDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse3400000034falsefalsefalse2falsetruefalsefalse4800000048falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false2472us-gaap_DerivativeAssetDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse563000000563falsefalsefalse2falsetruefalsefalse417000000417falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false2530natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurefairvaluesofderivativeinstrumentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse52USDtruefalsefalsefalseOther current liabilitiesus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldimsft_OtherCurrentLiabilitiesMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false53USDtruefalsefalsefalseOther current liabilitiesus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldimsft_OtherCurrentLiabilitiesMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false2582us-gaap_DerivativeLiabilityFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false2592us-gaap_DerivativeLiabilityNotDesignatedAsHedgingInstrumentFairValueus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse-156000000-156falsefalsefalse2falsetruefalsefalse-274000000-274falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative liability that is not designated or qualifying as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false2602us-gaap_DerivativeLiabilityDesignatedAsHedgingInstrumentFairValueus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse-9000000-9falsefalsefalse2falsetruefalsefalse-75000000-75falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative liability (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false2620natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosurefairvaluesofderivativeinstrumentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse54USDtruefalsefalsefalseEquity and other investmentsus-gaap_DerivativesFairValueByBalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldimsft_LongTermMarketableSecuritiesMemberus-gaap_DerivativesFairValueByBalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false2632us-gaap_DerivativeAssetFairValueAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false2652us-gaap_DerivativeAssetDesignatedAsHedgingInstrumentFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsefalsefalsefalse00falsefalsefalse2truetruefalsefalse20000002falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of a derivative asset (or nonderivative instrument) that is designated and qualifies as a hedging instrument, presented on a gross basis even when the derivative instrument is subject to master netting arrangements and qualifies for net presentation in the statement of financial position.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 205G
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 44C
-Subparagraph a
-Clause 1
false2131falseMillionsUnKnownUnKnownfalsetrue