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

    <schemaVersion>X0206</schemaVersion>

    <documentType>3</documentType>

    <periodOfReport>2025-06-09</periodOfReport>

    <noSecuritiesOwned>0</noSecuritiesOwned>

    <issuer>
        <issuerCik>0001707753</issuerCik>
        <issuerName>Elastic N.V.</issuerName>
        <issuerTradingSymbol>ESTC</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001389364</rptOwnerCik>
            <rptOwnerName>Bone Jane E</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O ELASTIC N.V.</rptOwnerStreet1>
            <rptOwnerStreet2>88 KEARNY ST., FLOOR 19</rptOwnerStreet2>
            <rptOwnerCity>SAN FRANCISCO</rptOwnerCity>
            <rptOwnerState>CA</rptOwnerState>
            <rptOwnerZipCode>94108</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>GVP &amp; CAO</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

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

    <footnotes>
        <footnote id="F1">Amount consists of (a) 7,089 ordinary shares and (b) 32,326 unvested restricted stock units (&quot;RSUs&quot;) as follows:  (i) 540 unvested RSUs of an award granted on December 8, 2021, which vest in two remaining equal quarterly installments beginning on September 8, 2025, (ii) 4,674 unvested RSUs of an award granted on December 8, 2022, which vest in six remaining equal quarterly installments beginning on September 8, 2025, (iii) 3,508 unvested RSUs of an award granted on December 8, 2023, which vest in ten remaining equal quarterly installments beginning on September 8, 2025, (iv) 9,010 unvested RSUs of an award granted on December 8, 2024, which vest in two equal annual installments beginning on December 8, 2025, [footnote cont'd]</footnote>
        <footnote id="F2">[continuation] (v) 5,913 unvested RSUs of an award granted on December 8, 2024, which vest in fourteen remaining equal quarterly installments beginning on September 8, 2025, and (vi) 8,681 unvested RSUs of an award granted on June 8, 2025, which vest 30% on June 8, 2027 and 70% on June 8, 2028.</footnote>
    </footnotes>

    <remarks>Exhibit 24 - Power of Attorney</remarks>

    <ownerSignature>
        <signatureName>/s/ Marielle Reints, by power of attorney</signatureName>
        <signatureDate>2025-06-17</signatureDate>
    </ownerSignature>
</ownershipDocument>
