content: <?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/ownership" xmlns:com="http://www.sec.gov/edgar/common">
    <headerData>
      <submissionType>144</submissionType>
      <filerInfo>
        <filer>
          <filerCredentials>
            <cik>0001596781</cik>
            <ccc>XXXXXXXX</ccc>
          </filerCredentials>
        </filer>
        <liveTestFlag>LIVE</liveTestFlag>
  
  
      </filerInfo>
    </headerData>
    <formData>
      <issuerInfo>
        <issuerCik>0001469367</issuerCik>
        <issuerName>Sunrun Inc.</issuerName>
        <secFileNumber>001-37511</secFileNumber>
        <issuerAddress>
          <com:street1>600 CALIFORNIA STREET, SUITE 1800</com:street1>
          <com:city>SAN FRANCISCO</com:city>
          <com:stateOrCountry>CA</com:stateOrCountry>
          <com:zipCode>94108</com:zipCode>
        </issuerAddress>
        <issuerContactPhone>415-580-6900</issuerContactPhone>
        <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>August-deWilde Katherine</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
        <relationshipsToIssuer>
          <relationshipToIssuer>Director</relationshipToIssuer>
        </relationshipsToIssuer>
      </issuerInfo>
      <securitiesInformation>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <brokerOrMarketmakerDetails>
          <name>Fidelity Brokerage Services LLC</name>
          <address>
            <com:street1>245 Summer Street</com:street1>
            <com:city>Boston   </com:city>
            <com:stateOrCountry>MA</com:stateOrCountry>
            <com:zipCode>02110</com:zipCode>
          </address>
        </brokerOrMarketmakerDetails>
        <noOfUnitsSold>23584</noOfUnitsSold>
        <aggregateMarketValue>340552.96</aggregateMarketValue>
        <noOfUnitsOutstanding>221662910</noOfUnitsOutstanding>
        <approxSaleDate>06/07/2024</approxSaleDate>
        <securitiesExchangeName>NASDAQ</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <acquiredDate>01/04/2021</acquiredDate>
        <natureOfAcquisitionTransaction>Stock Award</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Sunrun Inc.</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>10927</amountOfSecuritiesAcquired>
        <paymentDate>01/04/2021</paymentDate>
        <natureOfPayment>N/A</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common Stock	</securitiesClassTitle>
        <acquiredDate>01/03/2022</acquiredDate>
        <natureOfAcquisitionTransaction>Stock Award	</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Sunrun Inc.	</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>2656</amountOfSecuritiesAcquired>
        <paymentDate>01/03/2022</paymentDate>
        <natureOfPayment>N/A</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common Stock	</securitiesClassTitle>
        <acquiredDate>01/03/2023</acquiredDate>
        <natureOfAcquisitionTransaction>Stock Award	</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Sunrun Inc.	</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>4162</amountOfSecuritiesAcquired>
        <paymentDate>01/03/2023</paymentDate>
        <natureOfPayment>N/A</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common Stock	</securitiesClassTitle>
        <acquiredDate>01/02/2024</acquiredDate>
        <natureOfAcquisitionTransaction>Stock Award	</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Sunrun Inc.	</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>5839</amountOfSecuritiesAcquired>
        <paymentDate>01/02/2024</paymentDate>
        <natureOfPayment>N/A</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <remarks>Shares are being sold from DEWILDE FAMILY TRUST.</remarks>
      <noticeSignature>
        <noticeDate>06/07/2024</noticeDate>
        <signature>/s/ Myra King, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Katherine August-deWilde</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 4518}]
text: 144
  0001596781
  XXXXXXXX
  LIVE
  0001469367
  Sunrun Inc.
  001-37511
  600 CALIFORNIA STREET, SUITE 1800
  SAN FRANCISCO
  CA
  94108
  415-580-6900
  August-deWilde Katherine
  Director
  Common Stock
  Fidelity Brokerage Services LLC
  245 Summer Street
  Boston
  MA
  02110
  23584
  340552.96
  221662910
  06/07/2024
  NASDAQ
  Common Stock
  01/04/2021
  Stock Award
  Sunrun Inc.
  N
  10927
  01/04/2021
  N/A
  Common Stock
  01/03/2022
  Stock Award
  Sunrun Inc.
  N
  2656
  01/03/2022
  N/A
  Common Stock
  01/03/2023
  Stock Award
  Sunrun Inc.
  N
  4162
  01/03/2023
  N/A
  Common Stock
  01/02/2024
  Stock Award
  Sunrun Inc.
  N
  5839
  01/02/2024
  N/A
  Y
  Shares are being sold from DEWILDE FAMILY TRUST.
  06/07/2024
  /s/ Myra King, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Katherine August-deWilde