Operating Income (Loss) by Segment (Detail) - USD ($) $ in Millions |
3 Months Ended | |||
|---|---|---|---|---|
Sep. 30, 2016 |
Sep. 30, 2015 |
|||
| Segment Reporting Information [Line Items] | ||||
| Operating income (loss) | $ 5,225 | $ 5,793 | ||
| Reportable Segments | Productivity and Business Processes | ||||
| Segment Reporting Information [Line Items] | ||||
| Operating income (loss) | 3,120 | 3,156 | ||
| Reportable Segments | Intelligent Cloud | ||||
| Segment Reporting Information [Line Items] | ||||
| Operating income (loss) | 2,058 | 2,391 | ||
| Reportable Segments | More Personal Computing | ||||
| Segment Reporting Information [Line Items] | ||||
| Operating income (loss) | 1,928 | 1,527 | ||
| Corporate and Other | ||||
| Segment Reporting Information [Line Items] | ||||
| Operating income (loss) | [1] | $ (1,881) | $ (1,281) | |
| ||||