Restructuring Charges - Additional Information (Detail) $ in Millions |
3 Months Ended | 12 Months Ended | ||
|---|---|---|---|---|
|
Jun. 30, 2016
USD ($)
|
Jun. 30, 2017
USD ($)
Position
|
Jun. 30, 2016
USD ($)
Position
|
Jun. 30, 2015
USD ($)
|
|
| Restructuring Cost and Reserve [Line Items] | ||||
| Restructuring charges | $ 306 | |||
| Severance | ||||
| Restructuring Cost and Reserve [Line Items] | ||||
| Restructuring charges | $ 306 | |||
| Phone Hardware Restructuring Plan | ||||
| Restructuring Cost and Reserve [Line Items] | ||||
| Number of positions eliminated | Position | 7,400 | |||
| Restructuring charges | $ 780 | |||
| Reversal of prior year restructuring charges | $ (21) | |||
| Completion date | Jun. 30, 2017 | |||
| 2016 Restructuring | ||||
| Restructuring Cost and Reserve [Line Items] | ||||
| Number of positions eliminated | Position | 4,700 | |||
| Restructuring charges | $ 480 | $ 501 | ||
| Completion date | Jun. 30, 2017 | |||
| 2017 Restructuring | ||||
| Restructuring Cost and Reserve [Line Items] | ||||
| Completion date | Jun. 30, 2018 | |||
| 2017 Restructuring | Severance | ||||
| Restructuring Cost and Reserve [Line Items] | ||||
| Restructuring charges | $ 306 | |||