XML 96 R81.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Stock-Based Compensation - Additional Information (Details) | 1 Months Ended | 12 Months Ended
--- | --- | ---
Jul. 31, 2015 shares | Mar. 31, 2015 shares | Dec. 31, 2024 USD ($) purchase_period $ / shares shares | Dec. 31, 2023 USD ($) $ / shares shares | Dec. 31, 2022 USD ($) $ / shares shares
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |
Shares of common stock reserved for issuance (in shares) |  |  | 38,345,000 | 44,753,000 |
Weighted-average grant-date fair value of stock options granted (in usd per share) | $ / shares |  |  | $ 0.00 | $ 0.00 | $ 17.21
Total intrinsic value of options exercised | $ |  |  | $ 4,500,000 | $ 10,300,000 | $ 30,800,000
Total fair value of options vested | $ |  |  | $ 6,500,000 | $ 11,800,000 | $ 16,700,000
Warrants issued (in shares) |  |  | 846,943 |  |
Number of warrants exercised (in shares) |  |  | 13,939 | 63,742 | 346,269
Compensation expense recognized | $ |  |  | $ 112,825,000 | $ 111,781,000 | $ 110,633,000
Stock-based compensation expense capitalized | $ |  |  | 9,900,000 | 11,300,000 |
Total unrecognized compensation cost | $ |  |  | $ 150,600,000 | 146,500,000 |
Weighted-average period of recognition |  |  | 2 years 6 months |  |
Annual contribution limit | $ |  |  | $ 23,000 |  |
Defined contribution expense | $ |  |  | $ 21,100,000 | $ 22,700,000 | 21,500,000
Outstanding stock options |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |
Shares of common stock reserved for issuance (in shares) |  |  | 3,507,000 | 4,243,000 |
Restricted Stock Units (RSUs) |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |
Shares of common stock reserved for issuance (in shares) |  |  | 12,375,000 | 8,449,000 |
Warrants |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |
Warrant, exercise price (in dollars per share) | $ / shares |  |  | $ 0.01 |  |
Compensation expense recognized | $ |  |  | $ 0 | $ 4,300,000 | $ 4,300,000
2013 Equity Incentive Plan |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |
Additional common stock shares reserved for issuance (in shares) |  | 3,000,000 |  |  |
Shares of common stock reserved for issuance (in shares) |  | 4,500,000 |  |  |
2013 Equity Incentive Plan | Maximum |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |
Shares of common stock reserved for issuance (in shares) |  | 8,044,829 |  |  |
2015 Equity Incentive Plan |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |
Shares of common stock reserved for issuance (in shares) | 11,400,000 |  |  |  |
Minimum annual automatic increase included in common stock reserved for future issuance as of first day of each fiscal year (in shares) | 10,000,000 |  |  |  |
Minimum percentage of annual automatic increase included in common stock reserved for future issuance as of last day of immediately preceding fiscal year | 4.00% |  |  |  |
2015 Equity Incentive Plan | Outstanding stock options |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |
Award vesting period | 4 years |  |  |  |
2015 Equity Incentive Plan | Outstanding stock options | Tranche One |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |
Award vesting period | 1 year |  |  |  |
Vesting award percentage | 25.00% |  |  |  |
2015 Equity Incentive Plan | Outstanding stock options | Tranche Two |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |
Award vesting period | 3 years |  |  |  |
Vesting award percentage | 75.00% |  |  |  |
2015 Equity Incentive Plan | Restricted Stock Units (RSUs) |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |
Award vesting period | 4 years |  |  |  |
2015 Equity Incentive Plan | Restricted Stock Units (RSUs) | Tranche One |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |
Award vesting period | 1 year |  |  |  |
Vesting award percentage | 25.00% |  |  |  |
2015 Equity Incentive Plan | Restricted Stock Units (RSUs) | Tranche Three |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |
Award vesting period | 3 years |  |  |  |
Vesting award percentage | 75.00% |  |  |  |
2015 Equity Incentive Plan | Maximum |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |
Shares of common stock reserved for issuance (in shares) | 15,439,334 |  |  |  |
2015 Equity Incentive Plan | Maximum | Outstanding stock options |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |
Stock options granted, expiration period | 10 years |  |  |  |
Employee Stock Purchase Plan |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |
Shares of common stock reserved for issuance (in shares) |  |  | 1,000,000 |  |
Minimum percentage of annual automatic increase included in common stock reserved for future issuance as of last day of immediately preceding fiscal year |  |  | 2.00% |  |
Offering period |  |  | 24 months |  |
Number of purchase periods | purchase_period |  |  | 4 |  |
Purchase period |  |  | 6 months |  |
Maximum percentage in payroll deductions to acquire shares of common stock |  |  | 15.00% |  |
Maximum deductible fair market value of shares available for employee to purchase per calendar year | $ |  |  | $ 25,000 |  |
Maximum number of shares available for employee to purchase per offering period (in shares) |  |  | 10,000 |  |
Maximum annual shares reserved for issuance (in shares) |  |  | 5,000,000 |  |
Sunrun 401 (k) | First threshold |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |
Employer matching contribution, percentage |  |  | 100.00% |  |
Percent of pay matched |  |  | 1.00% |  |
Sunrun 401 (k) | Second threshold |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |
Employer matching contribution, percentage |  |  | 50.00% |  |
Percent of pay matched |  |  | 5.00% |  |
Vivint Solar 401 (k) |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |
Employer matching contribution, percentage |  |  | 33.00% |  |
Percent of pay matched |  |  | 6.00% |  |
Long-term Incentive Plan 2013 | Restricted Stock Units (RSUs) | Tranche One |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |
Vesting award percentage |  |  | 33.33% |  |
Long-term Incentive Plan 2013 | Restricted Stock Units (RSUs) | Tranche Two |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |
Vesting award percentage |  |  | 33.33% |  |
Long-term Incentive Plan 2013 | Restricted Stock Units (RSUs) | Tranche Three |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |
Vesting award percentage |  |  | 33.33% |  |

X
- Definition Annual Increase Included In Common Stock Reserved For Future Issuance As Of Last Day Of Immediately Preceding Fiscal Year + References No definition available. + Details
Name: | run_AnnualIncreaseIncludedInCommonStockReservedForFutureIssuanceAsOfLastDayOfImmediatelyPrecedingFiscalYear
Namespace Prefix: | run_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Class Of Warrant Or Right, Warrants Or Rights Exercised + References No definition available. + Details
Name: | run_ClassOfWarrantOrRightWarrantsOrRightsExercised
Namespace Prefix: | run_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Minimum annual increase included in common stock reserved for future issuance as of first day of each fiscal year. + References No definition available. + Details
Name: | run_MinimumAnnualIncreaseIncludedInCommonStockReservedForFutureIssuanceAsOfFirstDayOfEachFiscalYear
Namespace Prefix: | run_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Minimum percentage of annual increase included in common stock reserved for future issuance as of last day of immediately preceding fiscal year. + References No definition available. + Details
Name: | run_MinimumPercentageOfAnnualIncreaseIncludedInCommonStockReservedForFutureIssuanceAsOfLastDayOfImmediatelyPrecedingFiscalYear
Namespace Prefix: | run_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share based compensation arrangement by share based payment award maximum deductible fair market value of shares per calendar year. + References No definition available. + Details
Name: | run_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumDeductibleFairMarketValueOfSharesPerCalendarYear
Namespace Prefix: | run_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Share-based Compensation Arrangement by Share-based Payment Award, Number of Purchase Periods + References No definition available. + Details
Name: | run_SharebasedCompensationArrangementbySharebasedPaymentAwardNumberofPurchasePeriods
Namespace Prefix: | run_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share-based Compensation Arrangement by Share-based Payment Award, Offering Period + References No definition available. + Details
Name: | run_SharebasedCompensationArrangementbySharebasedPaymentAwardOfferingPeriod
Namespace Prefix: | run_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share-based Compensation Arrangement by Share-based Payment Award, Purchase Period + References No definition available. + Details
Name: | run_SharebasedCompensationArrangementbySharebasedPaymentAwardPurchasePeriod
Namespace Prefix: | run_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of expense for award under share-based payment arrangement. Excludes amount capitalized. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 14.F) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479830/718-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(1)(i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_AllocatedShareBasedCompensationExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Exercise price per share or per unit of warrants or rights outstanding. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-3 + Details
Name: | us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of securities into which the class of warrant or right may be converted. For example, but not limited to, 500,000 warrants may be converted into 1,000,000 shares. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-3 + Details
Name: | us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Aggregate number of common shares reserved for future issuance. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_CommonStockCapitalSharesReservedForFutureIssuance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of cost for defined contribution plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 70 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480794/715-70-50-1 + Details
Name: | us-gaap_DefinedContributionPlanCostRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage of employees' gross pay for which the employer contributes a matching contribution to a defined contribution plan. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage employer matches of the employee's percentage contribution matched. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployerMatchingContributionPercentOfMatch
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum amount the employee may contribute to a defined contribution plan. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanMaximumAnnualContributionsPerEmployeeAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of cost capitalized for award under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(1)(ii) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of cost not yet recognized for nonvested award under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period over which grantee's right to exercise award under share-based payment arrangement is no longer contingent on satisfaction of service or performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, combination of market, performance or service condition. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 35 -Paragraph 1D -Publisher FASB -URI https://asc.fasb.org/1943274/2147480483/718-10-35-1D Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 35 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480483/718-10-35-3 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(1)(i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(1)(ii) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iii) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iv) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iv)(01) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iv)(02) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iv)(03) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iv)(04) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(2)(i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(2)(ii) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(2)(iii) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(2)(iii)(01) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(2)(iii)(02) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(2)(iii)(03) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (d)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (d)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (e)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (e)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 Reference 24: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (f)(2)(i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 Reference 25: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (f)(2)(ii) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 Reference 26: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (f)(2)(iii) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 Reference 27: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (f)(2)(iv) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 Reference 28: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (f)(2)(v) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The highest percentage of annual salary that an employee is permitted to utilize with respect to the plan. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The highest quantity of shares an employee can purchase under the plan per period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumNumberOfSharesPerEmployee
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of additional shares authorized for issuance under share-based payment arrangement. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of accumulated difference between fair value of underlying shares on dates of exercise and exercise price on options exercised (or share units converted) into shares. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (d)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The weighted average grant-date fair value of options granted during the reporting period as calculated by applying the disclosed option pricing methodology. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (d)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of vesting of award under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period from grant date that an equity-based award expires, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value of options vested. Excludes equity instruments other than options, for example, but not limited to, share units, stock appreciation rights, restricted stock. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (d)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_EmployeeStockOptionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_RestrictedStockUnitsRSUMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_WarrantMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=run_TwoThousandThirteenEquityIncentivePlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=run_TwoThousandFifteenEquityIncentivePlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VestingAxis=us-gaap_ShareBasedCompensationAwardTrancheOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VestingAxis=us-gaap_ShareBasedCompensationAwardTrancheTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VestingAxis=us-gaap_ShareBasedCompensationAwardTrancheThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=run_EmployeeStockPurchasePlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=run_Sunrun401KMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | run_DefinedContributionPlanEffectiveThresholdAxis=run_EffectiveThresholdOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | run_DefinedContributionPlanEffectiveThresholdAxis=run_EffectiveThresholdTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=run_VivintSolar401KMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=run_LongTermIncentivePlanTwoThousandThirteenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |