Exhibit 5.1
609 Main Street
Houston, TX 77002
United States
+1 713 836 3600
www.kirkland.com
October 3, 2024
Devon Energy Corporation
333 West Sheridan Avenue
Oklahoma City, Oklahoma 73102
Ladies and Gentlemen:
We are issuing this opinion letter in our capacity as special counsel to Devon Energy Corporation, a Delaware corporation (the
Company), in connection with the preparation of the prospectus supplement. dated October 3, 2024, filed with the Securities and Exchange Commission (the Commission) pursuant to Rule 424(b) on
October 3, 2024, to the prospectus, dated March 3, 2023 (as supplemented by the prospectus supplement, the Prospectus), that constitutes a part of the Companys Registration Statement on Form S-3ASR (as amended or supplemented, the Registration Statement) filed with the Commission on March 3, 2023 under the Securities Act of 1933, as amended (the
Securities Act), by the Company. The Registration Statement relates to the sale from time to time, pursuant to Rule 415 of the General Rules and Regulations promulgated under the Securities Act, of up to 37,338,223 shares
of common stock, par value $0.10 per share, of the Company (the Shares) to be sold by certain stockholders of the Company (the Selling Stockholders). The Shares were previously issued to the
Selling Stockholders in connection the consummation of the transactions contemplated by with that certain securities purchase agreement, dated as of July 8, 2024 (the Purchase Agreement), by and among the Company, WPX
Energy Williston, LLC, a Delaware limited liability company and a wholly owned subsidiary of the Company, Grayson Mill Holdings II, LLC, a Delaware limited liability company, Grayson Mill Holdings III, LLC, a Delaware limited liability company,
Grayson Mill Intermediate HoldCo II, LLC, a Delaware limited liability company and Grayson Mill Intermediate HoldCo III, LLC, a Delaware limited liability company.
In connection with the registration of the Shares, 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 Registration Statement and the exhibits thereto, (ii) the Prospectus, (iii) a
copy of the Purchase Agreement, (iv) the organizational documents of the Company and (iii) certain resolutions of the board of directors of the Company, adopted on March 1, 2023 and July 7, 2024, respectively with respect to the
issuance of the Shares and the Registration Statement and the exhibits thereto.
Austin Bay Area
Beijing Boston Brussels Chicago Dallas Hong Kong London Los Angeles Munich New York Paris Riyadh Salt Lake City Shanghai Washington, D.C.