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


Exhibit 5.1

[Mintz Levin Letterhead]

September 17, 2008

Vertex Pharmaceuticals Incorporated
130 Waverly Street
Cambridge, MA 02139

    Re:
    Automatic Registration Statement on Form S-3 for Shares of Common Stock

Ladies and Gentlemen:

        We have acted as counsel to Vertex Pharmaceuticals Incorporated, a Massachusetts corporation (the "Company"), in connection with the preparation and filing with the Securities and Exchange Commission (the "Commission") of a Registration Statement on Form S-3 (the "Registration Statement"), pursuant to which the Company is registering under the Securities Act of 1933, as amended (the "Securities Act"), shares (the "Shares") of the Company's common stock, $0.01 par value per share (the "Common Stock"), which may be issued and sold from time to time on a delayed or continuous basis pursuant to Rule 415 under the Securities Act.

        In connection with this opinion, we have examined the Company's Restated Articles of Organization, and the Company's By-laws, both as currently in effect, such other records of the corporate proceedings of the Company and certificates of the Company's officers as we have deemed relevant; and the Registration Statement and the exhibits thereto.

        In our examination, we have assumed the genuineness of all signatures, the legal capacity of natural persons, the authenticity of all documents submitted to us as originals, the conformity to original documents of all documents submitted to us as certified or photostatic copies and the authenticity of the originals of such copies.

        Members of our firm are admitted to the Bar of the Commonwealth of Massachusetts, and we do not express any opinion as to the laws of any other jurisdiction other than the United States Federal Laws and the reported judicial decisions interpreting those laws. To the extent that any applicable document is stated to be governed by the laws of another jurisdiction, we have assumed for purposes of this opinion that the laws of such jurisdiction are identical to the state laws of the Commonwealth of Massachusetts. No opinion is expressed herein with respect to the qualification of the Shares under the securities or blue sky laws of any state or any foreign jurisdiction. The Shares may be issued from time to time on a delayed or continuous basis, but this opinion is limited to the laws, including the rules and regulations thereunder, as in effect on the date hereof. 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 are basing this opinion on our understanding that, prior to issuing any of the Shares, the Company will advise us in writing of the terms thereof and other information material thereto, will afford us an opportunity to review the operative documents pursuant to which such Shares are to be issued (including the Registration Statement, the prospectus prepared in connection with the Registration Statement, and any supplement or amendment thereto) and will file such supplement or amendment to this opinion (if any) as we may reasonably consider necessary or appropriate with respect to such Shares. However, we undertake no responsibility to monitor the Company's future compliance with applicable laws, rules or regulations of the Commission or other governmental body.

        In connection with our opinion expressed below, we have assumed that, if any Shares are to be issued, they will only be issued pursuant to the underwriting agreement in the form filed with the Registration Statement as an exhibit and that, at the time of the offer, issuance and sale of any Shares, no stop order suspending the Registration Statement's effectiveness will have been issued and remain in effect and no proceedings for that purpose are pending before or contemplated by the Commission, and that there will not have occurred any change in law affecting the validity or enforceability of the Shares.


        Based upon the foregoing, we are of the opinion that the Shares to be issued and sold by the Company, when duly authorized by appropriate corporate action of the Company (including the Board of Directors of the Company or a committee thereof), and issued, sold and delivered in the manner and for the consideration stated in the Registration Statement, and in accordance with the resolutions adopted by the Board of Directors of the Company or a committee thereof, will be 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.

        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.

        We hereby consent to (i) the reference to this firm under the under the caption "Legal Matters" in the Prospectus forming a part of the Registration Statement and (ii) the filing of this opinion as an exhibit to the Registration Statement.

    Very truly yours,

 

 

/s/
Mintz, Levin, Cohn, Ferris, Glovsky and Popeo, P.C.

 

 

Mintz, Levin, Cohn, Ferris, Glovsky and Popeo, P.C.



QuickLinks