<?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>0001979889</cik>
          <ccc>XXXXXXXX</ccc>
        </filerCredentials>
      </filer>
      <liveTestFlag>LIVE</liveTestFlag>


    </filerInfo>
  </headerData>
  <formData>
    <issuerInfo>
      <issuerCik>0001375877</issuerCik>
      <issuerName>Canadian Solar Inc.</issuerName>
      <secFileNumber>001-33107</secFileNumber>
      <issuerAddress>
        <com:street1>545 SPEEDVALE AVENUE</com:street1>
        <com:street2>WEST GUELPH</com:street2>
        <com:city>ONTARIO</com:city>
        <com:stateOrCountry>A6</com:stateOrCountry>
        <com:zipCode>N1K 1E6</com:zipCode>
      </issuerAddress>
      <issuerContactPhone>(86-512) 6690-8088</issuerContactPhone>
      <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>Templeton Lauren C</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
      <relationshipsToIssuer>
        <relationshipToIssuer>Director</relationshipToIssuer>
      </relationshipsToIssuer>
    </issuerInfo>
    <securitiesInformation>
      <securitiesClassTitle>Common shares</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>10000</noOfUnitsSold>
      <aggregateMarketValue>373700.00</aggregateMarketValue>
      <noOfUnitsOutstanding>64506055</noOfUnitsOutstanding>
      <approxSaleDate>06/15/2023</approxSaleDate>
      <securitiesExchangeName>NASDAQ</securitiesExchangeName>
    </securitiesInformation>
    <securitiesToBeSold>
      <securitiesClassTitle>Common shares</securitiesClassTitle>
      <acquiredDate>08/10/2020</acquiredDate>
      <natureOfAcquisitionTransaction>Stock Award</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>10000</amountOfSecuritiesAcquired>
      <paymentDate>08/10/2020</paymentDate>
      <natureOfPayment>N/A</natureOfPayment>
    </securitiesToBeSold>
    <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
    <noticeSignature>
      <noticeDate>06/15/2023</noticeDate>
      <signature>/s/ Myra King, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Lauren Templeton</signature>
    </noticeSignature>
  </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 2879}]
144
0001979889
XXXXXXXX
LIVE
0001375877
Canadian Solar Inc.
001-33107
545 SPEEDVALE AVENUE
WEST GUELPH
ONTARIO
A6
N1K 1E6
(86-512) 6690-8088
Templeton Lauren C
Director
Common shares
Fidelity Brokerage Services LLC
245 Summer Street
Boston
MA
02110
10000
373700.00
64506055
06/15/2023
NASDAQ
Common shares
08/10/2020
Stock Award
Issuer
N
10000
08/10/2020
N/A
Y
06/15/2023
/s/ Myra King, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Lauren Templeton