XML 99 R86.htm IDEA: XBRL DOCUMENT v3.23.4
Income Taxes - Additional Information (Details) - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Operating Loss Carryforwards [Line Items]      
(Benefit from) provision for income taxes $ (5,001) $ 1,132 $ 699
Increase (Decrease) in valuation on deferred taxes (6,540)    
Valuation allowance 892 7,349  
Deferred tax assets, net 9,882 2,184  
Research and development credits 1,358 1,184  
Deferred tax liability 0    
Unrecognized deferred tax liability on reinvested earnings 245    
Income tax penalties and interest expense 17 27 4
Income tax penalties and interest accrued 47 31  
Unrecognized tax benefits that would impact effective tax rate 901    
Renewable Energy Credit      
Operating Loss Carryforwards [Line Items]      
Tax credit carryforward, amount 605    
Solar City      
Operating Loss Carryforwards [Line Items]      
Increase (Decrease) in valuation on deferred taxes $ (6,460) $ (1,730) $ 6,140
Shanghai, China      
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      
Operating Loss Carryforwards [Line Items]      
Operating loss carry-forwards $ 10,310    
Research and development credits $ 1,100    
Research and development tax credits, federal carry-forwards expiration date 2036    
State      
Operating Loss Carryforwards [Line Items]      
Operating loss carry-forwards $ 10,360    
Research and development credits $ 923