Exhibit 5.1

[ ], 2025
SM Energy Company
1700 Lincoln Street, Suite 3200
Denver, Colorado 80203
| Re: | SM Energy Company |
| Registration Statement on Form S-4 (File No. 333- ) |
Ladies and Gentlemen
We have examined the Registration Statement on Form S-4, File No. 333- (the “Registration Statement”), of SM Energy Company, a Delaware corporation (the “Company”), filed with the Securities and Exchange Commission (the “Commission”) pursuant to the Securities Act of 1933, as amended (the “Securities Act”), in connection with the issuance by the Company of up to 127,325,455 shares of the Company’s common stock, par value $0.01 per share (the “Shares”), pursuant to the Agreement and Plan of Merger, dated as of November 2, 2025 (the “Merger Agreement”), by and among the Company, Civitas Resources, Inc., a Delaware corporation, and Cars Merger Sub, Inc., a Delaware corporation and direct wholly owned subsidiary of the Company.
In arriving at the opinion expressed below, we have examined originals, or copies certified or otherwise identified to our satisfaction as being true and complete copies of the originals, of the Merger Agreement and such other documents, corporate records, certificates of officers of the Company and of public officials and other instruments as we have deemed necessary or advisable to enable us to render the opinion set forth below. In our examination, we have assumed without independent investigation the genuineness of all signatures, the legal capacity and competency of all natural persons, the authenticity of all documents submitted to us as originals and the conformity to original documents of all documents submitted to us as copies.
Based upon the foregoing, and subject to the assumptions, exceptions, qualifications and limitations set forth herein, we are of the opinion that the Shares, when issued in accordance with the terms, and subject to the satisfaction of the conditions, set forth in the Merger Agreement and in the manner contemplated by the Registration Statement, will be validly issued, fully paid and non-assessable.
We render no opinion herein as to matters involving the laws of any jurisdiction other than the Delaware General Corporation Law (the “DGCL”). This opinion is limited to the effect of the current state of the DGCL and the facts as they currently exist. We assume no obligation to revise or supplement this opinion in the event of future changes in such law or the interpretations thereof or such facts.
Gibson, Dunn & Crutcher LLP
1900 Lawrence Street, Suite 3000 | Denver, CO 80202-2211 | T: 303.298.5700 | gibsondunn.com
|
[
], 2025 Page 2 |
We consent to the filing of this opinion as an exhibit to the Registration Statement, and we further consent to the use of our name under the caption “Legal Matters” in the Registration Statement and the prospectus that forms a part thereof. In giving these consents, we do not thereby admit that we are within 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,