Changes in Gross Unrecognized Tax Benefits Related to Uncertain Tax Positions (Detail) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
| Income Tax Disclosure [Abstract] | |||
| Beginning unrecognized tax benefits | $ 24,729 | $ 22,760 | $ 17,120 |
| Decreases related to settlements | (221) | (240) | (76) |
| Increases for tax positions related to the current year | 1,517 | 2,066 | 1,903 |
| Increases for tax positions related to prior years | 263 | 468 | 4,289 |
| Decreases for tax positions related to prior years | (404) | (300) | (464) |
| Decreases due to lapsed statutes of limitations | (53) | (25) | (12) |
| Ending unrecognized tax benefits | $ 25,831 | $ 24,729 | $ 22,760 |
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of unrecognized tax benefits. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of decrease in unrecognized tax benefits resulting from tax positions taken in prior period tax returns. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of decrease in unrecognized tax benefits resulting from settlements with taxing authorities. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of increase in unrecognized tax benefits resulting from tax positions that have been or will be taken in current period tax return. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of increase in unrecognized tax benefits resulting from tax positions taken in prior period tax returns. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of decrease in unrecognized tax benefits resulting from lapses of applicable statutes of limitations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|