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

    <schemaVersion>X0508</schemaVersion>

    <documentType>4/A</documentType>

    <periodOfReport>2024-12-16</periodOfReport>

    <dateOfOriginalSubmission>2024-12-12</dateOfOriginalSubmission>

    <issuer>
        <issuerCik>0001410098</issuerCik>
        <issuerName>CorMedix Inc.</issuerName>
        <issuerTradingSymbol>CRMD</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0002004480</rptOwnerCik>
            <rptOwnerName>Zelnick Kaufman Beth</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O CORMEDIX INC.</rptOwnerStreet1>
            <rptOwnerStreet2>300 CONNELL DRIVE, SUITE 4200</rptOwnerStreet2>
            <rptOwnerCity>BERKELEY HEIGHTS</rptOwnerCity>
            <rptOwnerState>NJ</rptOwnerState>
            <rptOwnerZipCode>07922</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isOfficer>true</isOfficer>
            <officerTitle>Chief Legal Officer</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>false</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2024-12-12</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>F</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>6044</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>8.77</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>43956</value>
                    <footnoteId id="F1"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">The reporting person has filed this amendment to restate the transaction reported in the Form 4 filed December 16, 2024 in order to correct the amount of Common Stock beneficially owned by the reporting person following the transaction and to remove a duplicative reference to the Restricted Stock Units reported in Table II.  As reported in this amendment, the reporting person directly beneficially owns 43,956 shares of Common Stock following the reported transaction.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Beth Zelnick Kaufman</signatureName>
        <signatureDate>2024-12-18</signatureDate>
    </ownerSignature>
</ownershipDocument>
