Operating Income (Loss) by Segment (Detail) - USD ($) $ in Millions |
3 Months Ended | 12 Months Ended | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jun. 30, 2018 |
Mar. 31, 2018 |
Dec. 31, 2017 |
Sep. 30, 2017 |
Jun. 30, 2017 |
[1],[2] | Mar. 31, 2017 |
[2] | Dec. 31, 2016 |
[2] | Sep. 30, 2016 |
[2] | Jun. 30, 2018 |
Jun. 30, 2017 |
Jun. 30, 2016 |
||||||
| Segment Reporting Information [Line Items] | ||||||||||||||||||||
| Operating Income (Loss) | $ 10,379 | $ 8,292 | $ 8,679 | $ 7,708 | $ 7,682 | $ 6,723 | $ 7,905 | $ 6,715 | $ 35,058 | $ 29,025 | [1],[2] | $ 26,078 | ||||||||
| Reportable Segments | Productivity and Business Processes | ||||||||||||||||||||
| Segment Reporting Information [Line Items] | ||||||||||||||||||||
| Operating Income (Loss) | 12,924 | 11,389 | 11,756 | |||||||||||||||||
| Reportable Segments | Intelligent Cloud | ||||||||||||||||||||
| Segment Reporting Information [Line Items] | ||||||||||||||||||||
| Operating Income (Loss) | 11,524 | 9,127 | 9,249 | |||||||||||||||||
| Reportable Segments | More Personal Computing | ||||||||||||||||||||
| Segment Reporting Information [Line Items] | ||||||||||||||||||||
| Operating Income (Loss) | 10,610 | 8,815 | 6,183 | |||||||||||||||||
| Corporate and Other | ||||||||||||||||||||
| Segment Reporting Information [Line Items] | ||||||||||||||||||||
| Operating Income (Loss) | $ 0 | $ (306) | $ (1,110) | |||||||||||||||||
| ||||||||||||||||||||