EX-23.1 2 exhibit23112312017.htm EXHIBIT 23.1
QuickLinks -- Click here to rapidly navigate through this document
Exhibit 23.1
CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM
We consent to the incorporation by reference in the following Registration Statements:

(1) | Registration Statement (Form S-8 No. 333-194323) pertaining to the 2013 Long Term Incentive Plan, and the Inducement Stock Option Award,

(2) | Registration Statement (Form S-8 No. 333-189962) pertaining to the 2013 Long Term Incentive Plan, the 2013 Stock Incentive Plan, the 2009 Equity and Long Term Incentive Plan, as amended, and the 1998 Employee, Director and Consultant Stock Option Plan, as amended.,

(3) | Registration Statement (Form S-8 No. 333-203485) pertaining to the Inducement Stock Option Awards (April 2014 - January 2015),

(4) | Registration Statement (Form S-8 No. 333-208830) pertaining to the 2013 Long Term Incentive Plan and Inducement Stock Option Awards (February 2015 - October 2015),

(5) | Registration Statement (Form S-8 No. 333-211997) pertaining to the 2016 Employee Stock Purchase Plan and the Inducement Stock Option Awards (December 2015 - April 2016),

(6) | Registration Statement (Form S-8 No. 333-215407) pertaining to the 2013 Long Term Incentive Plan and the Inducement Stock Option Awards (September 2016 - December 2016),

(7) | Registration Statement (Form S-3 No. 333-220151) of PTC Therapeutics, Inc.,

(8) | Registration Statement (Form S-8 No. 333-222391) pertaining to the 2013 Long Term Incentive Plan and the Inducement Stock Option Awards (January 2017 - December 2017)

of our reports dated March 6, 2018, with respect to the consolidated financial statements of PTC Therapeutics, Inc. and the effectiveness of internal control over financial reporting of PTC Therapeutics, Inc. included in this Annual Report (Form 10-K) of PTC Therapeutics, Inc. for the year ended December 31, 2017.
/s/ ERNST & YOUNG LLP
Iselin, New Jersey
March 6, 2018
QuickLinks
Exhibit 23.1
CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM