s6y Marathon Petroleum Corp S-8

Marathon Petroleum Corp S-8, filed Jun 30, 2011: Consent of experts

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-8 of our report dated March 29, 2011 relating to the financial statements of the Refining, Marketing & Transportation Business of Marathon Oil Corporation which appears in Marathon Petroleum Corporation’s Form 10 filed on May 26, 2011.

/s/ PricewaterhouseCoopers LLP

Houston, TX

June 30, 2011