Operating Income (Loss) by Segment (Detail) - USD ($) $ in Millions |
3 Months Ended | 12 Months Ended | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jun. 30, 2017 |
[1] | Mar. 31, 2017 |
[1] | Dec. 31, 2016 |
[1] | Sep. 30, 2016 |
[1] | Jun. 30, 2016 |
Mar. 31, 2016 |
Dec. 31, 2015 |
Sep. 30, 2015 |
Jun. 30, 2017 |
Jun. 30, 2016 |
Jun. 30, 2015 |
||||
| Segment Reporting Information [Line Items] | ||||||||||||||||||
| Operating income (loss) | $ 5,330 | $ 5,594 | $ 6,177 | $ 5,225 | $ 3,080 | $ 5,283 | $ 6,026 | $ 5,793 | $ 22,326 | [1] | $ 20,182 | $ 18,161 | ||||||
| Reportable Segments | Productivity and Business Processes | ||||||||||||||||||
| Segment Reporting Information [Line Items] | ||||||||||||||||||
| Operating income (loss) | 11,913 | 12,418 | 13,274 | |||||||||||||||
| Reportable Segments | Intelligent Cloud | ||||||||||||||||||
| Segment Reporting Information [Line Items] | ||||||||||||||||||
| Operating income (loss) | 9,138 | 9,315 | 9,803 | |||||||||||||||
| Reportable Segments | More Personal Computing | ||||||||||||||||||
| Segment Reporting Information [Line Items] | ||||||||||||||||||
| Operating income (loss) | 8,288 | 6,202 | 5,095 | |||||||||||||||
| Corporate and Other | ||||||||||||||||||
| Segment Reporting Information [Line Items] | ||||||||||||||||||
| Operating income (loss) | $ (7,013) | $ (7,753) | $ (10,011) | |||||||||||||||
| ||||||||||||||||||