Segment Revenue (Detail) - USD ($) $ in Millions |
3 Months Ended | 12 Months Ended | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Jun. 30, 2019 |
Mar. 31, 2019 |
Dec. 31, 2018 |
Sep. 30, 2018 |
Jun. 30, 2018 |
Mar. 31, 2018 |
Dec. 31, 2017 |
Sep. 30, 2017 |
Jun. 30, 2019 |
Jun. 30, 2018 |
Jun. 30, 2017 |
|
| Segment Reporting Information [Line Items] | |||||||||||
| Revenue | $ 33,717 | $ 30,571 | $ 32,471 | $ 29,084 | $ 30,085 | $ 26,819 | $ 28,918 | $ 24,538 | $ 125,843 | $ 110,360 | $ 96,571 |
| Productivity and Business Processes | |||||||||||
| Segment Reporting Information [Line Items] | |||||||||||
| Revenue | 41,160 | 35,865 | 29,870 | ||||||||
| Intelligent Cloud | |||||||||||
| Segment Reporting Information [Line Items] | |||||||||||
| Revenue | 38,985 | 32,219 | 27,407 | ||||||||
| More Personal Computing | |||||||||||
| Segment Reporting Information [Line Items] | |||||||||||
| Revenue | $ 45,698 | $ 42,276 | $ 39,294 | ||||||||