v3.19.3.a.u2
Income Taxes - Additional Information (Detail) - USD ($)
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Income Taxes [Line Items]      
Provision for income taxes $ 110,000,000 $ 58,000,000 $ 32,000,000
Corporate tax rate 21.00% 21.00% 35.00%
Deferred Tax Assets Valuation Allowance $ 1,956,000,000 $ 1,806,000,000  
Deferred tax assets, net 1,454,000,000 910,000,000  
Research and development credits 486,000,000 377,000,000  
Deferred tax liability 0    
Unrecognized tax benefits, that would not affect effective tax rate $ 247,000,000    
IRS [Member] | Minimum [Member]      
Income Taxes [Line Items]      
Income tax examination, years 2015    
IRS [Member] | Maximum [Member]      
Income Taxes [Line Items]      
Income tax examination, years 2016    
Foreign jurisdictions [Member]      
Income Taxes [Line Items]      
Deferred tax assets, net $ 151,000,000    
Federal [Member]      
Income Taxes [Line Items]      
Operating loss carry-forwards $ 7,510,000,000    
Operating loss carry-forwards beginning to expire in the year Dec. 31, 2024    
Research and development credits $ 320,000,000    
Research and development tax credits, federal carry-forwards expiration date 2024    
General business tax credit $ 125,000,000    
General business tax credits, beginning to expire in the year 2033    
Federal [Member] | Minimum [Member]      
Income Taxes [Line Items]      
Income tax examination, years 2004    
Federal [Member] | Maximum [Member]      
Income Taxes [Line Items]      
Income tax examination, years 2018    
State [Member]      
Income Taxes [Line Items]      
Operating loss carry-forwards $ 6,160,000,000    
Operating loss carry-forwards beginning to expire in the year Dec. 31, 2028    
Research and development credits $ 284,000,000    
California | Minimum [Member]      
Income Taxes [Line Items]      
Income tax examination, years 2004    
California | Maximum [Member]      
Income Taxes [Line Items]      
Income tax examination, years 2018    
U.S. and foreign jurisdictions [Member] | Minimum [Member]      
Income Taxes [Line Items]      
Income tax examination, years 2008    
U.S. and foreign jurisdictions [Member] | Maximum [Member]      
Income Taxes [Line Items]      
Income tax examination, years 2018    
SolarCity [Member]      
Income Taxes [Line Items]      
Increase (Decrease) in valuation on deferred taxes $ 150,000,000 $ (38,000,000) $ 821,000,000