Annual report pursuant to Section 13 and 15(d)

Cover Page

v3.20.4
Cover Page - USD ($)
$ in Billions
12 Months Ended
Dec. 31, 2020
Feb. 22, 2021
Jun. 30, 2020
Cover [Abstract]      
Document Type 10-K    
Document Annual Report true    
Document Period End Date Dec. 31, 2020    
Current Fiscal Year End Date --12-31    
Document Transition Report false    
Entity File Number 001-37511    
Entity Registrant Name Sunrun Inc.    
Entity Incorporation, State or Country Code DE    
Entity Tax Identification Number 26-2841711    
Entity Address, Address Line One 225 Bush Street    
Entity Address, Address Line Two Suite 1400    
Entity Address, City or Town San Francisco    
Entity Address, State or Province CA    
Entity Address, Postal Zip Code 94104    
City Area Code 415    
Local Phone Number 580-6900    
Title of 12(b) Security Common Stock, $0.0001 par value per share    
Trading Symbol RUN    
Security Exchange Name NASDAQ    
Entity Well-known Seasoned Issuer Yes    
Entity Voluntary Filers No    
Entity Current Reporting Status Yes    
Entity Interactive Data Current Yes    
Entity Filer Category Large Accelerated Filer    
Entity Small Business false    
Entity Emerging Growth Company false    
ICFR Auditor Attestation Flag true    
Entity Shell Company false    
Entity Public Float     $ 2.3
Entity Common Stock, Shares Outstanding   202,583,673  
Documents Incorporated by Reference Portions of the information called for by Part III of this Form 10-K is hereby incorporated by reference from the definitive Proxy Statements for our annual meeting of stockholders, which will be filed with the Securities and Exchange Commission not later than 120 days after December 31, 2020.    
Amendment Flag false    
Document Fiscal Year Focus 2020    
Document Fiscal Period Focus FY    
Entity Central Index Key 0001469367