XML 95 R83.htm IDEA: XBRL DOCUMENT
v3.22.2

Income Taxes - Additional Information (Detail) - USD ($) $ in Millions | 3 Months Ended | 12 Months Ended |
--- | --- | --- | ---
Sep. 30, 2021 | Mar. 31, 2021 | Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020 | Jun. 30, 2019
Income Taxes [Line Items] |  |  |  |  |  |
Provision (benefit) for income taxes |  |  | $ 10,978 | $ 9,831 | $ 8,755 |
Income taxes paid, net of refunds |  |  | 16,000 | 13,400 | 12,500 |
Gross unrecognized tax benefits related to uncertain tax positions |  |  | 15,593 | 14,550 | 13,792 | $ 13,146
Gross unrecognized tax benefits related to uncertain tax positions, if recognized would affect our effective tax rates |  |  | 13,300 | 12,500 | 12,100 |
Accrued interest expense related to uncertain tax positions net of federal income tax benefits |  |  | 4,300 | 4,300 | 4,000 |
Interest expense related to uncertain tax positions, net of income tax benefits |  |  | $ 36 | $ 274 | $ 579 |
Regional Operating Centers |  |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |  |
Foreign earnings, taxed at rates lower than U.S. rate as a percentage of foreign income before tax |  |  | 71.00% | 82.00% | 86.00% |
Federal |  |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |  |
Operating loss carryforwards |  |  | $ 318 |  |  |
Capital loss carryforwards |  |  | 1,300 |  |  |
State |  |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |  |
Operating loss carryforwards |  |  | 1,300 |  |  |
Foreign Country |  |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |  |
Operating loss carryforwards |  |  | $ 2,100 |  |  |
Transfer of Intangible Properties |  |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |  |
Provision (benefit) for income taxes | $ (3,300) |  |  |  |  |
Earliest Tax Year |  |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |  |
Tax years impacted |  | 1996 |  |  |  |
Earliest Tax Year | Federal |  |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |  |
Capital loss carryforwards expiration year |  |  | 2023 |  |  |
Earliest Tax Year | Federal and State |  |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |  |
Operating loss carryforwards expiration year |  |  | 2023 |  |  |
Latest Tax Year |  |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |  |
Tax years impacted |  | 2016 |  |  |  |
Latest Tax Year | Federal |  |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |  |
Capital loss carryforwards expiration year |  |  | 2025 |  |  |
Latest Tax Year | Federal and State |  |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |  |
Operating loss carryforwards expiration year |  |  | 2042 |  |  |
India Supreme Court |  |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |  |
Provision (benefit) for income taxes |  | $ (620) |  |  |  |

X
- Definition Amount of capital loss carryforward, before tax effects, available to reduce future taxable capital gain under enacted tax laws. + References No definition available. + Details
Name: | msft_CapitalLossCarryforwards
Namespace Prefix: | msft_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Capital loss carryforwards expiration year. + References No definition available. + Details
Name: | msft_CapitalLossCarryforwardsExpirationYear
Namespace Prefix: | msft_
Data Type: | xbrli:gYearItemType
Balance Type: | na
Period Type: | duration

X
- Definition Foreign Earnings Taxed at Rates Lower Than US Rate + References No definition available. + Details
Name: | msft_ForeignEarningsTaxedAtRatesLowerThanUsRate
Namespace Prefix: | msft_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Income Taxes [Line Items] + References No definition available. + Details
Name: | msft_IncomeTaxesLineItems
Namespace Prefix: | msft_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Operating loss carryforwards expiration year. + References No definition available. + Details
Name: | msft_OperatingLossCarryforwardsExpirationYear
Namespace Prefix: | msft_
Data Type: | xbrli:gYearItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tax year impacted by the India Supreme Court Decision. + References No definition available. + Details
Name: | msft_TaxYearIndiaSupremeCourtDecision
Namespace Prefix: | msft_
Data Type: | xbrli:gYearItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB TOPIC 6.I.7) -URI https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=121826272&loc=d3e32672-109319 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -Subparagraph (h) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(h)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 9 -URI https://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 20 -Section 45 -Paragraph 2 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123586238&loc=d3e38679-109324 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(9)) -URI https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794 + Details
Name: | us-gaap_IncomeTaxExpenseBenefit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income, net of any cash received during the current period as refunds for the overpayment of taxes. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4297-108586 + Details
Name: | us-gaap_IncomeTaxesPaidNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121826272&loc=d3e32559-109319 + Details
Name: | us-gaap_OperatingLossCarryforwards
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of unrecognized tax benefits. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 10B -URI https://asc.fasb.org/extlink&oid=123427490&loc=SL37586934-109318 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15A -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319 + Details
Name: | us-gaap_UnrecognizedTaxBenefits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount accrued for interest on an underpayment of income taxes and penalties related to a tax position claimed or expected to be claimed in the tax return. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319 + Details
Name: | us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of expense for interest on an underpayment of income taxes and penalties related to a tax position claimed or expected to be claimed in the tax return. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319 + Details
Name: | us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The total amount of unrecognized tax benefits that, if recognized, would affect the effective tax rate. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15A -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319 + Details
Name: | us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=msft_RegionalOperatingCentersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=us-gaap_DomesticCountryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=us-gaap_StateAndLocalJurisdictionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=us-gaap_ForeignCountryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis=msft_TransferOfIntangiblePropertiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=us-gaap_EarliestTaxYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=msft_FederalAndStateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=us-gaap_LatestTaxYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityNameAxis=msft_IndiaSupremeCourtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |