EX-5.1
5
tm2525940d1_ex5-1.htm
EXHIBIT 5.1
Exhibit 5.1
767
Fifth Avenue
New York, NY 10153-0119
+1 212 310 8000 tel
+1 212 310 8007 fax
September 15, 2025
The Home Depot, Inc.
2455 Paces Ferry Road
Atlanta, GA 30339
Ladies and Gentlemen:
We have acted as counsel to The Home
Depot, Inc., a Delaware corporation (the "Company"), in connection with the issuance and sale by the Company of
$500,000,000 aggregate principal amount of its 3.750% Senior Notes due 2028 (the "2028 Notes"), $500,000,000 aggregate principal
amount of its 3.950% Senior Notes due 2030 (the "2030 Notes") and $1,000,000,000 aggregate principal amount of its 4.650%
Senior Notes due 2035 (the "2035 Notes" and, together with the 2028 Notes and the 2030 Notes, the "Notes"). The
Notes were issued under an Indenture, dated as of May 4, 2005 (the "Indenture"), between the Company and The Bank of
New York Mellon Trust Company, N.A. (formerly known as The Bank of New York Trust Company, N.A.), as trustee (the "Trustee").
In so acting,
we have examined originals or copies (certified or otherwise identified to our satisfaction) of (i) the Company’s Registration
Statement on Form S-3 (File No. 333-281802) filed with the Securities and Exchange Commission (the "Commission")
on August 27, 2024, which was immediately effective (the "Registration Statement"); (ii) the prospectus, dated August 27,
2024, contained within the Registration Statement (the "Base Prospectus"); (iii) the prospectus supplement, dated September 8,
2025 (together with the Base Prospectus, the "Prospectus"); (iv) the Indenture; (v) the global certificates
representing the Notes; (vi) the Underwriting Agreement, dated September 8, 2025, among the Company and J.P. Morgan Securities
LLC, BofA Securities, Inc., Barclays Capital Inc., Deutsche Bank Securities Inc., and Wells Fargo Securities, LLC, as representatives
of the several underwriters named in Schedule II therein; and (vii) such corporate records, agreements, documents and other instruments,
and such certificates or comparable documents of public officials and of officers and representatives of the Company, and have made such
inquiries of such officers and representatives, as we have deemed relevant and necessary as a basis for the opinions hereinafter set forth.
In such examination, we have assumed the genuineness
of all signatures, the legal capacity of all 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, conformed or photostatic copies and the authenticity of the originals
of such latter documents. As to all questions of fact material to this opinion that have not been independently established, we have relied
upon certificates or comparable documents of officers and representatives of the Company.
September 15, 2025
Page 2
Based on the foregoing, and subject to the
qualifications stated herein, we are of the opinion that the Notes (assuming due authentication and delivery thereof by the Trustee in
accordance with the terms of the Indenture) constitute the legal, valid and binding obligations of the Company, enforceable against the
Company in accordance with their terms, subject to applicable bankruptcy, insolvency, fraudulent conveyance, reorganization, moratorium
and similar laws affecting creditors’ rights and remedies generally, and subject, as to enforceability, to general principles of
equity, including principles of commercial reasonableness, good faith and fair dealing (regardless of whether enforcement is sought in
a proceeding at law or in equity).
The opinion expressed herein is limited to
the corporate laws of the State of Delaware and the laws of the State of New York, and we express no opinion as to the effect on the matters
covered by this letter of the laws of any other jurisdiction.
We hereby consent to the filing of this letter
as an exhibit to the Registration Statement and to the reference to our firm under the caption "Legal Matters" in the Prospectus
which is a part of the Registration Statement. 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,
/s/ Weil, Gotshal & Manges LLP