v3.20.2
Commitments and Contingencies - Additional Information (Detail)
¥ in Millions, $ in Millions
1 Months Ended
Apr. 30, 2020
Oct. 05, 2016
Plaintiff
Jun. 30, 2020
USD ($)
Jun. 30, 2020
CNY (¥)
Commitments And Contingencies [Line Items]        
Letters Of Credit Outstanding Amount     $ 273  
Lawsuit in the Court of Chancery of the State of Delaware by purported stockholders of Tesla challenging SolarCity Acquisition [Member]        
Commitments And Contingencies [Line Items]        
Number of lawsuits filed | Plaintiff   7    
Shanghai, China [Member]        
Commitments And Contingencies [Line Items]        
Operating lease arrangement, initial term     50 years 50 years
Capital expenditures | ¥       ¥ 14,080
Annual tax revenues to be generated end of 2023 | ¥       ¥ 2,230
Build-to-suit Lease Arrangement [Member] | SUNY Foundation [Member]        
Commitments And Contingencies [Line Items]        
Lease arrangement, amount required to spend or incur     $ 5,000  
Contractual obligation     $ 41  
Target projects deferred period 1 year