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

    <schemaVersion>X0206</schemaVersion>

    <documentType>3</documentType>

    <periodOfReport>2026-01-22</periodOfReport>

    <noSecuritiesOwned>0</noSecuritiesOwned>

    <issuer>
        <issuerCik>0002087450</issuerCik>
        <issuerName>Legato Merger Corp. IV</issuerName>
        <issuerTradingSymbol>LEGO</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001376451</rptOwnerCik>
            <rptOwnerName>Sgro David</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O LEGATO MERGER CORP. IV</rptOwnerStreet1>
            <rptOwnerStreet2>777 THIRD AVENUE</rptOwnerStreet2>
            <rptOwnerCity>NEW YORK</rptOwnerCity>
            <rptOwnerState>NY</rptOwnerState>
            <rptOwnerZipCode>10017</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Ordinary Shares</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>24882</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                    <footnoteId id="F1"/>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <derivativeTable>
        <derivativeHolding>
            <securityTitle>
                <value>Warrants</value>
                <footnoteId id="F2"/>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>11.50</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <footnoteId id="F3"/>
            </exerciseDate>
            <expirationDate>
                <footnoteId id="F4"/>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Ordinary Shares</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>794</value>
                    <footnoteId id="F5"/>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">Includes (i) 2,382 shares contained within units that the reporting person has irrevocably agreed to purchase at the closing of the Issuer's initial public offering (the &quot;IPO&quot;) and (ii) up to 1,059 shares subject to forfeiture in the event the underwriters of the IPO do not exercise their over-allotment option. Does not include an additional 118 shares contained within units that the reporting person has irrevocably agreed to purchase in connection with the IPO if and only if the underwriters of the IPO fully exercise their over-allotment option.</footnote>
        <footnote id="F2">Represents warrants included within units that the reporting person has irrevocably agreed to purchase at the closing of the Issuer's IPO.</footnote>
        <footnote id="F3">Each warrant will become exercisable 30 days after the completion by the Issuer of an initial business combination.</footnote>
        <footnote id="F4">Each warrant will expire five years after the completion by the Issuer of an initial business combination, or earlier upon redemption; provided that the warrants will expire earlier if the Issuer has not completed an initial business combination within the required time period and liquidates the trust account in connection therewith.</footnote>
        <footnote id="F5">Does not include an additional 39 shares underlying warrants contained within units that the reporting person has irrevocably agreed to purchase in connection with the IPO if and only if the underwriters of the IPO fully exercise their over-allotment option.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ David Sgro</signatureName>
        <signatureDate>2026-01-22</signatureDate>
    </ownerSignature>
</ownershipDocument>
