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



    </filerInfo>
  </headerData>
  <formData>
    <issuerInfo>
      <issuerCik>0001158324</issuerCik>
      <issuerName>COGENT COMMUNICATIONS HOLDINGS, INC.</issuerName>
      <secFileNumber>000-51829</secFileNumber>
      <issuerAddress>
        <com:street1>2450 N STREET, NW</com:street1>
        <com:city>WASHINGTON</com:city>
        <com:stateOrCountry>DC</com:stateOrCountry>
        <com:zipCode>20037</com:zipCode>
      </issuerAddress>
      <issuerContactPhone>2022954200</issuerContactPhone>
      <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>Chang John B.</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
      <relationshipsToIssuer>
        <relationshipToIssuer>Officer</relationshipToIssuer>
      </relationshipsToIssuer>
    </issuerInfo>
    <securitiesInformation>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <brokerOrMarketmakerDetails>
        <name>Citi Global Markets, Inc.</name>
        <address>
          <com:street1>388 Greenwich Street</com:street1>
          <com:city>New York</com:city>
          <com:stateOrCountry>NY</com:stateOrCountry>
          <com:zipCode>10013</com:zipCode>
        </address>
      </brokerOrMarketmakerDetails>
      <noOfUnitsSold>1000</noOfUnitsSold>
      <aggregateMarketValue>74000.00</aggregateMarketValue>
      <noOfUnitsOutstanding>48623846</noOfUnitsOutstanding>
      <approxSaleDate>12/21/2023</approxSaleDate>
      <securitiesExchangeName>NASDAQ</securitiesExchangeName>
    </securitiesInformation>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>12/31/2022</acquiredDate>
      <natureOfAcquisitionTransaction>Stock Grant</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>1000</amountOfSecuritiesAcquired>
      <paymentDate>12/31/2022</paymentDate>
      <natureOfPayment>Cash</natureOfPayment>
    </securitiesToBeSold>
    <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>John Chang</name>
        <address>
          <com:street1>2450 N. Street, NW</com:street1>
          <com:city>Washington</com:city>
          <com:stateOrCountry>DC</com:stateOrCountry>
          <com:zipCode>20037</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <saleDate>12/11/2023</saleDate>
      <amountOfSecuritiesSold>3000</amountOfSecuritiesSold>
      <grossProceeds>207000.00</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>John Chang</name>
        <address>
          <com:street1>2450 N. Street, NW</com:street1>
          <com:city>Washington</com:city>
          <com:stateOrCountry>DC</com:stateOrCountry>
          <com:zipCode>20037</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>common</securitiesClassTitle>
      <saleDate>12/14/2023</saleDate>
      <amountOfSecuritiesSold>500</amountOfSecuritiesSold>
      <grossProceeds>36000.00</grossProceeds>
    </securitiesSoldInPast3Months>
    <noticeSignature>
      <noticeDate>12/21/2023</noticeDate>
      <planAdoptionDates>
        <planAdoptionDate>03/04/2022</planAdoptionDate>
      </planAdoptionDates>
      <signature>/s/ John Chang</signature>
    </noticeSignature>
  </formData>
</edgarSubmission>
