September 28, 2021
Magnolia Oil & Gas Corporation
Nine Greenway Plaza, Suite 1300
Houston, Texas 77046
Ladies and Gentlemen:
We have examined the Registration Statement on Form S-3 (Registration No. 333-226795) (the “Registration Statement”) filed by Magnolia Oil & Gas Corporation (the “Company”) with the Securities and Exchange Commission (the “Commission”) on August 10, 2018 and declared effective on August 30, 2018, for the purpose of, among other things, registering the offering by certain of the Selling Stockholders (as defined below) of the Shares (as defined below) under the Securities Act of 1933, as amended (the “Act”).
Pursuant to the Registration Statement, the Selling Stockholders have proposed to sell 7,500,000 shares (the “Shares”) of common stock, par value $0.0001 per share, of the Company, all of which are proposed to be sold to the Underwriter (as defined below) pursuant to that certain Underwriting Agreement, dated as of September 23, 2021 (the “Underwriting Agreement”), among the Company, the selling stockholders listed in Schedule A thereto (the “Selling Stockholders”) and J.P. Morgan Securities LLC (the “Underwriter”).
In connection with this opinion and the registration and sale 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 organizational documents of the Company, (ii) minutes and records of the corporate proceedings of the Company with respect to the registration and sale of the Shares, (iii) the Registration Statement and the exhibits thereto, (iv) the base prospectus, dated August 30, 2018, filed with the Registration Statement, relating to, among other things, the offering of the Shares, (v) the preliminary prospectus supplement, dated September 23, 2021, in the form filed with the Commission pursuant to Rule 424(b) of the Act relating to the offering of the Shares (the “Preliminary Prospectus Supplement”), (vi) the final prospectus supplement, dated September 23, 2021, in the form filed with the Commission pursuant to Rule 424(b) of the Act relating to the offering of the Shares (the “Final Prospectus Supplement” and, together with the Preliminary Prospectus Supplement, the “Prospectus Supplement”) and (vii) the Underwriting Agreement.