Exhibit 23.1
Consent of Independent Registered Public Accounting Firm
We consent to the incorporation by reference in the following Registration Statements:
of our report dated March 20, 2025, with respect to the consolidated financial statements of Terns Pharmaceuticals, Inc., included in this Annual Report (Form 10-K) of Terns Pharmaceuticals, Inc. for the year ended December 31, 2024.
/s/ Ernst & Young LLP
San Mateo, California
March 20, 2025