EX-23.1
Published on November 28, 2014
QuickLinks -- Click here to rapidly navigate through this document
Consent of Independent Registered Public Accounting Firm
We consent to the reference to our firm under the caption "Experts" and to the use of our report dated March 20, 2014 (except for Note 13, as to which the date is November 19, 2014), in Amendment No. 1 to the Registration Statement (Form S-1 No. 333-200386) and related Prospectus of Trevena, Inc. for the registration of its common stock.
/s/ Ernst & Young LLP
Philadelphia, Pennsylvania
November 28, 2014