Exhibit 5.1

| | | | |
| | 601 Lexington Avenue New York, New York, 10022 United States +1 212 466 4800 www.kirkland.com | | Facsimile: +1 212 446-4900 |
March 30, 2023
Bed Bath & Beyond Inc.
650 Liberty Avenue,
Union, New Jersey 07083
Ladies and Gentlemen:
We are acting as special counsel to Bed Bath & Beyond Inc., a New York corporation (the “Company”), in connection with its proposed offering pursuant to a registration statement on Form S-3, initially filed with the Securities and Exchange Commission (the “Commission”) on August 31, 2022, as amended as of its most recent effective date (February 6, 2023) (as so amended, including the documents incorporated by reference therein, the “Registration Statement”), and the prospectus, dated February 6, 2023 (the “Base Prospectus”), as supplemented by the prospectus supplement filed with the Commission on or about the date hereof under the Securities Act of 1933, as amended (the “Act”) (such prospectus supplement, as amended or supplemented, is hereinafter referred to as the “Prospectus Supplement”) and together with the Base Prospectus, the “Prospectus”), of up to $300,000,000 aggregate sales price of shares (the “ATM Shares”) of the Company’s common stock, par value $0.01 per share (the “Common Stock”), under an “at-the-market offering” program.
In that connection, we have examined originals, or copies certified or otherwise identified to our satisfaction, of such documents, corporate records and other instruments as we have deemed necessary for the purposes of this opinion, including (i) the corporate and organizational documents of the Company, including the Amended and Restated Certificate of Incorporation of the Company and Amended and Restated By-laws of the Company, as certified by the Secretary of the State of New York and the Corporate Secretary of the Company, as effective on the date hereof, (ii) minutes and records of the proceedings of the Company, (iii) the Registration Statement and (iv) the Prospectus.
For purposes of this opinion, we have assumed the authenticity of all documents submitted to us as originals, the conformity to the originals of all documents submitted to us as copies and the authenticity of the originals of all documents submitted to us as copies. We have also assumed the legal capacity of all natural persons, the genuineness of the signatures of persons signing all documents in connection with which this opinion is rendered, the authority of such persons signing on behalf of the parties thereto other than the Company and the due
Austin Bay Area Beijing Boston Brussels Dallas Hong Kong Houston London Los Angeles Miami Munich New York Paris Salt Lake City Shanghai Washington, D.C.