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

    <schemaVersion>X0508</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2025-11-21</periodOfReport>

    <issuer>
        <issuerCik>0001437402</issuerCik>
        <issuerName>ARDELYX, INC.</issuerName>
        <issuerTradingSymbol>ARDX</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001213041</rptOwnerCik>
            <rptOwnerName>GRAMMER ELIZABETH A</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O ARDELYX, INC.</rptOwnerStreet1>
            <rptOwnerStreet2>400 FIFTH AVENUE, SUITE 210</rptOwnerStreet2>
            <rptOwnerCity>WALTHAM</rptOwnerCity>
            <rptOwnerState>MA</rptOwnerState>
            <rptOwnerZipCode>02451</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isOfficer>true</isOfficer>
            <officerTitle>See Remarks</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>false</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2025-11-21</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>5995</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>5.5369</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>299895</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Pursuant to an automatic sell-to-cover imposed by the terms of the initial grant of the restricted stock units (&quot;RSUs&quot;) awards, the shares were sold upon the vesting of the RSUs solely to cover applicable withholding taxes.</footnote>
    </footnotes>

    <remarks>Chief Legal and Administrative Officer</remarks>

    <ownerSignature>
        <signatureName>/s/ Elizabeth Grammer</signatureName>
        <signatureDate>2025-11-25</signatureDate>
    </ownerSignature>
</ownershipDocument>
