RESTRUCTURING ACTIVITIES (Details) $ in Millions |
9 Months Ended | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Feb. 29, 2024
USD ($)
| ||||||||||||||
| Restructuring Reserve Disclosures [Abstract] | ||||||||||||||
| Accrued at period start | $ 199 | [1] | ||||||||||||
| Initial Costs | 343 | [2] | ||||||||||||
| Adjustments to Cost | (32) | [3] | ||||||||||||
| Cash Payments | (291) | |||||||||||||
| Others | 3 | [4] | ||||||||||||
| Accrued at period end | 222 | [1] | ||||||||||||
| Fiscal 2024 Oracle Restructuring [Member] | ||||||||||||||
| Restructuring Reserve Disclosures [Abstract] | ||||||||||||||
| Accrued at period start | 0 | [1],[5] | ||||||||||||
| Initial Costs | 343 | [2],[5] | ||||||||||||
| Adjustments to Cost | (7) | [3],[5] | ||||||||||||
| Cash Payments | (212) | [5] | ||||||||||||
| Others | 1 | [4],[5] | ||||||||||||
| Accrued at period end | 125 | [1],[5] | ||||||||||||
| Total Costs Accrued to Date | 336 | [5] | ||||||||||||
| Total Expected Program Costs | 628 | [5] | ||||||||||||
| Fiscal 2024 Oracle Restructuring [Member] | Other [Member] | ||||||||||||||
| Restructuring Reserve Disclosures [Abstract] | ||||||||||||||
| Accrued at period start | 0 | [1],[5] | ||||||||||||
| Initial Costs | 152 | [2],[5] | ||||||||||||
| Adjustments to Cost | (1) | [3],[5] | ||||||||||||
| Cash Payments | (94) | [5] | ||||||||||||
| Others | 1 | [4],[5] | ||||||||||||
| Accrued at period end | 58 | [1],[5] | ||||||||||||
| Total Costs Accrued to Date | 151 | [5] | ||||||||||||
| Total Expected Program Costs | 272 | [5] | ||||||||||||
| Fiscal 2024 Oracle Restructuring [Member] | Cloud and License [Member] | Operating Segments [Member] | ||||||||||||||
| Restructuring Reserve Disclosures [Abstract] | ||||||||||||||
| Accrued at period start | 0 | [1],[5] | ||||||||||||
| Initial Costs | 146 | [2],[5] | ||||||||||||
| Adjustments to Cost | (5) | [3],[5] | ||||||||||||
| Cash Payments | (87) | [5] | ||||||||||||
| Others | 0 | [4],[5] | ||||||||||||
| Accrued at period end | 54 | [1],[5] | ||||||||||||
| Total Costs Accrued to Date | 141 | [5] | ||||||||||||
| Total Expected Program Costs | 194 | [5] | ||||||||||||
| Fiscal 2024 Oracle Restructuring [Member] | Hardware [Member] | Operating Segments [Member] | ||||||||||||||
| Restructuring Reserve Disclosures [Abstract] | ||||||||||||||
| Accrued at period start | 0 | [1],[5] | ||||||||||||
| Initial Costs | 7 | [2],[5] | ||||||||||||
| Adjustments to Cost | 0 | [3],[5] | ||||||||||||
| Cash Payments | (3) | [5] | ||||||||||||
| Others | 0 | [4],[5] | ||||||||||||
| Accrued at period end | 4 | [1],[5] | ||||||||||||
| Total Costs Accrued to Date | 7 | [5] | ||||||||||||
| Total Expected Program Costs | 12 | [5] | ||||||||||||
| Fiscal 2024 Oracle Restructuring [Member] | Services [Member] | Operating Segments [Member] | ||||||||||||||
| Restructuring Reserve Disclosures [Abstract] | ||||||||||||||
| Accrued at period start | 0 | [1],[5] | ||||||||||||
| Initial Costs | 38 | [2],[5] | ||||||||||||
| Adjustments to Cost | (1) | [3],[5] | ||||||||||||
| Cash Payments | (28) | [5] | ||||||||||||
| Others | 0 | [4],[5] | ||||||||||||
| Accrued at period end | 9 | [1],[5] | ||||||||||||
| Total Costs Accrued to Date | 37 | [5] | ||||||||||||
| Total Expected Program Costs | 150 | [5] | ||||||||||||
| Other Restructuring Plans [Member] | ||||||||||||||
| Restructuring Reserve Disclosures [Abstract] | ||||||||||||||
| Accrued at period start | 199 | [1],[6] | ||||||||||||
| Initial Costs | 0 | [2],[6] | ||||||||||||
| Adjustments to Cost | (25) | [3],[6] | ||||||||||||
| Cash Payments | (79) | [6] | ||||||||||||
| Others | 2 | [4],[6] | ||||||||||||
| Accrued at period end | $ 97 | [1],[6] | ||||||||||||
| ||||||||||||||