Segment Revenue (Detail) - USD ($) $ in Millions |
3 Months Ended | 12 Months Ended | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jun. 30, 2017 |
[1],[2] | Mar. 31, 2017 |
[1],[2] | Dec. 31, 2016 |
[1],[2] | Sep. 30, 2016 |
[1],[2] | Jun. 30, 2016 |
[3] | Mar. 31, 2016 |
[3] | Dec. 31, 2015 |
[3] | Sep. 30, 2015 |
[3] | Jun. 30, 2017 |
Jun. 30, 2016 |
Jun. 30, 2015 |
|||||||||
| Segment Reporting Information [Line Items] | |||||||||||||||||||||||||||
| Revenue | $ 23,317 | $ 22,090 | $ 24,090 | $ 20,453 | $ 20,614 | $ 20,531 | $ 23,796 | $ 20,379 | $ 89,950 | [1],[2] | $ 85,320 | [3] | $ 93,580 | ||||||||||||||
| Reportable Segments | Productivity and Business Processes | |||||||||||||||||||||||||||
| Segment Reporting Information [Line Items] | |||||||||||||||||||||||||||
| Revenue | 30,444 | 26,487 | 26,430 | ||||||||||||||||||||||||
| Reportable Segments | Intelligent Cloud | |||||||||||||||||||||||||||
| Segment Reporting Information [Line Items] | |||||||||||||||||||||||||||
| Revenue | 27,440 | 25,042 | 23,715 | ||||||||||||||||||||||||
| Reportable Segments | More Personal Computing | |||||||||||||||||||||||||||
| Segment Reporting Information [Line Items] | |||||||||||||||||||||||||||
| Revenue | 38,773 | 40,434 | 43,435 | ||||||||||||||||||||||||
| Corporate and Other | |||||||||||||||||||||||||||
| Segment Reporting Information [Line Items] | |||||||||||||||||||||||||||
| Revenue | $ (6,707) | $ (6,643) | $ 0 | ||||||||||||||||||||||||
| |||||||||||||||||||||||||||