XML 92 R79.htm IDEA: XBRL DOCUMENT
v3.21.2

Income Taxes - Additional Information (Detail) - USD ($) $ in Millions | 3 Months Ended | 12 Months Ended
--- | --- | ---
Mar. 31, 2021 | Jun. 30, 2019 | Jun. 30, 2021 | Jun. 30, 2020 | Jun. 30, 2019 | Jun. 30, 2018
Income Taxes [Line Items] |  |  |  |  |  |
TCJA, provisional net charge for income taxes |  |  |  |  |  | $ 13,700
TCJA, adjustment to provisional net charge for income taxes |  |  |  |  | $ 157 |
Provision (benefit) for income taxes |  |  | $ 9,831 | $ 8,755 | 4,448 |
Income taxes paid, net of refunds |  |  | 13,400 | 12,500 | 8,400 |
Gross unrecognized tax benefits related to uncertain tax positions |  | $ 13,146 | 14,550 | 13,792 | 13,146 | $ 11,961
Gross unrecognized tax benefits related to uncertain tax positions, if recognized would affect our effective tax rates |  | 12,000 | 12,500 | 12,100 | 12,000 |
Accrued interest expense related to uncertain tax positions net of federal income tax benefits |  | 3,400 | 4,300 | 4,000 | 3,400 |
Interest expense related to uncertain tax positions, net of income tax benefits |  |  | $ 274 | $ 579 | $ 515 |
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 |  |  | 82.00% | 86.00% | 82.00% |
Federal |  |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |  |
Operating loss carryforwards |  |  | $ 304 |  |  |
State |  |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |  |
Operating loss carryforwards |  |  | 1,300 |  |  |
Foreign Country |  |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |  |
Operating loss carryforwards |  |  | $ 2,000 |  |  |
Removal of operating loss carryforwards |  |  |  | $ 2,000 |  |
Removal of operating loss carryforwards, valuation allowance |  |  |  | $ 2,000 |  |
Earliest Tax Year |  |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |  |
Tax years impacted | 1996 |  |  |  |  |
Earliest Tax Year | Federal and State |  |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |  |
Operating loss carryforwards expiration year |  |  | 2022 |  |  |
Latest Tax Year |  |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |  |
Tax years impacted | 2016 |  |  |  |  |
Latest Tax Year | Federal and State |  |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |  |
Operating loss carryforwards expiration year |  |  | 2041 |  |  |
India Supreme Court |  |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |  |
Provision (benefit) for income taxes | $ (620) |  |  |  |  |
Transfer of Intangible Properties |  |  |  |  |  |
Income Taxes [Line Items] |  |  |  |  |  |
Provision (benefit) for income taxes |  | $ (2,600) |  |  | $ (2,600) |

X
- Definition Foreign Earnings Taxed at Rates Lower Than US Rate + References No definition available. + Details
Name: | msft_ForeignEarningsTaxedAtRatesLowerThanUsRate
Namespace Prefix: | msft_
Data Type: | num: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 Operating loss carryforwards removed.. + References No definition available. + Details
Name: | msft_OperatingLossCarryforwardsRemoved
Namespace Prefix: | msft_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Removal of operating loss carryforwards, valuation allowance. + References No definition available. + Details
Name: | msft_RemovalOfOperatingLossCarryforwardsValuationAllowance
Namespace Prefix: | msft_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 http://asc.fasb.org/extlink&oid=116825942&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 http://asc.fasb.org/extlink&oid=84230637&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 http://asc.fasb.org/extlink&oid=120311839&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 http://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 http://asc.fasb.org/extlink&oid=109234566&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 http://asc.fasb.org/extlink&oid=120385591&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 http://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 http://asc.fasb.org/extlink&oid=109234566&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 http://asc.fasb.org/extlink&oid=121583591&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 http://asc.fasb.org/extlink&oid=84230637&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 income tax expense (benefit) from effect of Tax Cuts and Jobs Act. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32639-109319 + Details
Name: | us-gaap_TaxCutsAndJobsActOf2017IncomeTaxExpenseBenefit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of income tax expense (benefit) for measurement period adjustment from accounting for tax effect pursuant to Tax Cuts and Jobs Act. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section S99 -Paragraph 2A -Subparagraph (SAB Topic 5.EE.Q2(f)) -URI http://asc.fasb.org/extlink&oid=116825942&loc=SL116722634-122817 + Details
Name: | us-gaap_TaxCutsAndJobsActOf2017MeasurementPeriodAdjustmentIncomeTaxExpenseBenefit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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 http://asc.fasb.org/extlink&oid=120406818&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 http://asc.fasb.org/extlink&oid=84230637&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 http://asc.fasb.org/extlink&oid=84230637&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 http://asc.fasb.org/extlink&oid=84230637&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 http://asc.fasb.org/extlink&oid=84230637&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_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: |

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