2.2.0.7trueInvestment Components, Including Associated Derivatives (Detail) (USD $)1059 - Disclosure - Investment Components, Including Associated Derivatives (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_AvailableForSaleSecuritiesAmortizedCostus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1truetruefalsefalse4333100000043331falsefalsefalse2truetruefalsefalse3557600000035576falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 7
-Footnote 2
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 19
false32msft_AvailableForSaleSecuritiesUnrealizedGainsmsftfalsedebitinstantThis item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse16560000001656falsefalsefalse2falsetruefalsefalse10890000001089falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false42msft_AvailableForSaleSecuritiesUnrealizedLossesmsftfalsedebitinstantThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse-445000000-445falsefalsefalse2falsetruefalsefalse-285000000-285falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false52us-gaap_AvailableForSaleSecuritiesus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse4454200000044542falsefalsefalse2falsetruefalsefalse3638000000036380falsefalsefalsexbrli:monetaryItemTypemonetaryFor an unclassified balance sheet, this item represents investments in debt and equity securities which are categorized neither as held-to-maturity nor trading. Such securities are reported at fair value, with unrealized gains and losses excluded from earnings and reported in a separate component of shareholders' equity (other comprehensive income), unless the Available-for-sale Security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding gain or loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 16
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 22
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 12
-Subparagraph b
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 13
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 14
true62us-gaap_CashAndCashEquivalentsAtCarryingValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse55050000005505falsefalsefalse2falsetruefalsefalse60760000006076falsefalsefalsexbrli:monetaryItemTypemonetaryIncludes currency on hand as well as demand deposits with banks or financial institutions. It also includes other kinds of accounts that have the general characteristics of demand deposits in that the Entity may deposit additional funds at any time and also effectively may withdraw funds at any time without prior notice or penalty. Cash equivalents, excluding items classified as marketable securities, include short-term, highly liquid investments that are both readily convertible to known amounts of cash, and so near their maturity that they present minimal risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify under that definition. Original maturity means original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three years ago does not become a cash equivalent when its remaining maturity is three months. Compensating balance arrangements that do not legally restrict the withdrawal or usage of cash amounts may be reported as Cash and Cash Equivalents, while legally restricted deposits held as compensating balances against borrowing arrangements, contracts entered into with others, or company statements of intention with regard to particular deposits should not be reported as cash and cash equivalents.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 7, 26
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 8, 9
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 7
-Footnote 1
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 1
-Article 5
false72us-gaap_AvailableForSaleSecuritiesCurrentus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse3128300000031283falsefalsefalse2falsetruefalsefalse2537100000025371falsefalsefalsexbrli:monetaryItemTypemonetaryInvestments in debt and equity securities which are categorized neither as trading securities nor held-to-maturity securities and which are intended be sold or mature within one year from the balance sheet date or the normal operating cycle, whichever is longer. Such securities are reported at fair value; unrealized gains and losses related to Available-for-sale securities are excluded from earnings and reported in a separate component of shareholders' equity (other comprehensive income), unless the Available-for-sale security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding gain or loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 43
-Chapter 3
-Section A
-Paragraph 4, 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 13, 17
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 12
-Subparagraph b
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 16
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 22
false82us-gaap_LongTermInvestmentsus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse77540000007754falsefalsefalse2falsetruefalsefalse49330000004933falsefalsefalsexbrli:monetaryItemTypemonetaryThe total amount of investments that are intended to be held for an extended period of time (longer than one operating cycle).No authoritative reference available.false90natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosureinvestmentcomponentsincludingassociatedderivativesfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse5USDtruefalsefalsefalseus-gaap_CashMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CashMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false6USDtruefalsefalsefalseus-gaap_CashMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CashMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false102us-gaap_AvailableForSaleSecuritiesAmortizedCostus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse16610000001661falsefalsefalse2falsetruefalsefalse20640000002064falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 7
-Footnote 2
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 19
false112msft_AvailableForSaleSecuritiesUnrealizedGainsmsftfalsedebitinstantThis item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false122msft_AvailableForSaleSecuritiesUnrealizedLossesmsftfalsedebitinstantThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false132us-gaap_AvailableForSaleSecuritiesus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse16610000001661falsefalsefalse2falsetruefalsefalse20640000002064falsefalsefalsexbrli:monetaryItemTypemonetaryFor an unclassified balance sheet, this item represents investments in debt and equity securities which are categorized neither as held-to-maturity nor trading. Such securities are reported at fair value, with unrealized gains and losses excluded from earnings and reported in a separate component of shareholders' equity (other comprehensive income), unless the Available-for-sale Security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding gain or loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 16
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 22
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 12
-Subparagraph b
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 13
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 14
true142us-gaap_CashAndCashEquivalentsAtCarryingValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse16610000001661falsefalsefalse2falsetruefalsefalse20640000002064falsefalsefalsexbrli:monetaryItemTypemonetaryIncludes currency on hand as well as demand deposits with banks or financial institutions. It also includes other kinds of accounts that have the general characteristics of demand deposits in that the Entity may deposit additional funds at any time and also effectively may withdraw funds at any time without prior notice or penalty. Cash equivalents, excluding items classified as marketable securities, include short-term, highly liquid investments that are both readily convertible to known amounts of cash, and so near their maturity that they present minimal risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify under that definition. Original maturity means original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three years ago does not become a cash equivalent when its remaining maturity is three months. Compensating balance arrangements that do not legally restrict the withdrawal or usage of cash amounts may be reported as Cash and Cash Equivalents, while legally restricted deposits held as compensating balances against borrowing arrangements, contracts entered into with others, or company statements of intention with regard to particular deposits should not be reported as cash and cash equivalents.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 7, 26
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 8, 9
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 7
-Footnote 1
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 1
-Article 5
false152us-gaap_AvailableForSaleSecuritiesCurrentus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryInvestments in debt and equity securities which are categorized neither as trading securities nor held-to-maturity securities and which are intended be sold or mature within one year from the balance sheet date or the normal operating cycle, whichever is longer. Such securities are reported at fair value; unrealized gains and losses related to Available-for-sale securities are excluded from earnings and reported in a separate component of shareholders' equity (other comprehensive income), unless the Available-for-sale security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding gain or loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 43
-Chapter 3
-Section A
-Paragraph 4, 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 13, 17
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 12
-Subparagraph b
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 16
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 22
false162us-gaap_LongTermInvestmentsus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe total amount of investments that are intended to be held for an extended period of time (longer than one operating cycle).No authoritative reference available.false170natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosureinvestmentcomponentsincludingassociatedderivativesfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse7USDtruefalsefalsefalsemsft_MutualFundsMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisxbrldihttp://xbrl.org/2006/xbrldimsft_MutualFundsMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false8USDtruefalsefalsefalsemsft_MutualFundsMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisxbrldihttp://xbrl.org/2006/xbrldimsft_MutualFundsMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false182us-gaap_AvailableForSaleSecuritiesAmortizedCostus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse11200000001120falsefalsefalse2falsetruefalsefalse10070000001007falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 7
-Footnote 2
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 19
false192msft_AvailableForSaleSecuritiesUnrealizedGainsmsftfalsedebitinstantThis item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false202msft_AvailableForSaleSecuritiesUnrealizedLossesmsftfalsedebitinstantThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse-25000000-25falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false212us-gaap_AvailableForSaleSecuritiesus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse11200000001120falsefalsefalse2falsetruefalsefalse982000000982falsefalsefalsexbrli:monetaryItemTypemonetaryFor an unclassified balance sheet, this item represents investments in debt and equity securities which are categorized neither as held-to-maturity nor trading. Such securities are reported at fair value, with unrealized gains and losses excluded from earnings and reported in a separate component of shareholders' equity (other comprehensive income), unless the Available-for-sale Security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding gain or loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 16
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 22
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 12
-Subparagraph b
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 13
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 14
true222us-gaap_CashAndCashEquivalentsAtCarryingValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse11200000001120falsefalsefalse2falsetruefalsefalse900000000900falsefalsefalsexbrli:monetaryItemTypemonetaryIncludes currency on hand as well as demand deposits with banks or financial institutions. It also includes other kinds of accounts that have the general characteristics of demand deposits in that the Entity may deposit additional funds at any time and also effectively may withdraw funds at any time without prior notice or penalty. Cash equivalents, excluding items classified as marketable securities, include short-term, highly liquid investments that are both readily convertible to known amounts of cash, and so near their maturity that they present minimal risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify under that definition. Original maturity means original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three years ago does not become a cash equivalent when its remaining maturity is three months. Compensating balance arrangements that do not legally restrict the withdrawal or usage of cash amounts may be reported as Cash and Cash Equivalents, while legally restricted deposits held as compensating balances against borrowing arrangements, contracts entered into with others, or company statements of intention with regard to particular deposits should not be reported as cash and cash equivalents.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 7, 26
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 8, 9
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 7
-Footnote 1
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 1
-Article 5
false232us-gaap_AvailableForSaleSecuritiesCurrentus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse8200000082falsefalsefalsexbrli:monetaryItemTypemonetaryInvestments in debt and equity securities which are categorized neither as trading securities nor held-to-maturity securities and which are intended be sold or mature within one year from the balance sheet date or the normal operating cycle, whichever is longer. Such securities are reported at fair value; unrealized gains and losses related to Available-for-sale securities are excluded from earnings and reported in a separate component of shareholders' equity (other comprehensive income), unless the Available-for-sale security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding gain or loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 43
-Chapter 3
-Section A
-Paragraph 4, 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 13, 17
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 12
-Subparagraph b
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 16
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 22
false242us-gaap_LongTermInvestmentsus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe total amount of investments that are intended to be held for an extended period of time (longer than one operating cycle).No authoritative reference available.false250natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosureinvestmentcomponentsincludingassociatedderivativesfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse9USDtruefalsefalsefalseus-gaap_CommercialPaperMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommercialPaperMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false10USDtruefalsefalsefalseus-gaap_CommercialPaperMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommercialPaperMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false262us-gaap_AvailableForSaleSecuritiesAmortizedCostus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse188000000188falsefalsefalse2falsetruefalsefalse26010000002601falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 7
-Footnote 2
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 19
false272msft_AvailableForSaleSecuritiesUnrealizedGainsmsftfalsedebitinstantThis item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false282msft_AvailableForSaleSecuritiesUnrealizedLossesmsftfalsedebitinstantThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false292us-gaap_AvailableForSaleSecuritiesus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse188000000188falsefalsefalse2falsetruefalsefalse26010000002601falsefalsefalsexbrli:monetaryItemTypemonetaryFor an unclassified balance sheet, this item represents investments in debt and equity securities which are categorized neither as held-to-maturity nor trading. Such securities are reported at fair value, with unrealized gains and losses excluded from earnings and reported in a separate component of shareholders' equity (other comprehensive income), unless the Available-for-sale Security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding gain or loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 16
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 22
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 12
-Subparagraph b
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 13
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 14
true302us-gaap_CashAndCashEquivalentsAtCarryingValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse1300000013falsefalsefalse2falsetruefalsefalse400000000400falsefalsefalsexbrli:monetaryItemTypemonetaryIncludes currency on hand as well as demand deposits with banks or financial institutions. It also includes other kinds of accounts that have the general characteristics of demand deposits in that the Entity may deposit additional funds at any time and also effectively may withdraw funds at any time without prior notice or penalty. Cash equivalents, excluding items classified as marketable securities, include short-term, highly liquid investments that are both readily convertible to known amounts of cash, and so near their maturity that they present minimal risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify under that definition. Original maturity means original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three years ago does not become a cash equivalent when its remaining maturity is three months. Compensating balance arrangements that do not legally restrict the withdrawal or usage of cash amounts may be reported as Cash and Cash Equivalents, while legally restricted deposits held as compensating balances against borrowing arrangements, contracts entered into with others, or company statements of intention with regard to particular deposits should not be reported as cash and cash equivalents.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 7, 26
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 8, 9
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 7
-Footnote 1
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 1
-Article 5
false312us-gaap_AvailableForSaleSecuritiesCurrentus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse175000000175falsefalsefalse2falsetruefalsefalse22010000002201falsefalsefalsexbrli:monetaryItemTypemonetaryInvestments in debt and equity securities which are categorized neither as trading securities nor held-to-maturity securities and which are intended be sold or mature within one year from the balance sheet date or the normal operating cycle, whichever is longer. Such securities are reported at fair value; unrealized gains and losses related to Available-for-sale securities are excluded from earnings and reported in a separate component of shareholders' equity (other comprehensive income), unless the Available-for-sale security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding gain or loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 43
-Chapter 3
-Section A
-Paragraph 4, 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 13, 17
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 12
-Subparagraph b
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 16
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 22
false322us-gaap_LongTermInvestmentsus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe total amount of investments that are intended to be held for an extended period of time (longer than one operating cycle).No authoritative reference available.false330natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosureinvestmentcomponentsincludingassociatedderivativesfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse11USDtruefalsefalsefalseus-gaap_CertificatesOfDepositMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CertificatesOfDepositMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false12USDtruefalsefalsefalseus-gaap_CertificatesOfDepositMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CertificatesOfDepositMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false342us-gaap_AvailableForSaleSecuritiesAmortizedCostus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse348000000348falsefalsefalse2falsetruefalsefalse555000000555falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 7
-Footnote 2
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 19
false352msft_AvailableForSaleSecuritiesUnrealizedGainsmsftfalsedebitinstantThis item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false362msft_AvailableForSaleSecuritiesUnrealizedLossesmsftfalsedebitinstantThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false372us-gaap_AvailableForSaleSecuritiesus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse348000000348falsefalsefalse2falsetruefalsefalse555000000555falsefalsefalsexbrli:monetaryItemTypemonetaryFor an unclassified balance sheet, this item represents investments in debt and equity securities which are categorized neither as held-to-maturity nor trading. Such securities are reported at fair value, with unrealized gains and losses excluded from earnings and reported in a separate component of shareholders' equity (other comprehensive income), unless the Available-for-sale Security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding gain or loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 16
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 22
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 12
-Subparagraph b
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 13
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 14
true382us-gaap_CashAndCashEquivalentsAtCarryingValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse6800000068falsefalsefalse2falsetruefalsefalse275000000275falsefalsefalsexbrli:monetaryItemTypemonetaryIncludes currency on hand as well as demand deposits with banks or financial institutions. It also includes other kinds of accounts that have the general characteristics of demand deposits in that the Entity may deposit additional funds at any time and also effectively may withdraw funds at any time without prior notice or penalty. Cash equivalents, excluding items classified as marketable securities, include short-term, highly liquid investments that are both readily convertible to known amounts of cash, and so near their maturity that they present minimal risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify under that definition. Original maturity means original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three years ago does not become a cash equivalent when its remaining maturity is three months. Compensating balance arrangements that do not legally restrict the withdrawal or usage of cash amounts may be reported as Cash and Cash Equivalents, while legally restricted deposits held as compensating balances against borrowing arrangements, contracts entered into with others, or company statements of intention with regard to particular deposits should not be reported as cash and cash equivalents.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 7, 26
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 8, 9
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 7
-Footnote 1
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 1
-Article 5
false392us-gaap_AvailableForSaleSecuritiesCurrentus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse280000000280falsefalsefalse2falsetruefalsefalse280000000280falsefalsefalsexbrli:monetaryItemTypemonetaryInvestments in debt and equity securities which are categorized neither as trading securities nor held-to-maturity securities and which are intended be sold or mature within one year from the balance sheet date or the normal operating cycle, whichever is longer. Such securities are reported at fair value; unrealized gains and losses related to Available-for-sale securities are excluded from earnings and reported in a separate component of shareholders' equity (other comprehensive income), unless the Available-for-sale security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding gain or loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 43
-Chapter 3
-Section A
-Paragraph 4, 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 13, 17
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 12
-Subparagraph b
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 16
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 22
false402us-gaap_LongTermInvestmentsus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe total amount of investments that are intended to be held for an extended period of time (longer than one operating cycle).No authoritative reference available.false410natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosureinvestmentcomponentsincludingassociatedderivativesfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse13USDtruefalsefalsefalseus-gaap_USGovernmentAgenciesDebtSecuritiesMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_USGovernmentAgenciesDebtSecuritiesMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false14USDtruefalsefalsefalseus-gaap_USGovernmentAgenciesDebtSecuritiesMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_USGovernmentAgenciesDebtSecuritiesMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false422us-gaap_AvailableForSaleSecuritiesAmortizedCostus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse2103600000021036falsefalsefalse2falsetruefalsefalse1345000000013450falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 7
-Footnote 2
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 19
false432msft_AvailableForSaleSecuritiesUnrealizedGainsmsftfalsedebitinstantThis item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse167000000167falsefalsefalse2falsetruefalsefalse2100000021falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false442msft_AvailableForSaleSecuritiesUnrealizedLossesmsftfalsedebitinstantThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse-1000000-1falsefalsefalse2falsetruefalsefalse-5000000-5falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false452us-gaap_AvailableForSaleSecuritiesus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse2120200000021202falsefalsefalse2falsetruefalsefalse1346600000013466falsefalsefalsexbrli:monetaryItemTypemonetaryFor an unclassified balance sheet, this item represents investments in debt and equity securities which are categorized neither as held-to-maturity nor trading. Such securities are reported at fair value, with unrealized gains and losses excluded from earnings and reported in a separate component of shareholders' equity (other comprehensive income), unless the Available-for-sale Security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding gain or loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 16
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 22
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 12
-Subparagraph b
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 13
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 14
true462us-gaap_CashAndCashEquivalentsAtCarryingValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse18220000001822falsefalsefalse2falsetruefalsefalse23690000002369falsefalsefalsexbrli:monetaryItemTypemonetaryIncludes currency on hand as well as demand deposits with banks or financial institutions. It also includes other kinds of accounts that have the general characteristics of demand deposits in that the Entity may deposit additional funds at any time and also effectively may withdraw funds at any time without prior notice or penalty. Cash equivalents, excluding items classified as marketable securities, include short-term, highly liquid investments that are both readily convertible to known amounts of cash, and so near their maturity that they present minimal risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify under that definition. Original maturity means original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three years ago does not become a cash equivalent when its remaining maturity is three months. Compensating balance arrangements that do not legally restrict the withdrawal or usage of cash amounts may be reported as Cash and Cash Equivalents, while legally restricted deposits held as compensating balances against borrowing arrangements, contracts entered into with others, or company statements of intention with regard to particular deposits should not be reported as cash and cash equivalents.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 7, 26
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 8, 9
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 7
-Footnote 1
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 1
-Article 5
false472us-gaap_AvailableForSaleSecuritiesCurrentus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse1938000000019380falsefalsefalse2falsetruefalsefalse1109700000011097falsefalsefalsexbrli:monetaryItemTypemonetaryInvestments in debt and equity securities which are categorized neither as trading securities nor held-to-maturity securities and which are intended be sold or mature within one year from the balance sheet date or the normal operating cycle, whichever is longer. Such securities are reported at fair value; unrealized gains and losses related to Available-for-sale securities are excluded from earnings and reported in a separate component of shareholders' equity (other comprehensive income), unless the Available-for-sale security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding gain or loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 43
-Chapter 3
-Section A
-Paragraph 4, 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 13, 17
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 12
-Subparagraph b
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 16
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 22
false482us-gaap_LongTermInvestmentsus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe total amount of investments that are intended to be held for an extended period of time (longer than one operating cycle).No authoritative reference available.false490natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosureinvestmentcomponentsincludingassociatedderivativesfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse15USDtruefalsefalsefalseus-gaap_ForeignGovernmentDebtSecuritiesMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignGovernmentDebtSecuritiesMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false16USDtruefalsefalsefalseus-gaap_ForeignGovernmentDebtSecuritiesMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignGovernmentDebtSecuritiesMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false502us-gaap_AvailableForSaleSecuritiesAmortizedCostus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse518000000518falsefalsefalse2falsetruefalsefalse34500000003450falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 7
-Footnote 2
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 19
false512msft_AvailableForSaleSecuritiesUnrealizedGainsmsftfalsedebitinstantThis item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse1300000013falsefalsefalse2falsetruefalsefalse7100000071falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false522msft_AvailableForSaleSecuritiesUnrealizedLossesmsftfalsedebitinstantThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse-4000000-4falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false532us-gaap_AvailableForSaleSecuritiesus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse531000000531falsefalsefalse2falsetruefalsefalse35170000003517falsefalsefalsexbrli:monetaryItemTypemonetaryFor an unclassified balance sheet, this item represents investments in debt and equity securities which are categorized neither as held-to-maturity nor trading. Such securities are reported at fair value, with unrealized gains and losses excluded from earnings and reported in a separate component of shareholders' equity (other comprehensive income), unless the Available-for-sale Security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding gain or loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 16
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 22
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 12
-Subparagraph b
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 13
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 14
true542us-gaap_CashAndCashEquivalentsAtCarryingValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryIncludes currency on hand as well as demand deposits with banks or financial institutions. It also includes other kinds of accounts that have the general characteristics of demand deposits in that the Entity may deposit additional funds at any time and also effectively may withdraw funds at any time without prior notice or penalty. Cash equivalents, excluding items classified as marketable securities, include short-term, highly liquid investments that are both readily convertible to known amounts of cash, and so near their maturity that they present minimal risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify under that definition. Original maturity means original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three years ago does not become a cash equivalent when its remaining maturity is three months. Compensating balance arrangements that do not legally restrict the withdrawal or usage of cash amounts may be reported as Cash and Cash Equivalents, while legally restricted deposits held as compensating balances against borrowing arrangements, contracts entered into with others, or company statements of intention with regard to particular deposits should not be reported as cash and cash equivalents.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 7, 26
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 8, 9
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 7
-Footnote 1
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 1
-Article 5
false552us-gaap_AvailableForSaleSecuritiesCurrentus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse531000000531falsefalsefalse2falsetruefalsefalse35170000003517falsefalsefalsexbrli:monetaryItemTypemonetaryInvestments in debt and equity securities which are categorized neither as trading securities nor held-to-maturity securities and which are intended be sold or mature within one year from the balance sheet date or the normal operating cycle, whichever is longer. Such securities are reported at fair value; unrealized gains and losses related to Available-for-sale securities are excluded from earnings and reported in a separate component of shareholders' equity (other comprehensive income), unless the Available-for-sale security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding gain or loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 43
-Chapter 3
-Section A
-Paragraph 4, 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 13, 17
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 12
-Subparagraph b
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 16
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 22
false562us-gaap_LongTermInvestmentsus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe total amount of investments that are intended to be held for an extended period of time (longer than one operating cycle).No authoritative reference available.false570natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosureinvestmentcomponentsincludingassociatedderivativesfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse17USDtruefalsefalsefalseus-gaap_MortgageBackedSecuritiesMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MortgageBackedSecuritiesMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false18USDtruefalsefalsefalseus-gaap_MortgageBackedSecuritiesMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MortgageBackedSecuritiesMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false582us-gaap_AvailableForSaleSecuritiesAmortizedCostus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse31370000003137falsefalsefalse2falsetruefalsefalse33530000003353falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 7
-Footnote 2
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 19
false592msft_AvailableForSaleSecuritiesUnrealizedGainsmsftfalsedebitinstantThis item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse135000000135falsefalsefalse2falsetruefalsefalse8100000081falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false602msft_AvailableForSaleSecuritiesUnrealizedLossesmsftfalsedebitinstantThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse-7000000-7falsefalsefalse2falsetruefalsefalse-16000000-16falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false612us-gaap_AvailableForSaleSecuritiesus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse32650000003265falsefalsefalse2falsetruefalsefalse34180000003418falsefalsefalsexbrli:monetaryItemTypemonetaryFor an unclassified balance sheet, this item represents investments in debt and equity securities which are categorized neither as held-to-maturity nor trading. Such securities are reported at fair value, with unrealized gains and losses excluded from earnings and reported in a separate component of shareholders' equity (other comprehensive income), unless the Available-for-sale Security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding gain or loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 16
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 22
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 12
-Subparagraph b
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 13
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 14
true622us-gaap_CashAndCashEquivalentsAtCarryingValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryIncludes currency on hand as well as demand deposits with banks or financial institutions. It also includes other kinds of accounts that have the general characteristics of demand deposits in that the Entity may deposit additional funds at any time and also effectively may withdraw funds at any time without prior notice or penalty. Cash equivalents, excluding items classified as marketable securities, include short-term, highly liquid investments that are both readily convertible to known amounts of cash, and so near their maturity that they present minimal risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify under that definition. Original maturity means original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three years ago does not become a cash equivalent when its remaining maturity is three months. Compensating balance arrangements that do not legally restrict the withdrawal or usage of cash amounts may be reported as Cash and Cash Equivalents, while legally restricted deposits held as compensating balances against borrowing arrangements, contracts entered into with others, or company statements of intention with regard to particular deposits should not be reported as cash and cash equivalents.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 7, 26
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 8, 9
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 7
-Footnote 1
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 1
-Article 5
false632us-gaap_AvailableForSaleSecuritiesCurrentus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse32650000003265falsefalsefalse2falsetruefalsefalse34180000003418falsefalsefalsexbrli:monetaryItemTypemonetaryInvestments in debt and equity securities which are categorized neither as trading securities nor held-to-maturity securities and which are intended be sold or mature within one year from the balance sheet date or the normal operating cycle, whichever is longer. Such securities are reported at fair value; unrealized gains and losses related to Available-for-sale securities are excluded from earnings and reported in a separate component of shareholders' equity (other comprehensive income), unless the Available-for-sale security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding gain or loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 43
-Chapter 3
-Section A
-Paragraph 4, 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 13, 17
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 12
-Subparagraph b
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 16
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 22
false642us-gaap_LongTermInvestmentsus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe total amount of investments that are intended to be held for an extended period of time (longer than one operating cycle).No authoritative reference available.false650natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosureinvestmentcomponentsincludingassociatedderivativesfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse19USDtruefalsefalsefalseus-gaap_CorporateDebtSecuritiesMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CorporateDebtSecuritiesMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false20USDtruefalsefalsefalseus-gaap_CorporateDebtSecuritiesMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CorporateDebtSecuritiesMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false662us-gaap_AvailableForSaleSecuritiesAmortizedCostus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse74500000007450falsefalsefalse2falsetruefalsefalse43610000004361falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 7
-Footnote 2
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 19
false672msft_AvailableForSaleSecuritiesUnrealizedGainsmsftfalsedebitinstantThis item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse289000000289falsefalsefalse2falsetruefalsefalse287000000287falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false682msft_AvailableForSaleSecuritiesUnrealizedLossesmsftfalsedebitinstantThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse-18000000-18falsefalsefalse2falsetruefalsefalse-52000000-52falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false692us-gaap_AvailableForSaleSecuritiesus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse77210000007721falsefalsefalse2falsetruefalsefalse45960000004596falsefalsefalsexbrli:monetaryItemTypemonetaryFor an unclassified balance sheet, this item represents investments in debt and equity securities which are categorized neither as held-to-maturity nor trading. Such securities are reported at fair value, with unrealized gains and losses excluded from earnings and reported in a separate component of shareholders' equity (other comprehensive income), unless the Available-for-sale Security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding gain or loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 16
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 22
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 12
-Subparagraph b
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 13
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 14
true702us-gaap_CashAndCashEquivalentsAtCarryingValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse701000000701falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryIncludes currency on hand as well as demand deposits with banks or financial institutions. It also includes other kinds of accounts that have the general characteristics of demand deposits in that the Entity may deposit additional funds at any time and also effectively may withdraw funds at any time without prior notice or penalty. Cash equivalents, excluding items classified as marketable securities, include short-term, highly liquid investments that are both readily convertible to known amounts of cash, and so near their maturity that they present minimal risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify under that definition. Original maturity means original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three years ago does not become a cash equivalent when its remaining maturity is three months. Compensating balance arrangements that do not legally restrict the withdrawal or usage of cash amounts may be reported as Cash and Cash Equivalents, while legally restricted deposits held as compensating balances against borrowing arrangements, contracts entered into with others, or company statements of intention with regard to particular deposits should not be reported as cash and cash equivalents.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 7, 26
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 8, 9
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 7
-Footnote 1
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 1
-Article 5
false712us-gaap_AvailableForSaleSecuritiesCurrentus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse70200000007020falsefalsefalse2falsetruefalsefalse45960000004596falsefalsefalsexbrli:monetaryItemTypemonetaryInvestments in debt and equity securities which are categorized neither as trading securities nor held-to-maturity securities and which are intended be sold or mature within one year from the balance sheet date or the normal operating cycle, whichever is longer. Such securities are reported at fair value; unrealized gains and losses related to Available-for-sale securities are excluded from earnings and reported in a separate component of shareholders' equity (other comprehensive income), unless the Available-for-sale security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding gain or loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 43
-Chapter 3
-Section A
-Paragraph 4, 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 13, 17
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 12
-Subparagraph b
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 16
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 22
false722us-gaap_LongTermInvestmentsus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe total amount of investments that are intended to be held for an extended period of time (longer than one operating cycle).No authoritative reference available.false730natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosureinvestmentcomponentsincludingassociatedderivativesfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse21USDtruefalsefalsefalseus-gaap_USStatesAndPoliticalSubdivisionsMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_USStatesAndPoliticalSubdivisionsMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false22USDtruefalsefalsefalseus-gaap_USStatesAndPoliticalSubdivisionsMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_USStatesAndPoliticalSubdivisionsMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false742us-gaap_AvailableForSaleSecuritiesAmortizedCostus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse726000000726falsefalsefalse2falsetruefalsefalse255000000255falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 7
-Footnote 2
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 19
false752msft_AvailableForSaleSecuritiesUnrealizedGainsmsftfalsedebitinstantThis item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse2200000022falsefalsefalse2falsetruefalsefalse20000002falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false762msft_AvailableForSaleSecuritiesUnrealizedLossesmsftfalsedebitinstantThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse-1000000-1falsefalsefalse2falsetruefalsefalse-1000000-1falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false772us-gaap_AvailableForSaleSecuritiesus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse747000000747falsefalsefalse2falsetruefalsefalse256000000256falsefalsefalsexbrli:monetaryItemTypemonetaryFor an unclassified balance sheet, this item represents investments in debt and equity securities which are categorized neither as held-to-maturity nor trading. Such securities are reported at fair value, with unrealized gains and losses excluded from earnings and reported in a separate component of shareholders' equity (other comprehensive income), unless the Available-for-sale Security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding gain or loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 16
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 22
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 12
-Subparagraph b
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 13
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 14
true782us-gaap_CashAndCashEquivalentsAtCarryingValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse120000000120falsefalsefalse2falsetruefalsefalse6800000068falsefalsefalsexbrli:monetaryItemTypemonetaryIncludes currency on hand as well as demand deposits with banks or financial institutions. It also includes other kinds of accounts that have the general characteristics of demand deposits in that the Entity may deposit additional funds at any time and also effectively may withdraw funds at any time without prior notice or penalty. Cash equivalents, excluding items classified as marketable securities, include short-term, highly liquid investments that are both readily convertible to known amounts of cash, and so near their maturity that they present minimal risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify under that definition. Original maturity means original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three years ago does not become a cash equivalent when its remaining maturity is three months. Compensating balance arrangements that do not legally restrict the withdrawal or usage of cash amounts may be reported as Cash and Cash Equivalents, while legally restricted deposits held as compensating balances against borrowing arrangements, contracts entered into with others, or company statements of intention with regard to particular deposits should not be reported as cash and cash equivalents.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 7, 26
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 8, 9
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 7
-Footnote 1
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 1
-Article 5
false792us-gaap_AvailableForSaleSecuritiesCurrentus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse627000000627falsefalsefalse2falsetruefalsefalse188000000188falsefalsefalsexbrli:monetaryItemTypemonetaryInvestments in debt and equity securities which are categorized neither as trading securities nor held-to-maturity securities and which are intended be sold or mature within one year from the balance sheet date or the normal operating cycle, whichever is longer. Such securities are reported at fair value; unrealized gains and losses related to Available-for-sale securities are excluded from earnings and reported in a separate component of shareholders' equity (other comprehensive income), unless the Available-for-sale security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding gain or loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 43
-Chapter 3
-Section A
-Paragraph 4, 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 13, 17
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 12
-Subparagraph b
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 16
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 22
false802us-gaap_LongTermInvestmentsus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe total amount of investments that are intended to be held for an extended period of time (longer than one operating cycle).No authoritative reference available.false810natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosureinvestmentcomponentsincludingassociatedderivativesfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse23USDtruefalsefalsefalseus-gaap_EquitySecuritiesMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EquitySecuritiesMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false24USDtruefalsefalsefalseus-gaap_EquitySecuritiesMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EquitySecuritiesMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false822us-gaap_AvailableForSaleSecuritiesAmortizedCostus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse66400000006640falsefalsefalse2falsetruefalsefalse40150000004015falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 7
-Footnote 2
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 19
false832msft_AvailableForSaleSecuritiesUnrealizedGainsmsftfalsedebitinstantThis item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse10300000001030falsefalsefalse2falsetruefalsefalse627000000627falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false842msft_AvailableForSaleSecuritiesUnrealizedLossesmsftfalsedebitinstantThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse-418000000-418falsefalsefalse2falsetruefalsefalse-182000000-182falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false852us-gaap_AvailableForSaleSecuritiesus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse72520000007252falsefalsefalse2falsetruefalsefalse44600000004460falsefalsefalsexbrli:monetaryItemTypemonetaryFor an unclassified balance sheet, this item represents investments in debt and equity securities which are categorized neither as held-to-maturity nor trading. Such securities are reported at fair value, with unrealized gains and losses excluded from earnings and reported in a separate component of shareholders' equity (other comprehensive income), unless the Available-for-sale Security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding gain or loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 16
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 22
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 12
-Subparagraph b
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 13
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 14
true862us-gaap_CashAndCashEquivalentsAtCarryingValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryIncludes currency on hand as well as demand deposits with banks or financial institutions. It also includes other kinds of accounts that have the general characteristics of demand deposits in that the Entity may deposit additional funds at any time and also effectively may withdraw funds at any time without prior notice or penalty. Cash equivalents, excluding items classified as marketable securities, include short-term, highly liquid investments that are both readily convertible to known amounts of cash, and so near their maturity that they present minimal risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify under that definition. Original maturity means original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three years ago does not become a cash equivalent when its remaining maturity is three months. Compensating balance arrangements that do not legally restrict the withdrawal or usage of cash amounts may be reported as Cash and Cash Equivalents, while legally restricted deposits held as compensating balances against borrowing arrangements, contracts entered into with others, or company statements of intention with regard to particular deposits should not be reported as cash and cash equivalents.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 7, 26
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 8, 9
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 7
-Footnote 1
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 1
-Article 5
false872us-gaap_AvailableForSaleSecuritiesCurrentus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryInvestments in debt and equity securities which are categorized neither as trading securities nor held-to-maturity securities and which are intended be sold or mature within one year from the balance sheet date or the normal operating cycle, whichever is longer. Such securities are reported at fair value; unrealized gains and losses related to Available-for-sale securities are excluded from earnings and reported in a separate component of shareholders' equity (other comprehensive income), unless the Available-for-sale security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding gain or loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 43
-Chapter 3
-Section A
-Paragraph 4, 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 13, 17
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 12
-Subparagraph b
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 16
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 22
false882us-gaap_LongTermInvestmentsus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse72520000007252falsefalsefalse2falsetruefalsefalse44600000004460falsefalsefalsexbrli:monetaryItemTypemonetaryThe total amount of investments that are intended to be held for an extended period of time (longer than one operating cycle).No authoritative reference available.false890natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosureinvestmentcomponentsincludingassociatedderivativesfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse25USDtruefalsefalsefalseus-gaap_OtherDebtSecuritiesMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherDebtSecuritiesMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false26USDtruefalsefalsefalseus-gaap_OtherDebtSecuritiesMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherDebtSecuritiesMemberus-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false902us-gaap_AvailableForSaleSecuritiesAmortizedCostus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse507000000507falsefalsefalse2falsetruefalsefalse465000000465falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 7
-Footnote 2
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 19
false912msft_AvailableForSaleSecuritiesUnrealizedGainsmsftfalsedebitinstantThis item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false922msft_AvailableForSaleSecuritiesUnrealizedLossesmsftfalsedebitinstantThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false932us-gaap_AvailableForSaleSecuritiesus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1falsetruefalsefalse507000000507falsefalsefalse2falsetruefalsefalse465000000465falsefalsefalsexbrli:monetaryItemTypemonetaryFor an unclassified balance sheet, this item represents investments in debt and equity securities which are categorized neither as held-to-maturity nor trading. Such securities are reported at fair value, with unrealized gains and losses excluded from earnings and reported in a separate component of shareholders' equity (other comprehensive income), unless the Available-for-sale Security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding gain or loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 16
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 22
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 12
-Subparagraph b
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 13
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 14
true942us-gaap_CashAndCashEquivalentsAtCarryingValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryIncludes currency on hand as well as demand deposits with banks or financial institutions. It also includes other kinds of accounts that have the general characteristics of demand deposits in that the Entity may deposit additional funds at any time and also effectively may withdraw funds at any time without prior notice or penalty. Cash equivalents, excluding items classified as marketable securities, include short-term, highly liquid investments that are both readily convertible to known amounts of cash, and so near their maturity that they present minimal risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify under that definition. Original maturity means original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three years ago does not become a cash equivalent when its remaining maturity is three months. Compensating balance arrangements that do not legally restrict the withdrawal or usage of cash amounts may be reported as Cash and Cash Equivalents, while legally restricted deposits held as compensating balances against borrowing arrangements, contracts entered into with others, or company statements of intention with regard to particular deposits should not be reported as cash and cash equivalents.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 7, 26
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 8, 9
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 7
-Footnote 1
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 1
-Article 5
false952us-gaap_AvailableForSaleSecuritiesCurrentus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse50000005falsefalsefalse2falsetruefalsefalse-8000000-8falsefalsefalsexbrli:monetaryItemTypemonetaryInvestments in debt and equity securities which are categorized neither as trading securities nor held-to-maturity securities and which are intended be sold or mature within one year from the balance sheet date or the normal operating cycle, whichever is longer. Such securities are reported at fair value; unrealized gains and losses related to Available-for-sale securities are excluded from earnings and reported in a separate component of shareholders' equity (other comprehensive income), unless the Available-for-sale security is designated as a hedge or is determined to have had an other than temporary decline in fair value below its amortized cost basis. All or a portion of the unrealized holding gain or loss of an Available-for-sale Security that is designated as being hedged in a fair value hedge shall be recognized in earnings during the period of the hedge, as should other than temporary declines in fair value below costs basis.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Research Bulletin (ARB)
-Number 43
-Chapter 3
-Section A
-Paragraph 4, 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 13, 17
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 12
-Subparagraph b
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 115
-Paragraph 16
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 133
-Paragraph 22
false962us-gaap_LongTermInvestmentsus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1truetruefalsefalse502000000502falsefalsefalse2truetruefalsefalse473000000473falsefalsefalsexbrli:monetaryItemTypemonetaryThe total amount of investments that are intended to be held for an extended period of time (longer than one operating cycle).No authoritative reference available.false295falseMillionsUnKnownUnKnownfalsetrue