v3.6.0.2
Overview of the Company - Additional Information (Detail)
12 Months Ended
Dec. 31, 2016
Segment
Organization, Consolidation and Presentation of Financial Statements [Line Items]  
Number of reporting segment 2
SolarCity [Member]  
Organization, Consolidation and Presentation of Financial Statements [Line Items]  
Acquisition date Nov. 21, 2016