v3.25.2
Changes in Gross Unrecognized Tax Benefits Related to Uncertain Tax Positions (Detail) - USD ($)
$ in Millions
12 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2023
Income Tax Disclosure [Abstract]      
Beginning unrecognized tax benefits $ 22,760 $ 17,120 $ 15,593
Decreases related to settlements (240) (76) (329)
Increases for tax positions related to the current year 2,066 1,903 1,051
Increases for tax positions related to prior years 468 4,289 870
Decreases for tax positions related to prior years (300) (464) (60)
Decreases due to lapsed statutes of limitations (25) (12) (5)
Ending unrecognized tax benefits $ 24,729 $ 22,760 $ 17,120