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

    <schemaVersion>X0508</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2023-10-24</periodOfReport>

    <issuer>
        <issuerCik>0000105132</issuerCik>
        <issuerName>WD 40 CO</issuerName>
        <issuerTradingSymbol>WDFC</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001691913</rptOwnerCik>
            <rptOwnerName>Brass Steven A</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O:  WD-40 COMPANY</rptOwnerStreet1>
            <rptOwnerStreet2>9715 BUSINESSPARK AVE.</rptOwnerStreet2>
            <rptOwnerCity>SAN DIEGO</rptOwnerCity>
            <rptOwnerState>CA</rptOwnerState>
            <rptOwnerZipCode>92131</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>true</isDirector>
            <isOfficer>true</isOfficer>
            <officerTitle>President and CEO</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>false</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2023-10-24</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>F</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>869</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <footnoteId id="F1"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>20115</value>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Shares withheld pursuant to mandatory provisions of Restricted Stock Unit (RSU) Award Agreement(s) in satisfaction of tax withholding obligations upon vesting of 2,508 RSUs.</footnote>
        <footnote id="F2">Total includes:  (i) 973 shares of restricted Common Stock received upon settlement of performance share units or PSUs, (ii) 7,500 unvested RSUs, (iii) 108 vested deferred performance units or DPUs, which are common stock equivalents, and (iv) 1,776 shares held in the WD-40 Company Profit Sharing / 401(k) Plan.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>Ann T. Nguyen, attorney-in-fact for Steven A. Brass</signatureName>
        <signatureDate>2023-10-26</signatureDate>
    </ownerSignature>
</ownershipDocument>
