Quarterly report pursuant to Section 13 or 15(d)

Commitments and Contingencies - Narrative (Details)

v3.19.2
Commitments and Contingencies - Narrative (Details)
$ in Millions
6 Months Ended 12 Months Ended
Jun. 30, 2019
USD ($)
contract
Dec. 31, 2018
USD ($)
Mar. 31, 2018
USD ($)
Other Commitments [Line Items]      
Letters of credit outstanding, amount $ 12.0 $ 9.7  
Purchase commitment $ 87.8    
Corporate office space | San Francisco, California and Denver, Colorado      
Other Commitments [Line Items]      
Operating lease agreements | contract 2    
Minimum | Corporate office space | San Francisco, California and Denver, Colorado      
Other Commitments [Line Items]      
Lease agreement terms 5 years    
Maximum | Corporate office space | San Francisco, California and Denver, Colorado      
Other Commitments [Line Items]      
Lease agreement terms 7 years    
Letter of Credit | Minimum      
Other Commitments [Line Items]      
Letter of credit, fee percentage 2.75% 2.50%  
Letter of Credit | Maximum      
Other Commitments [Line Items]      
Letter of credit, fee percentage 3.25% 3.25%  
Settled litigation | Slovin et al. v. Sunrun Inc. and Clean Energy Experts, LLC      
Other Commitments [Line Items]      
Settlement amount, accrual     $ 5.5