v3.25.2
Carrying Amount of Goodwill (Detail) - USD ($)
$ in Millions
12 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Goodwill [Line Items]    
Beginning Balance $ 119,220 $ 67,886
Acquisitions 0 51,235
Other 289 99
Ending Balance 119,509 119,220
Productivity and Business Processes    
Goodwill [Line Items]    
Beginning Balance 31,361 31,359
Acquisitions 0 0
Other 96 2
Ending Balance 31,457 31,361
Intelligent Cloud    
Goodwill [Line Items]    
Beginning Balance 25,648 25,676
Acquisitions 0 0
Other 41 (28)
Ending Balance 25,689 25,648
More Personal Computing    
Goodwill [Line Items]    
Beginning Balance 62,211 10,851
Acquisitions 0 51,235
Other 152 125
Ending Balance $ 62,363 $ 62,211