2.2.0.7trueAllowance for Doubtful Accounts (Detail) (Allowance for doubtful accounts, USD $)1054 - Disclosure - Allowance for Doubtful Accounts (Detail)truefalseIn Millionsfalsefalse1USDtruefalsefalsefalseAllowance for doubtful accountsus-gaap_ReceivablesByBusinessSegmentOfEntityTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_AllowanceForDoubtfulAccountsMemberus-gaap_ReceivablesByBusinessSegmentOfEntityTypeAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false2USDtruefalsefalsefalseAllowance for doubtful accountsus-gaap_ReceivablesByBusinessSegmentOfEntityTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_AllowanceForDoubtfulAccountsMemberus-gaap_ReceivablesByBusinessSegmentOfEntityTypeAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false3USDtruefalsefalsefalseAllowance for doubtful accountsus-gaap_ReceivablesByBusinessSegmentOfEntityTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_AllowanceForDoubtfulAccountsMemberus-gaap_ReceivablesByBusinessSegmentOfEntityTypeAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$22us-gaap_ValuationAllowancesAndReservesBalanceus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsetruefalsefalseperiodstartlabelfalse1truetruefalsefalse451000000451falsefalsefalse2truetruefalsefalse153000000153falsefalsefalse3truetruefalsefalse117000000117falsefalsefalsexbrli:monetaryItemTypemonetaryTotal of allowances and reserves, the valuation and qualifying accounts that are either netted against the cost of an asset (in order to value it at its carrying value) or that reflect a liability established to represent expected future costsReference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 09
-Article 12
false32msft_ValuationAllowancesAndReservesChargedToCostsAndOthermsftfalsecreditdurationTotal of allowances and reserves, the valuation and qualifying accounts that are either netted against the cost of an asset...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalse1falsetruefalsefalse4500000045falsefalsefalse2falsetruefalsefalse360000000360falsefalsefalse3falsetruefalsefalse8800000088falsefalsefalsexbrli:monetaryItemTypemonetaryTotal of allowances and reserves, the valuation and qualifying accounts that are either netted against the cost of an asset (in order to value it at its carrying value) or that reflect a liability established to represent expected future costs, charged to costs and expenses, as well as other adjustments to the reserves that are not charged to costs and expenses.No authoritative reference available.false42us-gaap_ValuationAllowancesAndReservesDeductionsus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsetruenegatedfalse1falsetruefalsefalse-121000000-121falsefalsefalse2falsetruefalsefalse-62000000-62falsefalsefalse3falsetruefalsefalse-52000000-52falsefalsefalsexbrli:monetaryItemTypemonetaryTotal of the deductions in a given period to allowances and reserves, the valuation and qualifying accounts that are either netted against the cost of an asset (in order to value it at its carrying value) or that reflect a liability established to represent expected future costs, representing receivables written off as uncollectible and portions of the reserves utilized, respectively.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 09
-Article 12
false52us-gaap_ValuationAllowancesAndReservesBalanceus-gaaptruecreditinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsetruefalseperiodendlabelfalse1truetruefalsefalse375000000375falsefalsefalse2truetruefalsefalse451000000451falsefalsefalse3truetruefalsefalse153000000153falsefalsefalsexbrli:monetaryItemTypemonetaryTotal of allowances and reserves, the valuation and qualifying accounts that are either netted against the cost of an asset (in order to value it at its carrying value) or that reflect a liability established to represent expected future costsReference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 09
-Article 12
false34falseMillionsUnKnownUnKnownfalsetrue