v3.6.0.2
Fair Value of Financial Instruments - Additional Information (Detail) - USD ($)
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Debt Instrument [Line Items]    
Maturity of cash flow hedges in months 12 months  
Reclassification to finished goods inventory $ 0 $ 0
Accumulated other comprehensive income (loss) net gain expected to be recognized into cost of automotive revenues 5,600,000  
SolarCity [Member] | Interest Rate Swap [Member]    
Debt Instrument [Line Items]    
Derivative notional amount 789,600,000  
Gross asset at fair value 10,600,000  
Gross liability at fair value 12,100,000  
Recognized gross gain on derivative 7,000,000  
Cash Flow Hedging [Member]    
Debt Instrument [Line Items]    
Outstanding hedging contract 0  
Notional amount presented as net settled   322,600,000
Reclassified from accumulated other comprehensive income (loss) into earnings   0
Prepaid Expenses and Other Current Assets [Member] | Cash Flow Hedging [Member]    
Debt Instrument [Line Items]    
Fair value of foreign currency contracts designated as cash flow hedges 0 7,300,000
Automotive Cost [Member] | Cash Flow Hedging [Member]    
Debt Instrument [Line Items]    
Reclassified gain from accumulated other comprehensive income (loss) into earnings 44,900,000  
Maximum [Member]    
Debt Instrument [Line Items]    
Unrealized gains (losses) on financial assets $ 1,000,000 $ 1,000,000