Annual report pursuant to Section 13 and 15(d)

Document and Entity Information

Document and Entity Information - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2018
Feb. 25, 2019
Document And Entity Information [Abstract]    
Document Type 10-K/A  
Amendment Flag true  
Document Period End Date Dec. 31, 2018  
Document Fiscal Year Focus 2018  
Document Fiscal Period Focus FY  
Trading Symbol RUN  
Entity Registrant Name Sunrun Inc.  
Entity Central Index Key 0001469367  
Current Fiscal Year End Date --12-31  
Entity Well-known Seasoned Issuer No  
Entity Current Reporting Status Yes  
Entity Voluntary Filers No  
Entity Filer Category Large Accelerated Filer  
Amendment Description This Amendment No. 1 to the Annual Report on Form 10-K of Sunrun Inc. for the year ended December 31, 2018 as filed with the Securities and Exchange Commission on February 28, 2019, is being filed for the sole purpose of correcting a formatting error during the filing process in which two rows in the table in Note 23, Quarterly Results of Operations (Unaudited) were inadvertently not populated. Those rows are titled “Net (loss) income per share attributable to common stockholders, basic” and “Net (loss) income per share attributable to common stockholders, diluted.”  
Entity Public Float $ 1,174.6  
Entity Common Stock, Shares Outstanding   113,899,831