2.2.0.7trueUnrealized Losses on Investments (Detail) (USD $)1060 - Disclosure - Unrealized Losses on Investments (Detail)truefalseIn Millionsfalsefalse1USDfalsefalseiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170pureStandardhttp://www.xbrl.org/2003/instancepure0sharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0$false2USDfalsefalseiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170sharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0$22us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1truetruefalsefalse36130000003613falsefalsefalse2truetruefalsefalse78660000007866falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for less than twelve months.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false32msft_AvailableForSaleSecuritiesContinuousUnrealizedLossLessThanTwelveMonthsmsftfalsedebitinstantAvailable-for-sale Securities, Continuous Unrealized Losses, Less than Twelve Months.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse-360000000-360falsefalsefalse2falsetruefalsefalse-171000000-171falsefalsefalsexbrli:monetaryItemTypemonetaryAvailable-for-sale Securities, Continuous Unrealized Losses, Less than Twelve Months.No authoritative reference available.false42us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse297000000297falsefalsefalse2falsetruefalsefalse13700000001370falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for twelve months or longer.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false52msft_AvailableForSaleSecuritiesContinuousUnrealizedLossTwelveMonthsOrLongermsftfalsedebitinstantAvailable-for-sale Securities, Continuous Unrealized Losses, Twelve Months or Longer.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse-85000000-85falsefalsefalse2falsetruefalsefalse-114000000-114falsefalsefalsexbrli:monetaryItemTypemonetaryAvailable-for-sale Securities, Continuous Unrealized Losses, Twelve Months or Longer.No authoritative reference available.false62us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse39100000003910falsefalsefalse2falsetruefalsefalse92360000009236falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of securities in an unrealized loss position which are categorized neither as held-to-maturity nor trading securities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false72msft_AvailableForSaleSecuritiesUnrealizedLossesmsftfalsedebitinstantThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse-445000000-445falsefalsefalse2falsetruefalsefalse-285000000-285falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false80natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosureunrealizedlossesoninvestmentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse3USDtruefalsefalsefalseUS Government and Agency securitiesus-gaap_ScheduleOfAvailableForSaleSecuritiesMajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_USGovernmentAgenciesDebtSecuritiesMemberus-gaap_ScheduleOfAvailableForSaleSecuritiesMajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false4USDtruefalsefalsefalseUS Government and Agency securitiesus-gaap_ScheduleOfAvailableForSaleSecuritiesMajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_USGovernmentAgenciesDebtSecuritiesMemberus-gaap_ScheduleOfAvailableForSaleSecuritiesMajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false92us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse216000000216falsefalsefalse2falsetruefalsefalse40330000004033falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for less than twelve months.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false102msft_AvailableForSaleSecuritiesContinuousUnrealizedLossLessThanTwelveMonthsmsftfalsedebitinstantAvailable-for-sale Securities, Continuous Unrealized Losses, Less than Twelve Months.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse-1000000-1falsefalsefalse2falsetruefalsefalse-5000000-5falsefalsefalsexbrli:monetaryItemTypemonetaryAvailable-for-sale Securities, Continuous Unrealized Losses, Less than Twelve Months.No authoritative reference available.false112us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for twelve months or longer.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false122msft_AvailableForSaleSecuritiesContinuousUnrealizedLossTwelveMonthsOrLongermsftfalsedebitinstantAvailable-for-sale Securities, Continuous Unrealized Losses, Twelve Months or Longer.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAvailable-for-sale Securities, Continuous Unrealized Losses, Twelve Months or Longer.No authoritative reference available.false132us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse216000000216falsefalsefalse2falsetruefalsefalse40330000004033falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of securities in an unrealized loss position which are categorized neither as held-to-maturity nor trading securities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false142msft_AvailableForSaleSecuritiesUnrealizedLossesmsftfalsedebitinstantThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse-1000000-1falsefalsefalse2falsetruefalsefalse-5000000-5falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false150natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosureunrealizedlossesoninvestmentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse5USDtruefalsefalsefalseMortgage-backed securitiesus-gaap_ScheduleOfAvailableForSaleSecuritiesMajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MortgageBackedSecuritiesMemberus-gaap_ScheduleOfAvailableForSaleSecuritiesMajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false6USDtruefalsefalsefalseMortgage-backed securitiesus-gaap_ScheduleOfAvailableForSaleSecuritiesMajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MortgageBackedSecuritiesMemberus-gaap_ScheduleOfAvailableForSaleSecuritiesMajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false162us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse105000000105falsefalsefalse2falsetruefalsefalse503000000503falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for less than twelve months.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false172msft_AvailableForSaleSecuritiesContinuousUnrealizedLossLessThanTwelveMonthsmsftfalsedebitinstantAvailable-for-sale Securities, Continuous Unrealized Losses, Less than Twelve Months.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse-6000000-6falsefalsefalse2falsetruefalsefalse-16000000-16falsefalsefalsexbrli:monetaryItemTypemonetaryAvailable-for-sale Securities, Continuous Unrealized Losses, Less than Twelve Months.No authoritative reference available.false182us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse1800000018falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for twelve months or longer.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false192msft_AvailableForSaleSecuritiesContinuousUnrealizedLossTwelveMonthsOrLongermsftfalsedebitinstantAvailable-for-sale Securities, Continuous Unrealized Losses, Twelve Months or Longer.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse-1000000-1falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAvailable-for-sale Securities, Continuous Unrealized Losses, Twelve Months or Longer.No authoritative reference available.false202us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse123000000123falsefalsefalse2falsetruefalsefalse503000000503falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of securities in an unrealized loss position which are categorized neither as held-to-maturity nor trading securities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false212msft_AvailableForSaleSecuritiesUnrealizedLossesmsftfalsedebitinstantThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse-7000000-7falsefalsefalse2falsetruefalsefalse-16000000-16falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false220natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosureunrealizedlossesoninvestmentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse7USDtruefalsefalsefalseCorporate notes and bondsus-gaap_ScheduleOfAvailableForSaleSecuritiesMajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CorporateDebtSecuritiesMemberus-gaap_ScheduleOfAvailableForSaleSecuritiesMajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false8USDtruefalsefalsefalseCorporate notes and bondsus-gaap_ScheduleOfAvailableForSaleSecuritiesMajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CorporateDebtSecuritiesMemberus-gaap_ScheduleOfAvailableForSaleSecuritiesMajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false232us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse11240000001124falsefalsefalse2falsetruefalsefalse713000000713falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for less than twelve months.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false242msft_AvailableForSaleSecuritiesContinuousUnrealizedLossLessThanTwelveMonthsmsftfalsedebitinstantAvailable-for-sale Securities, Continuous Unrealized Losses, Less than Twelve Months.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse-13000000-13falsefalsefalse2falsetruefalsefalse-10000000-10falsefalsefalsexbrli:monetaryItemTypemonetaryAvailable-for-sale Securities, Continuous Unrealized Losses, Less than Twelve Months.No authoritative reference available.false252us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse8900000089falsefalsefalse2falsetruefalsefalse504000000504falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for twelve months or longer.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false262msft_AvailableForSaleSecuritiesContinuousUnrealizedLossTwelveMonthsOrLongermsftfalsedebitinstantAvailable-for-sale Securities, Continuous Unrealized Losses, Twelve Months or Longer.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse-5000000-5falsefalsefalse2falsetruefalsefalse-42000000-42falsefalsefalsexbrli:monetaryItemTypemonetaryAvailable-for-sale Securities, Continuous Unrealized Losses, Twelve Months or Longer.No authoritative reference available.false272us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse12130000001213falsefalsefalse2falsetruefalsefalse12170000001217falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of securities in an unrealized loss position which are categorized neither as held-to-maturity nor trading securities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false282msft_AvailableForSaleSecuritiesUnrealizedLossesmsftfalsedebitinstantThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse-18000000-18falsefalsefalse2falsetruefalsefalse-52000000-52falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false290natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosureunrealizedlossesoninvestmentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse9USDtruefalsefalsefalseMunicipal securitiesus-gaap_ScheduleOfAvailableForSaleSecuritiesMajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_USStatesAndPoliticalSubdivisionsMemberus-gaap_ScheduleOfAvailableForSaleSecuritiesMajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false10USDtruefalsefalsefalseMunicipal securitiesus-gaap_ScheduleOfAvailableForSaleSecuritiesMajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_USStatesAndPoliticalSubdivisionsMemberus-gaap_ScheduleOfAvailableForSaleSecuritiesMajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false302us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse6600000066falsefalsefalse2falsetruefalsefalse1600000016falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for less than twelve months.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false312msft_AvailableForSaleSecuritiesContinuousUnrealizedLossLessThanTwelveMonthsmsftfalsedebitinstantAvailable-for-sale Securities, Continuous Unrealized Losses, Less than Twelve Months.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse-1000000-1falsefalsefalse2falsetruefalsefalse-1000000-1falsefalsefalsexbrli:monetaryItemTypemonetaryAvailable-for-sale Securities, Continuous Unrealized Losses, Less than Twelve Months.No authoritative reference available.false322us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for twelve months or longer.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false332msft_AvailableForSaleSecuritiesContinuousUnrealizedLossTwelveMonthsOrLongermsftfalsedebitinstantAvailable-for-sale Securities, Continuous Unrealized Losses, Twelve Months or Longer.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse00falsefalsefalse2falsetruefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAvailable-for-sale Securities, Continuous Unrealized Losses, Twelve Months or Longer.No authoritative reference available.false342us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse6600000066falsefalsefalse2falsetruefalsefalse1600000016falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of securities in an unrealized loss position which are categorized neither as held-to-maturity nor trading securities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false352msft_AvailableForSaleSecuritiesUnrealizedLossesmsftfalsedebitinstantThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse-1000000-1falsefalsefalse2falsetruefalsefalse-1000000-1falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false360natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosureunrealizedlossesoninvestmentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse11USDtruefalsefalsefalseCommon and preferred Stockus-gaap_ScheduleOfAvailableForSaleSecuritiesMajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EquitySecuritiesMemberus-gaap_ScheduleOfAvailableForSaleSecuritiesMajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false12USDtruefalsefalsefalseCommon and preferred Stockus-gaap_ScheduleOfAvailableForSaleSecuritiesMajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EquitySecuritiesMemberus-gaap_ScheduleOfAvailableForSaleSecuritiesMajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false372us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse21020000002102falsefalsefalse2falsetruefalsefalse11540000001154falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for less than twelve months.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false382msft_AvailableForSaleSecuritiesContinuousUnrealizedLossLessThanTwelveMonthsmsftfalsedebitinstantAvailable-for-sale Securities, Continuous Unrealized Losses, Less than Twelve Months.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse-339000000-339falsefalsefalse2falsetruefalsefalse-135000000-135falsefalsefalsexbrli:monetaryItemTypemonetaryAvailable-for-sale Securities, Continuous Unrealized Losses, Less than Twelve Months.No authoritative reference available.false392us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse190000000190falsefalsefalse2falsetruefalsefalse120000000120falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for twelve months or longer.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false402msft_AvailableForSaleSecuritiesContinuousUnrealizedLossTwelveMonthsOrLongermsftfalsedebitinstantAvailable-for-sale Securities, Continuous Unrealized Losses, Twelve Months or Longer.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse-79000000-79falsefalsefalse2falsetruefalsefalse-47000000-47falsefalsefalsexbrli:monetaryItemTypemonetaryAvailable-for-sale Securities, Continuous Unrealized Losses, Twelve Months or Longer.No authoritative reference available.false412us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse22920000002292falsefalsefalse2falsetruefalsefalse12740000001274falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of securities in an unrealized loss position which are categorized neither as held-to-maturity nor trading securities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false422msft_AvailableForSaleSecuritiesUnrealizedLossesmsftfalsedebitinstantThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse-418000000-418falsefalsefalse2falsetruefalsefalse-182000000-182falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false430natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosureunrealizedlossesoninvestmentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse13USDtruefalsefalsefalseMutual fundsus-gaap_ScheduleOfAvailableForSaleSecuritiesMajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldimsft_MutualFundsMemberus-gaap_ScheduleOfAvailableForSaleSecuritiesMajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false442us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse00falsefalsefalse2falsetruefalsefalse30000003falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for less than twelve months.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false452msft_AvailableForSaleSecuritiesContinuousUnrealizedLossLessThanTwelveMonthsmsftfalsedebitinstantAvailable-for-sale Securities, Continuous Unrealized Losses, Less than Twelve Months.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse00falsefalsefalse2falsetruefalsefalse-1000000-1falsefalsefalsexbrli:monetaryItemTypemonetaryAvailable-for-sale Securities, Continuous Unrealized Losses, Less than Twelve Months.No authoritative reference available.false462us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse00falsefalsefalse2falsetruefalsefalse7700000077falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for twelve months or longer.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false472msft_AvailableForSaleSecuritiesContinuousUnrealizedLossTwelveMonthsOrLongermsftfalsedebitinstantAvailable-for-sale Securities, Continuous Unrealized Losses, Twelve Months or Longer.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse00falsefalsefalse2falsetruefalsefalse-24000000-24falsefalsefalsexbrli:monetaryItemTypemonetaryAvailable-for-sale Securities, Continuous Unrealized Losses, Twelve Months or Longer.No authoritative reference available.false482us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse00falsefalsefalse2falsetruefalsefalse8000000080falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of securities in an unrealized loss position which are categorized neither as held-to-maturity nor trading securities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false492msft_AvailableForSaleSecuritiesUnrealizedLossesmsftfalsedebitinstantThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse00falsefalsefalse2falsetruefalsefalse-25000000-25falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false500natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.microsoft.com/taxonomy/role/disclosureunrealizedlossesoninvestmentsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse14USDtruefalsefalsefalseForeign government bondsus-gaap_ScheduleOfAvailableForSaleSecuritiesMajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignGovernmentDebtSecuritiesMemberus-gaap_ScheduleOfAvailableForSaleSecuritiesMajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false512us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse00falsefalsefalse2falsetruefalsefalse14440000001444falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for less than twelve months.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false522msft_AvailableForSaleSecuritiesContinuousUnrealizedLossLessThanTwelveMonthsmsftfalsedebitinstantAvailable-for-sale Securities, Continuous Unrealized Losses, Less than Twelve Months.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse00falsefalsefalse2falsetruefalsefalse-3000000-3falsefalsefalsexbrli:monetaryItemTypemonetaryAvailable-for-sale Securities, Continuous Unrealized Losses, Less than Twelve Months.No authoritative reference available.false532us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse00falsefalsefalse2falsetruefalsefalse669000000669falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for twelve months or longer.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false542msft_AvailableForSaleSecuritiesContinuousUnrealizedLossTwelveMonthsOrLongermsftfalsedebitinstantAvailable-for-sale Securities, Continuous Unrealized Losses, Twelve Months or Longer.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse00falsefalsefalse2falsetruefalsefalse-1000000-1falsefalsefalsexbrli:monetaryItemTypemonetaryAvailable-for-sale Securities, Continuous Unrealized Losses, Twelve Months or Longer.No authoritative reference available.false552us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse00falsefalsefalse2falsetruefalsefalse21130000002113falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of securities in an unrealized loss position which are categorized neither as held-to-maturity nor trading securities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false562msft_AvailableForSaleSecuritiesUnrealizedLossesmsftfalsedebitinstantThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalsefalse00falsefalsefalse2truetruefalsefalse-4000000-4falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the unrealized losses on debt or equity securities categorized neither as held-to-maturity nor trading securities.No authoritative reference available.false255falseMillionsUnKnownUnKnownfalsetrue