EX-5.1
4
d892106dex51.htm
EX-5.1
Exhibit 5.1
910 LOUISIANA
HOUSTON, TEXAS
77002-4995
TEL +1 713.229.1234
FAX +1 713.229.1522
BakerBotts.com
AUSTIN
BRUSSELS
DALLAS
DUBAI
HOUSTON
LONDON
NEW YORK
PALO ALTO
RIYADH
SAN FRANCISCO
SINGAPORE
WASHINGTON
February 6, 2025
Valero
Energy Corporation
One Valero Way
San Antonio, Texas 78249
Ladies and Gentlemen:
In connection with
the issuance by Valero Energy Corporation, a Delaware corporation (the Company), of $650,000,000 aggregate principal amount of the Companys 5.150% Senior Notes due 2030 (the Notes), pursuant to (a) the Registration
Statement on Form S-3ASR (Registration No. 333-284608) (the Registration Statement), which was filed by the Company with the Securities and Exchange
Commission (the Commission) under the Securities Act of 1933, as amended (the Act), on January 30, 2025, and (b) the related prospectus of the Company dated January 30, 2025, as supplemented by the prospectus
supplement of the Company relating to the sale of the Notes dated February 4, 2025 (as so supplemented, the Prospectus), as filed by the Company with the Commission pursuant to Rule 424(b) under the Act, certain legal matters with
respect to the Notes are being passed upon for you by us. At your request, this opinion letter is being furnished to you for filing as Exhibit 5.1 to the Companys Current Report on Form 8-K to be filed
with the Commission on the date hereof (the Form 8-K).
The Notes are to be issued
pursuant to the Indenture, dated as of March 10, 2015 (the Indenture), between the Company and U.S. Bank Trust Company, National Association, as successor in interest to U.S. Bank National Association, as trustee (the
Trustee).
In our capacity as your counsel in the connection referred to above, we have examined originals, or copies
certified or otherwise identified, of (i) the Restated Certificate of Incorporation of the Company, as amended to date, and the Amended and Restated Bylaws of the Company; (ii) the Underwriting Agreement, dated February 4, 2025 (the
Underwriting Agreement), by and among the Company and the Underwriters named in Schedule II thereto (the Underwriters), relating to the issuance and sale of the Notes; (iii) the Registration Statement and the Prospectus;
(iv) the Indenture as filed as an exhibit to the Form 8-K; and (v) corporate records of the Company, including certain resolutions of the board of directors of the Company, as furnished to us by you,
certificates of governmental and public officials and of representatives of the Company, statutes and other instruments and documents as we have deemed necessary or advisable for purposes of the opinions hereinafter expressed. In giving the opinions
set forth below, we have relied, to the extent we deemed appropriate without independent investigation or verification, upon certificates, statements or other representations of officers or other authorized representatives of the Company and of
governmental and public officials with respect to the accuracy of the factual matters contained in or covered by such certificates, statements or representations. In giving the opinions set forth below, we have assumed that all signatures on all
documents examined by us are genuine, all documents submitted to us as originals are authentic and complete, all documents submitted to us as certified or photostatic copies are true, correct and complete copies of the originals thereof and all
information submitted to us was accurate and complete.
February 6, 2025
On the basis of the foregoing, and subject to the assumptions, limitations and qualifications
set forth herein, we are of the opinion that the Notes will, when duly executed, issued and delivered by the Company in accordance with the terms of the Indenture, authenticated and delivered by the Trustee in accordance with the terms of the
Indenture and duly purchased and paid for by the Underwriters in accordance with the terms of the Underwriting Agreement, constitute legal, valid and binding obligations of the Company, enforceable against the Company in accordance with their terms,
except as that enforcement is subject to any applicable bankruptcy, insolvency, reorganization, moratorium, fraudulent transfer or conveyance or other laws relating to or affecting creditors rights generally, general principles of equity
(regardless of whether that enforceability is considered in a proceeding in equity or at law) and any implied covenants of good faith and fair dealing.
The opinion set forth above in this opinion letter is limited in all respects to the General Corporation Law of the State of Delaware,
applicable federal law of the United States and the contract law of the State of New York as in effect on the date hereof. We hereby consent to the filing of this opinion letter as Exhibit 5.1 to the Form 8-K.
We also consent to the references to our Firm under the heading Legal Matters in the Prospectus. In giving this consent, we do not hereby admit that we are in the category of persons whose consent is required under Section 7 of the
Act or the rules and regulations of the Commission thereunder.
Very truly yours,
/s/ BAKER BOTTS L.L.P.
- 2 -