v3.26.1
Unearned Revenue by Segment (Detail) - USD ($)
$ in Millions
Mar. 31, 2026
Jun. 30, 2025
Contract With Customer Liability [Line Items]    
Unearned revenue $ 53,677 $ 67,265
Productivity and Business Processes    
Contract With Customer Liability [Line Items]    
Unearned revenue 39,904 50,567
Intelligent Cloud    
Contract With Customer Liability [Line Items]    
Unearned revenue 10,892 14,022
More Personal Computing    
Contract With Customer Liability [Line Items]    
Unearned revenue $ 2,881 $ 2,676