<?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>0001925499</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>Olsoni Karl E.</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
      <relationshipsToIssuer>
        <relationshipToIssuer>Director</relationshipToIssuer>
      </relationshipsToIssuer>
    </issuerInfo>
    <securitiesInformation>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <brokerOrMarketmakerDetails>
        <name>CHARLES SCHWAB CORPORATION</name>
        <address>
          <com:street1>3000 Schwab Way</com:street1>
          <com:city>Westlake</com:city>
          <com:stateOrCountry>TX</com:stateOrCountry>
          <com:zipCode>76262</com:zipCode>
        </address>
      </brokerOrMarketmakerDetails>
      <noOfUnitsSold>2429</noOfUnitsSold>
      <aggregateMarketValue>103150.00</aggregateMarketValue>
      <noOfUnitsOutstanding>64506055</noOfUnitsOutstanding>
      <approxSaleDate>05/26/2023</approxSaleDate>
      <securitiesExchangeName>Nasdaq</securitiesExchangeName>
    </securitiesInformation>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>01/01/2023</acquiredDate>
      <natureOfAcquisitionTransaction>Restricted Stock Unit</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>1019</amountOfSecuritiesAcquired>
      <paymentDate>01/01/2023</paymentDate>
      <natureOfPayment>Equity Compensation</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>04/01/2023</acquiredDate>
      <natureOfAcquisitionTransaction>Restricted Stock Unit</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>1410</amountOfSecuritiesAcquired>
      <paymentDate>04/01/2023</paymentDate>
      <natureOfPayment>Equity Compensation</natureOfPayment>
    </securitiesToBeSold>
    <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
    <noticeSignature>
      <noticeDate>05/26/2023</noticeDate>
      <signature>Karl E. Olsoni</signature>
    </noticeSignature>
  </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 3310}]
144
0001925499
XXXXXXXX
LIVE
0001375877
Canadian Solar Inc.
001-33107
545 SPEEDVALE AVENUE
WEST GUELPH
ONTARIO
A6
N1K 1E6
(86-512) 6690-8088
Olsoni Karl E.
Director
Common
CHARLES SCHWAB CORPORATION
3000 Schwab Way
Westlake
TX
76262
2429
103150.00
64506055
05/26/2023
Nasdaq
Common
01/01/2023
Restricted Stock Unit
Issuer
N
1019
01/01/2023
Equity Compensation
Common
04/01/2023
Restricted Stock Unit
Issuer
N
1410
04/01/2023
Equity Compensation
Y
05/26/2023
Karl E. Olsoni