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

    <schemaVersion>X0609</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2026-08-03</periodOfReport>

    <issuer>
        <issuerCik>0001365767</issuerCik>
        <issuerName>Allot Ltd.</issuerName>
        <issuerTradingSymbol>ALLT</issuerTradingSymbol>
        <issuerForeignTradingSymbol></issuerForeignTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0002114569</rptOwnerCik>
            <rptOwnerName>Charash Inbar</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerNonUSAddressFlag>true</rptOwnerNonUSAddressFlag>
            <rptOwnerStreet1>22 HANAGAR STREET</rptOwnerStreet1>
            <rptOwnerStreet2>INDUSTRIAL ZONE B</rptOwnerStreet2>
            <rptOwnerCity>HOD HASHARON</rptOwnerCity>
            <rptOwnerNonUSStateTerritory></rptOwnerNonUSStateTerritory>
            <rptOwnerCountry>L3</rptOwnerCountry>
            <rptOwnerZipCode>4501317</rptOwnerZipCode>
            <rptOwnerStateDescription>ISRAEL</rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>General Counsel</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>0</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Ordinary Shares</value>
            </securityTitle>
            <transactionDate>
                <value>2026-08-03</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>556</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>7.7972</value>
                    <footnoteId id="F2"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>28008</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">The shares reported as disposed herein were granted on November 19, 2025 in the form of restricted share units (&quot;RSUs&quot;). The disposition of shares is associated with tax obligations of the reporting person associated with the vesting of the RSUs.</footnote>
        <footnote id="F2">The price reported is a weighted average price. These shares were sold in multiple transactions ranging from $7.61 to $7.92. The reporting person undertakes to provide full information, regarding the number of shares and prices at which the transaction was effectuated, upon request.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Meirav Shemesh on behalf of Oppenheimer Israel, as Attorney-in-fact</signatureName>
        <signatureDate>2026-08-04</signatureDate>
    </ownerSignature>
</ownershipDocument>
