2.2.0.7 false Investments - Additional Information (Detail) (USD $) 1061 - Disclosure - Investments - Additional Information (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 $ 5 3 msft_RestrictedOrNonPubliclyTradedLongTermEquityInvestments msft false debit instant The recorded basis of restricted or non publicly traded long term equity investments. false false false false false false false false false false false false 1 true true false false 216000000 216 false false false 2 true true false false 204000000 204 false false false xbrli:monetaryItemType monetary The recorded basis of restricted or non publicly traded long term equity investments. No authoritative reference available. false 6 3 msft_RestrictedOrNonPubliclyTradedLongTermEquityInvestmentsAtFairValue msft false debit instant The estimated fair value of restricted or non publicly traded long term equity investments. false false false false false false false false false false false false 1 true true false false 216000000 216 false false false 2 true true false false 204000000 204 false false false xbrli:monetaryItemType monetary The estimated fair value of restricted or non publicly traded long term equity investments. No authoritative reference available. false 2 2 false Millions UnKnown UnKnown false true