2.2.0.7 true Allowance for Doubtful Accounts (Detail) (Allowance for doubtful accounts, USD $) 1054 - Disclosure - Allowance for Doubtful Accounts (Detail) true false In Millions false false 1 USD true false false false Allowance for doubtful accounts us-gaap_ReceivablesByBusinessSegmentOfEntityTypeAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_AllowanceForDoubtfulAccountsMember us-gaap_ReceivablesByBusinessSegmentOfEntityTypeAxis explicitMember iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ false 2 USD true false false false Allowance for doubtful accounts us-gaap_ReceivablesByBusinessSegmentOfEntityTypeAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_AllowanceForDoubtfulAccountsMember us-gaap_ReceivablesByBusinessSegmentOfEntityTypeAxis explicitMember iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ false 3 USD true false false false Allowance for doubtful accounts us-gaap_ReceivablesByBusinessSegmentOfEntityTypeAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_AllowanceForDoubtfulAccountsMember us-gaap_ReceivablesByBusinessSegmentOfEntityTypeAxis explicitMember iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ 2 2 us-gaap_ValuationAllowancesAndReservesBalance us-gaap true credit instant No definition available. false false false false false false false false true false false periodstartlabel false 1 true true false false 451000000 451 false false false 2 true true false false 153000000 153 false false false 3 true true false false 117000000 117 false false false xbrli:monetaryItemType monetary Total 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 Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 09 -Article 12 false 3 2 msft_ValuationAllowancesAndReservesChargedToCostsAndOther msft false credit duration Total of allowances and reserves, the valuation and qualifying accounts that are either netted against the cost of an asset... false false false false false false false false false false false false 1 false true false false 45000000 45 false false false 2 false true false false 360000000 360 false false false 3 false true false false 88000000 88 false false false xbrli:monetaryItemType monetary Total 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. false 4 2 us-gaap_ValuationAllowancesAndReservesDeductions us-gaap true debit duration No definition available. false false false false false false false false false false true negated false 1 false true false false -121000000 -121 false false false 2 false true false false -62000000 -62 false false false 3 false true false false -52000000 -52 false false false xbrli:monetaryItemType monetary Total 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 false 5 2 us-gaap_ValuationAllowancesAndReservesBalance us-gaap true credit instant No definition available. false false false false false false false false false true false periodendlabel false 1 true true false false 375000000 375 false false false 2 true true false false 451000000 451 false false false 3 true true false false 153000000 153 false false false xbrli:monetaryItemType monetary Total 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 Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 09 -Article 12 false 3 4 false Millions UnKnown UnKnown false true