RESTRUCTURING ACTIVITIES (Details) - USD ($) $ in Millions |
3 Months Ended | 9 Months Ended | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Feb. 28, 2019 |
Feb. 28, 2018 |
Feb. 28, 2019 |
Feb. 28, 2018 |
||||||||||||||||
| Restructuring reserve [Line Items] | |||||||||||||||||||
| Restructuring expenses | $ 43 | $ 91 | $ 275 | $ 506 | |||||||||||||||
| Accrued at period start | [1],[2] | 282 | |||||||||||||||||
| Initial Costs | [1],[3] | 305 | |||||||||||||||||
| Adjustments to Cost | [1],[4] | (45) | |||||||||||||||||
| Cash Payments | [1] | (338) | |||||||||||||||||
| Others | [1],[5] | 3 | |||||||||||||||||
| Accrued at period end | [1],[2] | 207 | 207 | ||||||||||||||||
| Fiscal 2019 Oracle Restructuring [Member] | |||||||||||||||||||
| Restructuring reserve [Line Items] | |||||||||||||||||||
| Total expected program costs | [1] | 432 | 432 | ||||||||||||||||
| Restructuring expenses | 297 | ||||||||||||||||||
| Remaining expenses to incur | 135 | $ 135 | |||||||||||||||||
| Expected completion date | May 31, 2020 | ||||||||||||||||||
| Accrued at period start | [1],[2] | $ 0 | |||||||||||||||||
| Initial Costs | [1],[3] | 300 | |||||||||||||||||
| Adjustments to Cost | [1],[4] | (3) | |||||||||||||||||
| Cash Payments | [1] | (171) | |||||||||||||||||
| Others | [1],[5] | 1 | |||||||||||||||||
| Accrued at period end | [1],[2] | 127 | 127 | ||||||||||||||||
| Total Costs Accrued to Date | [1] | 297 | 297 | ||||||||||||||||
| Fiscal 2019 Oracle Restructuring [Member] | Other [Member] | |||||||||||||||||||
| Restructuring reserve [Line Items] | |||||||||||||||||||
| Total expected program costs | [1],[6] | 91 | 91 | ||||||||||||||||
| Accrued at period start | [1],[2],[6] | 0 | |||||||||||||||||
| Initial Costs | [1],[3],[6] | 80 | |||||||||||||||||
| Adjustments to Cost | [1],[4],[6] | (1) | |||||||||||||||||
| Cash Payments | [1],[6] | (35) | |||||||||||||||||
| Others | [1],[5],[6] | 2 | |||||||||||||||||
| Accrued at period end | [1],[2],[6] | 46 | 46 | ||||||||||||||||
| Total Costs Accrued to Date | [1],[6] | 79 | 79 | ||||||||||||||||
| Fiscal 2019 Oracle Restructuring [Member] | Cloud and License [Member] | Operating Segments [Member] | |||||||||||||||||||
| Restructuring reserve [Line Items] | |||||||||||||||||||
| Total expected program costs | [1] | 230 | 230 | ||||||||||||||||
| Accrued at period start | [1],[2] | 0 | |||||||||||||||||
| Initial Costs | [1],[3] | 141 | |||||||||||||||||
| Adjustments to Cost | [1],[4] | (3) | |||||||||||||||||
| Cash Payments | [1] | (86) | |||||||||||||||||
| Others | [1],[5] | (1) | |||||||||||||||||
| Accrued at period end | [1],[2] | 51 | 51 | ||||||||||||||||
| Total Costs Accrued to Date | [1] | 138 | 138 | ||||||||||||||||
| Fiscal 2019 Oracle Restructuring [Member] | Hardware [Member] | Operating Segments [Member] | |||||||||||||||||||
| Restructuring reserve [Line Items] | |||||||||||||||||||
| Total expected program costs | [1] | 66 | 66 | ||||||||||||||||
| Accrued at period start | [1],[2] | 0 | |||||||||||||||||
| Initial Costs | [1],[3] | 48 | |||||||||||||||||
| Adjustments to Cost | [1],[4] | 0 | |||||||||||||||||
| Cash Payments | [1] | (29) | |||||||||||||||||
| Others | [1],[5] | 0 | |||||||||||||||||
| Accrued at period end | [1],[2] | 19 | 19 | ||||||||||||||||
| Total Costs Accrued to Date | [1] | 48 | 48 | ||||||||||||||||
| Fiscal 2019 Oracle Restructuring [Member] | Services [Member] | Operating Segments [Member] | |||||||||||||||||||
| Restructuring reserve [Line Items] | |||||||||||||||||||
| Total expected program costs | [1] | 45 | 45 | ||||||||||||||||
| Accrued at period start | [1],[2] | 0 | |||||||||||||||||
| Initial Costs | [1],[3] | 31 | |||||||||||||||||
| Adjustments to Cost | [1],[4] | 1 | |||||||||||||||||
| Cash Payments | [1] | (21) | |||||||||||||||||
| Others | [1],[5] | 0 | |||||||||||||||||
| Accrued at period end | [1],[2] | 11 | 11 | ||||||||||||||||
| Total Costs Accrued to Date | [1] | 32 | 32 | ||||||||||||||||
| Other Restructuring Plans [Member] | |||||||||||||||||||
| Restructuring reserve [Line Items] | |||||||||||||||||||
| Accrued at period start | [1],[2],[7] | 282 | |||||||||||||||||
| Initial Costs | [1],[3],[7] | 5 | |||||||||||||||||
| Adjustments to Cost | [1],[4],[7] | (42) | |||||||||||||||||
| Cash Payments | [1],[7] | (167) | |||||||||||||||||
| Others | [1],[5],[7] | 2 | |||||||||||||||||
| Accrued at period end | [1],[2],[7] | $ 80 | $ 80 | ||||||||||||||||
| |||||||||||||||||||