XML 20 R9.htm IDEA: XBRL DOCUMENT
v3.25.2

Insider Trading Arrangements | 3 Months Ended
--- | ---
Jun. 30, 2025
Trading Arrangements, by Individual |
Rule 10b5-1 Arrangement Adopted | false
Non-Rule 10b5-1 Arrangement Adopted | false
Rule 10b5-1 Arrangement Terminated | false
Non-Rule 10b5-1 Arrangement Terminated | false
Rule 10b5-1 Arrangement Modified | false
Non-Rule 10b5-1 Arrangement Modified | false

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 408 -Subsection a -Paragraph 1 + Details
Name: | ecd_NonRule10b51ArrAdoptedFlag
Namespace Prefix: | ecd_
Data Type: | xbrli:booleanItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 408 -Subsection a -Paragraph 1 + Details
Name: | ecd_NonRule10b51ArrTrmntdFlag
Namespace Prefix: | ecd_
Data Type: | xbrli:booleanItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 408 -Subsection a -Paragraph 1 + Details
Name: | ecd_Rule10b51ArrAdoptedFlag
Namespace Prefix: | ecd_
Data Type: | xbrli:booleanItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 408 -Subsection a -Paragraph 1 + Details
Name: | ecd_Rule10b51ArrTrmntdFlag
Namespace Prefix: | ecd_
Data Type: | xbrli:booleanItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 408 -Subsection a -Paragraph 2 -Subparagraph A + Details
Name: | ecd_TradingArrByIndTable
Namespace Prefix: | ecd_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Non rule10b51 arrangement modified flag. + References No definition available. + Details
Name: | msft_NonRule10B51ArrModifiedFlag
Namespace Prefix: | msft_
Data Type: | xbrli:booleanItemType
Balance Type: | na
Period Type: | duration

X
- Definition Rule10b51 arrangement modified flag. + References No definition available. + Details
Name: | msft_Rule10B51ArrModifiedFlag
Namespace Prefix: | msft_
Data Type: | xbrli:booleanItemType
Balance Type: | na
Period Type: | duration