<?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>0001238884</cik>
                    <ccc>XXXXXXXX</ccc>
                </filerCredentials>
            </filer>
            <liveTestFlag>LIVE</liveTestFlag>



        </filerInfo>
    </headerData>
    <formData>
        <issuerInfo>
            <issuerCik>0001200375</issuerCik>
            <issuerName>CODEXIS, INC.</issuerName>
            <secFileNumber>001-34705</secFileNumber>
            <issuerAddress>
                <ns2:street1>200 Penobscot Drive</ns2:street1>
                <ns2:city>Redwood City</ns2:city>
                <ns2:stateOrCountry>CA</ns2:stateOrCountry>
                <ns2:zipCode>94063</ns2:zipCode>
            </issuerAddress>
            <issuerContactPhone>650-421-8100</issuerContactPhone>
            <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>JOHN NICOLS</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
            <relationshipsToIssuer>
                <relationshipToIssuer>Director</relationshipToIssuer>
            </relationshipsToIssuer>
        </issuerInfo>
        <securitiesInformation>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <brokerOrMarketmakerDetails>
                <name>Morgan Stanley Smith Barney LLC</name>
                <address>
                    <ns2:street1>1 New York Plaza</ns2:street1>
                    <ns2:street2>38th Floor</ns2:street2>
                    <ns2:city>New York</ns2:city>
                    <ns2:stateOrCountry>NY</ns2:stateOrCountry>
                    <ns2:zipCode>10004</ns2:zipCode>
                </address>
            </brokerOrMarketmakerDetails>
            <noOfUnitsSold>35714</noOfUnitsSold>
            <aggregateMarketValue>147873.82</aggregateMarketValue>
            <noOfUnitsOutstanding>65946807</noOfUnitsOutstanding>
            <approxSaleDate>04/18/2023</approxSaleDate>
            <securitiesExchangeName>NASD</securitiesExchangeName>
        </securitiesInformation>
        <securitiesToBeSold>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <acquiredDate>04/18/2023</acquiredDate>
            <natureOfAcquisitionTransaction>STOCK OPTIONS</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>ISSUER</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>35714</amountOfSecuritiesAcquired>
            <paymentDate>04/18/2023</paymentDate>
            <natureOfPayment>Cash</natureOfPayment>
        </securitiesToBeSold>
        <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>JOHN NICOLS</name>
                <address>
                    <ns2:street1>200 Penobscot Drive</ns2:street1>
                    <ns2:city>Redwood City</ns2:city>
                    <ns2:stateOrCountry>CA</ns2:stateOrCountry>
                    <ns2:zipCode>94063</ns2:zipCode>
                </address>
            </sellerDetails>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <saleDate>04/17/2023</saleDate>
            <amountOfSecuritiesSold>35714</amountOfSecuritiesSold>
            <grossProceeds>151377.36</grossProceeds>
        </securitiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>JOHN NICOLS</name>
                <address>
                    <ns2:street1>200 Penobscot Drive</ns2:street1>
                    <ns2:city>Redwood City</ns2:city>
                    <ns2:stateOrCountry>CA</ns2:stateOrCountry>
                    <ns2:zipCode>94063</ns2:zipCode>
                </address>
            </sellerDetails>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <saleDate>03/16/2023</saleDate>
            <amountOfSecuritiesSold>35714</amountOfSecuritiesSold>
            <grossProceeds>145610.00</grossProceeds>
        </securitiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>JOHN NICOLS</name>
                <address>
                    <ns2:street1>200 Penobscot Drive</ns2:street1>
                    <ns2:city>Redwood City</ns2:city>
                    <ns2:stateOrCountry>CA</ns2:stateOrCountry>
                    <ns2:zipCode>94063</ns2:zipCode>
                </address>
            </sellerDetails>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <saleDate>03/15/2023</saleDate>
            <amountOfSecuritiesSold>35714</amountOfSecuritiesSold>
            <grossProceeds>145061.00</grossProceeds>
        </securitiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>JOHN NICOLS</name>
                <address>
                    <ns2:street1>200 Penobscot Drive</ns2:street1>
                    <ns2:city>Redwood City</ns2:city>
                    <ns2:stateOrCountry>CA</ns2:stateOrCountry>
                    <ns2:zipCode>94063</ns2:zipCode>
                </address>
            </sellerDetails>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <saleDate>02/24/2023</saleDate>
            <amountOfSecuritiesSold>35714</amountOfSecuritiesSold>
            <grossProceeds>171579.00</grossProceeds>
        </securitiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>JOHN NICOLS</name>
                <address>
                    <ns2:street1>200 Penobscot Drive</ns2:street1>
                    <ns2:city>Redwood City</ns2:city>
                    <ns2:stateOrCountry>CA</ns2:stateOrCountry>
                    <ns2:zipCode>94063</ns2:zipCode>
                </address>
            </sellerDetails>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <saleDate>02/23/2023</saleDate>
            <amountOfSecuritiesSold>39785</amountOfSecuritiesSold>
            <grossProceeds>212025.00</grossProceeds>
        </securitiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>JOHN NICOLS</name>
                <address>
                    <ns2:street1>200 Penobscot Drive</ns2:street1>
                    <ns2:city>Redwood City</ns2:city>
                    <ns2:stateOrCountry>CA</ns2:stateOrCountry>
                    <ns2:zipCode>94063</ns2:zipCode>
                </address>
            </sellerDetails>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <saleDate>01/24/2023</saleDate>
            <amountOfSecuritiesSold>35714</amountOfSecuritiesSold>
            <grossProceeds>228217.00</grossProceeds>
        </securitiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>JOHN NICOLS</name>
                <address>
                    <ns2:street1>200 Penobscot Drive</ns2:street1>
                    <ns2:city>Redwood City</ns2:city>
                    <ns2:stateOrCountry>CA</ns2:stateOrCountry>
                    <ns2:zipCode>94063</ns2:zipCode>
                </address>
            </sellerDetails>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <saleDate>01/23/2023</saleDate>
            <amountOfSecuritiesSold>39785</amountOfSecuritiesSold>
            <grossProceeds>260445.00</grossProceeds>
        </securitiesSoldInPast3Months>
        <noticeSignature>
            <noticeDate>04/18/2023</noticeDate>
            <planAdoptionDates>
                <planAdoptionDate>08/31/2022</planAdoptionDate>
            </planAdoptionDates>
            <signature>/s/ John Joseph Nicols</signature>
        </noticeSignature>
    </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 8120}]
144
0001238884
XXXXXXXX
LIVE
0001200375
CODEXIS, INC.
001-34705
200 Penobscot Drive
Redwood City
CA
94063
650-421-8100
JOHN NICOLS
Director
Common
Morgan Stanley Smith Barney LLC
1 New York Plaza
38th Floor
New York
NY
10004
35714
147873.82
65946807
04/18/2023
NASD
COMMON
04/18/2023
STOCK OPTIONS
ISSUER
N
35714
04/18/2023
Cash
N
JOHN NICOLS
200 Penobscot Drive
Redwood City
CA
94063
Common
04/17/2023
35714
151377.36
JOHN NICOLS
200 Penobscot Drive
Redwood City
CA
94063
COMMON
03/16/2023
35714
145610.00
JOHN NICOLS
200 Penobscot Drive
Redwood City
CA
94063
COMMON
03/15/2023
35714
145061.00
JOHN NICOLS
200 Penobscot Drive
Redwood City
CA
94063
COMMON
02/24/2023
35714
171579.00
JOHN NICOLS
200 Penobscot Drive
Redwood City
CA
94063
COMMON
02/23/2023
39785
212025.00
JOHN NICOLS
200 Penobscot Drive
Redwood City
CA
94063
COMMON
01/24/2023
35714
228217.00
JOHN NICOLS
200 Penobscot Drive
Redwood City
CA
94063
COMMON
01/23/2023
39785
260445.00
04/18/2023
08/31/2022
/s/ John Joseph Nicols