XML 127 R114.htm IDEA: XBRL DOCUMENT
v3.21.2

Long-Lived Assets, Excluding Financial Instruments and Tax Assets, Classified by Location of Controlling Statutory Company (Detail) - USD ($) $ in Millions | Jun. 30, 2021 | Jun. 30, 2020 | Jun. 30, 2019
--- | --- | --- | ---
Revenues From External Customers And Long Lived Assets [Line Items] |  |  |
Long-lived assets | $ 128,314 | $ 103,293 | $ 93,632
United States |  |  |
Revenues From External Customers And Long Lived Assets [Line Items] |  |  |
Long-lived assets | 76,153 | 60,789 | 55,252
Ireland |  |  |
Revenues From External Customers And Long Lived Assets [Line Items] |  |  |
Long-lived assets | 13,303 | 12,734 | 12,958
Other Countries |  |  |
Revenues From External Customers And Long Lived Assets [Line Items] |  |  |
Long-lived assets | $ 38,858 | $ 29,770 | $ 25,422

X
- Definition Long-lived assets other than financial instruments, long-term customer relationships of a financial institution, mortgage and other servicing rights, deferred policy acquisition costs, and deferred tax assets. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 41 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=120311839&loc=d3e9038-108599 + Details
Name: | us-gaap_NoncurrentAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_StatementGeographicalAxis=country_US
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=country_IE
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=msft_OtherCountriesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |