Segment Revenue (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] | Mar. 31, 2017 |
[1] | Dec. 31, 2016 |
[1] | Sep. 30, 2016 |
[1] | Jun. 30, 2018 |
Jun. 30, 2017 |
Jun. 30, 2016 |
||||
| Segment Reporting Information [Line Items] | ||||||||||||||||||
| Revenue | $ 30,085 | $ 26,819 | $ 28,918 | $ 24,538 | $ 25,605 | $ 23,212 | $ 25,826 | $ 21,928 | $ 110,360 | $ 96,571 | [1] | $ 91,154 | ||||||
| Productivity and Business Processes | ||||||||||||||||||
| Segment Reporting Information [Line Items] | ||||||||||||||||||
| Revenue | 35,865 | 29,870 | 25,792 | |||||||||||||||
| Intelligent Cloud | ||||||||||||||||||
| Segment Reporting Information [Line Items] | ||||||||||||||||||
| Revenue | 32,219 | 27,407 | 24,952 | |||||||||||||||
| More Personal Computing | ||||||||||||||||||
| Segment Reporting Information [Line Items] | ||||||||||||||||||
| Revenue | $ 42,276 | $ 39,294 | $ 40,410 | |||||||||||||||
| ||||||||||||||||||