<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019c9ee4-a108-7a9f-9682-82228159e657,g:5149cd3d-364f-42f1-96ab-000fe70cf8bd-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:mpc="http://www.marathonpetroleum.com/20260331" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:dtr-types="http://www.xbrl.org/dtr/type/2024-01-31" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.marathonpetroleum.com/20260331">
  <xs:import namespace="http://fasb.org/srt/2025" schemaLocation="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd"/>
  <xs:import namespace="http://fasb.org/us-gaap/2025" schemaLocation="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/dtr/type/2024-01-31" schemaLocation="https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/dei/2025" schemaLocation="https://xbrl.sec.gov/dei/2025/dei-2025.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/ecd/2025" schemaLocation="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd"/>
  <xs:annotation>
    <xs:appinfo>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="mpc-20260331_pre.xml" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="mpc-20260331_def.xml" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="mpc-20260331_lab.xml" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="mpc-20260331_cal.xml" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef" xlink:type="simple"/>
      <link:roleType id="DocumentandEntityInformation" roleURI="http://www.marathonpetroleum.com/role/DocumentandEntityInformation">
        <link:definition>0000001 - Document - Document and Entity Information</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ConsolidatedStatementsofIncome" roleURI="http://www.marathonpetroleum.com/role/ConsolidatedStatementsofIncome">
        <link:definition>9952151 - Statement - Consolidated Statements of Income</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ConsolidatedStatementsofComprehensiveIncome" roleURI="http://www.marathonpetroleum.com/role/ConsolidatedStatementsofComprehensiveIncome">
        <link:definition>9952152 - Statement - Consolidated Statements of Comprehensive Income</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ConsolidatedStatementsofComprehensiveIncomeParenthetical" roleURI="http://www.marathonpetroleum.com/role/ConsolidatedStatementsofComprehensiveIncomeParenthetical">
        <link:definition>9952153 - Statement - Consolidated Statements of Comprehensive Income (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ConsolidatedBalanceSheets" roleURI="http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets">
        <link:definition>9952154 - Statement - Consolidated Balance Sheets</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ConsolidatedBalanceSheetsParenthetical" roleURI="http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheetsParenthetical">
        <link:definition>9952155 - Statement - Consolidated Balance Sheets (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ConsolidatedStatementsofCashFlows" roleURI="http://www.marathonpetroleum.com/role/ConsolidatedStatementsofCashFlows">
        <link:definition>9952156 - Statement - Consolidated Statements of Cash Flows</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ConsolidatedStatementsofEquityandRedeemableNoncontrollingInterestConsolidatedStatementsofEquity" roleURI="http://www.marathonpetroleum.com/role/ConsolidatedStatementsofEquityandRedeemableNoncontrollingInterestConsolidatedStatementsofEquity">
        <link:definition>9952157 - Statement - Consolidated Statements of Equity and Redeemable Noncontrolling Interest (Consolidated Statements of Equity)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ConsolidatedStatementsofEquityandRedeemableNoncontrollingInterestSharesofCommonStock" roleURI="http://www.marathonpetroleum.com/role/ConsolidatedStatementsofEquityandRedeemableNoncontrollingInterestSharesofCommonStock">
        <link:definition>9952158 - Statement - Consolidated Statements of Equity and Redeemable Noncontrolling Interest (Shares of Common Stock)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ConsolidatedStatementsofEquityandRedeemableNoncontrollingInterestSharesofTreasuryStock" roleURI="http://www.marathonpetroleum.com/role/ConsolidatedStatementsofEquityandRedeemableNoncontrollingInterestSharesofTreasuryStock">
        <link:definition>9952159 - Statement - Consolidated Statements of Equity and Redeemable Noncontrolling Interest (Shares of Treasury Stock)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ConsolidatedStatementsofEquityandRedeemableNoncontrollingInterestRedeemableNoncontrollingInterest" roleURI="http://www.marathonpetroleum.com/role/ConsolidatedStatementsofEquityandRedeemableNoncontrollingInterestRedeemableNoncontrollingInterest">
        <link:definition>9952160 - Statement - Consolidated Statements of Equity and Redeemable Noncontrolling Interest (Redeemable Noncontrolling Interest)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ConsolidatedStatementsofEquityandRedeemableNoncontrollingInterestParenthetical" roleURI="http://www.marathonpetroleum.com/role/ConsolidatedStatementsofEquityandRedeemableNoncontrollingInterestParenthetical">
        <link:definition>9952161 - Statement - Consolidated Statements of Equity and Redeemable Noncontrolling Interest (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DescriptionoftheBusinessandBasisofPresentation" roleURI="http://www.marathonpetroleum.com/role/DescriptionoftheBusinessandBasisofPresentation">
        <link:definition>9952162 - Disclosure - Description of the Business and Basis of Presentation</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="AccountingStandards" roleURI="http://www.marathonpetroleum.com/role/AccountingStandards">
        <link:definition>9952163 - Disclosure - Accounting Standards</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="MasterLimitedPartnership" roleURI="http://www.marathonpetroleum.com/role/MasterLimitedPartnership">
        <link:definition>9952164 - Disclosure - Master Limited Partnership</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="AcquisitionsandOtherTransacations" roleURI="http://www.marathonpetroleum.com/role/AcquisitionsandOtherTransacations">
        <link:definition>9952165 - Disclosure - Acquisitions and Other Transacations</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="VariableInterestEntities" roleURI="http://www.marathonpetroleum.com/role/VariableInterestEntities">
        <link:definition>9952166 - Disclosure - Variable Interest Entities</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RelatedPartyTransactions" roleURI="http://www.marathonpetroleum.com/role/RelatedPartyTransactions">
        <link:definition>9952167 - Disclosure - Related Party Transactions</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EarningsPerShare" roleURI="http://www.marathonpetroleum.com/role/EarningsPerShare">
        <link:definition>9952168 - Disclosure - Earnings Per Share</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Equity" roleURI="http://www.marathonpetroleum.com/role/Equity">
        <link:definition>9952169 - Disclosure - Equity</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentInformation" roleURI="http://www.marathonpetroleum.com/role/SegmentInformation">
        <link:definition>9952170 - Disclosure - Segment Information</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="NetInterestandOtherFinancialCosts" roleURI="http://www.marathonpetroleum.com/role/NetInterestandOtherFinancialCosts">
        <link:definition>9952171 - Disclosure - Net Interest and Other Financial Costs</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="IncomeTaxes" roleURI="http://www.marathonpetroleum.com/role/IncomeTaxes">
        <link:definition>9952172 - Disclosure - Income Taxes</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Inventories" roleURI="http://www.marathonpetroleum.com/role/Inventories">
        <link:definition>9952173 - Disclosure - Inventories</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="PropertyPlantandEquipmentPPE" roleURI="http://www.marathonpetroleum.com/role/PropertyPlantandEquipmentPPE">
        <link:definition>9952174 - Disclosure - Property, Plant and Equipment (PP&amp;E)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurements" roleURI="http://www.marathonpetroleum.com/role/FairValueMeasurements">
        <link:definition>9952175 - Disclosure - Fair Value Measurements</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Derivatives" roleURI="http://www.marathonpetroleum.com/role/Derivatives">
        <link:definition>9952176 - Disclosure - Derivatives</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Debt" roleURI="http://www.marathonpetroleum.com/role/Debt">
        <link:definition>9952177 - Disclosure - Debt</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Revenue" roleURI="http://www.marathonpetroleum.com/role/Revenue">
        <link:definition>9952178 - Disclosure - Revenue</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SupplementalCashFlowInformation" roleURI="http://www.marathonpetroleum.com/role/SupplementalCashFlowInformation">
        <link:definition>9952179 - Disclosure - Supplemental Cash Flow Information</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="OtherCurrentLiabilities" roleURI="http://www.marathonpetroleum.com/role/OtherCurrentLiabilities">
        <link:definition>9952180 - Disclosure - Other Current Liabilities</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="AccumulatedOtherComprehensiveIncomeLoss" roleURI="http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeLoss">
        <link:definition>9952181 - Disclosure - Accumulated Other Comprehensive Income (Loss)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="PensionandOtherPostretirementBenefits" roleURI="http://www.marathonpetroleum.com/role/PensionandOtherPostretirementBenefits">
        <link:definition>9952182 - Disclosure - Pension and Other Postretirement Benefits</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsandContingencies" roleURI="http://www.marathonpetroleum.com/role/CommitmentsandContingencies">
        <link:definition>9952183 - Disclosure - Commitments and Contingencies</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SubsequentEvents" roleURI="http://www.marathonpetroleum.com/role/SubsequentEvents">
        <link:definition>9952184 - Disclosure - Subsequent Events</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DescriptionoftheBusinessandBasisofPresentationPolicies" roleURI="http://www.marathonpetroleum.com/role/DescriptionoftheBusinessandBasisofPresentationPolicies">
        <link:definition>9955511 - Disclosure - Description of the Business and Basis of Presentation (Policies)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InventoryPolicies" roleURI="http://www.marathonpetroleum.com/role/InventoryPolicies">
        <link:definition>9955512 - Disclosure - Inventory (Policies)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DerivativeInstrumentsandHedgingActivitiesPolicies" roleURI="http://www.marathonpetroleum.com/role/DerivativeInstrumentsandHedgingActivitiesPolicies">
        <link:definition>9955513 - Disclosure - Derivative Instruments and Hedging Activities (Policies)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="MasterLimitedPartnershipTables" roleURI="http://www.marathonpetroleum.com/role/MasterLimitedPartnershipTables">
        <link:definition>9955514 - Disclosure - Master Limited Partnership (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="AcquisitionsandOtherTransactionsTables" roleURI="http://www.marathonpetroleum.com/role/AcquisitionsandOtherTransactionsTables">
        <link:definition>9955515 - Disclosure - Acquisitions and Other Transactions (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="VariableInterestEntitiesTables" roleURI="http://www.marathonpetroleum.com/role/VariableInterestEntitiesTables">
        <link:definition>9955516 - Disclosure - Variable Interest Entities (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RelatedPartyTransactionsTables" roleURI="http://www.marathonpetroleum.com/role/RelatedPartyTransactionsTables">
        <link:definition>9955517 - Disclosure - Related Party Transactions (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EarningsPerShareTables" roleURI="http://www.marathonpetroleum.com/role/EarningsPerShareTables">
        <link:definition>9955518 - Disclosure - Earnings Per Share (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EquityTables" roleURI="http://www.marathonpetroleum.com/role/EquityTables">
        <link:definition>9955519 - Disclosure - Equity (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentInformationTables" roleURI="http://www.marathonpetroleum.com/role/SegmentInformationTables">
        <link:definition>9955520 - Disclosure - Segment Information (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="NetInterestandOtherFinancialCostsTables" roleURI="http://www.marathonpetroleum.com/role/NetInterestandOtherFinancialCostsTables">
        <link:definition>9955521 - Disclosure - Net Interest and Other Financial Costs (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InventoriesTables" roleURI="http://www.marathonpetroleum.com/role/InventoriesTables">
        <link:definition>9955522 - Disclosure - Inventories (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="PropertyPlantandEquipmentPPETables" roleURI="http://www.marathonpetroleum.com/role/PropertyPlantandEquipmentPPETables">
        <link:definition>9955523 - Disclosure - Property, Plant and Equipment (PP&amp;E) (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurementsTables" roleURI="http://www.marathonpetroleum.com/role/FairValueMeasurementsTables">
        <link:definition>9955524 - Disclosure - Fair Value Measurements (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DerivativesTables" roleURI="http://www.marathonpetroleum.com/role/DerivativesTables">
        <link:definition>9955525 - Disclosure - Derivatives (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DebtTables" roleURI="http://www.marathonpetroleum.com/role/DebtTables">
        <link:definition>9955526 - Disclosure - Debt (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenueTables" roleURI="http://www.marathonpetroleum.com/role/RevenueTables">
        <link:definition>9955527 - Disclosure - Revenue (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SupplementalCashFlowInformationTables" roleURI="http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationTables">
        <link:definition>9955528 - Disclosure - Supplemental Cash Flow Information (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="OtherCurrentLiabilitiesTables" roleURI="http://www.marathonpetroleum.com/role/OtherCurrentLiabilitiesTables">
        <link:definition>9955529 - Disclosure - Other Current Liabilities (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="AccumulatedOtherComprehensiveIncomeLossTables" roleURI="http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeLossTables">
        <link:definition>9955530 - Disclosure - Accumulated Other Comprehensive Income (Loss) (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="PensionandOtherPostretirementBenefitsTables" roleURI="http://www.marathonpetroleum.com/role/PensionandOtherPostretirementBenefitsTables">
        <link:definition>9955531 - Disclosure - Pension and Other Postretirement Benefits (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="MasterLimitedPartnershipDetails" roleURI="http://www.marathonpetroleum.com/role/MasterLimitedPartnershipDetails">
        <link:definition>9955532 - Disclosure - Master Limited Partnership (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="MasterLimitedPartnershipUnitRepurchaseProgramDetails" roleURI="http://www.marathonpetroleum.com/role/MasterLimitedPartnershipUnitRepurchaseProgramDetails">
        <link:definition>9955533 - Disclosure - Master Limited Partnership (Unit Repurchase Program) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="MasterLimitedPartnershipNoncontrollingInterestDetails" roleURI="http://www.marathonpetroleum.com/role/MasterLimitedPartnershipNoncontrollingInterestDetails">
        <link:definition>9955534 - Disclosure - Master Limited Partnership (Noncontrolling Interest) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="AcquisitionsandOtherTransactionsNorthwindMidstreamDetails" roleURI="http://www.marathonpetroleum.com/role/AcquisitionsandOtherTransactionsNorthwindMidstreamDetails">
        <link:definition>9955535 - Disclosure - Acquisitions and Other Transactions (Northwind Midstream) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="AcquisitionsandOtherTransactionsNorthwindMidstreamAssetsAcquiredandLiabilitiesAssumedDetails" roleURI="http://www.marathonpetroleum.com/role/AcquisitionsandOtherTransactionsNorthwindMidstreamAssetsAcquiredandLiabilitiesAssumedDetails">
        <link:definition>9955536 - Disclosure - Acquisitions and Other Transactions (Northwind Midstream - Assets Acquired and Liabilities Assumed) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="AcquisitionsandOtherTransactionsAnnouncedDivestitureofRockiesOperationsDetails" roleURI="http://www.marathonpetroleum.com/role/AcquisitionsandOtherTransactionsAnnouncedDivestitureofRockiesOperationsDetails">
        <link:definition>9955537 - Disclosure - Acquisitions and Other Transactions (Announced Divestiture of Rockies Operations) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="AcquisitionsandOtherTransactionsSaleofInterestinEthanolJointVentureDetails" roleURI="http://www.marathonpetroleum.com/role/AcquisitionsandOtherTransactionsSaleofInterestinEthanolJointVentureDetails">
        <link:definition>9955538 - Disclosure - Acquisitions and Other Transactions (Sale of Interest in Ethanol Joint Venture) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="AcquisitionsandOtherTransactionsBANGLLLCAcquisitionDetails" roleURI="http://www.marathonpetroleum.com/role/AcquisitionsandOtherTransactionsBANGLLLCAcquisitionDetails">
        <link:definition>9955539 - Disclosure - Acquisitions and Other Transactions (BANGL, LLC Acquisition) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="AcquisitionsandOtherTransactionsBANGLLLCAcquisitionsTotalConsiderationDetails" roleURI="http://www.marathonpetroleum.com/role/AcquisitionsandOtherTransactionsBANGLLLCAcquisitionsTotalConsiderationDetails">
        <link:definition>9955540 - Disclosure - Acquisitions and Other Transactions (BANGL, LLC Acquisitions - Total Consideration) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="AcquisitionsandOtherTransactionsBANGLLLCAcquisitionsAssetsandLiabilitiesPurchasedDetails" roleURI="http://www.marathonpetroleum.com/role/AcquisitionsandOtherTransactionsBANGLLLCAcquisitionsAssetsandLiabilitiesPurchasedDetails">
        <link:definition>9955541 - Disclosure - Acquisitions and Other Transactions (BANGL, LLC Acquisitions Assets and Liabilities Purchased) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="AcquisitionsandOtherTransactionsWhiptailMidstreamAcquisitionDetails" roleURI="http://www.marathonpetroleum.com/role/AcquisitionsandOtherTransactionsWhiptailMidstreamAcquisitionDetails">
        <link:definition>9955542 - Disclosure - Acquisitions and Other Transactions (Whiptail Midstream Acquisition) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="VariableInterestEntitiesConsolidatedVIEDetails" roleURI="http://www.marathonpetroleum.com/role/VariableInterestEntitiesConsolidatedVIEDetails">
        <link:definition>9955543 - Disclosure - Variable Interest Entities (Consolidated VIE) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RelatedPartyTransactionsDetails" roleURI="http://www.marathonpetroleum.com/role/RelatedPartyTransactionsDetails">
        <link:definition>9955544 - Disclosure - Related Party Transactions (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EarningsPerShareSummaryofEarningsPerShareDetails" roleURI="http://www.marathonpetroleum.com/role/EarningsPerShareSummaryofEarningsPerShareDetails">
        <link:definition>9955545 - Disclosure - Earnings Per Share (Summary of Earnings Per Share) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EquityShareRepurchaseAuthorizationsDetails" roleURI="http://www.marathonpetroleum.com/role/EquityShareRepurchaseAuthorizationsDetails">
        <link:definition>9955546 - Disclosure - Equity (Share Repurchase Authorizations) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EquityShareRepurchasesDetails" roleURI="http://www.marathonpetroleum.com/role/EquityShareRepurchasesDetails">
        <link:definition>9955547 - Disclosure - Equity (Share Repurchases) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentInformationAdditionalInformationDetails" roleURI="http://www.marathonpetroleum.com/role/SegmentInformationAdditionalInformationDetails">
        <link:definition>9955548 - Disclosure - Segment Information (Additional Information) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentInformationSegmentAdjustedEBITDAtoIncomeLossfromOperationsbeforeIncomeTaxesDetails" roleURI="http://www.marathonpetroleum.com/role/SegmentInformationSegmentAdjustedEBITDAtoIncomeLossfromOperationsbeforeIncomeTaxesDetails">
        <link:definition>9955549 - Disclosure - Segment Information (Segment Adjusted EBITDA to Income (Loss) from Operations before Income Taxes) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentInformationReconciliationofSegmentRevenuesToSalesandOtherOperatingRevenuesDetails" roleURI="http://www.marathonpetroleum.com/role/SegmentInformationReconciliationofSegmentRevenuesToSalesandOtherOperatingRevenuesDetails">
        <link:definition>9955550 - Disclosure - Segment Information (Reconciliation of Segment Revenues To Sales and Other Operating Revenues) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentInformationIncomefromEquityMethodInvestmentsDetails" roleURI="http://www.marathonpetroleum.com/role/SegmentInformationIncomefromEquityMethodInvestmentsDetails">
        <link:definition>9955551 - Disclosure - Segment Information (Income from Equity Method Investments) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentInformationSegmentExpensesDetails" roleURI="http://www.marathonpetroleum.com/role/SegmentInformationSegmentExpensesDetails">
        <link:definition>9955552 - Disclosure - Segment Information (Segment Expenses) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentInformationDepreciationandAmortizationDetails" roleURI="http://www.marathonpetroleum.com/role/SegmentInformationDepreciationandAmortizationDetails">
        <link:definition>9955553 - Disclosure - Segment Information (Depreciation and Amortization) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentInformationCapitalExpendituresDetails" roleURI="http://www.marathonpetroleum.com/role/SegmentInformationCapitalExpendituresDetails">
        <link:definition>9955554 - Disclosure - Segment Information (Capital Expenditures) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="NetInterestandOtherFinancialCostsDetails" roleURI="http://www.marathonpetroleum.com/role/NetInterestandOtherFinancialCostsDetails">
        <link:definition>9955555 - Disclosure - Net Interest and Other Financial Costs (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="IncomeTaxesDetails" roleURI="http://www.marathonpetroleum.com/role/IncomeTaxesDetails">
        <link:definition>9955556 - Disclosure - Income Taxes (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InventoriesSummaryofInventoriesDetails" roleURI="http://www.marathonpetroleum.com/role/InventoriesSummaryofInventoriesDetails">
        <link:definition>9955557 - Disclosure - Inventories (Summary of Inventories) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="PropertyPlantandEquipmentPPESummaryofPropertyPlantAndEquipmentDetail" roleURI="http://www.marathonpetroleum.com/role/PropertyPlantandEquipmentPPESummaryofPropertyPlantAndEquipmentDetail">
        <link:definition>9955558 - Disclosure - Property, Plant and Equipment (PP&amp;E) (Summary of Property, Plant And Equipment) (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurementsAssetsandLiabilitiesAccountedforatFairValueonRecurringBasisDetail" roleURI="http://www.marathonpetroleum.com/role/FairValueMeasurementsAssetsandLiabilitiesAccountedforatFairValueonRecurringBasisDetail">
        <link:definition>9955559 - Disclosure - Fair Value Measurements (Assets and Liabilities Accounted for at Fair Value on Recurring Basis) (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurementsLevel3Details" roleURI="http://www.marathonpetroleum.com/role/FairValueMeasurementsLevel3Details">
        <link:definition>9955560 - Disclosure - Fair Value Measurements (Level 3) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurementsReconciliationofNetBeginningandEndingBalancesRecordedforNetAssetsandLiabilitiesClassifiedasLevel3Detail" roleURI="http://www.marathonpetroleum.com/role/FairValueMeasurementsReconciliationofNetBeginningandEndingBalancesRecordedforNetAssetsandLiabilitiesClassifiedasLevel3Detail">
        <link:definition>9955561 - Disclosure - Fair Value Measurements (Reconciliation of Net Beginning and Ending Balances Recorded for Net Assets and Liabilities Classified as Level 3) (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurementsGainLossIncludedinEarningsRelatingtoAssetsStillHeldatEndofPeriodDetails" roleURI="http://www.marathonpetroleum.com/role/FairValueMeasurementsGainLossIncludedinEarningsRelatingtoAssetsStillHeldatEndofPeriodDetails">
        <link:definition>9955562 - Disclosure - Fair Value Measurements (Gain/Loss Included in Earnings Relating to Assets Still Held at End of Period) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurementsFairValuesReportedDetail" roleURI="http://www.marathonpetroleum.com/role/FairValueMeasurementsFairValuesReportedDetail">
        <link:definition>9955563 - Disclosure - Fair Value Measurements (Fair Values - Reported) (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DerivativesClassificationofGrossFairValuesofDerivativeInstrumentsExcludingCashCollateralDetail" roleURI="http://www.marathonpetroleum.com/role/DerivativesClassificationofGrossFairValuesofDerivativeInstrumentsExcludingCashCollateralDetail">
        <link:definition>9955564 - Disclosure - Derivatives (Classification of Gross Fair Values of Derivative Instruments, Excluding Cash Collateral) (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DerivativesOpenCommodityDerivativeContractsDetails" roleURI="http://www.marathonpetroleum.com/role/DerivativesOpenCommodityDerivativeContractsDetails">
        <link:definition>9955565 - Disclosure - Derivatives (Open Commodity Derivative Contracts) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DerivativesEffectofCommodityDerivativeInstrumentsinStatementsofIncomeDetail" roleURI="http://www.marathonpetroleum.com/role/DerivativesEffectofCommodityDerivativeInstrumentsinStatementsofIncomeDetail">
        <link:definition>9955566 - Disclosure - Derivatives (Effect of Commodity Derivative Instruments in Statements of Income) (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DebtOutstandingBorrowingsDetail" roleURI="http://www.marathonpetroleum.com/role/DebtOutstandingBorrowingsDetail">
        <link:definition>9955567 - Disclosure - Debt (Outstanding Borrowings) (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DebtMPLXSeniorNotesDetails" roleURI="http://www.marathonpetroleum.com/role/DebtMPLXSeniorNotesDetails">
        <link:definition>9955568 - Disclosure - Debt (MPLX Senior Notes) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DebtAvailableCapacityunderourFacilitiesDetails" roleURI="http://www.marathonpetroleum.com/role/DebtAvailableCapacityunderourFacilitiesDetails">
        <link:definition>9955569 - Disclosure - Debt (Available Capacity under our Facilities) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenueDisaggregatedbyProductLineDetails" roleURI="http://www.marathonpetroleum.com/role/RevenueDisaggregatedbyProductLineDetails">
        <link:definition>9955570 - Disclosure - Revenue (Disaggregated by Product Line) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenueDetails" roleURI="http://www.marathonpetroleum.com/role/RevenueDetails">
        <link:definition>9955571 - Disclosure - Revenue (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SupplementalCashFlowInformationDetails" roleURI="http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationDetails">
        <link:definition>9955572 - Disclosure - Supplemental Cash Flow Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SupplementalCashFlowInformationReconciliationofAdditionstoPropertyPlantandEquipmenttoTotalCapitalExpendituresDetail" roleURI="http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationReconciliationofAdditionstoPropertyPlantandEquipmenttoTotalCapitalExpendituresDetail">
        <link:definition>9955573 - Disclosure - Supplemental Cash Flow Information (Reconciliation of Additions to Property, Plant and Equipment to Total Capital Expenditures) (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="OtherCurrentLiabilitiesDetails" roleURI="http://www.marathonpetroleum.com/role/OtherCurrentLiabilitiesDetails">
        <link:definition>9955574 - Disclosure - Other Current Liabilities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="AccumulatedOtherComprehensiveIncomeLossChangesinAccumulatedOtherComprehensiveLossbyComponentDetail" roleURI="http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeLossChangesinAccumulatedOtherComprehensiveLossbyComponentDetail">
        <link:definition>9955575 - Disclosure - Accumulated Other Comprehensive Income (Loss) (Changes in Accumulated Other Comprehensive Loss by Component) (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="PensionandOtherPostretirementBenefitsComponentsofNetPeriodicBenefitCostsDetails" roleURI="http://www.marathonpetroleum.com/role/PensionandOtherPostretirementBenefitsComponentsofNetPeriodicBenefitCostsDetails">
        <link:definition>9955576 - Disclosure - Pension and Other Postretirement Benefits (Components of Net Periodic Benefit Costs) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="PensionandOtherPostretirementBenefitsAdditionalInformationDetails" roleURI="http://www.marathonpetroleum.com/role/PensionandOtherPostretirementBenefitsAdditionalInformationDetails">
        <link:definition>9955577 - Disclosure - Pension and Other Postretirement Benefits (Additional Information) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsandContingenciesEnvironmentalMattersDetails" roleURI="http://www.marathonpetroleum.com/role/CommitmentsandContingenciesEnvironmentalMattersDetails">
        <link:definition>9955578 - Disclosure - Commitments and Contingencies (Environmental Matters) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsandContingenciesOtherLegalProceedingsDetails" roleURI="http://www.marathonpetroleum.com/role/CommitmentsandContingenciesOtherLegalProceedingsDetails">
        <link:definition>9955579 - Disclosure - Commitments and Contingencies (Other Legal Proceedings) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsandContingenciesGuaranteesDetails" roleURI="http://www.marathonpetroleum.com/role/CommitmentsandContingenciesGuaranteesDetails">
        <link:definition>9955580 - Disclosure - Commitments and Contingencies (Guarantees) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SubsequentEventsDetails" roleURI="http://www.marathonpetroleum.com/role/SubsequentEventsDetails">
        <link:definition>9955581 - Disclosure - Subsequent Events (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
    </xs:appinfo>
  </xs:annotation>
  <xs:element id="mpc_RevenuesAndOtherIncome" abstract="false" name="RevenuesAndOtherIncome" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mpc_AccumulatedGainLossOtherMember" abstract="true" name="AccumulatedGainLossOtherMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_ComprehensiveIncomeLossNetofTaxAttributabletoNonredeemableNoncontrollingInterest" abstract="false" name="ComprehensiveIncomeLossNetofTaxAttributabletoNonredeemableNoncontrollingInterest" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mpc_TotalAdjustmentsToEquityFromShareBasedCompensation" abstract="false" name="TotalAdjustmentsToEquityFromShareBasedCompensation" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mpc_RedeemableNoncontrollingInterestMember" abstract="true" name="RedeemableNoncontrollingInterestMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_NorthwindMidstreamAcquisitionMember" abstract="true" name="NorthwindMidstreamAcquisitionMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_BANGLLLCAcquisitionMember" abstract="true" name="BANGLLLCAcquisitionMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_ScheduleOfBusinessCombinationConsiderationTableTextBlock" abstract="false" name="ScheduleOfBusinessCombinationConsiderationTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="mpc_ScheduleOfReconciliationOfAdditionsToPropertyPlantAndEquipmentToTotalCapitalExpendituresTableTextBlock" abstract="false" name="ScheduleOfReconciliationOfAdditionsToPropertyPlantAndEquipmentToTotalCapitalExpendituresTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="mpc_MPLXLPMember" abstract="true" name="MPLXLPMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_MarathonPetroleumCorporationMember" abstract="true" name="MarathonPetroleumCorporationMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_ShareRepurchaseAuthorizationAugust2025Member" abstract="true" name="ShareRepurchaseAuthorizationAugust2025Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_ShareRepurchaseAuthorizationAugust2022Member" abstract="true" name="ShareRepurchaseAuthorizationAugust2022Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipChangesTaxImpact" abstract="false" name="ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipChangesTaxImpact" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mpc_MidstreamMember" abstract="true" name="MidstreamMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_BusinessCombinationRecognizedLiabilityAssumedOperatingLeaseLiabilityLongTerm" abstract="false" name="BusinessCombinationRecognizedLiabilityAssumedOperatingLeaseLiabilityLongTerm" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mpc_RockiesOperationsMember" abstract="true" name="RockiesOperationsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_TheAndersonsMarathonHoldingsLLCMember" abstract="true" name="TheAndersonsMarathonHoldingsLLCMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_BANGLLLCMember" abstract="true" name="BANGLLLCMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_EquityMethodInvestmentAdditionalOwnershipAcquired" abstract="false" name="EquityMethodInvestmentAdditionalOwnershipAcquired" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="mpc_BusinessCombinationPurchasePriceAllocationGoodwillExpectedTaxDeductiblePercent" abstract="false" name="BusinessCombinationPurchasePriceAllocationGoodwillExpectedTaxDeductiblePercent" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="mpc_BusinessCombinationFairValueOfContingentConsiderationAtAcquisitionDate" abstract="false" name="BusinessCombinationFairValueOfContingentConsiderationAtAcquisitionDate" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mpc_WhiptailMidstreamAcquisitionMember" abstract="true" name="WhiptailMidstreamAcquisitionMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNetWorkingCapital" abstract="false" name="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNetWorkingCapital" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mpc_ShareRepurchaseAuthorizationNovember2024Member" abstract="true" name="ShareRepurchaseAuthorizationNovember2024Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_PaymentsForRepurchaseOfCommonStockExcludingExciseTaxesOnShareRepurchases" abstract="false" name="PaymentsForRepurchaseOfCommonStockExcludingExciseTaxesOnShareRepurchases" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mpc_RefiningAndMarketingMember" abstract="true" name="RefiningAndMarketingMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_RenewableDieselMember" abstract="true" name="RenewableDieselMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_AdjustedEBITDA" abstract="false" name="AdjustedEBITDA" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mpc_CorporateAndExpensesExcludingDepreciation" abstract="false" name="CorporateAndExpensesExcludingDepreciation" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mpc_RefiningRenewableDieselPlannedTurnaroundCosts" abstract="false" name="RefiningRenewableDieselPlannedTurnaroundCosts" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mpc_RenewableDieselJVPlannedTurnaroundCosts" abstract="false" name="RenewableDieselJVPlannedTurnaroundCosts" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mpc_RenewableDieselJVDepreciationAndAmortization" abstract="false" name="RenewableDieselJVDepreciationAndAmortization" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mpc_CleanFuelProductionTaxCredit" abstract="false" name="CleanFuelProductionTaxCredit" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mpc_DistributionCosts" abstract="false" name="DistributionCosts" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mpc_MartinezJVMember" abstract="true" name="MartinezJVMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_CapitalExpendituresAndInvestments" abstract="false" name="CapitalExpendituresAndInvestments" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mpc_CapitalExpendituresExcludingCapitalizedInterest" abstract="false" name="CapitalExpendituresExcludingCapitalizedInterest" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mpc_CapitalExpenditure" abstract="false" name="CapitalExpenditure" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mpc_EnergyRelatedInventoryRefinedProducts" abstract="false" name="EnergyRelatedInventoryRefinedProducts" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mpc_FairValueInputsProbabilityofRenewalSecondTerm" abstract="false" name="FairValueInputsProbabilityofRenewalSecondTerm" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="mpc_BlendingproductsMember" abstract="true" name="BlendingproductsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_SoybeanOilMember" abstract="true" name="SoybeanOilMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_DerivativeInstrumentsPercentageOfDerivativeContractsExpiration1" abstract="false" name="DerivativeInstrumentsPercentageOfDerivativeContractsExpiration1" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="mpc_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsRealizedGainLossNetRealizedGain" abstract="false" name="DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsRealizedGainLossNetRealizedGain" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mpc_SeniorNotes5.300DueApril2036Member" abstract="true" name="SeniorNotes5.300DueApril2036Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_SeniorNotes6.100DueApril2056Member" abstract="true" name="SeniorNotes6.100DueApril2056Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_SeniorNotesDueMarch2026Member" abstract="true" name="SeniorNotesDueMarch2026Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_MPCRevolvingCreditFacilityDueJuly2027Member" abstract="true" name="MPCRevolvingCreditFacilityDueJuly2027Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_TradeReceivablesSecuritizationDueSeptember2027Member" abstract="true" name="TradeReceivablesSecuritizationDueSeptember2027Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_MPLXRevolvingCreditFacilityDueJuly2027Member" abstract="true" name="MPLXRevolvingCreditFacilityDueJuly2027Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_MPLXRevolvingCreditFacilityDueApril2031Member" abstract="true" name="MPLXRevolvingCreditFacilityDueApril2031Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_MPCRevolvingCreditFacilityDueApril2031Member" abstract="true" name="MPCRevolvingCreditFacilityDueApril2031Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_TradeReceivablesSecuritizationDueApril2029Member" abstract="true" name="TradeReceivablesSecuritizationDueApril2029Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_SwingLineLoanMember" abstract="true" name="SwingLineLoanMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_UncommittedAmountMember" abstract="true" name="UncommittedAmountMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_PurchaseCrudeOilFromStrategicPetroleumReserveMember" abstract="true" name="PurchaseCrudeOilFromStrategicPetroleumReserveMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_RefinedProductsMember" abstract="true" name="RefinedProductsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_ServicesAndOtherMember" abstract="true" name="ServicesAndOtherMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_MatchingBuySellReceivables" abstract="false" name="MatchingBuySellReceivables" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mpc_ContributionOfNetAssets" abstract="false" name="ContributionOfNetAssets" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mpc_IncreaseDecreaseInAccrualForCapitalExpenditures" abstract="false" name="IncreaseDecreaseInAccrualForCapitalExpenditures" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mpc_AccumulatedGainLossNetOtherMember" abstract="true" name="AccumulatedGainLossNetOtherMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_AccumulatedOtherComprehensiveIncomeLossOtherAfterTax" abstract="false" name="AccumulatedOtherComprehensiveIncomeLossOtherAfterTax" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mpc_LoopAndLocapLlcMember" abstract="true" name="LoopAndLocapLlcMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_BakkenPipelineSystemMember" abstract="true" name="BakkenPipelineSystemMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mpc_IndirectMember" abstract="true" name="IndirectMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
</xs:schema>
