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

Long-Lived Assets, Excluding Financial Instruments and Tax Assets, Classified by Location of Controlling Statutory Company (Detail) - USD ($) $ in Millions | Jun. 30, 2023 | Jun. 30, 2022 | Jun. 30, 2021
--- | --- | --- | ---
Revenues From External Customers And Long Lived Assets [Line Items] |  |  |
Long-lived assets | $ 187,239 | $ 166,368 | $ 128,314
United States |  |  |
Revenues From External Customers And Long Lived Assets [Line Items] |  |  |
Long-lived assets | 114,380 | 106,430 | 76,153
Ireland |  |  |
Revenues From External Customers And Long Lived Assets [Line Items] |  |  |
Long-lived assets | 16,359 | 15,505 | 13,303
Other Countries |  |  |
Revenues From External Customers And Long Lived Assets [Line Items] |  |  |
Long-lived assets | $ 56,500 | $ 44,433 | $ 38,858

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 -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 41 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482810/280-10-50-41 + 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: |