XML 88 R75.htm IDEA: XBRL DOCUMENT
v3.21.2

Debt (Detail) - USD ($) $ in Millions | 12 Months Ended |
--- | --- | ---
Jun. 30, 2021 | Jun. 30, 2020
Debt Instrument [Line Items] |  |  |
Total face value |  | $ 63,910 | $ 67,407
Unamortized discount and issuance costs |  | (511) | (554)
Hedge fair value adjustments | [1] | 40 | 93
Premium on debt exchange | [2] | (5,293) | (3,619)
Total debt |  | 58,146 | 63,327
Current portion of long-term debt |  | (8,072) | (3,749)
Long-term debt |  | $ 50,074 | 59,578
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 | 559
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 | 1,571
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 | 1,270
2012 Issuance of $2.3 billion |  |  |
Debt Instrument [Line Items] |  |  |
Total face value | [2] | $ 1,204 | 1,650
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,919
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 |  | $ 4,803 | 4,549
2013 Issuance of €4.1 billion | Minimum |  |  |
Debt Instrument [Line Items] |  |  |
Maturities (calendar year) |  | 2021 |
Stated Interest Rate |  | 2.13% |
Effective Interest Rate |  | 2.23% |
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] | $ 12,305 | 15,549
2015 Issuance of $23.8 billion | Minimum |  |  |
Debt Instrument [Line Items] |  |  |
Maturities (calendar year) | [2] | 2022 |
Stated Interest Rate | [2] | 2.38% |
Effective Interest Rate | [2] | 2.47% |
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] | $ 12,180 | 16,955
2016 Issuance of $19.8 billion | Minimum |  |  |
Debt Instrument [Line Items] |  |  |
Maturities (calendar year) | [2] | 2021 |
Stated Interest Rate | [2] | 1.55% |
Effective Interest Rate | [2] | 1.64% |
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] | $ 10,695 | 12,385
2017 Issuance of $17.0 billion | Minimum |  |  |
Debt Instrument [Line Items] |  |  |
Maturities (calendar year) | [2] | 2022 |
Stated Interest Rate | [2] | 2.40% |
Effective Interest Rate | [2] | 2.52% |
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 | $ 0
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=120520924&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=120520924&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=119993939&loc=d3e28551-108399 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(a)(1)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateEffectivePercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + 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(a)(1)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | num: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/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=120520924&loc=SL6031897-161870 Reference 2: 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=119993939&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=120520924&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(a)(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 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 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)) -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: |