EX-5.1
Published on March 8, 2013
QuickLinks -- Click here to rapidly navigate through this document
March 8, 2013
AvalonBay
Communities, Inc.
Ballston Tower
671 N. Glebe Road, Suite 800
Arlington, VA 22203
Re: Securities Registered under Registration Statement on Form S-3
Ladies and Gentlemen:
We have acted as counsel to you in connection with your filing of a Registration Statement on Form S-3 (as amended or supplemented, the "Registration Statement") pursuant to the Securities Act of 1933, as amended (the "Securities Act"), relating to the registration of 14,889,706 shares (the "Shares") of common stock, par value $0.01 per share (the "Common Stock"), of AvalonBay Communities, Inc., a Maryland corporation (the "Company"). The Registration Statement provides that the Shares may be offered in amounts, at prices and on terms to be set forth in one or more prospectus supplements (each a "Prospectus Supplement") to the prospectus contained in the Registration Statement.
We have reviewed such documents and made such examination of law as we have deemed appropriate to give the opinions set forth below. We have relied, without independent verification, on certificates of public officials and, as to matters of fact material to the opinions set forth below, on certificates of officers of the Company.
The opinions set forth below are limited to the Maryland Business Corporation Law (which includes reported judicial decisions interpreting the Maryland General Corporation Law) and the federal law of the United States. Without limiting the generality of the foregoing, we express no opinion with respect to (i) state securities or "blue sky" laws, or (ii) state or federal antitrust laws.
Based upon the foregoing, and subject to the additional qualifications set forth below, we are of the opinion that the Shares have been validly issued and are fully paid and nonassessable.
This opinion letter and the opinions it contains shall be interpreted in accordance with the Legal Opinion Principles issued by the Committee on Legal Opinions of the American Bar Association's Business Law Section as published in 53 Business Lawyer 831 (May 1998).
We hereby consent to the inclusion of this opinion as Exhibit 5.1 to the Registration Statement and to the references to our firm under the caption "Legal Matters" in the Registration Statement. In giving our consent, we do not 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 thereunder.
Very
truly yours,
/s/ GOODWIN PROCTER LLP