2.2.0.7 true Investment Components, Including Associated Derivatives (Detail) (USD $) 1059 - Disclosure - Investment Components, Including Associated Derivatives (Detail) true false In Millions false false 1 USD false false iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 pure Standard http://www.xbrl.org/2003/instance pure 0 shares Standard http://www.xbrl.org/2003/instance shares 0 iso4217_USD_per_shares Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares 0 $ false 2 USD false false iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 shares Standard http://www.xbrl.org/2003/instance shares 0 iso4217_USD_per_shares Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares 0 $ 2 2 us-gaap_AvailableForSaleSecuritiesAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 true true false false 43331000000 43331 false false false 2 true true false false 35576000000 35576 false false false xbrli:monetaryItemType monetary This 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 false 3 2 msft_AvailableForSaleSecuritiesUnrealizedGains msft false debit instant This item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading... false false false false false false false false false false false false 1 false true false false 1656000000 1656 false false false 2 false true false false 1089000000 1089 false false false xbrli:monetaryItemType monetary This item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading securities. No authoritative reference available. false 4 2 msft_AvailableForSaleSecuritiesUnrealizedLosses msft false debit instant This item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading... false false false false false false false false false false false terselabel false 1 false true false false -445000000 -445 false false false 2 false true false false -285000000 -285 false false false xbrli:monetaryItemType monetary This item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities. No authoritative reference available. false 5 2 us-gaap_AvailableForSaleSecurities us-gaap true debit instant No definition available. false false false false false false false false false false false totallabel false 1 false true false false 44542000000 44542 false false false 2 false true false false 36380000000 36380 false false false xbrli:monetaryItemType monetary For 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 true 6 2 us-gaap_CashAndCashEquivalentsAtCarryingValue us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false true false false 5505000000 5505 false false false 2 false true false false 6076000000 6076 false false false xbrli:monetaryItemType monetary Includes 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 false 7 2 us-gaap_AvailableForSaleSecuritiesCurrent us-gaap true debit instant No definition available. false false false false false false false false false false false terselabel false 1 false true false false 31283000000 31283 false false false 2 false true false false 25371000000 25371 false false false xbrli:monetaryItemType monetary Investments 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 false 8 2 us-gaap_LongTermInvestments us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 7754000000 7754 false false false 2 false true false false 4933000000 4933 false false false xbrli:monetaryItemType monetary The 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. false 9 0 na true na na No definition available. false true false false false false false false false false false http://www.microsoft.com/taxonomy/role/disclosureinvestmentcomponentsincludingassociatedderivatives false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false false 5 USD true false false false us-gaap_CashMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_CashMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis explicitMember iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ false 6 USD true false false false us-gaap_CashMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_CashMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis explicitMember iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 10 2 us-gaap_AvailableForSaleSecuritiesAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 1661000000 1661 false false false 2 false true false false 2064000000 2064 false false false xbrli:monetaryItemType monetary This 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 false 11 2 msft_AvailableForSaleSecuritiesUnrealizedGains msft false debit instant This item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading... false false false false false false false false false false false false 1 false true false false 0 0 false false false 2 false true false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading securities. No authoritative reference available. false 12 2 msft_AvailableForSaleSecuritiesUnrealizedLosses msft false debit instant This item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading... false false false false false false false false false false false terselabel false 1 false true false false 0 0 false false false 2 false true false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities. No authoritative reference available. false 13 2 us-gaap_AvailableForSaleSecurities us-gaap true debit instant No definition available. false false false false false false false false false false false totallabel false 1 false true false false 1661000000 1661 false false false 2 false true false false 2064000000 2064 false false false xbrli:monetaryItemType monetary For 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 true 14 2 us-gaap_CashAndCashEquivalentsAtCarryingValue us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false true false false 1661000000 1661 false false false 2 false true false false 2064000000 2064 false false false xbrli:monetaryItemType monetary Includes 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 false 15 2 us-gaap_AvailableForSaleSecuritiesCurrent us-gaap true debit instant No definition available. false false false false false false false false false false false terselabel false 1 false true false false 0 0 false false false 2 false true false false 0 0 false false false xbrli:monetaryItemType monetary Investments 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 false 16 2 us-gaap_LongTermInvestments us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 0 0 false false false 2 false true false false 0 0 false false false xbrli:monetaryItemType monetary The 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. false 17 0 na true na na No definition available. false true false false false false false false false false false http://www.microsoft.com/taxonomy/role/disclosureinvestmentcomponentsincludingassociatedderivatives false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false false 7 USD true false false false msft_MutualFundsMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis xbrldi http://xbrl.org/2006/xbrldi msft_MutualFundsMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis explicitMember iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ false 8 USD true false false false msft_MutualFundsMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis xbrldi http://xbrl.org/2006/xbrldi msft_MutualFundsMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis explicitMember iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 18 2 us-gaap_AvailableForSaleSecuritiesAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 1120000000 1120 false false false 2 false true false false 1007000000 1007 false false false xbrli:monetaryItemType monetary This 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 false 19 2 msft_AvailableForSaleSecuritiesUnrealizedGains msft false debit instant This item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading... false false false false false false false false false false false false 1 false true false false 0 0 false false false 2 false true false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading securities. No authoritative reference available. false 20 2 msft_AvailableForSaleSecuritiesUnrealizedLosses msft false debit instant This item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading... false false false false false false false false false false false terselabel false 1 false true false false 0 0 false false false 2 false true false false -25000000 -25 false false false xbrli:monetaryItemType monetary This item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities. No authoritative reference available. false 21 2 us-gaap_AvailableForSaleSecurities us-gaap true debit instant No definition available. false false false false false false false false false false false totallabel false 1 false true false false 1120000000 1120 false false false 2 false true false false 982000000 982 false false false xbrli:monetaryItemType monetary For 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 true 22 2 us-gaap_CashAndCashEquivalentsAtCarryingValue us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false true false false 1120000000 1120 false false false 2 false true false false 900000000 900 false false false xbrli:monetaryItemType monetary Includes 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 false 23 2 us-gaap_AvailableForSaleSecuritiesCurrent us-gaap true debit instant No definition available. false false false false false false false false false false false terselabel false 1 false true false false 0 0 false false false 2 false true false false 82000000 82 false false false xbrli:monetaryItemType monetary Investments 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 false 24 2 us-gaap_LongTermInvestments us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 0 0 false false false 2 false true false false 0 0 false false false xbrli:monetaryItemType monetary The 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. false 25 0 na true na na No definition available. false true false false false false false false false false false http://www.microsoft.com/taxonomy/role/disclosureinvestmentcomponentsincludingassociatedderivatives false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false false 9 USD true false false false us-gaap_CommercialPaperMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_CommercialPaperMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis explicitMember iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ false 10 USD true false false false us-gaap_CommercialPaperMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_CommercialPaperMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis explicitMember iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 26 2 us-gaap_AvailableForSaleSecuritiesAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 188000000 188 false false false 2 false true false false 2601000000 2601 false false false xbrli:monetaryItemType monetary This 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 false 27 2 msft_AvailableForSaleSecuritiesUnrealizedGains msft false debit instant This item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading... false false false false false false false false false false false false 1 false true false false 0 0 false false false 2 false true false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading securities. No authoritative reference available. false 28 2 msft_AvailableForSaleSecuritiesUnrealizedLosses msft false debit instant This item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading... false false false false false false false false false false false terselabel false 1 false true false false 0 0 false false false 2 false true false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities. No authoritative reference available. false 29 2 us-gaap_AvailableForSaleSecurities us-gaap true debit instant No definition available. false false false false false false false false false false false totallabel false 1 false true false false 188000000 188 false false false 2 false true false false 2601000000 2601 false false false xbrli:monetaryItemType monetary For 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 true 30 2 us-gaap_CashAndCashEquivalentsAtCarryingValue us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false true false false 13000000 13 false false false 2 false true false false 400000000 400 false false false xbrli:monetaryItemType monetary Includes 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 false 31 2 us-gaap_AvailableForSaleSecuritiesCurrent us-gaap true debit instant No definition available. false false false false false false false false false false false terselabel false 1 false true false false 175000000 175 false false false 2 false true false false 2201000000 2201 false false false xbrli:monetaryItemType monetary Investments 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 false 32 2 us-gaap_LongTermInvestments us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 0 0 false false false 2 false true false false 0 0 false false false xbrli:monetaryItemType monetary The 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. false 33 0 na true na na No definition available. false true false false false false false false false false false http://www.microsoft.com/taxonomy/role/disclosureinvestmentcomponentsincludingassociatedderivatives false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false false 11 USD true false false false us-gaap_CertificatesOfDepositMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_CertificatesOfDepositMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis explicitMember iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ false 12 USD true false false false us-gaap_CertificatesOfDepositMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_CertificatesOfDepositMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis explicitMember iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 34 2 us-gaap_AvailableForSaleSecuritiesAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 348000000 348 false false false 2 false true false false 555000000 555 false false false xbrli:monetaryItemType monetary This 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 false 35 2 msft_AvailableForSaleSecuritiesUnrealizedGains msft false debit instant This item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading... false false false false false false false false false false false false 1 false true false false 0 0 false false false 2 false true false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading securities. No authoritative reference available. false 36 2 msft_AvailableForSaleSecuritiesUnrealizedLosses msft false debit instant This item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading... false false false false false false false false false false false terselabel false 1 false true false false 0 0 false false false 2 false true false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities. No authoritative reference available. false 37 2 us-gaap_AvailableForSaleSecurities us-gaap true debit instant No definition available. false false false false false false false false false false false totallabel false 1 false true false false 348000000 348 false false false 2 false true false false 555000000 555 false false false xbrli:monetaryItemType monetary For 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 true 38 2 us-gaap_CashAndCashEquivalentsAtCarryingValue us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false true false false 68000000 68 false false false 2 false true false false 275000000 275 false false false xbrli:monetaryItemType monetary Includes 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 false 39 2 us-gaap_AvailableForSaleSecuritiesCurrent us-gaap true debit instant No definition available. false false false false false false false false false false false terselabel false 1 false true false false 280000000 280 false false false 2 false true false false 280000000 280 false false false xbrli:monetaryItemType monetary Investments 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 false 40 2 us-gaap_LongTermInvestments us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 0 0 false false false 2 false true false false 0 0 false false false xbrli:monetaryItemType monetary The 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. false 41 0 na true na na No definition available. false true false false false false false false false false false http://www.microsoft.com/taxonomy/role/disclosureinvestmentcomponentsincludingassociatedderivatives false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false false 13 USD true false false false us-gaap_USGovernmentAgenciesDebtSecuritiesMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_USGovernmentAgenciesDebtSecuritiesMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis explicitMember iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ false 14 USD true false false false us-gaap_USGovernmentAgenciesDebtSecuritiesMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_USGovernmentAgenciesDebtSecuritiesMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis explicitMember iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 42 2 us-gaap_AvailableForSaleSecuritiesAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 21036000000 21036 false false false 2 false true false false 13450000000 13450 false false false xbrli:monetaryItemType monetary This 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 false 43 2 msft_AvailableForSaleSecuritiesUnrealizedGains msft false debit instant This item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading... false false false false false false false false false false false false 1 false true false false 167000000 167 false false false 2 false true false false 21000000 21 false false false xbrli:monetaryItemType monetary This item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading securities. No authoritative reference available. false 44 2 msft_AvailableForSaleSecuritiesUnrealizedLosses msft false debit instant This item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading... false false false false false false false false false false false terselabel false 1 false true false false -1000000 -1 false false false 2 false true false false -5000000 -5 false false false xbrli:monetaryItemType monetary This item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities. No authoritative reference available. false 45 2 us-gaap_AvailableForSaleSecurities us-gaap true debit instant No definition available. false false false false false false false false false false false totallabel false 1 false true false false 21202000000 21202 false false false 2 false true false false 13466000000 13466 false false false xbrli:monetaryItemType monetary For 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 true 46 2 us-gaap_CashAndCashEquivalentsAtCarryingValue us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false true false false 1822000000 1822 false false false 2 false true false false 2369000000 2369 false false false xbrli:monetaryItemType monetary Includes 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 false 47 2 us-gaap_AvailableForSaleSecuritiesCurrent us-gaap true debit instant No definition available. false false false false false false false false false false false terselabel false 1 false true false false 19380000000 19380 false false false 2 false true false false 11097000000 11097 false false false xbrli:monetaryItemType monetary Investments 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 false 48 2 us-gaap_LongTermInvestments us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 0 0 false false false 2 false true false false 0 0 false false false xbrli:monetaryItemType monetary The 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. false 49 0 na true na na No definition available. false true false false false false false false false false false http://www.microsoft.com/taxonomy/role/disclosureinvestmentcomponentsincludingassociatedderivatives false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false false 15 USD true false false false us-gaap_ForeignGovernmentDebtSecuritiesMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_ForeignGovernmentDebtSecuritiesMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis explicitMember iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ false 16 USD true false false false us-gaap_ForeignGovernmentDebtSecuritiesMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_ForeignGovernmentDebtSecuritiesMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis explicitMember iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 50 2 us-gaap_AvailableForSaleSecuritiesAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 518000000 518 false false false 2 false true false false 3450000000 3450 false false false xbrli:monetaryItemType monetary This 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 false 51 2 msft_AvailableForSaleSecuritiesUnrealizedGains msft false debit instant This item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading... false false false false false false false false false false false false 1 false true false false 13000000 13 false false false 2 false true false false 71000000 71 false false false xbrli:monetaryItemType monetary This item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading securities. No authoritative reference available. false 52 2 msft_AvailableForSaleSecuritiesUnrealizedLosses msft false debit instant This item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading... false false false false false false false false false false false terselabel false 1 false true false false 0 0 false false false 2 false true false false -4000000 -4 false false false xbrli:monetaryItemType monetary This item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities. No authoritative reference available. false 53 2 us-gaap_AvailableForSaleSecurities us-gaap true debit instant No definition available. false false false false false false false false false false false totallabel false 1 false true false false 531000000 531 false false false 2 false true false false 3517000000 3517 false false false xbrli:monetaryItemType monetary For 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 true 54 2 us-gaap_CashAndCashEquivalentsAtCarryingValue us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false true false false 0 0 false false false 2 false true false false 0 0 false false false xbrli:monetaryItemType monetary Includes 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 false 55 2 us-gaap_AvailableForSaleSecuritiesCurrent us-gaap true debit instant No definition available. false false false false false false false false false false false terselabel false 1 false true false false 531000000 531 false false false 2 false true false false 3517000000 3517 false false false xbrli:monetaryItemType monetary Investments 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 false 56 2 us-gaap_LongTermInvestments us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 0 0 false false false 2 false true false false 0 0 false false false xbrli:monetaryItemType monetary The 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. false 57 0 na true na na No definition available. false true false false false false false false false false false http://www.microsoft.com/taxonomy/role/disclosureinvestmentcomponentsincludingassociatedderivatives false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false false 17 USD true false false false us-gaap_MortgageBackedSecuritiesMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_MortgageBackedSecuritiesMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis explicitMember iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ false 18 USD true false false false us-gaap_MortgageBackedSecuritiesMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_MortgageBackedSecuritiesMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis explicitMember iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 58 2 us-gaap_AvailableForSaleSecuritiesAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 3137000000 3137 false false false 2 false true false false 3353000000 3353 false false false xbrli:monetaryItemType monetary This 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 false 59 2 msft_AvailableForSaleSecuritiesUnrealizedGains msft false debit instant This item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading... false false false false false false false false false false false false 1 false true false false 135000000 135 false false false 2 false true false false 81000000 81 false false false xbrli:monetaryItemType monetary This item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading securities. No authoritative reference available. false 60 2 msft_AvailableForSaleSecuritiesUnrealizedLosses msft false debit instant This item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading... false false false false false false false false false false false terselabel false 1 false true false false -7000000 -7 false false false 2 false true false false -16000000 -16 false false false xbrli:monetaryItemType monetary This item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities. No authoritative reference available. false 61 2 us-gaap_AvailableForSaleSecurities us-gaap true debit instant No definition available. false false false false false false false false false false false totallabel false 1 false true false false 3265000000 3265 false false false 2 false true false false 3418000000 3418 false false false xbrli:monetaryItemType monetary For 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 true 62 2 us-gaap_CashAndCashEquivalentsAtCarryingValue us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false true false false 0 0 false false false 2 false true false false 0 0 false false false xbrli:monetaryItemType monetary Includes 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 false 63 2 us-gaap_AvailableForSaleSecuritiesCurrent us-gaap true debit instant No definition available. false false false false false false false false false false false terselabel false 1 false true false false 3265000000 3265 false false false 2 false true false false 3418000000 3418 false false false xbrli:monetaryItemType monetary Investments 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 false 64 2 us-gaap_LongTermInvestments us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 0 0 false false false 2 false true false false 0 0 false false false xbrli:monetaryItemType monetary The 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. false 65 0 na true na na No definition available. false true false false false false false false false false false http://www.microsoft.com/taxonomy/role/disclosureinvestmentcomponentsincludingassociatedderivatives false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false false 19 USD true false false false us-gaap_CorporateDebtSecuritiesMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_CorporateDebtSecuritiesMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis explicitMember iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ false 20 USD true false false false us-gaap_CorporateDebtSecuritiesMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_CorporateDebtSecuritiesMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis explicitMember iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 66 2 us-gaap_AvailableForSaleSecuritiesAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 7450000000 7450 false false false 2 false true false false 4361000000 4361 false false false xbrli:monetaryItemType monetary This 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 false 67 2 msft_AvailableForSaleSecuritiesUnrealizedGains msft false debit instant This item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading... false false false false false false false false false false false false 1 false true false false 289000000 289 false false false 2 false true false false 287000000 287 false false false xbrli:monetaryItemType monetary This item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading securities. No authoritative reference available. false 68 2 msft_AvailableForSaleSecuritiesUnrealizedLosses msft false debit instant This item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading... false false false false false false false false false false false terselabel false 1 false true false false -18000000 -18 false false false 2 false true false false -52000000 -52 false false false xbrli:monetaryItemType monetary This item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities. No authoritative reference available. false 69 2 us-gaap_AvailableForSaleSecurities us-gaap true debit instant No definition available. false false false false false false false false false false false totallabel false 1 false true false false 7721000000 7721 false false false 2 false true false false 4596000000 4596 false false false xbrli:monetaryItemType monetary For 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 true 70 2 us-gaap_CashAndCashEquivalentsAtCarryingValue us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false true false false 701000000 701 false false false 2 false true false false 0 0 false false false xbrli:monetaryItemType monetary Includes 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 false 71 2 us-gaap_AvailableForSaleSecuritiesCurrent us-gaap true debit instant No definition available. false false false false false false false false false false false terselabel false 1 false true false false 7020000000 7020 false false false 2 false true false false 4596000000 4596 false false false xbrli:monetaryItemType monetary Investments 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 false 72 2 us-gaap_LongTermInvestments us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 0 0 false false false 2 false true false false 0 0 false false false xbrli:monetaryItemType monetary The 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. false 73 0 na true na na No definition available. false true false false false false false false false false false http://www.microsoft.com/taxonomy/role/disclosureinvestmentcomponentsincludingassociatedderivatives false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false false 21 USD true false false false us-gaap_USStatesAndPoliticalSubdivisionsMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_USStatesAndPoliticalSubdivisionsMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis explicitMember iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ false 22 USD true false false false us-gaap_USStatesAndPoliticalSubdivisionsMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_USStatesAndPoliticalSubdivisionsMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis explicitMember iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 74 2 us-gaap_AvailableForSaleSecuritiesAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 726000000 726 false false false 2 false true false false 255000000 255 false false false xbrli:monetaryItemType monetary This 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 false 75 2 msft_AvailableForSaleSecuritiesUnrealizedGains msft false debit instant This item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading... false false false false false false false false false false false false 1 false true false false 22000000 22 false false false 2 false true false false 2000000 2 false false false xbrli:monetaryItemType monetary This item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading securities. No authoritative reference available. false 76 2 msft_AvailableForSaleSecuritiesUnrealizedLosses msft false debit instant This item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading... false false false false false false false false false false false terselabel false 1 false true false false -1000000 -1 false false false 2 false true false false -1000000 -1 false false false xbrli:monetaryItemType monetary This item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities. No authoritative reference available. false 77 2 us-gaap_AvailableForSaleSecurities us-gaap true debit instant No definition available. false false false false false false false false false false false totallabel false 1 false true false false 747000000 747 false false false 2 false true false false 256000000 256 false false false xbrli:monetaryItemType monetary For 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 true 78 2 us-gaap_CashAndCashEquivalentsAtCarryingValue us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false true false false 120000000 120 false false false 2 false true false false 68000000 68 false false false xbrli:monetaryItemType monetary Includes 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 false 79 2 us-gaap_AvailableForSaleSecuritiesCurrent us-gaap true debit instant No definition available. false false false false false false false false false false false terselabel false 1 false true false false 627000000 627 false false false 2 false true false false 188000000 188 false false false xbrli:monetaryItemType monetary Investments 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 false 80 2 us-gaap_LongTermInvestments us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 0 0 false false false 2 false true false false 0 0 false false false xbrli:monetaryItemType monetary The 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. false 81 0 na true na na No definition available. false true false false false false false false false false false http://www.microsoft.com/taxonomy/role/disclosureinvestmentcomponentsincludingassociatedderivatives false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false false 23 USD true false false false us-gaap_EquitySecuritiesMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_EquitySecuritiesMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis explicitMember iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ false 24 USD true false false false us-gaap_EquitySecuritiesMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_EquitySecuritiesMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis explicitMember iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 82 2 us-gaap_AvailableForSaleSecuritiesAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 6640000000 6640 false false false 2 false true false false 4015000000 4015 false false false xbrli:monetaryItemType monetary This 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 false 83 2 msft_AvailableForSaleSecuritiesUnrealizedGains msft false debit instant This item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading... false false false false false false false false false false false false 1 false true false false 1030000000 1030 false false false 2 false true false false 627000000 627 false false false xbrli:monetaryItemType monetary This item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading securities. No authoritative reference available. false 84 2 msft_AvailableForSaleSecuritiesUnrealizedLosses msft false debit instant This item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading... false false false false false false false false false false false terselabel false 1 false true false false -418000000 -418 false false false 2 false true false false -182000000 -182 false false false xbrli:monetaryItemType monetary This item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities. No authoritative reference available. false 85 2 us-gaap_AvailableForSaleSecurities us-gaap true debit instant No definition available. false false false false false false false false false false false totallabel false 1 false true false false 7252000000 7252 false false false 2 false true false false 4460000000 4460 false false false xbrli:monetaryItemType monetary For 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 true 86 2 us-gaap_CashAndCashEquivalentsAtCarryingValue us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false true false false 0 0 false false false 2 false true false false 0 0 false false false xbrli:monetaryItemType monetary Includes 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 false 87 2 us-gaap_AvailableForSaleSecuritiesCurrent us-gaap true debit instant No definition available. false false false false false false false false false false false terselabel false 1 false true false false 0 0 false false false 2 false true false false 0 0 false false false xbrli:monetaryItemType monetary Investments 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 false 88 2 us-gaap_LongTermInvestments us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 7252000000 7252 false false false 2 false true false false 4460000000 4460 false false false xbrli:monetaryItemType monetary The 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. false 89 0 na true na na No definition available. false true false false false false false false false false false http://www.microsoft.com/taxonomy/role/disclosureinvestmentcomponentsincludingassociatedderivatives false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false false 25 USD true false false false us-gaap_OtherDebtSecuritiesMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_OtherDebtSecuritiesMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis explicitMember iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ false 26 USD true false false false us-gaap_OtherDebtSecuritiesMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_OtherDebtSecuritiesMember us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryAxis explicitMember iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 90 2 us-gaap_AvailableForSaleSecuritiesAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 507000000 507 false false false 2 false true false false 465000000 465 false false false xbrli:monetaryItemType monetary This 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 false 91 2 msft_AvailableForSaleSecuritiesUnrealizedGains msft false debit instant This item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading... false false false false false false false false false false false false 1 false true false false 0 0 false false false 2 false true false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the unrealized gain on debt or equity securities categorized neither as held-to-maturity nor trading securities. No authoritative reference available. false 92 2 msft_AvailableForSaleSecuritiesUnrealizedLosses msft false debit instant This item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading... false false false false false false false false false false false terselabel false 1 false true false false 0 0 false false false 2 false true false false 0 0 false false false xbrli:monetaryItemType monetary This item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities. No authoritative reference available. false 93 2 us-gaap_AvailableForSaleSecurities us-gaap true debit instant No definition available. false false false false false false false false false false false totallabel false 1 false true false false 507000000 507 false false false 2 false true false false 465000000 465 false false false xbrli:monetaryItemType monetary For 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 true 94 2 us-gaap_CashAndCashEquivalentsAtCarryingValue us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false true false false 0 0 false false false 2 false true false false 0 0 false false false xbrli:monetaryItemType monetary Includes 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 false 95 2 us-gaap_AvailableForSaleSecuritiesCurrent us-gaap true debit instant No definition available. false false false false false false false false false false false terselabel false 1 false true false false 5000000 5 false false false 2 false true false false -8000000 -8 false false false xbrli:monetaryItemType monetary Investments 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 false 96 2 us-gaap_LongTermInvestments us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 true true false false 502000000 502 false false false 2 true true false false 473000000 473 false false false xbrli:monetaryItemType monetary The 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. false 2 95 false Millions UnKnown UnKnown false true