XML 75 R64.htm IDEA: XBRL DOCUMENT
v3.21.4

Debt (Parenthetical) (Detail) - 6 months ended Dec. 31, 2021 € in Billions, $ in Billions | USD ($) | EUR (€)
--- | --- | ---
2009 Issuance of $3.8 billion |  |
Debt Instrument [Line Items] |  |
Debt, issuance date | 2009 |
Debt, face value | $ 3.8 |
2010 Issuance of $4.8 billion |  |
Debt Instrument [Line Items] |  |
Debt, issuance date | 2010 |
Debt, face value | $ 4.8 |
2011 Issuance of $2.3 billion |  |
Debt Instrument [Line Items] |  |
Debt, issuance date | 2011 |
Debt, face value | $ 2.3 |
2012 Issuance of $2.3 billion |  |
Debt Instrument [Line Items] |  |
Debt, issuance date | 2012 |
Debt, face value | $ 2.3 |
2013 Issuance of $5.2 billion |  |
Debt Instrument [Line Items] |  |
Debt, issuance date | 2013 |
Debt, face value | $ 5.2 |
2013 Issuance of €4.1 billion |  |
Debt Instrument [Line Items] |  |
Debt, issuance date | 2013 |
Debt, face value | € |  | € 4.1
2015 Issuance of $23.8 billion |  |
Debt Instrument [Line Items] |  |
Debt, issuance date | 2015 |
Debt, face value | $ 23.8 |
2016 Issuance of $19.8 billion |  |
Debt Instrument [Line Items] |  |
Debt, issuance date | 2016 |
Debt, face value | $ 19.8 |
2017 Issuance of $17.0 billion |  |
Debt Instrument [Line Items] |  |
Debt, issuance date | 2017 |
Debt, face value | $ 17.0 |
2020 Issuance of $10.0 billion |  |
Debt Instrument [Line Items] |  |
Debt, issuance date | 2020 |
Debt, face value | $ 10.0 |
2021 issuance of $8.2 billion |  |
Debt Instrument [Line Items] |  |
Debt, issuance date | 2021 |
Debt, face value | $ 8.2 |

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

X
- Definition Face (par) amount of debt instrument at time of issuance. + 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 (a) -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 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 Reference 4: 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 5: 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 6: 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 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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
- 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: | 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: |