<?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/ownership" xmlns:ns2="http://www.sec.gov/edgar/common">
    <headerData>
        <submissionType>144</submissionType>
        <filerInfo>
            <filer>
                <filerCredentials>
                    <cik>0001723522</cik>
                    <ccc>XXXXXXXX</ccc>
                </filerCredentials>
            </filer>
            <liveTestFlag>LIVE</liveTestFlag>



        </filerInfo>
    </headerData>
    <formData>
        <issuerInfo>
            <issuerCik>0001421517</issuerCik>
            <issuerName>ENERGY RECOVERY, INC.</issuerName>
            <secFileNumber>001-34112</secFileNumber>
            <issuerAddress>
                <ns2:street1>1717 Doolittle Drive</ns2:street1>
                <ns2:city>San Leandro</ns2:city>
                <ns2:stateOrCountry>CA</ns2:stateOrCountry>
                <ns2:zipCode>94577</ns2:zipCode>
            </issuerAddress>
            <issuerContactPhone>510-483-7370</issuerContactPhone>
            <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>FARSHAD GHASRIPOOR</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
            <relationshipsToIssuer>
                <relationshipToIssuer>Former Officer</relationshipToIssuer>
            </relationshipsToIssuer>
        </issuerInfo>
        <securitiesInformation>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <brokerOrMarketmakerDetails>
                <name>Morgan Stanley Smith Barney LLC Executive Financial Services</name>
                <address>
                    <ns2:street1>1 New York Plaza</ns2:street1>
                    <ns2:street2>8th Floor</ns2:street2>
                    <ns2:city>New York</ns2:city>
                    <ns2:stateOrCountry>NY</ns2:stateOrCountry>
                    <ns2:zipCode>10004</ns2:zipCode>
                </address>
            </brokerOrMarketmakerDetails>
            <noOfUnitsSold>12624</noOfUnitsSold>
            <aggregateMarketValue>188110.00</aggregateMarketValue>
            <noOfUnitsOutstanding>54955305</noOfUnitsOutstanding>
            <approxSaleDate>04/24/2025</approxSaleDate>
            <securitiesExchangeName>NASDAQ</securitiesExchangeName>
        </securitiesInformation>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>02/01/2022</acquiredDate>
            <natureOfAcquisitionTransaction>Exercise of options under a registered plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>2243</amountOfSecuritiesAcquired>
            <paymentDate>02/01/2022</paymentDate>
            <natureOfPayment>Cash</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>02/01/2023</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted stock vesting under a registered plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>1923</amountOfSecuritiesAcquired>
            <paymentDate>02/01/2023</paymentDate>
            <natureOfPayment>Services Rendered</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>01/31/2023</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted stock vesting under a registered plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>5935</amountOfSecuritiesAcquired>
            <paymentDate>01/31/2023</paymentDate>
            <natureOfPayment>Services Rendered</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>01/28/2023</acquiredDate>
            <natureOfAcquisitionTransaction>Exercise of options under a registered plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>1279</amountOfSecuritiesAcquired>
            <paymentDate>01/28/2023</paymentDate>
            <natureOfPayment>Cash</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>01/30/2022</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted stock vesting under a registered plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>1244</amountOfSecuritiesAcquired>
            <paymentDate>01/30/2022</paymentDate>
            <natureOfPayment>Services Rendered</natureOfPayment>
        </securitiesToBeSold>
        <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
        <noticeSignature>
            <noticeDate>04/25/2025</noticeDate>
            <planAdoptionDates/>
            <signature>/s/ Farshad Ghasripoor</signature>
        </noticeSignature>
    </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 5720}]
144
0001723522
XXXXXXXX
LIVE
0001421517
ENERGY RECOVERY, INC.
001-34112
1717 Doolittle Drive
San Leandro
CA
94577
510-483-7370
FARSHAD GHASRIPOOR
Former Officer
Common
Morgan Stanley Smith Barney LLC Executive Financial Services
1 New York Plaza
8th Floor
New York
NY
10004
12624
188110.00
54955305
04/24/2025
NASDAQ
Common
02/01/2022
Exercise of options under a registered plan
Issuer
N
2243
02/01/2022
Cash
Common
02/01/2023
Restricted stock vesting under a registered plan
Issuer
N
1923
02/01/2023
Services Rendered
Common
01/31/2023
Restricted stock vesting under a registered plan
Issuer
N
5935
01/31/2023
Services Rendered
Common
01/28/2023
Exercise of options under a registered plan
Issuer
N
1279
01/28/2023
Cash
Common
01/30/2022
Restricted stock vesting under a registered plan
Issuer
N
1244
01/30/2022
Services Rendered
Y
04/25/2025
/s/ Farshad Ghasripoor