XML 76 R65.htm IDEA: XBRL DOCUMENT
v3.22.1

Debt (Detail) - USD ($) $ in Millions | 9 Months Ended |
--- | --- | ---
Mar. 31, 2022 | Jun. 30, 2021
Debt Instrument [Line Items] |  |  |
Total face value |  | $ 55,666 | $ 63,910
Unamortized discount and issuance costs |  | (481) | (511)
Hedge fair value adjustments | [1] | (43) | 40
Premium on debt exchange | [2] | (5,216) | (5,293)
Total debt |  | 49,926 | 58,146
Current portion of long-term debt |  | (1,749) | (8,072)
Long-term debt |  | $ 48,177 | 50,074
2009 Issuance of $3.8 billion |  |  |
Debt Instrument [Line Items] |  |  |
Maturities (calendar year) | [2] | 2039 |
Stated Interest Rate | [2] | 5.20% |
Effective Interest Rate | [2] | 5.24% |
Total face value | [2] | $ 520 | 520
2010 Issuance of $4.8 billion |  |  |
Debt Instrument [Line Items] |  |  |
Maturities (calendar year) | [2] | 2040 |
Stated Interest Rate | [2] | 4.50% |
Effective Interest Rate | [2] | 4.57% |
Total face value | [2] | $ 486 | 486
2011 Issuance of $2.3 billion |  |  |
Debt Instrument [Line Items] |  |  |
Maturities (calendar year) | [2] | 2041 |
Stated Interest Rate | [2] | 5.30% |
Effective Interest Rate | [2] | 5.36% |
Total face value | [2] | $ 718 | 718
2012 Issuance of $2.3 billion |  |  |
Debt Instrument [Line Items] |  |  |
Total face value | [2] | $ 1,204 | 1,204
2012 Issuance of $2.3 billion | Minimum |  |  |
Debt Instrument [Line Items] |  |  |
Maturities (calendar year) | [2] | 2022 |
Stated Interest Rate | [2] | 2.13% |
Effective Interest Rate | [2] | 2.24% |
2012 Issuance of $2.3 billion | Maximum |  |  |
Debt Instrument [Line Items] |  |  |
Maturities (calendar year) | [2] | 2042 |
Stated Interest Rate | [2] | 3.50% |
Effective Interest Rate | [2] | 3.57% |
2013 Issuance of $5.2 billion |  |  |
Debt Instrument [Line Items] |  |  |
Total face value | [2] | $ 2,814 | 2,814
2013 Issuance of $5.2 billion | Minimum |  |  |
Debt Instrument [Line Items] |  |  |
Maturities (calendar year) | [2] | 2023 |
Stated Interest Rate | [2] | 2.38% |
Effective Interest Rate | [2] | 2.47% |
2013 Issuance of $5.2 billion | Maximum |  |  |
Debt Instrument [Line Items] |  |  |
Maturities (calendar year) | [2] | 2043 |
Stated Interest Rate | [2] | 4.88% |
Effective Interest Rate | [2] | 4.92% |
2013 Issuance of €4.1 billion |  |  |
Debt Instrument [Line Items] |  |  |
Total face value |  | $ 2,559 | 4,803
2013 Issuance of €4.1 billion | Minimum |  |  |
Debt Instrument [Line Items] |  |  |
Maturities (calendar year) |  | 2028 |
Stated Interest Rate |  | 2.63% |
Effective Interest Rate |  | 2.69% |
2013 Issuance of €4.1 billion | Maximum |  |  |
Debt Instrument [Line Items] |  |  |
Maturities (calendar year) |  | 2033 |
Stated Interest Rate |  | 3.13% |
Effective Interest Rate |  | 3.22% |
2015 Issuance of $23.8 billion |  |  |
Debt Instrument [Line Items] |  |  |
Total face value | [2] | $ 10,805 | 12,305
2015 Issuance of $23.8 billion | Minimum |  |  |
Debt Instrument [Line Items] |  |  |
Maturities (calendar year) | [2] | 2022 |
Stated Interest Rate | [2] | 2.65% |
Effective Interest Rate | [2] | 2.72% |
2015 Issuance of $23.8 billion | Maximum |  |  |
Debt Instrument [Line Items] |  |  |
Maturities (calendar year) | [2] | 2055 |
Stated Interest Rate | [2] | 4.75% |
Effective Interest Rate | [2] | 4.78% |
2016 Issuance of $19.8 billion |  |  |
Debt Instrument [Line Items] |  |  |
Total face value | [2] | $ 9,430 | 12,180
2016 Issuance of $19.8 billion | Minimum |  |  |
Debt Instrument [Line Items] |  |  |
Maturities (calendar year) | [2] | 2023 |
Stated Interest Rate | [2] | 2.00% |
Effective Interest Rate | [2] | 2.10% |
2016 Issuance of $19.8 billion | Maximum |  |  |
Debt Instrument [Line Items] |  |  |
Maturities (calendar year) | [2] | 2056 |
Stated Interest Rate | [2] | 3.95% |
Effective Interest Rate | [2] | 4.03% |
2017 Issuance of $17.0 billion |  |  |
Debt Instrument [Line Items] |  |  |
Total face value | [2] | $ 8,945 | 10,695
2017 Issuance of $17.0 billion | Minimum |  |  |
Debt Instrument [Line Items] |  |  |
Maturities (calendar year) | [2] | 2024 |
Stated Interest Rate | [2] | 2.88% |
Effective Interest Rate | [2] | 3.04% |
2017 Issuance of $17.0 billion | Maximum |  |  |
Debt Instrument [Line Items] |  |  |
Maturities (calendar year) | [2] | 2057 |
Stated Interest Rate | [2] | 4.50% |
Effective Interest Rate | [2] | 4.53% |
2020 Issuance of $10.0 billion |  |  |
Debt Instrument [Line Items] |  |  |
Total face value | [2] | $ 10,000 | 10,000
2020 Issuance of $10.0 billion | Minimum |  |  |
Debt Instrument [Line Items] |  |  |
Maturities (calendar year) | [2] | 2050 |
Stated Interest Rate | [2] | 2.53% |
Effective Interest Rate | [2] | 2.53% |
2020 Issuance of $10.0 billion | Maximum |  |  |
Debt Instrument [Line Items] |  |  |
Maturities (calendar year) | [2] | 2060 |
Stated Interest Rate | [2] | 2.68% |
Effective Interest Rate | [2] | 2.68% |
2021 issuance of $8.2 billion |  |  |
Debt Instrument [Line Items] |  |  |
Total face value | [2] | $ 8,185 | $ 8,185
2021 issuance of $8.2 billion | Minimum |  |  |
Debt Instrument [Line Items] |  |  |
Maturities (calendar year) | [2] | 2052 |
Stated Interest Rate | [2] | 2.92% |
Effective Interest Rate | [2] | 2.92% |
2021 issuance of $8.2 billion | Maximum |  |  |
Debt Instrument [Line Items] |  |  |
Maturities (calendar year) | [2] | 2062 |
Stated Interest Rate | [2] | 3.04% |
Effective Interest Rate | [2] | 3.04% |
[1] | Refer to Note 5 – Derivatives for further information on the interest rate swaps related to fixed-rate debt.
[2] | In March 2021 and June 2020, we exchanged a portion of our existing debt at a premium for cash and new debt with longer maturities. The premiums are amortized over the terms of the new debt.

X
- Definition Debt instrument maturity year. + References No definition available. + Details
Name: | msft_DebtInstrumentMaturityYear
Namespace Prefix: | msft_
Data Type: | xbrli:gYearItemType
Balance Type: | na
Period Type: | duration

X
- Definition Hedge accounting fair value adjustments. + References No definition available. + Details
Name: | msft_HedgeAccountingFairValueAdjustments
Namespace Prefix: | msft_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Premium on debt exchange. + References No definition available. + Details
Name: | msft_PremiumOnDebtExchange1
Namespace Prefix: | msft_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b)(1) -URI http://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(16)) -URI http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 + Details
Name: | us-gaap_DebtInstrumentCarryingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 6 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123466204&loc=SL6036836-161870 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateEffectivePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
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_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of unamortized debt discount (premium) and debt issuance costs. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI http://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b)(2) -URI http://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1D -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI http://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399 + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b)(3) -URI http://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI http://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)) -URI http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI http://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1D -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt, classified as current. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19,20) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LongTermDebtCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount after unamortized (discount) premium and debt issuance costs of long-term debt classified as noncurrent and excluding amounts to be repaid within one year or the normal operating cycle, if longer. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LongTermDebtNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_DebtInstrumentAxis=msft_IssuanceOfLongTermDebtOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=msft_IssuanceOfLongTermDebtTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=msft_IssuanceOfLongTermDebtThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=msft_IssuanceOfLongTermDebtFourMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=msft_IssuanceOfLongTermDebtFiveMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=msft_IssuanceOfLongTermDebtSixMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=msft_IssuanceOfLongTermDebtSevenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=msft_IssuanceOfLongTermDebtEightMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=msft_IssuanceOfLongTermDebtNineMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=msft_IssuanceOfLongTermDebtTenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=msft_IssuanceOfLongTermDebtElevenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |