v3.26.1
Carrying Amount of Goodwill (Detail) - USD ($)
$ in Millions
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Goodwill [Line Items]    
Beginning Balance $ 119,509 $ 119,220
Acquisitions 108 0
Other 34 289
Ending Balance 119,651 119,509
Productivity and Business Processes    
Goodwill [Line Items]    
Beginning Balance 31,457 31,361
Acquisitions 67 0
Other 46 96
Ending Balance 31,570 31,457
Intelligent Cloud    
Goodwill [Line Items]    
Beginning Balance 25,689 25,648
Acquisitions 36 0
Other 16 41
Ending Balance 25,741 25,689
More Personal Computing    
Goodwill [Line Items]    
Beginning Balance 62,363 62,211
Acquisitions 5 0
Other (28) 152
Ending Balance $ 62,340 $ 62,363