Operating Income (Loss) by Segment (Detail) - USD ($) $ in Millions |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Mar. 31, 2016 |
Mar. 31, 2015 |
Mar. 31, 2016 |
Mar. 31, 2015 |
|
| Segment Reporting Information [Line Items] | ||||
| Operating income (loss) | $ 5,283 | $ 6,594 | $ 17,102 | $ 20,214 |
| Reportable Segments | Productivity and Business Processes | ||||
| Segment Reporting Information [Line Items] | ||||
| Operating income (loss) | 2,994 | 3,204 | 9,461 | 10,192 |
| Reportable Segments | Intelligent Cloud | ||||
| Segment Reporting Information [Line Items] | ||||
| Operating income (loss) | 2,188 | 2,533 | 7,168 | 7,238 |
| Reportable Segments | More Personal Computing | ||||
| Segment Reporting Information [Line Items] | ||||
| Operating income (loss) | 1,645 | 1,049 | 5,178 | 4,063 |
| Corporate and Other | ||||
| Segment Reporting Information [Line Items] | ||||
| Operating income (loss) | $ (1,544) | $ (192) | $ (4,705) | $ (1,279) |