Exhibit 5.1

February 9, 2023
MPLX LP
200 E. Hardin Street
Findlay, Ohio 45840
| Re: | $1,100,000,000 of 5.00% Senior Notes due 2033 of MPLX LP |
| | $500,000,000 of 5.65% Senior Notes due 2053 of MPLX LP |
Ladies and Gentlemen:
We are acting as counsel for MPLX LP, a Delaware limited partnership (the “Partnership”), in connection with the issuance and sale of (i) $1,100,000,000 aggregate principal amount of the Partnership’s 5.00% Senior Notes due 2033 (the “2033 Notes”) and (ii) $500,000,000 aggregate principal amount of the Partnership’s 5.65% Senior Notes due 2053 (together with the 2033 Notes, the “Notes”), pursuant to the Underwriting Agreement, dated February 2, 2023, among the Partnership, MPLX GP LLC, a Delaware limited liability company and the general partner of the Partnership (the “General Partner”), and J.P. Morgan Securities LLC, BofA Securities, Inc. and MUFG Securities Americas Inc., acting as representatives of the several underwriters named therein. The Notes will be issued pursuant to a senior indenture, dated as of February 12, 2015 (as amended, supplemented or otherwise modified to the date hereof, the “Base Indenture”), between the Partnership and The Bank of New York Mellon Trust Company, N.A., as trustee (the “Trustee”), as supplemented by the Twenty-Seventh Supplemental Indenture, dated as of the date hereof (the “Twenty-Seventh Supplemental Indenture”), between the Partnership and the Trustee and the Twenty-Eighth Supplemental Indenture, dated as of the date hereof (together with the Twenty-Seventh Supplemental Indenture and the Base Indenture, the “Indenture”), between the Partnership and the Trustee.
In connection with the opinion expressed herein, we have examined such documents, records and matters of law as we have deemed relevant or necessary for purposes of such opinion. Based on the foregoing, and subject to the further limitations, qualifications and assumptions set forth herein, we are of the opinion that the Notes constitute valid and binding obligations of the Partnership.
For the purposes of the opinion expressed herein, we have assumed that (i) the Trustee has authorized, executed and delivered the Indenture, (ii) the Notes have been duly authenticated by the Trustee in accordance with the terms of the Indenture and (iii) the Indenture is the valid, binding and enforceable obligation of the Trustee.