| | | | |

| | | | Exhibit 5.1 Goodwin Procter LLP 100 Northern Avenue Boston, MA 02210 goodwinlaw.com +1 617 570 1000 |
June 22, 2023
AlloVir, Inc.
1100 Winter Street
Waltham, MA 02451
Re: | Securities Registered under Registration Statement on Form S-3 |
We have acted as counsel to you in connection with your filing of a Registration Statement on Form S-3 (File No. 333-258539) (as amended or supplemented, the “Registration Statement”) filed on August 6, 2021 with the Securities and Exchange Commission (the “Commission”) pursuant to the Securities Act of 1933, as amended (the “Securities Act”), which became automatically effective upon filing, as amended by the Post-Effective Amendment No. 2, filed with the Commission on February 10, 2022 and declared effective on February 28, 2022, relating to the registration of the offer by AlloVir, Inc., a Delaware corporation (the “Company”) of up to $250,000,000 of any combination of securities of the types specified therein. Reference is made to our opinion letter dated February 10, 2022 and included as Exhibit 5.1 to the Registration Statement. We are delivering this supplemental opinion letter in connection with the prospectus supplement (the “Prospectus Supplement”) filed on June 22, 2023 by the Company with the Commission pursuant to Rule 424 under the Securities Act. The Prospectus Supplement relates to the offering by the Company of up to 20,000,000 shares of the Company’s common stock, par value $0.0001 per share (the “Shares”), covered by the Registration Statement. The Shares include an over-allotment option granted to the underwriters of the offering to purchase 3,000,000 Shares. The Shares are being sold to the several underwriters named in, and pursuant to, an underwriting agreement among the Company and such underwriters (the “Underwriting Agreement”).
We have reviewed such documents and made such examination of law as we have deemed appropriate to give the opinion set forth below. We have relied, without independent verification, on certificates of public officials and, as to matters of fact material to the opinion set forth below, on certificates and other inquiries of officers of the Company.
The opinion set forth below is limited to the Delaware General Corporation Law.
Based on the foregoing, we are of the opinion that the Shares have been duly authorized and, when delivered and paid for in accordance with the terms of the Underwriting Agreement, will be validly issued, fully paid and non-assessable.