EX-5.1 2 a2241569zex-5_1.htm EX-5.1
QuickLinks -- Click here to rapidly navigate through this document


Exhibit 5.1

LOGO

May 7, 2020

PTC Therapeutics, Inc.
100 Corporate Court
South Plainfield, New Jersey 07080

Re:    Registration Statement on Form S-3

Ladies and Gentlemen:

        This opinion is furnished to you in connection with a Registration Statement on Form S-3 (the "Registration Statement") filed by PTC Therapeutics, Inc., a Delaware corporation (the "Company"), with the Securities and Exchange Commission (the "Commission") under the Securities Act of 1933, as amended (the "Securities Act"), for the registration for resale of an aggregate of 2,821,176 shares of common stock, par value $0.001 per share (the "Shares"), of the Company. All of the Shares are being registered on behalf of certain stockholders of the Company (the "Selling Stockholders").

        We are acting as counsel for the Company in connection with the registration for resale of the Shares. We have examined and relied upon signed copies of the Registration Statement as filed with the Commission, including the exhibits thereto. We have also examined and relied upon the Certificate of Incorporation of the Company (as amended or restated from time to time, the "Certificate of Incorporation"), the Bylaws of the Company (as amended or restated from time to time, the "Bylaws") and minutes of meetings of the stockholders and the Board of Directors of the Company as provided to us by the Company, and such other documents as we have deemed necessary for purposes of rendering the opinions hereinafter set forth.

        In our examination of the foregoing documents, we have assumed the genuineness of all signatures, the authenticity of all documents submitted to us as originals, the conformity to original documents of all documents submitted to us as copies, the authenticity of the originals of such latter documents and the legal competence of all signatories to such documents.

        Our opinion below, insofar as it relates to the Shares being fully paid, is based solely on a certificate of the Chief Financial Officer of the Company confirming the Company's receipt of the consideration called for by the applicable resolutions authorizing the issuance of such Shares.

        We assume that the appropriate action will be taken, prior to the offer and sale of the Shares, to register and qualify the Shares for sale under all applicable state securities or "blue sky" laws.

        We express no opinion herein as to the laws of any state or jurisdiction other than the General Corporation Law of the State of Delaware.

        Based upon and subject to the foregoing, we are of the opinion that the Shares have been duly authorized and are validly issued, fully paid and nonassessable.

        It is understood that this opinion is to be used only in connection with the offer and sale of the Shares while the Registration Statement is in effect.

   

GRAPHIC


        Please note that we are opining only as to the matters expressly set forth herein, and no opinion should be inferred as to any other matters. This opinion is based upon currently existing statutes, rules, regulations and judicial decisions, and we disclaim any obligation to advise you of any change in any of these sources of law or subsequent legal or factual developments which might affect any matters or opinions set forth herein.

        We hereby consent to the filing of this opinion with the Commission as an exhibit to the Registration Statement in accordance with the requirements of Item 601(b)(5) of Regulation S-K under the Securities Act and to the use of our name therein and in the related prospectus under the caption "Legal Matters." In giving such consent, we do not hereby admit that we are in the category of persons whose consent is required under Section 7 of the Securities Act or the rules and regulations of the Commission.

Very truly yours,

WILMER CUTLER PICKERING
HALE AND DORR LLP
   

By:

 

/s/ BRIAN A. JOHNSON

Brian A. Johnson, a Partner

 

 

2




QuickLinks