XML 88 R77.htm IDEA: XBRL DOCUMENT
v3.19.3.a.u2

Summary of Changes in Accumulated Other Comprehensive Income (Loss) by Component (Parenthetical) (Detail) - USD ($) $ in Millions | 3 Months Ended | 6 Months Ended
--- | --- | ---
Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2019 | Dec. 31, 2018
Derivatives |  |  |  |
Accumulated Other Comprehensive Income (Loss) [Line Items] |  |  |  |
Unrealized gains (losses), tax | $ 1 | $ 3 | $ (1) | $ 2
Net change related to other comprehensive income (loss), tax | (1) | 1 | (2) | (3)
Investments |  |  |  |
Accumulated Other Comprehensive Income (Loss) [Line Items] |  |  |  |
Unrealized gains (losses), tax | (111) | 234 | 45 | 148
Net change related to other comprehensive income (loss), tax | (112) | 234 | 44 | 164
Translation adjustments and other |  |  |  |
Accumulated Other Comprehensive Income (Loss) [Line Items] |  |  |  |
Net change related to other comprehensive income (loss), tax | $ 0 | $ (1) | $ (8) | $ (1)

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of tax expense (benefit) allocated to other comprehensive income (loss) before reclassification adjustment from accumulated other comprehensive income (loss). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 20 -Section 45 -Paragraph 11 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109238882&loc=d3e39076-109324 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=118930883&loc=d3e640-108580 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of tax expense (benefit) allocated to other comprehensive income (loss) attributable to parent entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=108774443&loc=SL4569643-111683 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 19 -URI http://asc.fasb.org/extlink&oid=108774443&loc=SL4569616-111683 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (c)(3) -URI http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=msft_AccumulatedTranslationAdjustmentAndOtherMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |