SECURITIES AND EXCHANGE COMMISSION Washington, D.C. 20549 FORM 11-K (Mark One) ANNUAL REPORT PURSUANT TO SECTION 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934 For the Fiscal Year Ended December 31, 2025 OR☐TRANSITION REPORT PURSUANT TO SECTION 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934 For the Transition Period from _______________ to _______________ Commission File No.001-35054 A.Full title of the plan and the address of the plan, if different from that of the issuer named below: MARATHON PETROLEUM THRIFT PLAN Name of issuer of the securities held pursuant to the plan and the address of its principal executive office: Marathon Petroleum Corporation 539 South Main Street Findlay, Ohio 45840 Marathon Petroleum Thrift PlanTable of ContentsDecember 31, 2025 and 2024 Page(s) Financial Statements: Notes to Financial Statements Schedule H, Line 4i – Schedule of Assets (Held at End of Year) Note:Other schedules required by Section2520.103–10 of the Department of Labor’s Rules and Regulations forReporting and Disclosure under ERISA have been omitted because they are not applicable. Exhibit Index Signatures REPORT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM June24, 2026 To the Participants and Plan AdministratorMarathon Petroleum Thrift Plan Opinion on the Financial Statements We have audited the accompanying statements of net assets available for benefits of the Marathon PetroleumThrift Plan (the “Plan”) as of December 31, 2025 and 2024, and the related statement of changes in net assetsavailable for benefits for the year ended December 31, 2025, as well as the related notes and schedules(collectively referred to as the “financial statements”). In our opinion, the financial statements present fairly, inall material respects, the net assets available for benefits of the Plan as of December 31, 2025 and 2024, and thechanges in its net assets available for benefits for the year ended December 31, 2025, in conformity withaccounting principles generally accepted in the United States of America. Basis for Opinion These financial statements are the responsibility of the Plan’s management. Our responsibility is to express anopinion on the Plan’s financial statements based on our audits. We are a public accounting firm registered withthePublic Company Accounting Oversight Board(United States)(“PCAOB”)and are required to beindependent with respect to the Plan in accordance with the U.S. federal securities laws and the applicable rulesand regulations of the Securities and Exchange Commission and the PCAOB. We conducted our audits in accordance with the standards of the PCAOB. Those standards require that we planand perform the audit to obtain reasonable assurance about whether the financial statements are free of materialmisstatement, whether due to error or fraud. The Plan is not required to have, nor were we engaged to perform,an audit of its internal control over financial reporting. As part of our audits, we are required to obtain anunderstanding of internal control over financial reporting, but not for the purpose of expressing an opinion onthe effectiveness of the Plan’s internal control over financial reporting. Accordingly, we express no suchopinion. Participants and Plan AdministratorMarathon Petroleum Thrift PlanJune24, 2026Page Two REPORT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM(CONTINUED) Basis for Opinion (continued) Our audits included performing procedures to assess the risks of material misstatement of the financialstatements, whether due to error or fraud, and performing procedures that respond to those risks. Suchprocedures included examining, on a test basis, evidence regarding the amounts and disclosures in the financialstatements. Our audits also included evaluating the accounting principles used and significant estimates madeby management, as well as evaluating the overall presentation of the financial statements. We believe that ouraudits provide a reasonable basis for our opinion. Supplementary Information The supplementary information contained in the schedule of assets (held at end of year) as of December 31,2025 has been subjected to audit procedures performed in conjunction with the audits of the Plan’s financialstatements. The supplementary information is the responsibility of the Plan’s management. Our audit proceduresincluded determining whether the supplementary information reconciles to the financial statements or theunderlying accounting and other records, as applicable, and performing procedures to test the completeness andaccuracy of the information presented in the supplementary information. In forming our opinion on thesupplementary information, we evaluated whether the supplementary information, including its form andcontent, is presented in conformity with the Department of Labor’s Rules and Regulations for Reporting andDisclosure under the Employee Retirement Income Security Act of 1974, as amended. In our opinion, thesupplementary info