XML 114 R102.htm IDEA: XBRL DOCUMENT v3.22.0.1
Income Taxes (Additional Information) (Details) - USD ($)
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Operating Loss Carryforwards [Line Items]      
Provision for income taxes $ 699,000,000 $ 292,000,000 $ 110,000,000
Deferred Tax Assets, Valuation Allowance 9,074,000,000 2,930,000,000  
Deferred tax assets, net 2,006,000,000 2,018,000,000  
Research and development credits 923,000,000 624,000,000  
Undistributed Earnings Of Foreign Subsidiaries 161,000,000    
Deferred tax liability 0    
Unrecognized tax benefits, that would not affect effective tax rate 473,000,000    
Two Thousand And Twelve CEO Performance Award [Member]      
Operating Loss Carryforwards [Line Items]      
Tax deduction 23,450,000    
Solar City [Member]      
Operating Loss Carryforwards [Line Items]      
Increase (Decrease) in valuation on deferred taxes $ 6,140,000,000 $ 974,000,000 $ 150,000,000
Shanghai, China [Member]      
Operating Loss Carryforwards [Line Items]      
Corporate income tax rate to certain enterprises 15.00%    
Corporate income tax rate 25.00%    
Beneficial income tax rate 15.00%    
Federal [Member]      
Operating Loss Carryforwards [Line Items]      
Research and development credits $ 738,000,000    
Operating loss carry-forwards $ 31,200,000,000    
Research and development tax credits, federal carry-forwards expiration date 2024    
General business tax credit $ 186,000,000    
General business tax credits, beginning to expire in the year 2033    
Federal [Member] | Maximum [Member]      
Operating Loss Carryforwards [Line Items]      
Income tax examination, years 2019    
Federal [Member] | Minimum [Member]      
Operating Loss Carryforwards [Line Items]      
Income tax examination, years 2004    
Foreign jurisdictions [Member]      
Operating Loss Carryforwards [Line Items]      
Deferred tax assets, net $ 417,000,000    
State [Member]      
Operating Loss Carryforwards [Line Items]      
Research and development credits 584,000,000    
Operating loss carry-forwards $ 21,600,000,000    
California [Member] | Minimum [Member]      
Operating Loss Carryforwards [Line Items]      
Income tax examination, years 2004    
U.S. and foreign jurisdictions [Member] | Maximum [Member]      
Operating Loss Carryforwards [Line Items]      
Income tax examination, years 2020    
U.S. and foreign jurisdictions [Member] | Minimum [Member]      
Operating Loss Carryforwards [Line Items]      
Income tax examination, years 2008    
IRS [Member] | Maximum [Member]      
Operating Loss Carryforwards [Line Items]      
Income tax examination, years 2018    
IRS [Member] | Minimum [Member]      
Operating Loss Carryforwards [Line Items]      
Income tax examination, years 2015