Operating Income (Loss) by Segment (Detail) - USD ($) $ in Millions |
3 Months Ended | 12 Months Ended | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Jun. 30, 2019 |
Mar. 31, 2019 |
Dec. 31, 2018 |
Sep. 30, 2018 |
Jun. 30, 2018 |
Mar. 31, 2018 |
Dec. 31, 2017 |
Sep. 30, 2017 |
Jun. 30, 2019 |
Jun. 30, 2018 |
Jun. 30, 2017 |
|
| Segment Reporting Information [Line Items] | |||||||||||
| Operating Income (Loss) | $ 12,405 | $ 10,341 | $ 10,258 | $ 9,955 | $ 10,379 | $ 8,292 | $ 8,679 | $ 7,708 | $ 42,959 | $ 35,058 | $ 29,025 |
| Reportable Segments | Productivity and Business Processes | |||||||||||
| Segment Reporting Information [Line Items] | |||||||||||
| Operating Income (Loss) | 16,219 | 12,924 | 11,389 | ||||||||
| Reportable Segments | Intelligent Cloud | |||||||||||
| Segment Reporting Information [Line Items] | |||||||||||
| Operating Income (Loss) | 13,920 | 11,524 | 9,127 | ||||||||
| Reportable Segments | More Personal Computing | |||||||||||
| Segment Reporting Information [Line Items] | |||||||||||
| Operating Income (Loss) | 12,820 | 10,610 | 8,815 | ||||||||
| Corporate and Other | |||||||||||
| Segment Reporting Information [Line Items] | |||||||||||
| Operating Income (Loss) | $ 0 | $ 0 | $ (306) | ||||||||