Exhibit 23.1
Consent of Independent Registered Public Accounting Firm
We consent to the incorporation by reference in this Registration Statement on Form S-8 of Aemetis, Inc. of our reports dated March 28, 2024, relating to the consolidated financial statements of Aemetis, Inc. (“the Company”) and the effectiveness of the Company’s internal control over financial reporting (on which our report expresses an adverse opinion on the effectiveness of the Company’s internal control over financial reporting because of material weaknesses), appearing in the Annual Report on Form 10-K of Aemetis, Inc. for the year ended December 31, 2023.
/s/ RSM US LLP
Des Moines, Iowa
March 28, 2024