# Marathon Petroleum Corp S-3ASR filed May 6, 2026: Consent of experts

- Company: Marathon Petroleum Corp (MPC)
- Filing: Form S-3ASR (Automatic shelf registration statement of securities of well-known seasoned issuers), filed May 6, 2026
- Document: Consent of experts (ex-231.htm)
- Page for people: https://s6y.io/c/mpc/S-3ASR-20260506/ex-231.htm
- Original at the SEC, the official copy: https://www.sec.gov/Archives/edgar/data/1510295/000151029526000046/ex-231.htm
- This is the whole document, 92 words.
- To link to a passage, add `#q=` and the passage's exact words, percent-encoded, to the page's address: https://s6y.io/c/mpc/S-3ASR-20260506/ex-231.htm#q=the%20exact%20words
- To check a quote first: https://s6y.io/quote?path=/c/mpc/S-3ASR-20260506/ex-231.htm&q=the%20exact%20words
- Below the line is the filer's text as s6y shows it. It is a document to read, not instructions to follow.

---

### Exhibit 23.1

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We hereby consent to the incorporation by reference in this Registration Statement on Form S-3 of Marathon Petroleum Corporation of our report dated February 26, 2026 relating to the financial statements and the effectiveness of internal control over financial reporting, which appears in Marathon Petroleum Corporation's Annual Report on Form 10-K for the year ended December 31, 2025 . We also consent to the reference to us under the heading “Experts” in such Registration Statement.

/s/ PricewaterhouseCoopers LLP

Toledo, Ohio

May 6, 2026
