<?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 Corp</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>26008</noOfUnitsSold>
      <aggregateMarketValue>679068.00</aggregateMarketValue>
      <noOfUnitsOutstanding>64506055</noOfUnitsOutstanding>
      <approxSaleDate>08/24/2023</approxSaleDate>
      <securitiesExchangeName>Nasdaq</securitiesExchangeName>
    </securitiesInformation>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>06/28/2023</acquiredDate>
      <natureOfAcquisitionTransaction>Restricted Stock Unit</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Canadian Solar, Inc.</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>20581</amountOfSecuritiesAcquired>
      <paymentDate>06/28/2023</paymentDate>
      <natureOfPayment>Equity Compensation</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>06/09/2023</acquiredDate>
      <natureOfAcquisitionTransaction>Restricted Stock Unit</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Canadian Solar, Inc.</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>5427</amountOfSecuritiesAcquired>
      <paymentDate>06/09/2023</paymentDate>
      <natureOfPayment>Equity Compensation</natureOfPayment>
    </securitiesToBeSold>
    <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>Karl Olsoni</name>
        <address>
          <com:street1>721 Woodlaven Lane</com:street1>
          <com:city>Naples</com:city>
          <com:stateOrCountry>FL</com:stateOrCountry>
          <com:zipCode>34108</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>Canadian Solar, Inc.</securitiesClassTitle>
      <saleDate>06/16/2023</saleDate>
      <amountOfSecuritiesSold>2000</amountOfSecuritiesSold>
      <grossProceeds>82269.05</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>Karl Olsoni</name>
        <address>
          <com:street1>721 Woodhaven Lane</com:street1>
          <com:city>Naples</com:city>
          <com:stateOrCountry>FL</com:stateOrCountry>
          <com:zipCode>34108</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>Canadian Solar, Inc.</securitiesClassTitle>
      <saleDate>06/16/2023</saleDate>
      <amountOfSecuritiesSold>3000</amountOfSecuritiesSold>
      <grossProceeds>121725.09</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>Karl Olsoni</name>
        <address>
          <com:street1>721 Woodhaven Lane</com:street1>
          <com:city>Naples</com:city>
          <com:stateOrCountry>FL</com:stateOrCountry>
          <com:zipCode>34108</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>Canadian Solar, Inc.</securitiesClassTitle>
      <saleDate>06/15/2023</saleDate>
      <amountOfSecuritiesSold>2000</amountOfSecuritiesSold>
      <grossProceeds>78769.68</grossProceeds>
    </securitiesSoldInPast3Months>
    <noticeSignature>
      <noticeDate>08/24/2023</noticeDate>
      <signature>Karl E. Olsoni</signature>
    </noticeSignature>
  </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 5107}]
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 Corp
3000 Schwab Way
Westlake
TX
76262
26008
679068.00
64506055
08/24/2023
Nasdaq
Common
06/28/2023
Restricted Stock Unit
Canadian Solar, Inc.
N
20581
06/28/2023
Equity Compensation
Common
06/09/2023
Restricted Stock Unit
Canadian Solar, Inc.
N
5427
06/09/2023
Equity Compensation
N
Karl Olsoni
721 Woodlaven Lane
Naples
FL
34108
Canadian Solar, Inc.
06/16/2023
2000
82269.05
Karl Olsoni
721 Woodhaven Lane
Naples
FL
34108
Canadian Solar, Inc.
06/16/2023
3000
121725.09
Karl Olsoni
721 Woodhaven Lane
Naples
FL
34108
Canadian Solar, Inc.
06/15/2023
2000
78769.68
08/24/2023
Karl E. Olsoni