XML 93 R85.htm IDEA: XBRL DOCUMENT
v3.24.4

Summary of Changes in Accumulated Other Comprehensive Income (Loss) by Component (Detail) - USD ($) $ in Millions | 3 Months Ended | 6 Months Ended
--- | --- | ---
Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2024 | Dec. 31, 2023
Accumulated Other Comprehensive Income (Loss) [Line Items] |  |  |  |
Balance, beginning of period |  |  | $ 268,477 |
Other comprehensive income (loss) | $ (1,434) | $ 1,988 | (26) | $ 1,394
Balance, end of period | 302,695 | 238,268 | 302,695 | 238,268
Derivatives |  |  |  |
Accumulated Other Comprehensive Income (Loss) [Line Items] |  |  |  |
Balance, beginning of period | (13) | (6) | (3) | (27)
Unrealized gains (losses), net of tax | (50) | 37 | (21) | 22
Tax expense (benefit) included in provision for income taxes | (22) | 11 | (12) | 1
Amounts reclassified from accumulated other comprehensive loss | 84 | (40) | 45 | (4)
Other comprehensive income (loss) | 34 | (3) | 24 | 18
Balance, end of period | 21 | (9) | 21 | (9)
Derivatives | Other Income (Expense), Net |  |  |  |
Accumulated Other Comprehensive Income (Loss) [Line Items] |  |  |  |
Reclassification adjustments for (gains) losses included in other income (expense), net | 106 | (51) | 57 | (5)
Investments |  |  |  |
Accumulated Other Comprehensive Income (Loss) [Line Items] |  |  |  |
Balance, beginning of period | (1,511) | (3,842) | (2,625) | (3,582)
Unrealized gains (losses), net of tax | (453) | 1,325 | 665 | 1,042
Tax expense (benefit) included in provision for income taxes | (5) | (1) | (4) | (7)
Amounts reclassified from accumulated other comprehensive loss | 19 | 6 | 15 | 29
Other comprehensive income (loss) | (434) | 1,331 | 680 | 1,071
Balance, end of period | (1,945) | (2,511) | (1,945) | (2,511)
Investments | Other Income (Expense), Net |  |  |  |
Accumulated Other Comprehensive Income (Loss) [Line Items] |  |  |  |
Reclassification adjustments for (gains) losses included in other income (expense), net | 24 | 7 | 19 | 36
Translation adjustments and other |  |  |  |
Accumulated Other Comprehensive Income (Loss) [Line Items] |  |  |  |
Balance, beginning of period | (2,658) | (3,089) | (2,962) | (2,734)
Other comprehensive income (loss) | (1,034) | 660 | (730) | 305
Balance, end of period | (3,692) | (2,429) | (3,692) | (2,429)
Accumulated other comprehensive loss |  |  |  |
Accumulated Other Comprehensive Income (Loss) [Line Items] |  |  |  |
Balance, beginning of period | (4,182) | (6,937) | (5,590) | (6,343)
Other comprehensive income (loss) | (1,434) | 1,988 | 26 | 1,394
Balance, end of period | $ (5,616) | $ (4,949) | $ (5,616) | $ (4,949)

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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482765/220-10-50-4 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482765/220-10-50-5 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481674/830-30-50-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481694/830-30-45-17 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 20 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481694/830-30-45-20 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 20 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481694/830-30-45-20 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 20 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481694/830-30-45-20 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 20 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481694/830-30-45-20 + Details
Name: | us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount after tax, before reclassification adjustments, of other comprehensive income (loss), attributable to parent. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 14A -Publisher FASB -URI https://asc.fasb.org/1943274/2147482790/220-10-45-14A Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 55 -Paragraph 15 -SubTopic 10 -Topic 220 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482739/220-10-55-15 + Details
Name: | us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount after tax of other comprehensive income (loss) attributable to parent entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 810 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 19 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481231/810-10-45-19 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 20 -SubTopic 10 -Topic 810 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481231/810-10-45-20 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (c)(3) -SubTopic 10 -Topic 810 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481203/810-10-50-1A Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 250 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483443/250-10-50-6 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482790/220-10-45-1B Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1A -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482790/220-10-45-1A + Details
Name: | us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount before tax of reclassification adjustments of other comprehensive income (loss) attributable to parent. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 14A -Publisher FASB -URI https://asc.fasb.org/1943274/2147482790/220-10-45-14A + Details
Name: | us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount after tax of reclassification adjustments of other comprehensive income (loss) attributable to parent. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 14A -Publisher FASB -URI https://asc.fasb.org/1943274/2147482790/220-10-45-14A Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 55 -Paragraph 15 -SubTopic 10 -Topic 220 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482739/220-10-55-15 + Details
Name: | us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of tax expense (benefit) of reclassification adjustment from accumulated other comprehensive income (loss). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 12 -SubTopic 10 -Topic 220 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482790/220-10-45-12 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482765/220-10-50-4 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(19)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477250/944-220-S99-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 17A -Publisher FASB -URI https://asc.fasb.org/1943274/2147482790/220-10-45-17A + Details
Name: | us-gaap_ReclassificationFromAociCurrentPeriodTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of equity (deficit) attributable to parent. Excludes temporary equity and equity attributable to noncontrolling interest. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(30)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(31)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 852 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481372/852-10-55-10 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 946 -SubTopic 830 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479168/946-830-55-12 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(19)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.6-05(4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-2 Reference 8: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(4)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-3 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(6)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-3 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(7)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-3 Reference 11: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(g)(1)(ii)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 Reference 12: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 323 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481687/323-10-50-3 Reference 13: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 28 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482907/825-10-50-28 Reference 14: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 4.E) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480418/310-10-S99-2 + Details
Name: | us-gaap_StockholdersEquity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_NonoperatingIncomeExpenseMember
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: |

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