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>0001509839</cik>
            <ccc>XXXXXXXX</ccc>
          </filerCredentials>
        </filer>
        <liveTestFlag>LIVE</liveTestFlag>
  
  
      </filerInfo>
    </headerData>
    <formData>
      <issuerInfo>
        <issuerCik>0000350852</issuerCik>
        <issuerName>COMMUNITY TRUST BANCORP INC /KY/</issuerName>
        <secFileNumber>001-31220</secFileNumber>
        <issuerAddress>
          <com:street1>346 NORTH MAYO TRAIL</com:street1>
          <com:street2>P.O. BOX 2947</com:street2>
          <com:city>PIKEVILLE</com:city>
          <com:stateOrCountry>KY</com:stateOrCountry>
          <com:zipCode>41502-2947</com:zipCode>
        </issuerAddress>
        <issuerContactPhone>(606)433-4643</issuerContactPhone>
        <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>Waters Andy D</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
        <relationshipsToIssuer>
          <relationshipToIssuer>Director</relationshipToIssuer>
        </relationshipsToIssuer>
      </issuerInfo>
      <securitiesInformation>
        <securitiesClassTitle>Common</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>492100.00</aggregateMarketValue>
        <noOfUnitsOutstanding>18026091</noOfUnitsOutstanding>
        <approxSaleDate>07/19/2024</approxSaleDate>
        <securitiesExchangeName>NASDAQ</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>07/19/2024</acquiredDate>
        <natureOfAcquisitionTransaction>Stock Option Exercise</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>10000</amountOfSecuritiesAcquired>
        <paymentDate>07/19/2024</paymentDate>
        <natureOfPayment>Cash/Check</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <noticeSignature>
        <noticeDate>07/19/2024</noticeDate>
        <signature>/s/ Christian Nasser as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Andy Waters</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 2893}]
text: 144
  0001509839
  XXXXXXXX
  LIVE
  0000350852
  COMMUNITY TRUST BANCORP INC /KY/
  001-31220
  346 NORTH MAYO TRAIL
  P.O. BOX 2947
  PIKEVILLE
  KY
  41502-2947
  (606)433-4643
  Waters Andy D
  Director
  Common
  Fidelity Brokerage Services LLC
  245 Summer Street
  Boston
  MA
  02110
  10000
  492100.00
  18026091
  07/19/2024
  NASDAQ
  Common
  07/19/2024
  Stock Option Exercise
  Issuer
  N
  10000
  07/19/2024
  Cash/Check
  Y
  07/19/2024
  /s/ Christian Nasser as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Andy Waters