<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0508</schemaVersion>

    <documentType>4/A</documentType>

    <periodOfReport>2024-01-24</periodOfReport>

    <dateOfOriginalSubmission>2024-01-24</dateOfOriginalSubmission>

    <notSubjectToSection16>0</notSubjectToSection16>

    <issuer>
        <issuerCik>0000350852</issuerCik>
        <issuerName>COMMUNITY TRUST BANCORP INC /KY/</issuerName>
        <issuerTradingSymbol>CTBI</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001509839</rptOwnerCik>
            <rptOwnerName>Waters Andy D</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>100 EAST VINE STREET</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>LEXINGTON</rptOwnerCity>
            <rptOwnerState>KY</rptOwnerState>
            <rptOwnerZipCode>40507-1406</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>Executive Vice President</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>0</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common STock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>6902.2065</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>By ESOP</value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>2708</value>
                    <footnoteId id="F1"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">The total includes 621 shares held in a brokerage account, which holdings were reported separately in the original Form 4.</footnote>
    </footnotes>

    <remarks>On January 24, 2024, the reporting person filed a Form 4 which inadvertently reported that he purchased 283 shares of Common Stock in a private purchase or on the open market. The 2,708 shares reported in this Form 4 amendment include the 283 shares of restricted stock that vested, as well as 621 shares held in the name of a broker for the account of the reporting person which were reported separately on the original Form 4. The holdings listed in Row 1 of Table I of this Form 4 amendment are not new or revised.</remarks>

    <ownerSignature>
        <signatureName>Andy D. Waters By: Cynthia L Adkins, Attorney-in-Fact</signatureName>
        <signatureDate>2024-07-26</signatureDate>
    </ownerSignature>
</ownershipDocument>
