2.2.0.7trueFuture Minimum Rental Commitments Under Noncancellable Operating Leases (Detail) (Real Estate, USD $)1096 - Disclosure - Future Minimum Rental Commitments Under Noncancellable Operating Leases (Detail)truefalseIn Millionsfalsefalse1USDtruefalsefalsefalseReal Estateus-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RealEstateMemberus-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$22us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrentus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1truetruefalsefalse437000000437falsefalsefalsexbrli:monetaryItemTypemonetaryFor leases having an initial or remaining non-cancelable letter-terms in excess of one year, required rental payments due within one year of the balance sheet date relating to leases defined as operating.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 13
-Paragraph 122
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 13
-Paragraph 16
-Subparagraph b(i)
false32us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYearsus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse322000000322falsefalsefalsexbrli:monetaryItemTypemonetaryFor leases having an initial or remaining non-cancelable letter-terms in excess of one year, required rental payments due within the second year of the balance sheet date relating to leases defined as operating.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 13
-Paragraph 122
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 13
-Paragraph 16
-Subparagraph b(i)
false42us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYearsus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse256000000256falsefalsefalsexbrli:monetaryItemTypemonetaryFor leases having an initial or remaining non-cancelable letter-terms in excess of one year, required rental payments due within the third year of the balance sheet date relating to leases defined as operating.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 13
-Paragraph 122
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 13
-Paragraph 16
-Subparagraph b(i)
false52us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYearsus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabelfalse1falsetruefalsefalse206000000206falsefalsefalsexbrli:monetaryItemTypemonetaryFor leases having an initial or remaining non-cancelable letter-terms in excess of one year, required rental payments due within the fourth year of the balance sheet date relating to leases defined as operating.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 13
-Paragraph 122
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 13
-Paragraph 16
-Subparagraph b(i)
false62msft_OperatingLeasesFutureMinimumPaymentsDueInFiveYearsAndThereaftermsftfalsecreditinstantOperating Leases, Future Minimum Payments, Due in Five Years and Thereafterfalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse677000000677falsefalsefalsexbrli:monetaryItemTypemonetaryOperating Leases, Future Minimum Payments, Due in Five Years and ThereafterNo authoritative reference available.false72us-gaap_OperatingLeasesFutureMinimumPaymentsDueus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabelfalse1truetruefalsefalse18980000001898falsefalsefalsexbrli:monetaryItemTypemonetaryThe total of future contractually required payments on leases defined as operating.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 13
-Paragraph 122
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 13
-Paragraph 16
-Subparagraph b(i)
true16falseMillionsUnKnownUnKnownfalsetrue