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>0001507622</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>Jones David Andrew</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
        <relationshipsToIssuer>
          <relationshipToIssuer>Officer</relationshipToIssuer>
        </relationshipsToIssuer>
      </issuerInfo>
      <securitiesInformation>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <brokerOrMarketmakerDetails>
          <name>LPL Financial</name>
          <address>
            <com:street1>4707 Executive Drive</com:street1>
            <com:city>San Diego</com:city>
            <com:stateOrCountry>CA</com:stateOrCountry>
            <com:zipCode>92121-3091</com:zipCode>
          </address>
        </brokerOrMarketmakerDetails>
        <noOfUnitsSold>1059</noOfUnitsSold>
        <aggregateMarketValue>51832.73</aggregateMarketValue>
        <noOfUnitsOutstanding>5613</noOfUnitsOutstanding>
        <approxSaleDate>07/19/2024</approxSaleDate>
        <securitiesExchangeName>CTBI</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <acquiredDate>07/03/2023</acquiredDate>
        <natureOfAcquisitionTransaction>Drip Purchase</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>David Andrew Jones</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>12</amountOfSecuritiesAcquired>
        <paymentDate>07/03/2023</paymentDate>
        <natureOfPayment>Drip Purchase</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <acquiredDate>10/02/2023</acquiredDate>
        <natureOfAcquisitionTransaction>Drip Purchase</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>David Andrew Jones</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>13</amountOfSecuritiesAcquired>
        <paymentDate>10/02/2023</paymentDate>
        <natureOfPayment>Drip Purchase</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <acquiredDate>06/05/2023</acquiredDate>
        <natureOfAcquisitionTransaction>Purchase</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>David Andrew Jones</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>1000</amountOfSecuritiesAcquired>
        <paymentDate>06/05/2023</paymentDate>
        <natureOfPayment>Check</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <acquiredDate>01/02/2024</acquiredDate>
        <natureOfAcquisitionTransaction>Dividend Reinvestment</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>David Andrew Jones</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>10</amountOfSecuritiesAcquired>
        <paymentDate>01/02/2024</paymentDate>
        <natureOfPayment>Dividend Reinvestment</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <acquiredDate>04/01/2024</acquiredDate>
        <natureOfAcquisitionTransaction>Dividend Reinvestment</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>David Andrew Jones</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>11</amountOfSecuritiesAcquired>
        <paymentDate>04/01/2024</paymentDate>
        <natureOfPayment>Dividend Reinvestment</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <acquiredDate>07/01/2024</acquiredDate>
        <natureOfAcquisitionTransaction>Dividend Reinvestment</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>David Andrew Jones</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>11</amountOfSecuritiesAcquired>
        <paymentDate>07/01/2024</paymentDate>
        <natureOfPayment>Dividend Reinvestment</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <noticeSignature>
        <noticeDate>07/22/2024</noticeDate>
        <signature>Cynthia L. Adkins</signature>
      </noticeSignature>
    </formData>
  
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 5545}]
text: 144
  0001507622
  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
  Jones David Andrew
  Officer
  Common Stock
  LPL Financial
  4707 Executive Drive
  San Diego
  CA
  92121-3091
  1059
  51832.73
  5613
  07/19/2024
  CTBI
  Common Stock
  07/03/2023
  Drip Purchase
  David Andrew Jones
  N
  12
  07/03/2023
  Drip Purchase
  Common Stock
  10/02/2023
  Drip Purchase
  David Andrew Jones
  N
  13
  10/02/2023
  Drip Purchase
  Common Stock
  06/05/2023
  Purchase
  David Andrew Jones
  N
  1000
  06/05/2023
  Check
  Common Stock
  01/02/2024
  Dividend Reinvestment
  David Andrew Jones
  N
  10
  01/02/2024
  Dividend Reinvestment
  Common Stock
  04/01/2024
  Dividend Reinvestment
  David Andrew Jones
  N
  11
  04/01/2024
  Dividend Reinvestment
  Common Stock
  07/01/2024
  Dividend Reinvestment
  David Andrew Jones
  N
  11
  07/01/2024
  Dividend Reinvestment
  Y
  07/22/2024
  Cynthia L. Adkins