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

    <schemaVersion>X0206</schemaVersion>

    <documentType>3</documentType>

    <periodOfReport>2024-07-08</periodOfReport>

    <noSecuritiesOwned>1</noSecuritiesOwned>

    <issuer>
        <issuerCik>0001062822</issuerCik>
        <issuerName>LEXICON PHARMACEUTICALS, INC.</issuerName>
        <issuerTradingSymbol>LXRX</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0002029249</rptOwnerCik>
            <rptOwnerName>Exton Michael</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>2445 TECHNOLOGY FOREST BLVD</rptOwnerStreet1>
            <rptOwnerStreet2>11TH FLOOR</rptOwnerStreet2>
            <rptOwnerCity>THE WOODLANDS</rptOwnerCity>
            <rptOwnerState>TX</rptOwnerState>
            <rptOwnerZipCode>77381</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>1</isOfficer>
            <officerTitle>Chief Executive Officer</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <footnotes></footnotes>

    <ownerSignature>
        <signatureName>/s/ Michael Exton, Ph.D.</signatureName>
        <signatureDate>2024-07-08</signatureDate>
    </ownerSignature>
</ownershipDocument>
