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

    <schemaVersion>X0508</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2025-03-05</periodOfReport>

    <issuer>
        <issuerCik>0001090396</issuerCik>
        <issuerName>TABLE TRAC INC</issuerName>
        <issuerTradingSymbol>TBTC</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001686711</rptOwnerCik>
            <rptOwnerName>Gilbert Randy</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>6101 BAKER ROAD</rptOwnerStreet1>
            <rptOwnerStreet2>SUITE 206</rptOwnerStreet2>
            <rptOwnerCity>MINNETONKA</rptOwnerCity>
            <rptOwnerState>MN</rptOwnerState>
            <rptOwnerZipCode>55345</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isOfficer>1</isOfficer>
            <officerTitle>CFO</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>0</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Restricted Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2025-03-05</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>1855</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>3.53</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>154080</value>
                    <footnoteId id="F1"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">87,500 shares granted pursuant to a Restricted Stock Agreement between Reporting Person and Company; restrictions lapse in equal amounts of 17,500 shares on each of March  25, 2023, March 25, 2024, March 25, 2025, March 25, 2026, and March 25, 2027.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Randy Gilbert</signatureName>
        <signatureDate>2025-03-05</signatureDate>
    </ownerSignature>
</ownershipDocument>
