Exhbit 23.1

Consent of Independent Registered Public Accounting Firm

We hereby consent to the incorporation by reference in the Prospectus constituting a part of this Registration Statement of our reports dated February 28, 2024, relating to the consolidated financial statements and the effectiveness of internal control over financial reporting of Codexis Inc. (the Company) appearing in the Company’s Annual Report on Form 10-K for the year ended December 31, 2023.

We also consent to the reference to us under the caption “Experts” in the Prospectus.

/s/ BDO USA, P.C.

San Jose, California

May 2, 2024

 

BDO USA, P.C., a Virginia professional corporation, is the U.S. member of BDO International Limited, a UK company limited by guarantee, and forms part of the international BDO network of independent member firms.

BDO is the brand name for the BDO network and for each of the BDO Member Firms.