Exhibits 5.1 and 23.2



Davis Polk & Wardwell LLP

450 Lexington Avenue

New York, NY 10017


March 10, 2023

Exxon Mobil Corporation

5959 Las Colinas Boulevard

Irving, Texas 75039

Ladies and Gentlemen:

Exxon Mobil Corporation, a New Jersey corporation (the “Company”) is filing with the Securities and Exchange Commission a Registration Statement on Form S-3 (the “Registration Statement”) for the purpose of registering under the Securities Act of 1933, as amended (the “Securities Act”) the Company’s debt securities (the “Debt Securities”), which may be issued pursuant to an indenture dated as of March 20, 2014 (the “Base Indenture”), between the Company and Deutsche Bank Trust Company Americas, as trustee (the “Trustee”), as amended and supplemented by a first supplemental indenture dated as of June 26, 2020, between the Company and the Trustee (the “First Supplemental Indenture”). The Base Indenture, as amended and supplemented by the First Supplemental Indenture, is referred to herein as the “Indenture.”

We, as your counsel, have examined originals or copies of such documents, corporate records, certificates of public officials and other instruments as we have deemed necessary or advisable for the purpose of rendering this opinion.

In rendering the opinions expressed herein, we have, without independent inquiry or investigation, assumed that (i) all documents submitted to us as originals are authentic and complete, (ii) all documents submitted to us as copies conform to authentic, complete originals, (iii) all documents filed as exhibits to the Registration Statement that have not been executed will conform to the forms thereof, (iv) all signatures on all documents that we reviewed are genuine, (v) all natural persons executing documents had and have the legal capacity to do so, (vi) all statements in certificates of public officials and officers of the Company that we reviewed were and are accurate and (vii) all representations made by the Company as to matters of fact in the documents that we reviewed were and are accurate.

Based upon the foregoing, and subject to the additional assumptions and qualifications set forth below, we advise you that, in our opinion, when any supplemental indenture to be entered into in connection with the issuance of any Debt Securities has been duly authorized, executed and delivered by the Trustee and the Company; the specific terms of a particular series of Debt Securities have been duly authorized and established in accordance with the Indenture; and such Debt Securities have been duly authorized, executed, authenticated, issued and delivered in accordance with the Indenture and the applicable underwriting or other agreement against payment therefor, such Debt Securities will constitute valid and binding obligations of the Company, enforceable in accordance with their terms, subject to applicable bankruptcy, insolvency and similar laws affecting creditors’ rights generally, concepts of reasonableness and equitable principles of general applicability, provided that we express no opinion as to (x) the enforceability of any waiver of rights under any usury or stay law, or (y) the validity, legally binding effect or enforceability of any provision that permits holders to collect any portion of stated principal amount upon acceleration of the Debt Securities to the extent determined to constitute unearned interest.



In connection with the opinion expressed above, we have assumed that, at or prior to the time of the delivery of any such Debt Security, (i) the Board of Directors of the Company shall have duly established the terms of such Debt Security and duly authorized the issuance and sale of such Debt Security and such authorization shall not have been modified or rescinded; (ii) the Company is, and shall remain, validly existing as a corporation in good standing under the laws of the State of New Jersey; (iii) the Registration Statement shall have become effective and such effectiveness shall not have been terminated or rescinded; (iv) the Indenture and the Debt Securities are each valid, binding and enforceable agreements of each party thereto (other than as expressly covered above in respect of the Company); and (v) there shall not have occurred any change in law affecting the validity or enforceability of such Debt Security. We have also assumed that the execution, delivery and performance by the Company of the Indenture or any Debt Security whose terms are established subsequent to the date hereof (a) are within its corporate powers, (b) do not contravene, or constitute a default under, the certificate of incorporation or bylaws or other constitutive documents of the Company, (c) require no action by or in respect of, or filing with, any governmental body, agency or official and (d) do not contravene, or constitute a default under, any provision of applicable law or public policy or regulation or any judgment, injunction, order or decree or any agreement or other instrument binding upon the Company.

We are members of the Bar of the State of New York and the foregoing opinion is limited to the laws of the State of New York.

We hereby consent to the filing of this opinion as an exhibit to the Registration Statement referred to above and further consent to the reference to our name under the caption “Validity of the Debt Securities” in the prospectus, which is a part of the Registration Statement. In giving this consent, we do not admit that we are in the category of persons whose consent is required under Section 7 of the Securities Act.


Very truly yours,

/s/ Davis Polk & Wardwell LLP