XML 133 R118.htm IDEA: XBRL DOCUMENT
v3.20.2

Quarterly Information (Unaudited) (Parenthetical) (Detail) - USD ($) $ / shares in Units, $ in Millions | 3 Months Ended | 12 Months Ended
--- | --- | ---
Jun. 30, 2019 | Dec. 31, 2018 | Jun. 30, 2020 | Jun. 30, 2019 | Jun. 30, 2018
Quarterly Financial Information [Line Items] |  |  |  |  |
TCJA, adjustment to provisional net charge for income taxes |  | $ 157 |  | $ 157 |
Provision (benefit) for income taxes |  |  | $ 8,755 | 4,448 | $ 19,903
Transfer of Intangible Properties |  |  |  |  |
Quarterly Financial Information [Line Items] |  |  |  |  |
Provision (benefit) for income taxes | $ (2,600) |  |  | (2,600) |
Increase (decrease) in net income |  |  |  | $ 2,400 |
Decrease (increase) in diluted earnings per share | $ (0.34) | $ 0.02 |  | $ (0.31) |

X
- Definition Income tax expense (benefit) effect on earnings per share. + References No definition available. + Details
Name: | msft_IncomeTaxExpenseBenefitEffectOnEarningsPerShare
Namespace Prefix: | msft_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Increase (decrease) in net income. + References No definition available. + Details
Name: | msft_IncreaseDecreaseInNetIncome
Namespace Prefix: | msft_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Quarterly Financial Information [Line Items] + References No definition available. + Details
Name: | msft_QuarterlyFinancialInformationLineItems
Namespace Prefix: | msft_
Data Type: | xbrli:stringItemType
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 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
- Details
Name: | us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis=msft_TransferOfIntangiblePropertiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |