XML 127 R115.htm IDEA: XBRL DOCUMENT
v3.22.2

Long-Lived Assets, Excluding Financial Instruments and Tax Assets, Classified by Location of Controlling Statutory Company (Detail) - USD ($) $ in Millions | Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2020
--- | --- | --- | ---
Revenues From External Customers And Long Lived Assets [Line Items] |  |  |
Long-lived assets | $ 166,368 | $ 128,314 | $ 103,293
United States |  |  |
Revenues From External Customers And Long Lived Assets [Line Items] |  |  |
Long-lived assets | 106,430 | 76,153 | 60,789
Ireland |  |  |
Revenues From External Customers And Long Lived Assets [Line Items] |  |  |
Long-lived assets | 15,505 | 13,303 | 12,734
Other Countries |  |  |
Revenues From External Customers And Long Lived Assets [Line Items] |  |  |
Long-lived assets | $ 44,433 | $ 38,858 | $ 29,770

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 https://asc.fasb.org/extlink&oid=126901519&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: |