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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019fd838-2d62-790c-b53b-2c49e9772d9c,g:83266cbd-1d16-4116-a8a7-4318211e2e50-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"/>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/ConsolidatedStatementsofComprehensiveIncome" xlink:type="simple" xlink:href="mpc-20260930.xsd#ConsolidatedStatementsofComprehensiveIncome"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/ConsolidatedStatementsofComprehensiveIncome" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_019fd838-2f8b-791e-9c69-ebc273df6338" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_019fd838-2f8b-704f-8d05-2c5919555026" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-791e-9c69-ebc273df6338" xlink:to="loc_us-gaap_StatementTable_019fd838-2f8b-704f-8d05-2c5919555026" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_019fd838-2f8b-7ebe-8769-403b142cfd64" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_019fd838-2f8b-704f-8d05-2c5919555026" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_019fd838-2f8b-7ebe-8769-403b142cfd64" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-7ebe-8769-403b142cfd64_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019fd838-2f8b-7ebe-8769-403b142cfd64" xlink:to="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-7ebe-8769-403b142cfd64_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-7816-906e-eab1c259773f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019fd838-2f8b-7ebe-8769-403b142cfd64" xlink:to="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-7816-906e-eab1c259773f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetGainLossIncludingPortionAttributableToNoncontrollingInterestMember_019fd838-2f8b-7cce-ab02-8805b36e93d3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetGainLossIncludingPortionAttributableToNoncontrollingInterestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-7816-906e-eab1c259773f" xlink:to="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetGainLossIncludingPortionAttributableToNoncontrollingInterestMember_019fd838-2f8b-7cce-ab02-8805b36e93d3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetPriorServiceIncludingPortionAttributableToNoncontrollingInterestMember_019fd838-2f8b-77b4-9480-b30558d80f6f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetPriorServiceIncludingPortionAttributableToNoncontrollingInterestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-7816-906e-eab1c259773f" xlink:to="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetPriorServiceIncludingPortionAttributableToNoncontrollingInterestMember_019fd838-2f8b-77b4-9480-b30558d80f6f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_AccumulatedGainLossOtherMember_019fd838-2f8b-7686-928b-286998b49c71" xlink:href="mpc-20260930.xsd#mpc_AccumulatedGainLossOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-7816-906e-eab1c259773f" xlink:to="loc_mpc_AccumulatedGainLossOtherMember_019fd838-2f8b-7686-928b-286998b49c71" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019fd838-2f8b-7446-b298-d4f554ee5712" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-791e-9c69-ebc273df6338" xlink:to="loc_us-gaap_ProfitLoss_019fd838-2f8b-7446-b298-d4f554ee5712" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019fd838-2f8b-76fe-83df-0b8e00542912" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-791e-9c69-ebc273df6338" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019fd838-2f8b-76fe-83df-0b8e00542912" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019fd838-2f8b-719e-b240-1068c5d36037" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-791e-9c69-ebc273df6338" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019fd838-2f8b-719e-b240-1068c5d36037" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterestAbstract_019fd838-2f8b-7e78-a196-9bea81828d64" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterestAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-791e-9c69-ebc273df6338" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterestAbstract_019fd838-2f8b-7e78-a196-9bea81828d64" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_ComprehensiveIncomeLossNetofTaxAttributabletoNonredeemableNoncontrollingInterest_019fd838-2f8b-7cc7-b162-aa513b52616b" xlink:href="mpc-20260930.xsd#mpc_ComprehensiveIncomeLossNetofTaxAttributabletoNonredeemableNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterestAbstract_019fd838-2f8b-7e78-a196-9bea81828d64" xlink:to="loc_mpc_ComprehensiveIncomeLossNetofTaxAttributabletoNonredeemableNoncontrollingInterest_019fd838-2f8b-7cc7-b162-aa513b52616b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_019fd838-2f8b-74ac-be32-5fbff5f89c1b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-791e-9c69-ebc273df6338" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTax_019fd838-2f8b-74ac-be32-5fbff5f89c1b" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/ConsolidatedStatementsofComprehensiveIncomeParenthetical" xlink:type="simple" xlink:href="mpc-20260930.xsd#ConsolidatedStatementsofComprehensiveIncomeParenthetical"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/ConsolidatedStatementsofComprehensiveIncomeParenthetical" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_019fd838-2f8b-78a4-bca9-48eab33e2c42" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_019fd838-2f8b-784f-a9b5-3bc754506a8b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-78a4-bca9-48eab33e2c42" xlink:to="loc_us-gaap_StatementTable_019fd838-2f8b-784f-a9b5-3bc754506a8b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_019fd838-2f8b-7f2d-9cd1-452ef4c0a0d8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_019fd838-2f8b-784f-a9b5-3bc754506a8b" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_019fd838-2f8b-7f2d-9cd1-452ef4c0a0d8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-7f2d-9cd1-452ef4c0a0d8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019fd838-2f8b-7f2d-9cd1-452ef4c0a0d8" xlink:to="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-7f2d-9cd1-452ef4c0a0d8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-752b-82f0-1e8d882e1854" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019fd838-2f8b-7f2d-9cd1-452ef4c0a0d8" xlink:to="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-752b-82f0-1e8d882e1854" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetGainLossIncludingPortionAttributableToNoncontrollingInterestMember_019fd838-2f8b-7e07-b7fd-7a193707708f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetGainLossIncludingPortionAttributableToNoncontrollingInterestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-752b-82f0-1e8d882e1854" xlink:to="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetGainLossIncludingPortionAttributableToNoncontrollingInterestMember_019fd838-2f8b-7e07-b7fd-7a193707708f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetPriorServiceIncludingPortionAttributableToNoncontrollingInterestMember_019fd838-2f8b-7d28-a72a-4bb2a36c4a8e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetPriorServiceIncludingPortionAttributableToNoncontrollingInterestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-752b-82f0-1e8d882e1854" xlink:to="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentNetPriorServiceIncludingPortionAttributableToNoncontrollingInterestMember_019fd838-2f8b-7d28-a72a-4bb2a36c4a8e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_AccumulatedGainLossOtherMember_019fd838-2f8b-71d9-a77e-eabf76aaeade" xlink:href="mpc-20260930.xsd#mpc_AccumulatedGainLossOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-752b-82f0-1e8d882e1854" xlink:to="loc_mpc_AccumulatedGainLossOtherMember_019fd838-2f8b-71d9-a77e-eabf76aaeade" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTax_019fd838-2f8b-707d-ad1a-7bbf7f3431c9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-78a4-bca9-48eab33e2c42" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTax_019fd838-2f8b-707d-ad1a-7bbf7f3431c9" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/ConsolidatedStatementsofEquityandRedeemableNoncontrollingInterestConsolidatedStatementsofEquity" xlink:type="simple" xlink:href="mpc-20260930.xsd#ConsolidatedStatementsofEquityandRedeemableNoncontrollingInterestConsolidatedStatementsofEquity"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/ConsolidatedStatementsofEquityandRedeemableNoncontrollingInterestConsolidatedStatementsofEquity" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_019fd838-2f8b-7efb-9764-710134947859" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_019fd838-2f8b-7027-a66f-0817557dbe4a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-7efb-9764-710134947859" xlink:to="loc_us-gaap_StatementTable_019fd838-2f8b-7027-a66f-0817557dbe4a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_019fd838-2f8b-7501-b979-c0144fd68122" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_019fd838-2f8b-7027-a66f-0817557dbe4a" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_019fd838-2f8b-7501-b979-c0144fd68122" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-7501-b979-c0144fd68122_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019fd838-2f8b-7501-b979-c0144fd68122" xlink:to="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-7501-b979-c0144fd68122_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-70d9-92a9-88639aef39cf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019fd838-2f8b-7501-b979-c0144fd68122" xlink:to="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-70d9-92a9-88639aef39cf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_019fd838-2f8b-710d-9a30-9ee892538b75" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-70d9-92a9-88639aef39cf" xlink:to="loc_us-gaap_CommonStockMember_019fd838-2f8b-710d-9a30-9ee892538b75" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonMember_019fd838-2f8b-75e5-b271-ce8bd659840f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockCommonMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-70d9-92a9-88639aef39cf" xlink:to="loc_us-gaap_TreasuryStockCommonMember_019fd838-2f8b-75e5-b271-ce8bd659840f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_019fd838-2f8b-7f0f-ae26-d7b4263aebe7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-70d9-92a9-88639aef39cf" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_019fd838-2f8b-7f0f-ae26-d7b4263aebe7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_019fd838-2f8b-7126-802a-c467f9f1e6e7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-70d9-92a9-88639aef39cf" xlink:to="loc_us-gaap_RetainedEarningsMember_019fd838-2f8b-7126-802a-c467f9f1e6e7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019fd838-2f8b-79ce-9d90-91a55058dffb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-70d9-92a9-88639aef39cf" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019fd838-2f8b-79ce-9d90-91a55058dffb" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncontrollingInterestMember_019fd838-2f8b-749b-8615-cee8b7ef5758" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoncontrollingInterestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-70d9-92a9-88639aef39cf" xlink:to="loc_us-gaap_NoncontrollingInterestMember_019fd838-2f8b-749b-8615-cee8b7ef5758" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019fd838-2f8b-742b-825c-fd097599a623" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-7efb-9764-710134947859" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019fd838-2f8b-742b-825c-fd097599a623" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019fd838-2f8b-70e5-a157-fae599c4f46f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019fd838-2f8b-742b-825c-fd097599a623" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019fd838-2f8b-70e5-a157-fae599c4f46f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossIncludingPortionAttributableToNonredeemableNoncontrollingInterest_019fd838-2f8b-73fa-900a-6660b54774ef" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossIncludingPortionAttributableToNonredeemableNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019fd838-2f8b-742b-825c-fd097599a623" xlink:to="loc_us-gaap_NetIncomeLossIncludingPortionAttributableToNonredeemableNoncontrollingInterest_019fd838-2f8b-73fa-900a-6660b54774ef" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsCommonStockCash_019fd838-2f8b-7918-881c-60de98ffa3e8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DividendsCommonStockCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019fd838-2f8b-742b-825c-fd097599a623" xlink:to="loc_us-gaap_DividendsCommonStockCash_019fd838-2f8b-7918-881c-60de98ffa3e8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders_019fd838-2f8b-7cd2-b1d0-7207121e740c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019fd838-2f8b-742b-825c-fd097599a623" xlink:to="loc_us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders_019fd838-2f8b-7cd2-b1d0-7207121e740c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019fd838-2f8b-7bce-9947-f835f92f94a3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019fd838-2f8b-742b-825c-fd097599a623" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019fd838-2f8b-7bce-9947-f835f92f94a3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_019fd838-2f8b-7f9d-b271-0d4b4893ff60" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019fd838-2f8b-742b-825c-fd097599a623" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_019fd838-2f8b-7f9d-b271-0d4b4893ff60" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_TotalAdjustmentsToEquityFromShareBasedCompensation_019fd838-2f8b-7e42-b035-89654f2a1ba0" xlink:href="mpc-20260930.xsd#mpc_TotalAdjustmentsToEquityFromShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019fd838-2f8b-742b-825c-fd097599a623" xlink:to="loc_mpc_TotalAdjustmentsToEquityFromShareBasedCompensation_019fd838-2f8b-7e42-b035-89654f2a1ba0" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestChangesNet_019fd838-2f8b-75d4-9f6e-a946820c1b91" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestChangesNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019fd838-2f8b-742b-825c-fd097599a623" xlink:to="loc_us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestChangesNet_019fd838-2f8b-75d4-9f6e-a946820c1b91" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019fd838-2f8b-7943-a9e5-a9612a330589" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/ConsolidatedStatementsofEquityandRedeemableNoncontrollingInterestSharesofCommonStock" xlink:type="simple" xlink:href="mpc-20260930.xsd#ConsolidatedStatementsofEquityandRedeemableNoncontrollingInterestSharesofCommonStock"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/ConsolidatedStatementsofEquityandRedeemableNoncontrollingInterestSharesofCommonStock" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_019fd838-2f8b-7e0e-8a1a-ceb6af7dfed4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_019fd838-2f8b-7671-bd00-28e55f3ce04c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-7e0e-8a1a-ceb6af7dfed4" xlink:to="loc_us-gaap_StatementTable_019fd838-2f8b-7671-bd00-28e55f3ce04c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_019fd838-2f8b-7f80-9839-3e969425e93d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_019fd838-2f8b-7671-bd00-28e55f3ce04c" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_019fd838-2f8b-7f80-9839-3e969425e93d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-7f80-9839-3e969425e93d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019fd838-2f8b-7f80-9839-3e969425e93d" xlink:to="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-7f80-9839-3e969425e93d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-7d94-b340-b07a17100eed" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019fd838-2f8b-7f80-9839-3e969425e93d" xlink:to="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-7d94-b340-b07a17100eed" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_019fd838-2f8b-7113-b897-9bbb076b3092" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-7d94-b340-b07a17100eed" xlink:to="loc_us-gaap_CommonStockMember_019fd838-2f8b-7113-b897-9bbb076b3092" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_019fd838-2f8b-7bd7-985b-21e73956e532" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-7e0e-8a1a-ceb6af7dfed4" xlink:to="loc_us-gaap_CommonStockSharesIssued_019fd838-2f8b-7bd7-985b-21e73956e532" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_019fd838-2f8b-735c-85de-9d76d44f63c3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-7e0e-8a1a-ceb6af7dfed4" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_019fd838-2f8b-735c-85de-9d76d44f63c3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_019fd838-2f8b-7102-a225-5106b1686143" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockSharesIssued"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/ConsolidatedStatementsofEquityandRedeemableNoncontrollingInterestSharesofTreasuryStock" xlink:type="simple" xlink:href="mpc-20260930.xsd#ConsolidatedStatementsofEquityandRedeemableNoncontrollingInterestSharesofTreasuryStock"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/ConsolidatedStatementsofEquityandRedeemableNoncontrollingInterestSharesofTreasuryStock" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_019fd838-2f8b-772d-9460-d59bf4107678" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_019fd838-2f8b-7ef2-86a0-d79323f927d3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-772d-9460-d59bf4107678" xlink:to="loc_us-gaap_StatementTable_019fd838-2f8b-7ef2-86a0-d79323f927d3" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_019fd838-2f8b-7dfd-8373-d4960b3d9816" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_019fd838-2f8b-7ef2-86a0-d79323f927d3" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_019fd838-2f8b-7dfd-8373-d4960b3d9816" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-7dfd-8373-d4960b3d9816_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019fd838-2f8b-7dfd-8373-d4960b3d9816" xlink:to="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-7dfd-8373-d4960b3d9816_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-7b53-966b-7bffc9748f80" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019fd838-2f8b-7dfd-8373-d4960b3d9816" xlink:to="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-7b53-966b-7bffc9748f80" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonMember_019fd838-2f8b-7e09-8195-baaa056fbd30" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockCommonMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-7b53-966b-7bffc9748f80" xlink:to="loc_us-gaap_TreasuryStockCommonMember_019fd838-2f8b-7e09-8195-baaa056fbd30" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonShares_019fd838-2f8b-73af-992a-15ed6f51a6bd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockCommonShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-772d-9460-d59bf4107678" xlink:to="loc_us-gaap_TreasuryStockCommonShares_019fd838-2f8b-73af-992a-15ed6f51a6bd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_019fd838-2f8b-7c34-82c8-bcb08e5f6a28" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockSharesAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-772d-9460-d59bf4107678" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_019fd838-2f8b-7c34-82c8-bcb08e5f6a28" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonShares_019fd838-2f8b-744e-aaae-7ef5b00c07e5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockCommonShares"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/ConsolidatedStatementsofEquityandRedeemableNoncontrollingInterestRedeemableNoncontrollingInterest" xlink:type="simple" xlink:href="mpc-20260930.xsd#ConsolidatedStatementsofEquityandRedeemableNoncontrollingInterestRedeemableNoncontrollingInterest"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/ConsolidatedStatementsofEquityandRedeemableNoncontrollingInterestRedeemableNoncontrollingInterest" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_019fd838-2f8b-741e-b369-867532b2fbaf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_019fd838-2f8b-7a15-b653-81356218a4ad" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-741e-b369-867532b2fbaf" xlink:to="loc_us-gaap_StatementTable_019fd838-2f8b-7a15-b653-81356218a4ad" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_019fd838-2f8b-7da4-88de-ec5b610ee433" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_019fd838-2f8b-7a15-b653-81356218a4ad" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_019fd838-2f8b-7da4-88de-ec5b610ee433" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-7da4-88de-ec5b610ee433_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019fd838-2f8b-7da4-88de-ec5b610ee433" xlink:to="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-7da4-88de-ec5b610ee433_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-7a64-8622-5c027f04a865" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019fd838-2f8b-7da4-88de-ec5b610ee433" xlink:to="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-7a64-8622-5c027f04a865" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_RedeemableNoncontrollingInterestMember_019fd838-2f8b-7af2-9775-9c8901ad2b39" xlink:href="mpc-20260930.xsd#mpc_RedeemableNoncontrollingInterestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-7a64-8622-5c027f04a865" xlink:to="loc_mpc_RedeemableNoncontrollingInterestMember_019fd838-2f8b-7af2-9775-9c8901ad2b39" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_019fd838-2f8b-7df0-b418-f9ee4adfc6aa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-7a64-8622-5c027f04a865" xlink:to="loc_us-gaap_RetainedEarningsMember_019fd838-2f8b-7df0-b418-f9ee4adfc6aa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RedeemableNoncontrollingInterestEquityCarryingAmount_019fd838-2f8b-79a3-9b86-b2dea273d206" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RedeemableNoncontrollingInterestEquityCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-741e-b369-867532b2fbaf" xlink:to="loc_us-gaap_RedeemableNoncontrollingInterestEquityCarryingAmount_019fd838-2f8b-79a3-9b86-b2dea273d206" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToRedeemableNoncontrollingInterest_019fd838-2f8b-75da-afe8-f594124f7778" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAttributableToRedeemableNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-741e-b369-867532b2fbaf" xlink:to="loc_us-gaap_NetIncomeLossAttributableToRedeemableNoncontrollingInterest_019fd838-2f8b-75da-afe8-f594124f7778" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityOtherChanges_019fd838-2f8b-73a2-9308-37d760fffcfc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TemporaryEquityOtherChanges"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-741e-b369-867532b2fbaf" xlink:to="loc_us-gaap_TemporaryEquityOtherChanges_019fd838-2f8b-73a2-9308-37d760fffcfc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRedeemedOrCalledDuringPeriodValue_019fd838-2f8b-7c8c-889a-95575f5dd33e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockRedeemedOrCalledDuringPeriodValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-741e-b369-867532b2fbaf" xlink:to="loc_us-gaap_StockRedeemedOrCalledDuringPeriodValue_019fd838-2f8b-7c8c-889a-95575f5dd33e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RedeemableNoncontrollingInterestEquityCarryingAmount_019fd838-2f8b-754e-ab6c-e9a4ad1f6b75" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RedeemableNoncontrollingInterestEquityCarryingAmount"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/MasterLimitedPartnershipTables" xlink:type="simple" xlink:href="mpc-20260930.xsd#MasterLimitedPartnershipTables"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/MasterLimitedPartnershipTables" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestLineItems_019fd838-2f8b-7140-a839-cf24c2c9cc1b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MinorityInterestLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestTable_019fd838-2f8b-776a-aaf6-1f04cf60755f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MinorityInterestTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_MinorityInterestLineItems_019fd838-2f8b-7140-a839-cf24c2c9cc1b" xlink:to="loc_us-gaap_MinorityInterestTable_019fd838-2f8b-776a-aaf6-1f04cf60755f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_019fd838-2f8b-7c3c-ac2c-60bcb8d2149e" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_MinorityInterestTable_019fd838-2f8b-776a-aaf6-1f04cf60755f" xlink:to="loc_srt_ConsolidatedEntitiesAxis_019fd838-2f8b-7c3c-ac2c-60bcb8d2149e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_019fd838-2f8b-7c3c-ac2c-60bcb8d2149e_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_019fd838-2f8b-7c3c-ac2c-60bcb8d2149e" xlink:to="loc_srt_ConsolidatedEntitiesDomain_019fd838-2f8b-7c3c-ac2c-60bcb8d2149e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_019fd838-2f8b-78e6-85de-6cf72d95ed2b" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_019fd838-2f8b-7c3c-ac2c-60bcb8d2149e" xlink:to="loc_srt_ConsolidatedEntitiesDomain_019fd838-2f8b-78e6-85de-6cf72d95ed2b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SubsidiariesMember_019fd838-2f8b-7825-99b9-aec1eb7cb635" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_SubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_019fd838-2f8b-78e6-85de-6cf72d95ed2b" xlink:to="loc_srt_SubsidiariesMember_019fd838-2f8b-7825-99b9-aec1eb7cb635" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfTreasuryStockByClassTextBlock_019fd838-2f8b-7559-9879-11fc816a774b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfTreasuryStockByClassTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_019fd838-2f8b-7140-a839-cf24c2c9cc1b" xlink:to="loc_us-gaap_ScheduleOfTreasuryStockByClassTextBlock_019fd838-2f8b-7559-9879-11fc816a774b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestEffectsOfChangesNetTextBlock_019fd838-2f8b-7a27-8705-34d6029b6079" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestEffectsOfChangesNetTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_019fd838-2f8b-7140-a839-cf24c2c9cc1b" xlink:to="loc_us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestEffectsOfChangesNetTextBlock_019fd838-2f8b-7a27-8705-34d6029b6079" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/AcquisitionsandOtherTransactionsTables" xlink:type="simple" xlink:href="mpc-20260930.xsd#AcquisitionsandOtherTransactionsTables"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/AcquisitionsandOtherTransactionsTables" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-76ed-b599-542118d446b0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8b-797d-b7b1-f825ba36d937" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-76ed-b599-542118d446b0" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8b-797d-b7b1-f825ba36d937" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_019fd838-2f8b-7fd1-9125-41d9184345d1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8b-797d-b7b1-f825ba36d937" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_019fd838-2f8b-7fd1-9125-41d9184345d1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8b-7fd1-9125-41d9184345d1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019fd838-2f8b-7fd1-9125-41d9184345d1" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8b-7fd1-9125-41d9184345d1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8b-7a7c-8519-40e0ac0eef57" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019fd838-2f8b-7fd1-9125-41d9184345d1" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8b-7a7c-8519-40e0ac0eef57" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_NorthwindMidstreamAcquisitionMember_019fd838-2f8b-7f0a-9d50-7ed8aed52a3a" xlink:href="mpc-20260930.xsd#mpc_NorthwindMidstreamAcquisitionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8b-7a7c-8519-40e0ac0eef57" xlink:to="loc_mpc_NorthwindMidstreamAcquisitionMember_019fd838-2f8b-7f0a-9d50-7ed8aed52a3a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_BANGLLLCAcquisitionMember_019fd838-2f8b-741f-90c2-855b7f7fcb99" xlink:href="mpc-20260930.xsd#mpc_BANGLLLCAcquisitionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8b-7a7c-8519-40e0ac0eef57" xlink:to="loc_mpc_BANGLLLCAcquisitionMember_019fd838-2f8b-741f-90c2-855b7f7fcb99" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_ScheduleOfBusinessCombinationConsiderationTableTextBlock_019fd838-2f8b-7826-8be5-63c9b39ea444" xlink:href="mpc-20260930.xsd#mpc_ScheduleOfBusinessCombinationConsiderationTableTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-76ed-b599-542118d446b0" xlink:to="loc_mpc_ScheduleOfBusinessCombinationConsiderationTableTextBlock_019fd838-2f8b-7826-8be5-63c9b39ea444" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock_019fd838-2f8b-71c5-b0eb-0ec68759d2a3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-76ed-b599-542118d446b0" xlink:to="loc_us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock_019fd838-2f8b-71c5-b0eb-0ec68759d2a3" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/MasterLimitedPartnershipDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#MasterLimitedPartnershipDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/MasterLimitedPartnershipDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestLineItems_019fd838-2f8b-76ff-9cb1-9c8fa87395bf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MinorityInterestLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestTable_019fd838-2f8b-7a78-b4d7-4583d0bc4b88" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MinorityInterestTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_MinorityInterestLineItems_019fd838-2f8b-76ff-9cb1-9c8fa87395bf" xlink:to="loc_us-gaap_MinorityInterestTable_019fd838-2f8b-7a78-b4d7-4583d0bc4b88" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipAxis_019fd838-2f8b-7270-944d-832775dbb529" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_OwnershipAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_MinorityInterestTable_019fd838-2f8b-7a78-b4d7-4583d0bc4b88" xlink:to="loc_srt_OwnershipAxis_019fd838-2f8b-7270-944d-832775dbb529" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipDomain_019fd838-2f8b-7270-944d-832775dbb529_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_OwnershipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_OwnershipAxis_019fd838-2f8b-7270-944d-832775dbb529" xlink:to="loc_srt_OwnershipDomain_019fd838-2f8b-7270-944d-832775dbb529_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipDomain_019fd838-2f8b-780c-a1c7-223e62a07a15" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_OwnershipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_OwnershipAxis_019fd838-2f8b-7270-944d-832775dbb529" xlink:to="loc_srt_OwnershipDomain_019fd838-2f8b-780c-a1c7-223e62a07a15" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_MPLXLPMember_019fd838-2f8b-7568-a76e-98106f3bdbac" xlink:href="mpc-20260930.xsd#mpc_MPLXLPMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_OwnershipDomain_019fd838-2f8b-780c-a1c7-223e62a07a15" xlink:to="loc_mpc_MPLXLPMember_019fd838-2f8b-7568-a76e-98106f3bdbac" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_019fd838-2f8b-7cce-8569-cb6cc5c7e9cc" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_MinorityInterestTable_019fd838-2f8b-7a78-b4d7-4583d0bc4b88" xlink:to="loc_dei_LegalEntityAxis_019fd838-2f8b-7cce-8569-cb6cc5c7e9cc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019fd838-2f8b-7cce-8569-cb6cc5c7e9cc_default" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_019fd838-2f8b-7cce-8569-cb6cc5c7e9cc" xlink:to="loc_dei_EntityDomain_019fd838-2f8b-7cce-8569-cb6cc5c7e9cc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019fd838-2f8b-7cf7-a714-590fc8a48c42" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_019fd838-2f8b-7cce-8569-cb6cc5c7e9cc" xlink:to="loc_dei_EntityDomain_019fd838-2f8b-7cf7-a714-590fc8a48c42" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_MarathonPetroleumCorporationMember_019fd838-2f8b-7813-9e4e-44b48b024362" xlink:href="mpc-20260930.xsd#mpc_MarathonPetroleumCorporationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_019fd838-2f8b-7cf7-a714-590fc8a48c42" xlink:to="loc_mpc_MarathonPetroleumCorporationMember_019fd838-2f8b-7813-9e4e-44b48b024362" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestOwnershipPercentageByParent_019fd838-2f8b-77d6-986f-f5e08a6d0214" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MinorityInterestOwnershipPercentageByParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_019fd838-2f8b-76ff-9cb1-9c8fa87395bf" xlink:to="loc_us-gaap_MinorityInterestOwnershipPercentageByParent_019fd838-2f8b-77d6-986f-f5e08a6d0214" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/MasterLimitedPartnershipUnitRepurchaseProgramDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#MasterLimitedPartnershipUnitRepurchaseProgramDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/MasterLimitedPartnershipUnitRepurchaseProgramDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_019fd838-2f8b-70e2-9276-83a9922a6410" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ShareRepurchaseProgramTable_019fd838-2f8b-711d-8629-9023523ebb79" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ShareRepurchaseProgramTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-70e2-9276-83a9922a6410" xlink:to="loc_srt_ShareRepurchaseProgramTable_019fd838-2f8b-711d-8629-9023523ebb79" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_019fd838-2f8b-7801-a143-ccf59ff57670" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_ShareRepurchaseProgramTable_019fd838-2f8b-711d-8629-9023523ebb79" xlink:to="loc_srt_ConsolidatedEntitiesAxis_019fd838-2f8b-7801-a143-ccf59ff57670" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_019fd838-2f8b-7801-a143-ccf59ff57670_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_019fd838-2f8b-7801-a143-ccf59ff57670" xlink:to="loc_srt_ConsolidatedEntitiesDomain_019fd838-2f8b-7801-a143-ccf59ff57670_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_019fd838-2f8b-73eb-ad14-a32c4f605c5e" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_019fd838-2f8b-7801-a143-ccf59ff57670" xlink:to="loc_srt_ConsolidatedEntitiesDomain_019fd838-2f8b-73eb-ad14-a32c4f605c5e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SubsidiariesMember_019fd838-2f8b-7581-8d64-1d378ea64294" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_SubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_019fd838-2f8b-73eb-ad14-a32c4f605c5e" xlink:to="loc_srt_SubsidiariesMember_019fd838-2f8b-7581-8d64-1d378ea64294" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ShareRepurchaseProgramAxis_019fd838-2f8b-7490-ba33-553c5232c47d" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ShareRepurchaseProgramAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_ShareRepurchaseProgramTable_019fd838-2f8b-711d-8629-9023523ebb79" xlink:to="loc_srt_ShareRepurchaseProgramAxis_019fd838-2f8b-7490-ba33-553c5232c47d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ShareRepurchaseProgramDomain_019fd838-2f8b-7490-ba33-553c5232c47d_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ShareRepurchaseProgramDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ShareRepurchaseProgramAxis_019fd838-2f8b-7490-ba33-553c5232c47d" xlink:to="loc_srt_ShareRepurchaseProgramDomain_019fd838-2f8b-7490-ba33-553c5232c47d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ShareRepurchaseProgramDomain_019fd838-2f8b-741e-a79d-f300f5b2da09" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ShareRepurchaseProgramDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ShareRepurchaseProgramAxis_019fd838-2f8b-7490-ba33-553c5232c47d" xlink:to="loc_srt_ShareRepurchaseProgramDomain_019fd838-2f8b-741e-a79d-f300f5b2da09" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_ShareRepurchaseAuthorizationAugust2025Member_019fd838-2f8b-76bb-a6e1-13eb52afb0e1" xlink:href="mpc-20260930.xsd#mpc_ShareRepurchaseAuthorizationAugust2025Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ShareRepurchaseProgramDomain_019fd838-2f8b-741e-a79d-f300f5b2da09" xlink:to="loc_mpc_ShareRepurchaseAuthorizationAugust2025Member_019fd838-2f8b-76bb-a6e1-13eb52afb0e1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StockRepurchaseProgramAuthorizedAmount1_019fd838-2f8b-79d3-b0a8-05626df847b3" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_StockRepurchaseProgramAuthorizedAmount1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-70e2-9276-83a9922a6410" xlink:to="loc_srt_StockRepurchaseProgramAuthorizedAmount1_019fd838-2f8b-79d3-b0a8-05626df847b3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_019fd838-2f8b-79a2-afaf-4cd14c3a7ba8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-70e2-9276-83a9922a6410" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_019fd838-2f8b-79a2-afaf-4cd14c3a7ba8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_019fd838-2f8b-71b3-b4ee-f100cf5fc6b3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-70e2-9276-83a9922a6410" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_019fd838-2f8b-71b3-b4ee-f100cf5fc6b3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_019fd838-2f8b-708d-9c2b-94342f3a069f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockAcquiredAverageCostPerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-70e2-9276-83a9922a6410" xlink:to="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_019fd838-2f8b-708d-9c2b-94342f3a069f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_019fd838-2f8b-7b63-a99b-fcce7ed4ac83" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-70e2-9276-83a9922a6410" xlink:to="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_019fd838-2f8b-7b63-a99b-fcce7ed4ac83" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/MasterLimitedPartnershipNoncontrollingInterestDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#MasterLimitedPartnershipNoncontrollingInterestDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/MasterLimitedPartnershipNoncontrollingInterestDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_019fd838-2f8b-72cb-8208-dc468e24404a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestTable_019fd838-2f8b-704d-9a89-a30dcdfb92de" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MinorityInterestTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-72cb-8208-dc468e24404a" xlink:to="loc_us-gaap_MinorityInterestTable_019fd838-2f8b-704d-9a89-a30dcdfb92de" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_019fd838-2f8b-75ac-9b40-42184d4a298a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_MinorityInterestTable_019fd838-2f8b-704d-9a89-a30dcdfb92de" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_019fd838-2f8b-75ac-9b40-42184d4a298a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-75ac-9b40-42184d4a298a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019fd838-2f8b-75ac-9b40-42184d4a298a" xlink:to="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-75ac-9b40-42184d4a298a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-79c7-9740-1054a66fc21c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019fd838-2f8b-75ac-9b40-42184d4a298a" xlink:to="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-79c7-9740-1054a66fc21c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_019fd838-2f8b-71f3-b516-8aae96f9e1e0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019fd838-2f8b-79c7-9740-1054a66fc21c" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_019fd838-2f8b-71f3-b516-8aae96f9e1e0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestChangesIssuanceOfEquityBySubsidiaryToNoncontrollingInterests_019fd838-2f8b-75f3-bac5-2156971ff879" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestChangesIssuanceOfEquityBySubsidiaryToNoncontrollingInterests"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-72cb-8208-dc468e24404a" xlink:to="loc_us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestChangesIssuanceOfEquityBySubsidiaryToNoncontrollingInterests_019fd838-2f8b-75f3-bac5-2156971ff879" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipChangesTaxImpact_019fd838-2f8b-718a-853e-c2ec856fb501" xlink:href="mpc-20260930.xsd#mpc_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipChangesTaxImpact"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-72cb-8208-dc468e24404a" xlink:to="loc_mpc_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipChangesTaxImpact_019fd838-2f8b-718a-853e-c2ec856fb501" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestChangesNet_019fd838-2f8b-722a-b78f-29e244088bb3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestChangesNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-2f8b-72cb-8208-dc468e24404a" xlink:to="loc_us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestChangesNet_019fd838-2f8b-722a-b78f-29e244088bb3" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/AcquisitionsandOtherTransactionsNorthwindMidstreamDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#AcquisitionsandOtherTransactionsNorthwindMidstreamDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/AcquisitionsandOtherTransactionsNorthwindMidstreamDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-729b-891b-17e2c7513fa7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8b-7cdf-96db-6ad39da1ede3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-729b-891b-17e2c7513fa7" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8b-7cdf-96db-6ad39da1ede3" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_019fd838-2f8b-71c0-b09e-07f7bfe298d9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8b-7cdf-96db-6ad39da1ede3" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_019fd838-2f8b-71c0-b09e-07f7bfe298d9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8b-71c0-b09e-07f7bfe298d9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019fd838-2f8b-71c0-b09e-07f7bfe298d9" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8b-71c0-b09e-07f7bfe298d9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8b-7ba7-90a3-e047568c356b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019fd838-2f8b-71c0-b09e-07f7bfe298d9" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8b-7ba7-90a3-e047568c356b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_NorthwindMidstreamAcquisitionMember_019fd838-2f8b-71c4-8e01-329f434773e9" xlink:href="mpc-20260930.xsd#mpc_NorthwindMidstreamAcquisitionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8b-7ba7-90a3-e047568c356b" xlink:to="loc_mpc_NorthwindMidstreamAcquisitionMember_019fd838-2f8b-71c4-8e01-329f434773e9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_019fd838-2f8b-7e89-8944-59d9994935f3" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8b-7cdf-96db-6ad39da1ede3" xlink:to="loc_srt_ConsolidatedEntitiesAxis_019fd838-2f8b-7e89-8944-59d9994935f3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_019fd838-2f8b-7e89-8944-59d9994935f3_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_019fd838-2f8b-7e89-8944-59d9994935f3" xlink:to="loc_srt_ConsolidatedEntitiesDomain_019fd838-2f8b-7e89-8944-59d9994935f3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_019fd838-2f8b-7526-a4c4-152bb0f8bb07" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_019fd838-2f8b-7e89-8944-59d9994935f3" xlink:to="loc_srt_ConsolidatedEntitiesDomain_019fd838-2f8b-7526-a4c4-152bb0f8bb07" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SubsidiariesMember_019fd838-2f8b-7ce1-af34-8680c7442ca9" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_SubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_019fd838-2f8b-7526-a4c4-152bb0f8bb07" xlink:to="loc_srt_SubsidiariesMember_019fd838-2f8b-7ce1-af34-8680c7442ca9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019fd838-2f8b-76a5-ad35-e946c90e9a1c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8b-7cdf-96db-6ad39da1ede3" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019fd838-2f8b-76a5-ad35-e946c90e9a1c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019fd838-2f8b-76a5-ad35-e946c90e9a1c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019fd838-2f8b-76a5-ad35-e946c90e9a1c" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019fd838-2f8b-76a5-ad35-e946c90e9a1c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019fd838-2f8b-7b2a-956e-36a54739e46f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019fd838-2f8b-76a5-ad35-e946c90e9a1c" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019fd838-2f8b-7b2a-956e-36a54739e46f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_019fd838-2f8b-7748-bad1-a074e33e84e1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019fd838-2f8b-7b2a-956e-36a54739e46f" xlink:to="loc_us-gaap_SeniorNotesMember_019fd838-2f8b-7748-bad1-a074e33e84e1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-2f8b-7589-a7a2-173704358979" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8b-7cdf-96db-6ad39da1ede3" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-2f8b-7589-a7a2-173704358979" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019fd838-2f8b-7589-a7a2-173704358979_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-2f8b-7589-a7a2-173704358979" xlink:to="loc_us-gaap_SegmentDomain_019fd838-2f8b-7589-a7a2-173704358979_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019fd838-2f8b-7077-83fb-4e2593ea8513" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-2f8b-7589-a7a2-173704358979" xlink:to="loc_us-gaap_SegmentDomain_019fd838-2f8b-7077-83fb-4e2593ea8513" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_MidstreamMember_019fd838-2f8b-7c03-90bf-1dfcef069adf" xlink:href="mpc-20260930.xsd#mpc_MidstreamMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019fd838-2f8b-7077-83fb-4e2593ea8513" xlink:to="loc_mpc_MidstreamMember_019fd838-2f8b-7c03-90bf-1dfcef069adf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_019fd838-2f8b-7377-a475-06f0e2e69bab" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-729b-891b-17e2c7513fa7" xlink:to="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_019fd838-2f8b-7377-a475-06f0e2e69bab" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_019fd838-2f8b-7465-bf4a-227f83fdd548" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireBusinessesGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-729b-891b-17e2c7513fa7" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_019fd838-2f8b-7465-bf4a-227f83fdd548" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_019fd838-2f8b-707f-b9e2-4279234896e3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-729b-891b-17e2c7513fa7" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_019fd838-2f8b-707f-b9e2-4279234896e3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_019fd838-2f8b-7f55-bf10-b67355dfddba" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-729b-891b-17e2c7513fa7" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_019fd838-2f8b-7f55-bf10-b67355dfddba" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019fd838-2f8b-77c3-85b0-50bb004c9eda" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-729b-891b-17e2c7513fa7" xlink:to="loc_us-gaap_Goodwill_019fd838-2f8b-77c3-85b0-50bb004c9eda" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/AcquisitionsandOtherTransactionsNorthwindMidstreamAssetsAcquiredandLiabilitiesAssumedDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#AcquisitionsandOtherTransactionsNorthwindMidstreamAssetsAcquiredandLiabilitiesAssumedDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/AcquisitionsandOtherTransactionsNorthwindMidstreamAssetsAcquiredandLiabilitiesAssumedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-7c4b-88b1-62aae0d64a4e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8b-7dff-9fe7-072340f3beba" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-7c4b-88b1-62aae0d64a4e" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8b-7dff-9fe7-072340f3beba" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_019fd838-2f8b-7f41-8d4d-b4b7b00e0ff2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8b-7dff-9fe7-072340f3beba" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_019fd838-2f8b-7f41-8d4d-b4b7b00e0ff2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8b-7f41-8d4d-b4b7b00e0ff2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019fd838-2f8b-7f41-8d4d-b4b7b00e0ff2" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8b-7f41-8d4d-b4b7b00e0ff2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8b-7744-998c-8e50508876d8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019fd838-2f8b-7f41-8d4d-b4b7b00e0ff2" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8b-7744-998c-8e50508876d8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_NorthwindMidstreamAcquisitionMember_019fd838-2f8b-7514-ab12-64884de5f3b2" xlink:href="mpc-20260930.xsd#mpc_NorthwindMidstreamAcquisitionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8b-7744-998c-8e50508876d8" xlink:to="loc_mpc_NorthwindMidstreamAcquisitionMember_019fd838-2f8b-7514-ab12-64884de5f3b2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RestatementAxis_019fd838-2f8b-7f7b-8fee-e3099b47f80d" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RestatementAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8b-7dff-9fe7-072340f3beba" xlink:to="loc_srt_RestatementAxis_019fd838-2f8b-7f7b-8fee-e3099b47f80d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RestatementDomain_019fd838-2f8b-7f7b-8fee-e3099b47f80d_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RestatementDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RestatementAxis_019fd838-2f8b-7f7b-8fee-e3099b47f80d" xlink:to="loc_srt_RestatementDomain_019fd838-2f8b-7f7b-8fee-e3099b47f80d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RestatementDomain_019fd838-2f8b-78f3-ac10-f27db51cc5e7" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RestatementDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RestatementAxis_019fd838-2f8b-7f7b-8fee-e3099b47f80d" xlink:to="loc_srt_RestatementDomain_019fd838-2f8b-78f3-ac10-f27db51cc5e7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioPreviouslyReportedMember_019fd838-2f8b-73b3-801d-d045fad5c010" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ScenarioPreviouslyReportedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RestatementDomain_019fd838-2f8b-78f3-ac10-f27db51cc5e7" xlink:to="loc_srt_ScenarioPreviouslyReportedMember_019fd838-2f8b-73b3-801d-d045fad5c010" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RestatementAdjustmentMember_019fd838-2f8b-7175-97de-36937d7db9ce" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RestatementAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RestatementDomain_019fd838-2f8b-78f3-ac10-f27db51cc5e7" xlink:to="loc_srt_RestatementAdjustmentMember_019fd838-2f8b-7175-97de-36937d7db9ce" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract_019fd838-2f8b-70ab-bccc-6972163abb14" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-7c4b-88b1-62aae0d64a4e" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract_019fd838-2f8b-70ab-bccc-6972163abb14" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_019fd838-2f8b-7ebf-bfb5-721777d5ce9b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract_019fd838-2f8b-70ab-bccc-6972163abb14" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_019fd838-2f8b-7ebf-bfb5-721777d5ce9b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_019fd838-2f8b-7332-ac6a-ef0da02e63a5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract_019fd838-2f8b-70ab-bccc-6972163abb14" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_019fd838-2f8b-7332-ac6a-ef0da02e63a5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_019fd838-2f8b-7cf0-9f02-aa275a24c38c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract_019fd838-2f8b-70ab-bccc-6972163abb14" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_019fd838-2f8b-7cf0-9f02-aa275a24c38c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_019fd838-2f8b-7433-b4d3-836dc342f53e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract_019fd838-2f8b-70ab-bccc-6972163abb14" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_019fd838-2f8b-7433-b4d3-836dc342f53e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_019fd838-2f8b-749a-971b-289872fde5f3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract_019fd838-2f8b-70ab-bccc-6972163abb14" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_019fd838-2f8b-749a-971b-289872fde5f3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_019fd838-2f8b-7a04-9a15-1d2af2ddaa7d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract_019fd838-2f8b-70ab-bccc-6972163abb14" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_019fd838-2f8b-7a04-9a15-1d2af2ddaa7d" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_019fd838-2f8b-7b71-8721-8f318a0e233e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract_019fd838-2f8b-70ab-bccc-6972163abb14" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_019fd838-2f8b-7b71-8721-8f318a0e233e" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesAbstract_019fd838-2f8b-7354-9015-c40b5532610d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-7c4b-88b1-62aae0d64a4e" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesAbstract_019fd838-2f8b-7354-9015-c40b5532610d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_019fd838-2f8b-7acd-a8fe-d1b474a2e6f9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesAbstract_019fd838-2f8b-7354-9015-c40b5532610d" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_019fd838-2f8b-7acd-a8fe-d1b474a2e6f9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther_019fd838-2f8b-79f8-9000-5b401bbeeeca" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesAbstract_019fd838-2f8b-7354-9015-c40b5532610d" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther_019fd838-2f8b-79f8-9000-5b401bbeeeca" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_BusinessCombinationRecognizedLiabilityAssumedOperatingLeaseLiabilityLongTerm_019fd838-2f8b-7d64-9e96-8745b8a67743" xlink:href="mpc-20260930.xsd#mpc_BusinessCombinationRecognizedLiabilityAssumedOperatingLeaseLiabilityLongTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesAbstract_019fd838-2f8b-7354-9015-c40b5532610d" xlink:to="loc_mpc_BusinessCombinationRecognizedLiabilityAssumedOperatingLeaseLiabilityLongTerm_019fd838-2f8b-7d64-9e96-8745b8a67743" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_019fd838-2f8b-76a3-ad4c-37c32a5b50f6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesAbstract_019fd838-2f8b-7354-9015-c40b5532610d" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_019fd838-2f8b-76a3-ad4c-37c32a5b50f6" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_019fd838-2f8b-717c-812d-2b6591b23cbe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-7c4b-88b1-62aae0d64a4e" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_019fd838-2f8b-717c-812d-2b6591b23cbe" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019fd838-2f8b-736d-a5ce-9e4af0a244dd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-7c4b-88b1-62aae0d64a4e" xlink:to="loc_us-gaap_Goodwill_019fd838-2f8b-736d-a5ce-9e4af0a244dd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_019fd838-2f8b-707a-a193-e65f3b921016" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-7c4b-88b1-62aae0d64a4e" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_019fd838-2f8b-707a-a193-e65f3b921016" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/AcquisitionsandOtherTransactionsAnnouncedDivestitureofRockiesOperationsDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#AcquisitionsandOtherTransactionsAnnouncedDivestitureofRockiesOperationsDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/AcquisitionsandOtherTransactionsAnnouncedDivestitureofRockiesOperationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_019fd838-2f8b-7a09-bbdf-353e2c3ff06e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_019fd838-2f8b-7603-8c71-9fc565aeda29" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_019fd838-2f8b-7a09-bbdf-353e2c3ff06e" xlink:to="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_019fd838-2f8b-7603-8c71-9fc565aeda29" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupClassificationAxis_019fd838-2f8b-7270-8e27-7d050b2ceee8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisposalGroupClassificationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_019fd838-2f8b-7603-8c71-9fc565aeda29" xlink:to="loc_us-gaap_DisposalGroupClassificationAxis_019fd838-2f8b-7270-8e27-7d050b2ceee8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_019fd838-2f8b-7270-8e27-7d050b2ceee8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisposalGroupClassificationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_019fd838-2f8b-7270-8e27-7d050b2ceee8" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_019fd838-2f8b-7270-8e27-7d050b2ceee8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_019fd838-2f8b-76ea-a542-5ae5d80bd181" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisposalGroupClassificationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_019fd838-2f8b-7270-8e27-7d050b2ceee8" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_019fd838-2f8b-76ea-a542-5ae5d80bd181" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupNotDiscontinuedOperationsMember_019fd838-2f8b-7da4-87b6-4a2266270aec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisposalGroupNotDiscontinuedOperationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupClassificationDomain_019fd838-2f8b-76ea-a542-5ae5d80bd181" xlink:to="loc_us-gaap_DisposalGroupNotDiscontinuedOperationsMember_019fd838-2f8b-7da4-87b6-4a2266270aec" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_019fd838-2f8b-731e-9756-c4134afc0264" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_019fd838-2f8b-7603-8c71-9fc565aeda29" xlink:to="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_019fd838-2f8b-731e-9756-c4134afc0264" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_019fd838-2f8b-731e-9756-c4134afc0264_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_019fd838-2f8b-731e-9756-c4134afc0264" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_019fd838-2f8b-731e-9756-c4134afc0264_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_019fd838-2f8b-7514-80e2-802a8e65e267" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_019fd838-2f8b-731e-9756-c4134afc0264" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_019fd838-2f8b-7514-80e2-802a8e65e267" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_RockiesOperationsMember_019fd838-2f8b-7a41-ad89-522d824ba2a0" xlink:href="mpc-20260930.xsd#mpc_RockiesOperationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_019fd838-2f8b-7514-80e2-802a8e65e267" xlink:to="loc_mpc_RockiesOperationsMember_019fd838-2f8b-7a41-ad89-522d824ba2a0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationConsideration_019fd838-2f8b-7aca-9749-b5dde0d9550e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationConsideration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_019fd838-2f8b-7a09-bbdf-353e2c3ff06e" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationConsideration_019fd838-2f8b-7aca-9749-b5dde0d9550e" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/AcquisitionsandOtherTransactionsSaleofInterestinEthanolJointVentureDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#AcquisitionsandOtherTransactionsSaleofInterestinEthanolJointVentureDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/AcquisitionsandOtherTransactionsSaleofInterestinEthanolJointVentureDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-7d99-a86a-f4dc05128f02" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8b-7ca1-89da-423f2b6fe095" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-7d99-a86a-f4dc05128f02" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8b-7ca1-89da-423f2b6fe095" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_019fd838-2f8b-76ac-9a91-849c33c6828f" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8b-7ca1-89da-423f2b6fe095" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_019fd838-2f8b-76ac-9a91-849c33c6828f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_019fd838-2f8b-76ac-9a91-849c33c6828f_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_019fd838-2f8b-76ac-9a91-849c33c6828f" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_019fd838-2f8b-76ac-9a91-849c33c6828f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_019fd838-2f8b-77d9-815f-ab8c4fdd4eee" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_019fd838-2f8b-76ac-9a91-849c33c6828f" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_019fd838-2f8b-77d9-815f-ab8c4fdd4eee" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_TheAndersonsMarathonHoldingsLLCMember_019fd838-2f8b-7e1d-a1e5-989ec0fcfb5d" xlink:href="mpc-20260930.xsd#mpc_TheAndersonsMarathonHoldingsLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_019fd838-2f8b-77d9-815f-ab8c4fdd4eee" xlink:to="loc_mpc_TheAndersonsMarathonHoldingsLLCMember_019fd838-2f8b-7e1d-a1e5-989ec0fcfb5d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockPercentageOfOwnershipBeforeTransaction_019fd838-2f8b-757f-8f55-f2ccc7437792" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SaleOfStockPercentageOfOwnershipBeforeTransaction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-7d99-a86a-f4dc05128f02" xlink:to="loc_us-gaap_SaleOfStockPercentageOfOwnershipBeforeTransaction_019fd838-2f8b-757f-8f55-f2ccc7437792" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfEquityMethodInvestments_019fd838-2f8b-7686-b896-3e528a883b7c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfEquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-7d99-a86a-f4dc05128f02" xlink:to="loc_us-gaap_ProceedsFromSaleOfEquityMethodInvestments_019fd838-2f8b-7686-b896-3e528a883b7c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_019fd838-2f8b-74fb-8eda-97fe152348e5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-7d99-a86a-f4dc05128f02" xlink:to="loc_us-gaap_EquityMethodInvestments_019fd838-2f8b-74fb-8eda-97fe152348e5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfStockInSubsidiaryOrEquityMethodInvestee_01a17d87-9609-7c4a-af34-ed90859280c4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnSaleOfStockInSubsidiaryOrEquityMethodInvestee"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-7d99-a86a-f4dc05128f02" xlink:to="loc_us-gaap_GainLossOnSaleOfStockInSubsidiaryOrEquityMethodInvestee_01a17d87-9609-7c4a-af34-ed90859280c4" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/AcquisitionsandOtherTransactionsBANGLLLCAcquisitionDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#AcquisitionsandOtherTransactionsBANGLLLCAcquisitionDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/AcquisitionsandOtherTransactionsBANGLLLCAcquisitionDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-726f-9134-f91a08bf59a1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8b-79ea-ba17-b7a083e9903e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-726f-9134-f91a08bf59a1" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8b-79ea-ba17-b7a083e9903e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_019fd838-2f8b-7315-9440-efae56287053" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8b-79ea-ba17-b7a083e9903e" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_019fd838-2f8b-7315-9440-efae56287053" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_019fd838-2f8b-7315-9440-efae56287053_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_019fd838-2f8b-7315-9440-efae56287053" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_019fd838-2f8b-7315-9440-efae56287053_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_019fd838-2f8b-70ab-b711-2acb48c729b2" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_019fd838-2f8b-7315-9440-efae56287053" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_019fd838-2f8b-70ab-b711-2acb48c729b2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_BANGLLLCMember_019fd838-2f8b-7e46-a63e-3e192ff35650" xlink:href="mpc-20260930.xsd#mpc_BANGLLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_019fd838-2f8b-70ab-b711-2acb48c729b2" xlink:to="loc_mpc_BANGLLLCMember_019fd838-2f8b-7e46-a63e-3e192ff35650" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_019fd838-2f8b-76aa-b0ee-82bbe59f3544" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8b-79ea-ba17-b7a083e9903e" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_019fd838-2f8b-76aa-b0ee-82bbe59f3544" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8b-76aa-b0ee-82bbe59f3544_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019fd838-2f8b-76aa-b0ee-82bbe59f3544" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8b-76aa-b0ee-82bbe59f3544_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8b-7fa4-b8e0-a1e03d63d2cb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019fd838-2f8b-76aa-b0ee-82bbe59f3544" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8b-7fa4-b8e0-a1e03d63d2cb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_BANGLLLCAcquisitionMember_019fd838-2f8b-70ad-b7df-0896d71fd9f3" xlink:href="mpc-20260930.xsd#mpc_BANGLLLCAcquisitionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8b-7fa4-b8e0-a1e03d63d2cb" xlink:to="loc_mpc_BANGLLLCAcquisitionMember_019fd838-2f8b-70ad-b7df-0896d71fd9f3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipAxis_019fd838-2f8b-7776-a220-fa4fb6b9f2ec" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_OwnershipAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8b-79ea-ba17-b7a083e9903e" xlink:to="loc_srt_OwnershipAxis_019fd838-2f8b-7776-a220-fa4fb6b9f2ec" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipDomain_019fd838-2f8b-7776-a220-fa4fb6b9f2ec_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_OwnershipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_OwnershipAxis_019fd838-2f8b-7776-a220-fa4fb6b9f2ec" xlink:to="loc_srt_OwnershipDomain_019fd838-2f8b-7776-a220-fa4fb6b9f2ec_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipDomain_019fd838-2f8b-71b3-89b7-609ecd4d8ca4" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_OwnershipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_OwnershipAxis_019fd838-2f8b-7776-a220-fa4fb6b9f2ec" xlink:to="loc_srt_OwnershipDomain_019fd838-2f8b-71b3-89b7-609ecd4d8ca4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_019fd838-2f8b-7988-93f0-0c772abe4cdb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8b-79ea-ba17-b7a083e9903e" xlink:to="loc_us-gaap_StatementClassOfStockAxis_019fd838-2f8b-7988-93f0-0c772abe4cdb" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_019fd838-2f8b-7988-93f0-0c772abe4cdb_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_019fd838-2f8b-7988-93f0-0c772abe4cdb" xlink:to="loc_us-gaap_ClassOfStockDomain_019fd838-2f8b-7988-93f0-0c772abe4cdb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_019fd838-2f8b-7512-b4ed-1fc69fb1d311" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_019fd838-2f8b-7988-93f0-0c772abe4cdb" xlink:to="loc_us-gaap_ClassOfStockDomain_019fd838-2f8b-7512-b4ed-1fc69fb1d311" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationTechniqueAxis_019fd838-2f8b-72bc-8199-63abd1e5b266" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ValuationTechniqueAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8b-79ea-ba17-b7a083e9903e" xlink:to="loc_us-gaap_ValuationTechniqueAxis_019fd838-2f8b-72bc-8199-63abd1e5b266" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationTechniqueDomain_019fd838-2f8b-72bc-8199-63abd1e5b266_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ValuationTechniqueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ValuationTechniqueAxis_019fd838-2f8b-72bc-8199-63abd1e5b266" xlink:to="loc_us-gaap_ValuationTechniqueDomain_019fd838-2f8b-72bc-8199-63abd1e5b266_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationTechniqueDomain_019fd838-2f8b-7216-b857-1d3932d993e3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ValuationTechniqueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ValuationTechniqueAxis_019fd838-2f8b-72bc-8199-63abd1e5b266" xlink:to="loc_us-gaap_ValuationTechniqueDomain_019fd838-2f8b-7216-b857-1d3932d993e3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019fd838-2f8b-7634-bbbb-1760a33f9f10" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8b-79ea-ba17-b7a083e9903e" xlink:to="loc_srt_RangeAxis_019fd838-2f8b-7634-bbbb-1760a33f9f10" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019fd838-2f8b-7634-bbbb-1760a33f9f10_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019fd838-2f8b-7634-bbbb-1760a33f9f10" xlink:to="loc_srt_RangeMember_019fd838-2f8b-7634-bbbb-1760a33f9f10_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019fd838-2f8b-7159-b60c-fd8098e5f99f" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019fd838-2f8b-7634-bbbb-1760a33f9f10" xlink:to="loc_srt_RangeMember_019fd838-2f8b-7159-b60c-fd8098e5f99f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019fd838-2f8b-7434-bb04-e9f13267a7b2" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019fd838-2f8b-7159-b60c-fd8098e5f99f" xlink:to="loc_srt_MinimumMember_019fd838-2f8b-7434-bb04-e9f13267a7b2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019fd838-2f8b-7d81-bbc3-fbc1b348923f" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019fd838-2f8b-7159-b60c-fd8098e5f99f" xlink:to="loc_srt_MaximumMember_019fd838-2f8b-7d81-bbc3-fbc1b348923f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-2f8b-76f8-922e-b6def065cd40" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8b-79ea-ba17-b7a083e9903e" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-2f8b-76f8-922e-b6def065cd40" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019fd838-2f8b-76f8-922e-b6def065cd40_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-2f8b-76f8-922e-b6def065cd40" xlink:to="loc_us-gaap_SegmentDomain_019fd838-2f8b-76f8-922e-b6def065cd40_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019fd838-2f8b-7c43-88ec-1c856ac5af84" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-2f8b-76f8-922e-b6def065cd40" xlink:to="loc_us-gaap_SegmentDomain_019fd838-2f8b-7c43-88ec-1c856ac5af84" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_MidstreamMember_019fd838-2f8b-790b-8bc8-c921c707d2d2" xlink:href="mpc-20260930.xsd#mpc_MidstreamMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019fd838-2f8b-7c43-88ec-1c856ac5af84" xlink:to="loc_mpc_MidstreamMember_019fd838-2f8b-790b-8bc8-c921c707d2d2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_EquityMethodInvestmentAdditionalOwnershipAcquired_019fd838-2f8b-77e5-8311-697d598b316c" xlink:href="mpc-20260930.xsd#mpc_EquityMethodInvestmentAdditionalOwnershipAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-726f-9134-f91a08bf59a1" xlink:to="loc_mpc_EquityMethodInvestmentAdditionalOwnershipAcquired_019fd838-2f8b-77e5-8311-697d598b316c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_019fd838-2f8b-7108-83d6-ab7f319f53aa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireBusinessesGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-726f-9134-f91a08bf59a1" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_019fd838-2f8b-7108-83d6-ab7f319f53aa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh_019fd838-2f8b-7de5-820f-76ace44e57e5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-726f-9134-f91a08bf59a1" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh_019fd838-2f8b-7de5-820f-76ace44e57e5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfDebt_019fd838-2f8b-759e-96c8-c52a91de7f6a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-726f-9134-f91a08bf59a1" xlink:to="loc_us-gaap_RepaymentsOfDebt_019fd838-2f8b-759e-96c8-c52a91de7f6a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeRemeasurementGain_01a15fd6-bb14-7ae3-a3f8-e1e663b8941a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeRemeasurementGain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-726f-9134-f91a08bf59a1" xlink:to="loc_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeRemeasurementGain_01a15fd6-bb14-7ae3-a3f8-e1e663b8941a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AlternativeInvestmentMeasurementInput_019fd838-2f8b-7f43-a100-b8ed7ee7b069" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AlternativeInvestmentMeasurementInput"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-726f-9134-f91a08bf59a1" xlink:to="loc_us-gaap_AlternativeInvestmentMeasurementInput_019fd838-2f8b-7f43-a100-b8ed7ee7b069" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AlternativeInvestmentValuationTechniqueExtensibleList_019fd838-2f8b-7540-9f56-328c0eed410f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AlternativeInvestmentValuationTechniqueExtensibleList"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-726f-9134-f91a08bf59a1" xlink:to="loc_us-gaap_AlternativeInvestmentValuationTechniqueExtensibleList_019fd838-2f8b-7540-9f56-328c0eed410f" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_019fd838-2f8b-7a07-b678-8f78fa3546e5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-726f-9134-f91a08bf59a1" xlink:to="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_019fd838-2f8b-7a07-b678-8f78fa3546e5" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_019fd838-2f8b-7f7d-9ef0-0758988a9bed" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-726f-9134-f91a08bf59a1" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_019fd838-2f8b-7f7d-9ef0-0758988a9bed" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019fd838-2f8b-734e-a4f4-9765c00a04a8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-726f-9134-f91a08bf59a1" xlink:to="loc_us-gaap_Goodwill_019fd838-2f8b-734e-a4f4-9765c00a04a8" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_BusinessCombinationPurchasePriceAllocationGoodwillExpectedTaxDeductiblePercent_019fd838-2f8b-7076-a403-b931c4637106" xlink:href="mpc-20260930.xsd#mpc_BusinessCombinationPurchasePriceAllocationGoodwillExpectedTaxDeductiblePercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-726f-9134-f91a08bf59a1" xlink:to="loc_mpc_BusinessCombinationPurchasePriceAllocationGoodwillExpectedTaxDeductiblePercent_019fd838-2f8b-7076-a403-b931c4637106" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationAchievedInStagesPreacquisitionEquityInterestInAcquireeRemeasurementGainStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration_01a17e48-47ed-7eee-bf07-d671a22d4afd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationAchievedInStagesPreacquisitionEquityInterestInAcquireeRemeasurementGainStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-726f-9134-f91a08bf59a1" xlink:to="loc_us-gaap_BusinessCombinationAchievedInStagesPreacquisitionEquityInterestInAcquireeRemeasurementGainStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration_01a17e48-47ed-7eee-bf07-d671a22d4afd" xlink:type="arc" order="11"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/AcquisitionsandOtherTransactionsBANGLLLCAcquisitionsTotalConsiderationDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#AcquisitionsandOtherTransactionsBANGLLLCAcquisitionsTotalConsiderationDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/AcquisitionsandOtherTransactionsBANGLLLCAcquisitionsTotalConsiderationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-717c-989c-2c91b66decf1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8b-7217-b3fe-093dadda2232" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-717c-989c-2c91b66decf1" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8b-7217-b3fe-093dadda2232" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_019fd838-2f8b-7073-a6d8-eb2c5fc50e31" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8b-7217-b3fe-093dadda2232" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_019fd838-2f8b-7073-a6d8-eb2c5fc50e31" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8b-7073-a6d8-eb2c5fc50e31_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019fd838-2f8b-7073-a6d8-eb2c5fc50e31" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8b-7073-a6d8-eb2c5fc50e31_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8b-7df6-9aa6-a9956efa4226" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019fd838-2f8b-7073-a6d8-eb2c5fc50e31" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8b-7df6-9aa6-a9956efa4226" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_BANGLLLCAcquisitionMember_019fd838-2f8b-78d3-8566-5eb9458d7fb8" xlink:href="mpc-20260930.xsd#mpc_BANGLLLCAcquisitionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8b-7df6-9aa6-a9956efa4226" xlink:to="loc_mpc_BANGLLLCAcquisitionMember_019fd838-2f8b-78d3-8566-5eb9458d7fb8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_019fd838-2f8b-7b60-9fd2-fea92833a02a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireBusinessesGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-717c-989c-2c91b66decf1" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_019fd838-2f8b-7b60-9fd2-fea92833a02a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_BusinessCombinationFairValueOfContingentConsiderationAtAcquisitionDate_019fd838-2f8b-7f78-8541-430c175ebe48" xlink:href="mpc-20260930.xsd#mpc_BusinessCombinationFairValueOfContingentConsiderationAtAcquisitionDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-717c-989c-2c91b66decf1" xlink:to="loc_mpc_BusinessCombinationFairValueOfContingentConsiderationAtAcquisitionDate_019fd838-2f8b-7f78-8541-430c175ebe48" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_019fd838-2f8b-7a26-8cb2-f79fb50e7fd6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationConsiderationTransferred1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-717c-989c-2c91b66decf1" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_019fd838-2f8b-7a26-8cb2-f79fb50e7fd6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeFairValue1_019fd838-2f8c-7f52-bdb4-ea148dcae485" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeFairValue1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-717c-989c-2c91b66decf1" xlink:to="loc_us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeFairValue1_019fd838-2f8c-7f52-bdb4-ea148dcae485" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1_019fd838-2f8c-7f88-9857-6423f1e1afbd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8b-717c-989c-2c91b66decf1" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1_019fd838-2f8c-7f88-9857-6423f1e1afbd" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/AcquisitionsandOtherTransactionsBANGLLLCAcquisitionsAssetsandLiabilitiesPurchasedDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#AcquisitionsandOtherTransactionsBANGLLLCAcquisitionsAssetsandLiabilitiesPurchasedDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/AcquisitionsandOtherTransactionsBANGLLLCAcquisitionsAssetsandLiabilitiesPurchasedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8c-730d-beee-57540218773d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8c-7d44-8696-5fcf0da67235" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8c-730d-beee-57540218773d" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8c-7d44-8696-5fcf0da67235" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_019fd838-2f8c-71da-8a17-592d0b7e9a6e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8c-7d44-8696-5fcf0da67235" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_019fd838-2f8c-71da-8a17-592d0b7e9a6e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8c-71da-8a17-592d0b7e9a6e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019fd838-2f8c-71da-8a17-592d0b7e9a6e" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8c-71da-8a17-592d0b7e9a6e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8c-73bb-ba27-603de3e18a45" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019fd838-2f8c-71da-8a17-592d0b7e9a6e" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8c-73bb-ba27-603de3e18a45" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_BANGLLLCAcquisitionMember_019fd838-2f8c-75fd-b154-2a9b517a509d" xlink:href="mpc-20260930.xsd#mpc_BANGLLLCAcquisitionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8c-73bb-ba27-603de3e18a45" xlink:to="loc_mpc_BANGLLLCAcquisitionMember_019fd838-2f8c-75fd-b154-2a9b517a509d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract_019fd838-2f8c-736d-b4a3-0bc6569c07bc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8c-730d-beee-57540218773d" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract_019fd838-2f8c-736d-b4a3-0bc6569c07bc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_019fd838-2f8c-7f21-a639-eea577a9a6db" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract_019fd838-2f8c-736d-b4a3-0bc6569c07bc" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_019fd838-2f8c-7f21-a639-eea577a9a6db" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_019fd838-2f8c-7ccc-8809-57662dc1ce23" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract_019fd838-2f8c-736d-b4a3-0bc6569c07bc" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_019fd838-2f8c-7ccc-8809-57662dc1ce23" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_019fd838-2f8c-7f55-a4b5-b645370db746" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract_019fd838-2f8c-736d-b4a3-0bc6569c07bc" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_019fd838-2f8c-7f55-a4b5-b645370db746" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_019fd838-2f8c-70d4-9366-eefa4bd52c7a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract_019fd838-2f8c-736d-b4a3-0bc6569c07bc" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_019fd838-2f8c-70d4-9366-eefa4bd52c7a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentAssets_019fd838-2f8c-7086-9658-3d521bc9bb78" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract_019fd838-2f8c-736d-b4a3-0bc6569c07bc" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentAssets_019fd838-2f8c-7086-9658-3d521bc9bb78" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_019fd838-2f8c-7871-babe-4b1b5e5aeb37" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract_019fd838-2f8c-736d-b4a3-0bc6569c07bc" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_019fd838-2f8c-7871-babe-4b1b5e5aeb37" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesAbstract_019fd838-2f8c-7be0-b4cb-cbd514d40848" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8c-730d-beee-57540218773d" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesAbstract_019fd838-2f8c-7be0-b4cb-cbd514d40848" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesLongTermDebt_019fd838-2f8c-7726-9437-acb15e3bf5f5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesLongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesAbstract_019fd838-2f8c-7be0-b4cb-cbd514d40848" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesLongTermDebt_019fd838-2f8c-7726-9437-acb15e3bf5f5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther_019fd838-2f8c-7a23-bda5-2d56a00a7c19" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesAbstract_019fd838-2f8c-7be0-b4cb-cbd514d40848" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther_019fd838-2f8c-7a23-bda5-2d56a00a7c19" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt_019fd838-2f8c-719c-b355-a0d6635b853b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesAbstract_019fd838-2f8c-7be0-b4cb-cbd514d40848" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt_019fd838-2f8c-719c-b355-a0d6635b853b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilities_019fd838-2f8c-7ec9-b5ff-0439692f7b3b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesAbstract_019fd838-2f8c-7be0-b4cb-cbd514d40848" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilities_019fd838-2f8c-7ec9-b5ff-0439692f7b3b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_019fd838-2f8c-7096-8768-d331c0e1e191" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesAbstract_019fd838-2f8c-7be0-b4cb-cbd514d40848" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_019fd838-2f8c-7096-8768-d331c0e1e191" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_019fd838-2f8c-7077-90eb-56865a2d373a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8c-730d-beee-57540218773d" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_019fd838-2f8c-7077-90eb-56865a2d373a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019fd838-2f8c-7159-82dd-bdfd88f10787" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8c-730d-beee-57540218773d" xlink:to="loc_us-gaap_Goodwill_019fd838-2f8c-7159-82dd-bdfd88f10787" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_019fd838-2f8c-71a6-8d4d-102318c26211" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8c-730d-beee-57540218773d" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_019fd838-2f8c-71a6-8d4d-102318c26211" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/AcquisitionsandOtherTransactionsWhiptailMidstreamAcquisitionDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#AcquisitionsandOtherTransactionsWhiptailMidstreamAcquisitionDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/AcquisitionsandOtherTransactionsWhiptailMidstreamAcquisitionDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8c-7e05-99ee-2eb53718fcd6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8c-7eca-ba44-a10ab38ea3f5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8c-7e05-99ee-2eb53718fcd6" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8c-7eca-ba44-a10ab38ea3f5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_019fd838-2f8c-7d0e-a639-d1b0b32370bd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019fd838-2f8c-7eca-ba44-a10ab38ea3f5" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_019fd838-2f8c-7d0e-a639-d1b0b32370bd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8c-7d0e-a639-d1b0b32370bd_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019fd838-2f8c-7d0e-a639-d1b0b32370bd" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8c-7d0e-a639-d1b0b32370bd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8c-7c5d-b069-e748cdee41f9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019fd838-2f8c-7d0e-a639-d1b0b32370bd" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8c-7c5d-b069-e748cdee41f9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_WhiptailMidstreamAcquisitionMember_019fd838-2f8c-7554-af06-589c6cb4239e" xlink:href="mpc-20260930.xsd#mpc_WhiptailMidstreamAcquisitionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-2f8c-7c5d-b069-e748cdee41f9" xlink:to="loc_mpc_WhiptailMidstreamAcquisitionMember_019fd838-2f8c-7554-af06-589c6cb4239e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_019fd838-2f8c-7fba-b3e3-aa121f18629d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8c-7e05-99ee-2eb53718fcd6" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_019fd838-2f8c-7fba-b3e3-aa121f18629d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_019fd838-2f8c-7737-97e5-8223caa59592" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8c-7e05-99ee-2eb53718fcd6" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_019fd838-2f8c-7737-97e5-8223caa59592" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_019fd838-2f8c-784f-8cbb-1f43261f735e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8c-7e05-99ee-2eb53718fcd6" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_019fd838-2f8c-784f-8cbb-1f43261f735e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNetWorkingCapital_019fd838-2f8c-7a75-a8a7-5942881a5af3" xlink:href="mpc-20260930.xsd#mpc_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNetWorkingCapital"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019fd838-2f8c-7e05-99ee-2eb53718fcd6" xlink:to="loc_mpc_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNetWorkingCapital_019fd838-2f8c-7a75-a8a7-5942881a5af3" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/VariableInterestEntitiesConsolidatedVIEDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#VariableInterestEntitiesConsolidatedVIEDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/VariableInterestEntitiesConsolidatedVIEDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityLineItems_019fd838-2f8c-722f-8593-16024ce9df9f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VariableInterestEntityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_019fd838-2f8c-7eae-8efe-b5d387690fe2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfVariableInterestEntitiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_019fd838-2f8c-722f-8593-16024ce9df9f" xlink:to="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_019fd838-2f8c-7eae-8efe-b5d387690fe2" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_019fd838-2f8c-7126-8a76-c4ba27ca1e41" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_019fd838-2f8c-7eae-8efe-b5d387690fe2" xlink:to="loc_srt_ConsolidatedEntitiesAxis_019fd838-2f8c-7126-8a76-c4ba27ca1e41" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_019fd838-2f8c-7126-8a76-c4ba27ca1e41_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_019fd838-2f8c-7126-8a76-c4ba27ca1e41" xlink:to="loc_srt_ConsolidatedEntitiesDomain_019fd838-2f8c-7126-8a76-c4ba27ca1e41_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_019fd838-2f8c-76e1-b0d6-1d5e5a1b33be" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_019fd838-2f8c-7126-8a76-c4ba27ca1e41" xlink:to="loc_srt_ConsolidatedEntitiesDomain_019fd838-2f8c-76e1-b0d6-1d5e5a1b33be" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_019fd838-2f8c-7fc6-84aa-efb578f26b8e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VariableInterestEntityPrimaryBeneficiaryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_019fd838-2f8c-76e1-b0d6-1d5e5a1b33be" xlink:to="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_019fd838-2f8c-7fc6-84aa-efb578f26b8e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_019fd838-2f8c-738f-8c28-dc284eabfedb" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_019fd838-2f8c-7eae-8efe-b5d387690fe2" xlink:to="loc_dei_LegalEntityAxis_019fd838-2f8c-738f-8c28-dc284eabfedb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019fd838-2f8c-738f-8c28-dc284eabfedb_default" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_019fd838-2f8c-738f-8c28-dc284eabfedb" xlink:to="loc_dei_EntityDomain_019fd838-2f8c-738f-8c28-dc284eabfedb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019fd838-2f8c-7583-901d-d54d836f6d46" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_019fd838-2f8c-738f-8c28-dc284eabfedb" xlink:to="loc_dei_EntityDomain_019fd838-2f8c-7583-901d-d54d836f6d46" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_MPLXLPMember_019fd838-2f8c-783c-81b4-02fd9e9d7e75" xlink:href="mpc-20260930.xsd#mpc_MPLXLPMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_019fd838-2f8c-7583-901d-d54d836f6d46" xlink:to="loc_mpc_MPLXLPMember_019fd838-2f8c-783c-81b4-02fd9e9d7e75" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract_019fd838-2f8c-7dd7-aa33-1f29deb4714a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_019fd838-2f8c-722f-8593-16024ce9df9f" xlink:to="loc_us-gaap_AssetsAbstract_019fd838-2f8c-7dd7-aa33-1f29deb4714a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019fd838-2f8c-7212-a2cb-36e657bd3b95" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_019fd838-2f8c-7dd7-aa33-1f29deb4714a" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019fd838-2f8c-7212-a2cb-36e657bd3b95" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_019fd838-2f8c-720a-ac02-52e71a606684" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_019fd838-2f8c-7dd7-aa33-1f29deb4714a" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_019fd838-2f8c-720a-ac02-52e71a606684" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_019fd838-2f8c-74d2-998c-756157e30d10" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_019fd838-2f8c-7dd7-aa33-1f29deb4714a" xlink:to="loc_us-gaap_InventoryNet_019fd838-2f8c-74d2-998c-756157e30d10" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_019fd838-2f8c-7703-a1c6-512e8cc3612e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_019fd838-2f8c-7dd7-aa33-1f29deb4714a" xlink:to="loc_us-gaap_OtherAssetsCurrent_019fd838-2f8c-7703-a1c6-512e8cc3612e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_019fd838-2f8c-736d-90c0-75b71f7d3007" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_019fd838-2f8c-7dd7-aa33-1f29deb4714a" xlink:to="loc_us-gaap_EquityMethodInvestments_019fd838-2f8c-736d-90c0-75b71f7d3007" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_019fd838-2f8c-76c2-bda4-316d8245c138" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_019fd838-2f8c-7dd7-aa33-1f29deb4714a" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_019fd838-2f8c-76c2-bda4-316d8245c138" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019fd838-2f8c-7ddc-926f-a16deb9535cf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_019fd838-2f8c-7dd7-aa33-1f29deb4714a" xlink:to="loc_us-gaap_Goodwill_019fd838-2f8c-7ddc-926f-a16deb9535cf" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019fd838-2f8c-7434-9f07-9908722bb0d4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_019fd838-2f8c-7dd7-aa33-1f29deb4714a" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019fd838-2f8c-7434-9f07-9908722bb0d4" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_019fd838-2f8c-7a48-9734-24bb661c6fed" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_019fd838-2f8c-7dd7-aa33-1f29deb4714a" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_019fd838-2f8c-7a48-9734-24bb661c6fed" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_019fd838-2f8c-7a49-87de-8573de0c4272" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_019fd838-2f8c-7dd7-aa33-1f29deb4714a" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_019fd838-2f8c-7a49-87de-8573de0c4272" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAbstract_019fd838-2f8c-77fc-ac28-b2736231ff4a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_019fd838-2f8c-722f-8593-16024ce9df9f" xlink:to="loc_us-gaap_LiabilitiesAbstract_019fd838-2f8c-77fc-ac28-b2736231ff4a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_019fd838-2f8c-7bfe-9084-e4bb8c1d3e23" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_019fd838-2f8c-77fc-ac28-b2736231ff4a" xlink:to="loc_us-gaap_AccountsPayableCurrent_019fd838-2f8c-7bfe-9084-e4bb8c1d3e23" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxesPayableCurrent_019fd838-2f8c-7a6a-82ac-a7cb960f1c18" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TaxesPayableCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_019fd838-2f8c-77fc-ac28-b2736231ff4a" xlink:to="loc_us-gaap_TaxesPayableCurrent_019fd838-2f8c-7a6a-82ac-a7cb960f1c18" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_019fd838-2f8c-7df7-b19a-64cec8ab1cbe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_019fd838-2f8c-77fc-ac28-b2736231ff4a" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_019fd838-2f8c-7df7-b19a-64cec8ab1cbe" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_019fd838-2f8c-7012-8f01-cc98cfba96e6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_019fd838-2f8c-77fc-ac28-b2736231ff4a" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_019fd838-2f8c-7012-8f01-cc98cfba96e6" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_019fd838-2f8c-7430-beb6-4297cbf38c9d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_019fd838-2f8c-77fc-ac28-b2736231ff4a" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_019fd838-2f8c-7430-beb6-4297cbf38c9d" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_019fd838-2f8c-72e4-aa65-a1356366b788" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_019fd838-2f8c-77fc-ac28-b2736231ff4a" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_019fd838-2f8c-72e4-aa65-a1356366b788" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_019fd838-2f8c-7004-ae1f-cafd8330a3dc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_019fd838-2f8c-77fc-ac28-b2736231ff4a" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_019fd838-2f8c-7004-ae1f-cafd8330a3dc" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019fd838-2f8c-782a-9f57-c5f6622e84b2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_019fd838-2f8c-77fc-ac28-b2736231ff4a" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019fd838-2f8c-782a-9f57-c5f6622e84b2" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCreditsAndOtherLiabilitiesNoncurrent_019fd838-2f8c-7eb1-a8fe-e5fadc6f5c72" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredCreditsAndOtherLiabilitiesNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_019fd838-2f8c-77fc-ac28-b2736231ff4a" xlink:to="loc_us-gaap_DeferredCreditsAndOtherLiabilitiesNoncurrent_019fd838-2f8c-7eb1-a8fe-e5fadc6f5c72" xlink:type="arc" order="9"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/RelatedPartyTransactionsDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#RelatedPartyTransactionsDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/RelatedPartyTransactionsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_019fd838-2f8c-785f-9638-b7282cd22f79" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RelatedPartyTransactionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_019fd838-2f8c-71c5-8926-7b57b0c85f80" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_019fd838-2f8c-785f-9638-b7282cd22f79" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_019fd838-2f8c-71c5-8926-7b57b0c85f80" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_019fd838-2f8c-7ab7-8d6b-39b20c569f0f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_019fd838-2f8c-71c5-8926-7b57b0c85f80" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_019fd838-2f8c-7ab7-8d6b-39b20c569f0f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_019fd838-2f8c-7ab7-8d6b-39b20c569f0f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_019fd838-2f8c-7ab7-8d6b-39b20c569f0f" xlink:to="loc_us-gaap_RelatedPartyDomain_019fd838-2f8c-7ab7-8d6b-39b20c569f0f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_019fd838-2f8c-77c4-aa26-50d20ac0ea87" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_019fd838-2f8c-7ab7-8d6b-39b20c569f0f" xlink:to="loc_us-gaap_RelatedPartyDomain_019fd838-2f8c-77c4-aa26-50d20ac0ea87" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyMember_019fd838-2f8c-7b6e-833e-edd4f9cba074" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RelatedPartyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_019fd838-2f8c-77c4-aa26-50d20ac0ea87" xlink:to="loc_us-gaap_RelatedPartyMember_019fd838-2f8c-7b6e-833e-edd4f9cba074" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019fd838-2f8c-72c5-9b6f-401c2e88b35b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_019fd838-2f8c-785f-9638-b7282cd22f79" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019fd838-2f8c-72c5-9b6f-401c2e88b35b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpensesRelatedParty_019fd838-2f8c-72eb-a5f8-1ecff69634d0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostsAndExpensesRelatedParty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_019fd838-2f8c-785f-9638-b7282cd22f79" xlink:to="loc_us-gaap_CostsAndExpensesRelatedParty_019fd838-2f8c-72eb-a5f8-1ecff69634d0" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/EquityShareRepurchaseAuthorizationsDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#EquityShareRepurchaseAuthorizationsDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/EquityShareRepurchaseAuthorizationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityClassOfTreasuryStockLineItems_019fd838-3039-7e84-a23a-d872400a7f5c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityClassOfTreasuryStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfTreasuryStockTable_019fd838-3039-77af-863e-326675ffa700" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfTreasuryStockTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_019fd838-3039-7e84-a23a-d872400a7f5c" xlink:to="loc_us-gaap_ClassOfTreasuryStockTable_019fd838-3039-77af-863e-326675ffa700" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ShareRepurchaseProgramAxis_019fd838-3039-77e8-94da-e77cd49c3ec9" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ShareRepurchaseProgramAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ClassOfTreasuryStockTable_019fd838-3039-77af-863e-326675ffa700" xlink:to="loc_srt_ShareRepurchaseProgramAxis_019fd838-3039-77e8-94da-e77cd49c3ec9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ShareRepurchaseProgramDomain_019fd838-3039-77e8-94da-e77cd49c3ec9_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ShareRepurchaseProgramDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ShareRepurchaseProgramAxis_019fd838-3039-77e8-94da-e77cd49c3ec9" xlink:to="loc_srt_ShareRepurchaseProgramDomain_019fd838-3039-77e8-94da-e77cd49c3ec9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ShareRepurchaseProgramDomain_019fd838-3039-7c0c-a0af-06ca23937075" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ShareRepurchaseProgramDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ShareRepurchaseProgramAxis_019fd838-3039-77e8-94da-e77cd49c3ec9" xlink:to="loc_srt_ShareRepurchaseProgramDomain_019fd838-3039-7c0c-a0af-06ca23937075" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_ShareRepurchaseAuthorizationMay2026Member_019fd838-3039-7635-b52e-393024445332" xlink:href="mpc-20260930.xsd#mpc_ShareRepurchaseAuthorizationMay2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ShareRepurchaseProgramDomain_019fd838-3039-7c0c-a0af-06ca23937075" xlink:to="loc_mpc_ShareRepurchaseAuthorizationMay2026Member_019fd838-3039-7635-b52e-393024445332" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StockRepurchaseProgramAuthorizedAmount1_019fd838-3039-7b57-99f1-8d1ef0eae8c5" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_StockRepurchaseProgramAuthorizedAmount1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_019fd838-3039-7e84-a23a-d872400a7f5c" xlink:to="loc_srt_StockRepurchaseProgramAuthorizedAmount1_019fd838-3039-7b57-99f1-8d1ef0eae8c5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_019fd838-3039-73a1-adcd-c39811e5c205" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_019fd838-3039-7e84-a23a-d872400a7f5c" xlink:to="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_019fd838-3039-73a1-adcd-c39811e5c205" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/SegmentInformationSegmentAdjustedEBITDAtoIncomeLossfromOperationsbeforeIncomeTaxesDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#SegmentInformationSegmentAdjustedEBITDAtoIncomeLossfromOperationsbeforeIncomeTaxesDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/SegmentInformationSegmentAdjustedEBITDAtoIncomeLossfromOperationsbeforeIncomeTaxesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-7fc7-92cd-d13c7da9be06" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019fd838-3039-7949-8184-c22cea6deb14" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-7fc7-92cd-d13c7da9be06" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019fd838-3039-7949-8184-c22cea6deb14" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_019fd838-3039-7332-9114-466a40e27886" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019fd838-3039-7949-8184-c22cea6deb14" xlink:to="loc_srt_ConsolidationItemsAxis_019fd838-3039-7332-9114-466a40e27886" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019fd838-3039-7332-9114-466a40e27886_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_019fd838-3039-7332-9114-466a40e27886" xlink:to="loc_srt_ConsolidationItemsDomain_019fd838-3039-7332-9114-466a40e27886_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019fd838-3039-745c-bc3d-e078c7499cc2" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_019fd838-3039-7332-9114-466a40e27886" xlink:to="loc_srt_ConsolidationItemsDomain_019fd838-3039-745c-bc3d-e078c7499cc2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_019fd838-3039-79f6-ae05-f980740f7ed1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019fd838-3039-745c-bc3d-e078c7499cc2" xlink:to="loc_us-gaap_OperatingSegmentsMember_019fd838-3039-79f6-ae05-f980740f7ed1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateNonSegmentMember_019fd838-3039-73dc-af52-1389b3a99e96" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CorporateNonSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019fd838-3039-745c-bc3d-e078c7499cc2" xlink:to="loc_us-gaap_CorporateNonSegmentMember_019fd838-3039-73dc-af52-1389b3a99e96" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-780d-952b-dca697d348bf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019fd838-3039-7949-8184-c22cea6deb14" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-780d-952b-dca697d348bf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019fd838-3039-780d-952b-dca697d348bf_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-780d-952b-dca697d348bf" xlink:to="loc_us-gaap_SegmentDomain_019fd838-3039-780d-952b-dca697d348bf_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019fd838-3039-7290-a2df-69e7f8f10300" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-780d-952b-dca697d348bf" xlink:to="loc_us-gaap_SegmentDomain_019fd838-3039-7290-a2df-69e7f8f10300" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_RefiningAndMarketingMember_019fd838-3039-7562-862f-2dac16ced8e8" xlink:href="mpc-20260930.xsd#mpc_RefiningAndMarketingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019fd838-3039-7290-a2df-69e7f8f10300" xlink:to="loc_mpc_RefiningAndMarketingMember_019fd838-3039-7562-862f-2dac16ced8e8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_MidstreamMember_019fd838-3039-7c56-8bed-7cce3892368f" xlink:href="mpc-20260930.xsd#mpc_MidstreamMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019fd838-3039-7290-a2df-69e7f8f10300" xlink:to="loc_mpc_MidstreamMember_019fd838-3039-7c56-8bed-7cce3892368f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_RenewableDieselMember_019fd838-3039-7ab9-b496-e15ee40a3479" xlink:href="mpc-20260930.xsd#mpc_RenewableDieselMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019fd838-3039-7290-a2df-69e7f8f10300" xlink:to="loc_mpc_RenewableDieselMember_019fd838-3039-7ab9-b496-e15ee40a3479" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_AdjustedEBITDA_019fd838-3039-7a87-8482-ab9c4abc70e7" xlink:href="mpc-20260930.xsd#mpc_AdjustedEBITDA"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-7fc7-92cd-d13c7da9be06" xlink:to="loc_mpc_AdjustedEBITDA_019fd838-3039-7a87-8482-ab9c4abc70e7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_CorporateAndExpensesExcludingDepreciation_019fd838-3039-7df6-93a3-cab43a427d0c" xlink:href="mpc-20260930.xsd#mpc_CorporateAndExpensesExcludingDepreciation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-7fc7-92cd-d13c7da9be06" xlink:to="loc_mpc_CorporateAndExpensesExcludingDepreciation_019fd838-3039-7df6-93a3-cab43a427d0c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_RefiningRenewableDieselPlannedTurnaroundCosts_019fd838-3039-7d64-bef8-9b0e85a22560" xlink:href="mpc-20260930.xsd#mpc_RefiningRenewableDieselPlannedTurnaroundCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-7fc7-92cd-d13c7da9be06" xlink:to="loc_mpc_RefiningRenewableDieselPlannedTurnaroundCosts_019fd838-3039-7d64-bef8-9b0e85a22560" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_RenewableDieselJVPlannedTurnaroundCosts_019fd838-3039-796a-acf5-eeae7731b77d" xlink:href="mpc-20260930.xsd#mpc_RenewableDieselJVPlannedTurnaroundCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-7fc7-92cd-d13c7da9be06" xlink:to="loc_mpc_RenewableDieselJVPlannedTurnaroundCosts_019fd838-3039-796a-acf5-eeae7731b77d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_01a01aed-3c39-7f16-aa2a-05bf4acca315" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-7fc7-92cd-d13c7da9be06" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_01a01aed-3c39-7f16-aa2a-05bf4acca315" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_SmallRefineryExemption_01a01aed-3c39-7aca-9d02-87012282bcb0" xlink:href="mpc-20260930.xsd#mpc_SmallRefineryExemption"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-7fc7-92cd-d13c7da9be06" xlink:to="loc_mpc_SmallRefineryExemption_01a01aed-3c39-7aca-9d02-87012282bcb0" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationSeparatelyRecognizedTransactionsAdditionalDisclosuresAcquisitionCostExpensed_01a01aed-3c39-75bd-8e87-2019e4cb4584" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationSeparatelyRecognizedTransactionsAdditionalDisclosuresAcquisitionCostExpensed"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-7fc7-92cd-d13c7da9be06" xlink:to="loc_us-gaap_BusinessCombinationSeparatelyRecognizedTransactionsAdditionalDisclosuresAcquisitionCostExpensed_01a01aed-3c39-75bd-8e87-2019e4cb4584" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_CleanFuelProductionTaxCredit_019fd838-3039-7bf6-a7ec-f86a55527e73" xlink:href="mpc-20260930.xsd#mpc_CleanFuelProductionTaxCredit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-7fc7-92cd-d13c7da9be06" xlink:to="loc_mpc_CleanFuelProductionTaxCredit_019fd838-3039-7bf6-a7ec-f86a55527e73" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_TaxAndLegalSettlements_01a13ffc-d3df-743f-8368-8ad95a4f6964" xlink:href="mpc-20260930.xsd#mpc_TaxAndLegalSettlements"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-7fc7-92cd-d13c7da9be06" xlink:to="loc_mpc_TaxAndLegalSettlements_01a13ffc-d3df-743f-8368-8ad95a4f6964" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_019fd838-3039-7419-92eb-78131b357dec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-7fc7-92cd-d13c7da9be06" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_019fd838-3039-7419-92eb-78131b357dec" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_RenewableDieselJVDepreciationAndAmortization_019fd838-3039-74d0-8e99-ed5b78e14cd9" xlink:href="mpc-20260930.xsd#mpc_RenewableDieselJVDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-7fc7-92cd-d13c7da9be06" xlink:to="loc_mpc_RenewableDieselJVDepreciationAndAmortization_019fd838-3039-74d0-8e99-ed5b78e14cd9" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDebtExpense_019fd838-3039-7fc8-9cfe-6cf0679a75cc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndDebtExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-7fc7-92cd-d13c7da9be06" xlink:to="loc_us-gaap_InterestAndDebtExpense_019fd838-3039-7fc8-9cfe-6cf0679a75cc" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019fd838-3039-79ff-946a-441e9bc5f56d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-7fc7-92cd-d13c7da9be06" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019fd838-3039-79ff-946a-441e9bc5f56d" xlink:type="arc" order="12"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/SegmentInformationReconciliationofSegmentRevenuesToSalesandOtherOperatingRevenuesDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#SegmentInformationReconciliationofSegmentRevenuesToSalesandOtherOperatingRevenuesDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/SegmentInformationReconciliationofSegmentRevenuesToSalesandOtherOperatingRevenuesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-73af-b290-e2b2b4735d40" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019fd838-3039-7c08-8327-9f1a6d49ce3e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-73af-b290-e2b2b4735d40" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019fd838-3039-7c08-8327-9f1a6d49ce3e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_019fd838-3039-7f43-87ee-6bf39bc615f5" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019fd838-3039-7c08-8327-9f1a6d49ce3e" xlink:to="loc_srt_ConsolidationItemsAxis_019fd838-3039-7f43-87ee-6bf39bc615f5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019fd838-3039-7f43-87ee-6bf39bc615f5_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_019fd838-3039-7f43-87ee-6bf39bc615f5" xlink:to="loc_srt_ConsolidationItemsDomain_019fd838-3039-7f43-87ee-6bf39bc615f5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019fd838-3039-748f-b440-56035ed42546" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_019fd838-3039-7f43-87ee-6bf39bc615f5" xlink:to="loc_srt_ConsolidationItemsDomain_019fd838-3039-748f-b440-56035ed42546" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_019fd838-3039-7c89-ad25-2cb1ed654561" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019fd838-3039-748f-b440-56035ed42546" xlink:to="loc_us-gaap_OperatingSegmentsMember_019fd838-3039-7c89-ad25-2cb1ed654561" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntersegmentEliminationMember_019fd838-3039-7b05-a8de-5ee153cb5574" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IntersegmentEliminationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019fd838-3039-748f-b440-56035ed42546" xlink:to="loc_us-gaap_IntersegmentEliminationMember_019fd838-3039-7b05-a8de-5ee153cb5574" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-7a3b-a223-831798801405" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019fd838-3039-7c08-8327-9f1a6d49ce3e" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-7a3b-a223-831798801405" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019fd838-3039-7a3b-a223-831798801405_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-7a3b-a223-831798801405" xlink:to="loc_us-gaap_SegmentDomain_019fd838-3039-7a3b-a223-831798801405_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019fd838-3039-7548-aea2-13720adce6c5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-7a3b-a223-831798801405" xlink:to="loc_us-gaap_SegmentDomain_019fd838-3039-7548-aea2-13720adce6c5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_RefiningAndMarketingMember_019fd838-3039-76ce-8cc0-71c88aa60c5b" xlink:href="mpc-20260930.xsd#mpc_RefiningAndMarketingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019fd838-3039-7548-aea2-13720adce6c5" xlink:to="loc_mpc_RefiningAndMarketingMember_019fd838-3039-76ce-8cc0-71c88aa60c5b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_MidstreamMember_019fd838-3039-7b31-b440-ab7cc371e001" xlink:href="mpc-20260930.xsd#mpc_MidstreamMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019fd838-3039-7548-aea2-13720adce6c5" xlink:to="loc_mpc_MidstreamMember_019fd838-3039-7b31-b440-ab7cc371e001" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_RenewableDieselMember_019fd838-3039-79df-9051-866c65b82cdd" xlink:href="mpc-20260930.xsd#mpc_RenewableDieselMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019fd838-3039-7548-aea2-13720adce6c5" xlink:to="loc_mpc_RenewableDieselMember_019fd838-3039-79df-9051-866c65b82cdd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019fd838-3039-70b0-8b4d-710879e951a4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-73af-b290-e2b2b4735d40" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019fd838-3039-70b0-8b4d-710879e951a4" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/SegmentInformationIncomefromEquityMethodInvestmentsDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#SegmentInformationIncomefromEquityMethodInvestmentsDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/SegmentInformationIncomefromEquityMethodInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-75be-a7e7-370e08817ade" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019fd838-3039-7f4f-b1b5-e5001044a2fa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-75be-a7e7-370e08817ade" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019fd838-3039-7f4f-b1b5-e5001044a2fa" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_019fd838-3039-7ccb-800e-0820fe03f3e2" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019fd838-3039-7f4f-b1b5-e5001044a2fa" xlink:to="loc_srt_ConsolidationItemsAxis_019fd838-3039-7ccb-800e-0820fe03f3e2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019fd838-3039-7ccb-800e-0820fe03f3e2_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_019fd838-3039-7ccb-800e-0820fe03f3e2" xlink:to="loc_srt_ConsolidationItemsDomain_019fd838-3039-7ccb-800e-0820fe03f3e2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019fd838-3039-74b9-8d2c-c962d806e521" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_019fd838-3039-7ccb-800e-0820fe03f3e2" xlink:to="loc_srt_ConsolidationItemsDomain_019fd838-3039-74b9-8d2c-c962d806e521" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_019fd838-3039-7d02-b14e-89225920363d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019fd838-3039-74b9-8d2c-c962d806e521" xlink:to="loc_us-gaap_OperatingSegmentsMember_019fd838-3039-7d02-b14e-89225920363d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateNonSegmentMember_019fd838-3039-707b-9283-883a77e413f6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CorporateNonSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019fd838-3039-74b9-8d2c-c962d806e521" xlink:to="loc_us-gaap_CorporateNonSegmentMember_019fd838-3039-707b-9283-883a77e413f6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-7eb7-845e-5d6333fd3805" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019fd838-3039-7f4f-b1b5-e5001044a2fa" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-7eb7-845e-5d6333fd3805" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019fd838-3039-7eb7-845e-5d6333fd3805_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-7eb7-845e-5d6333fd3805" xlink:to="loc_us-gaap_SegmentDomain_019fd838-3039-7eb7-845e-5d6333fd3805_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019fd838-3039-7f91-b9e2-34f11ad935e4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-7eb7-845e-5d6333fd3805" xlink:to="loc_us-gaap_SegmentDomain_019fd838-3039-7f91-b9e2-34f11ad935e4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_RefiningAndMarketingMember_019fd838-3039-7ea9-89c9-975b9aecdaa2" xlink:href="mpc-20260930.xsd#mpc_RefiningAndMarketingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019fd838-3039-7f91-b9e2-34f11ad935e4" xlink:to="loc_mpc_RefiningAndMarketingMember_019fd838-3039-7ea9-89c9-975b9aecdaa2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_MidstreamMember_019fd838-3039-7c9a-aa83-e84c49d36f52" xlink:href="mpc-20260930.xsd#mpc_MidstreamMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019fd838-3039-7f91-b9e2-34f11ad935e4" xlink:to="loc_mpc_MidstreamMember_019fd838-3039-7c9a-aa83-e84c49d36f52" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_RenewableDieselMember_019fd838-3039-7d0e-b9f7-3f77fcd06da8" xlink:href="mpc-20260930.xsd#mpc_RenewableDieselMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019fd838-3039-7f91-b9e2-34f11ad935e4" xlink:to="loc_mpc_RenewableDieselMember_019fd838-3039-7d0e-b9f7-3f77fcd06da8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019fd838-3039-74c5-aa1e-d67a50e74a02" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-75be-a7e7-370e08817ade" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019fd838-3039-74c5-aa1e-d67a50e74a02" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/SegmentInformationSegmentExpensesDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#SegmentInformationSegmentExpensesDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/SegmentInformationSegmentExpensesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-73d6-a365-4ce505214b4b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019fd838-3039-787c-a388-30f6a7431b89" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-73d6-a365-4ce505214b4b" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019fd838-3039-787c-a388-30f6a7431b89" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_019fd838-3039-788d-9a83-9b439668a6b4" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019fd838-3039-787c-a388-30f6a7431b89" xlink:to="loc_srt_ConsolidationItemsAxis_019fd838-3039-788d-9a83-9b439668a6b4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019fd838-3039-788d-9a83-9b439668a6b4_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_019fd838-3039-788d-9a83-9b439668a6b4" xlink:to="loc_srt_ConsolidationItemsDomain_019fd838-3039-788d-9a83-9b439668a6b4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019fd838-3039-7934-92c7-de8e5b298d6e" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_019fd838-3039-788d-9a83-9b439668a6b4" xlink:to="loc_srt_ConsolidationItemsDomain_019fd838-3039-7934-92c7-de8e5b298d6e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_019fd838-3039-7c42-928b-f362c9b6641a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019fd838-3039-7934-92c7-de8e5b298d6e" xlink:to="loc_us-gaap_OperatingSegmentsMember_019fd838-3039-7c42-928b-f362c9b6641a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-7bab-bbdf-12db53939a08" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019fd838-3039-787c-a388-30f6a7431b89" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-7bab-bbdf-12db53939a08" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019fd838-3039-7bab-bbdf-12db53939a08_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-7bab-bbdf-12db53939a08" xlink:to="loc_us-gaap_SegmentDomain_019fd838-3039-7bab-bbdf-12db53939a08_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019fd838-3039-7cf0-93ab-437c0bdc7560" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-7bab-bbdf-12db53939a08" xlink:to="loc_us-gaap_SegmentDomain_019fd838-3039-7cf0-93ab-437c0bdc7560" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_RefiningAndMarketingMember_019fd838-3039-7a3d-b626-e71ca4ede92e" xlink:href="mpc-20260930.xsd#mpc_RefiningAndMarketingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019fd838-3039-7cf0-93ab-437c0bdc7560" xlink:to="loc_mpc_RefiningAndMarketingMember_019fd838-3039-7a3d-b626-e71ca4ede92e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_MidstreamMember_019fd838-3039-712b-a25a-0070ca2a536f" xlink:href="mpc-20260930.xsd#mpc_MidstreamMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019fd838-3039-7cf0-93ab-437c0bdc7560" xlink:to="loc_mpc_MidstreamMember_019fd838-3039-712b-a25a-0070ca2a536f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_RenewableDieselMember_019fd838-3039-70bd-afdc-8a55b1528b75" xlink:href="mpc-20260930.xsd#mpc_RenewableDieselMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019fd838-3039-7cf0-93ab-437c0bdc7560" xlink:to="loc_mpc_RenewableDieselMember_019fd838-3039-70bd-afdc-8a55b1528b75" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostDirectMaterial_019fd838-3039-7c3f-a66d-e9190bc4058f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostDirectMaterial"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-73d6-a365-4ce505214b4b" xlink:to="loc_us-gaap_CostDirectMaterial_019fd838-3039-7c3f-a66d-e9190bc4058f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ManufacturingCosts_019fd838-3039-79d5-aa62-e10d79000008" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ManufacturingCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-73d6-a365-4ce505214b4b" xlink:to="loc_us-gaap_ManufacturingCosts_019fd838-3039-79d5-aa62-e10d79000008" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_DistributionCosts_019fd838-3039-7d3c-9463-413725a96a50" xlink:href="mpc-20260930.xsd#mpc_DistributionCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-73d6-a365-4ce505214b4b" xlink:to="loc_mpc_DistributionCosts_019fd838-3039-7d3c-9463-413725a96a50" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingOtherItemAmount_019fd838-3039-7dc3-b8f5-cc30b56e4e01" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingOtherItemAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-73d6-a365-4ce505214b4b" xlink:to="loc_us-gaap_SegmentReportingOtherItemAmount_019fd838-3039-7dc3-b8f5-cc30b56e4e01" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_019fd838-3039-7c37-abe1-aa4d5a6206cf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostsAndExpenses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-73d6-a365-4ce505214b4b" xlink:to="loc_us-gaap_CostsAndExpenses_019fd838-3039-7c37-abe1-aa4d5a6206cf" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/SegmentInformationDepreciationandAmortizationDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#SegmentInformationDepreciationandAmortizationDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/SegmentInformationDepreciationandAmortizationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-7d3f-a8c5-1c1f0725ab70" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019fd838-3039-79c4-a5b1-60e9591f55e7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-7d3f-a8c5-1c1f0725ab70" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019fd838-3039-79c4-a5b1-60e9591f55e7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_019fd838-3039-79de-9517-dcada5309166" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019fd838-3039-79c4-a5b1-60e9591f55e7" xlink:to="loc_srt_ConsolidationItemsAxis_019fd838-3039-79de-9517-dcada5309166" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019fd838-3039-79de-9517-dcada5309166_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_019fd838-3039-79de-9517-dcada5309166" xlink:to="loc_srt_ConsolidationItemsDomain_019fd838-3039-79de-9517-dcada5309166_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019fd838-3039-7c92-a70e-b86c40c21992" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_019fd838-3039-79de-9517-dcada5309166" xlink:to="loc_srt_ConsolidationItemsDomain_019fd838-3039-7c92-a70e-b86c40c21992" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_019fd838-3039-7fcd-a27b-982c8d0af3a4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019fd838-3039-7c92-a70e-b86c40c21992" xlink:to="loc_us-gaap_OperatingSegmentsMember_019fd838-3039-7fcd-a27b-982c8d0af3a4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateNonSegmentMember_019fd838-3039-77c5-8549-5f414e8eb415" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CorporateNonSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019fd838-3039-7c92-a70e-b86c40c21992" xlink:to="loc_us-gaap_CorporateNonSegmentMember_019fd838-3039-77c5-8549-5f414e8eb415" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-7cca-a6d3-a8fb2807f2f0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019fd838-3039-79c4-a5b1-60e9591f55e7" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-7cca-a6d3-a8fb2807f2f0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019fd838-3039-7cca-a6d3-a8fb2807f2f0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-7cca-a6d3-a8fb2807f2f0" xlink:to="loc_us-gaap_SegmentDomain_019fd838-3039-7cca-a6d3-a8fb2807f2f0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019fd838-3039-70cd-ba5b-998c2358ca3e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-7cca-a6d3-a8fb2807f2f0" xlink:to="loc_us-gaap_SegmentDomain_019fd838-3039-70cd-ba5b-998c2358ca3e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_RefiningAndMarketingMember_019fd838-3039-7aa5-bdbf-9ea2455ca091" xlink:href="mpc-20260930.xsd#mpc_RefiningAndMarketingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019fd838-3039-70cd-ba5b-998c2358ca3e" xlink:to="loc_mpc_RefiningAndMarketingMember_019fd838-3039-7aa5-bdbf-9ea2455ca091" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_MidstreamMember_019fd838-3039-7fa8-8d1c-b2ed6c94d852" xlink:href="mpc-20260930.xsd#mpc_MidstreamMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019fd838-3039-70cd-ba5b-998c2358ca3e" xlink:to="loc_mpc_MidstreamMember_019fd838-3039-7fa8-8d1c-b2ed6c94d852" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_RenewableDieselMember_019fd838-3039-7372-bcf9-2adde38dbc0d" xlink:href="mpc-20260930.xsd#mpc_RenewableDieselMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019fd838-3039-70cd-ba5b-998c2358ca3e" xlink:to="loc_mpc_RenewableDieselMember_019fd838-3039-7372-bcf9-2adde38dbc0d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_019fd838-3039-7206-b305-194f66bb6a65" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-7d3f-a8c5-1c1f0725ab70" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_019fd838-3039-7206-b305-194f66bb6a65" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_RenewableDieselJVDepreciationAndAmortization_019fd838-3039-704a-9bc9-fb5723e69aca" xlink:href="mpc-20260930.xsd#mpc_RenewableDieselJVDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-7d3f-a8c5-1c1f0725ab70" xlink:to="loc_mpc_RenewableDieselJVDepreciationAndAmortization_019fd838-3039-704a-9bc9-fb5723e69aca" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/SegmentInformationCapitalExpendituresDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#SegmentInformationCapitalExpendituresDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/SegmentInformationCapitalExpendituresDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-7d44-9d9a-0061533111d2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019fd838-3039-7b9d-a163-12e1f05bbc61" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-7d44-9d9a-0061533111d2" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019fd838-3039-7b9d-a163-12e1f05bbc61" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_019fd838-3039-79af-9708-b7979573faba" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019fd838-3039-7b9d-a163-12e1f05bbc61" xlink:to="loc_srt_ConsolidationItemsAxis_019fd838-3039-79af-9708-b7979573faba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019fd838-3039-79af-9708-b7979573faba_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_019fd838-3039-79af-9708-b7979573faba" xlink:to="loc_srt_ConsolidationItemsDomain_019fd838-3039-79af-9708-b7979573faba_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019fd838-3039-7bba-b952-93bd044873a3" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_019fd838-3039-79af-9708-b7979573faba" xlink:to="loc_srt_ConsolidationItemsDomain_019fd838-3039-7bba-b952-93bd044873a3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_019fd838-3039-79f7-8453-982cbc13f4f8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019fd838-3039-7bba-b952-93bd044873a3" xlink:to="loc_us-gaap_OperatingSegmentsMember_019fd838-3039-79f7-8453-982cbc13f4f8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateNonSegmentMember_019fd838-3039-70f3-9685-0dcc51476883" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CorporateNonSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019fd838-3039-7bba-b952-93bd044873a3" xlink:to="loc_us-gaap_CorporateNonSegmentMember_019fd838-3039-70f3-9685-0dcc51476883" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-79d1-a85e-41d098bade56" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019fd838-3039-7b9d-a163-12e1f05bbc61" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-79d1-a85e-41d098bade56" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019fd838-3039-79d1-a85e-41d098bade56_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-79d1-a85e-41d098bade56" xlink:to="loc_us-gaap_SegmentDomain_019fd838-3039-79d1-a85e-41d098bade56_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019fd838-3039-7887-939d-899b921f36c0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-79d1-a85e-41d098bade56" xlink:to="loc_us-gaap_SegmentDomain_019fd838-3039-7887-939d-899b921f36c0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_RefiningAndMarketingMember_019fd838-3039-7633-a2ab-8f1b7c658385" xlink:href="mpc-20260930.xsd#mpc_RefiningAndMarketingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019fd838-3039-7887-939d-899b921f36c0" xlink:to="loc_mpc_RefiningAndMarketingMember_019fd838-3039-7633-a2ab-8f1b7c658385" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_MidstreamMember_019fd838-3039-7ce5-b784-748e4e3bfaa4" xlink:href="mpc-20260930.xsd#mpc_MidstreamMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019fd838-3039-7887-939d-899b921f36c0" xlink:to="loc_mpc_MidstreamMember_019fd838-3039-7ce5-b784-748e4e3bfaa4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_RenewableDieselMember_019fd838-3039-7ed4-8304-8f558b393ba3" xlink:href="mpc-20260930.xsd#mpc_RenewableDieselMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019fd838-3039-7887-939d-899b921f36c0" xlink:to="loc_mpc_RenewableDieselMember_019fd838-3039-7ed4-8304-8f558b393ba3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_019fd838-3039-781f-a06e-056edacb9046" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019fd838-3039-7b9d-a163-12e1f05bbc61" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_019fd838-3039-781f-a06e-056edacb9046" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_019fd838-3039-781f-a06e-056edacb9046_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_019fd838-3039-781f-a06e-056edacb9046" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_019fd838-3039-781f-a06e-056edacb9046_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_019fd838-3039-765a-a754-e5a6ff80dfa9" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_019fd838-3039-781f-a06e-056edacb9046" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_019fd838-3039-765a-a754-e5a6ff80dfa9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_MartinezJVMember_019fd838-3039-7dd6-a421-24847664c6d9" xlink:href="mpc-20260930.xsd#mpc_MartinezJVMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_019fd838-3039-765a-a754-e5a6ff80dfa9" xlink:to="loc_mpc_MartinezJVMember_019fd838-3039-7dd6-a421-24847664c6d9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_CapitalExpendituresAndInvestments_019fd838-3039-7446-b95d-895d637b0609" xlink:href="mpc-20260930.xsd#mpc_CapitalExpendituresAndInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-7d44-9d9a-0061533111d2" xlink:to="loc_mpc_CapitalExpendituresAndInvestments_019fd838-3039-7446-b95d-895d637b0609" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_019fd838-3039-7fa3-8b17-076f7f7821a0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-7d44-9d9a-0061533111d2" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_019fd838-3039-7fa3-8b17-076f7f7821a0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingOtherSignificantReconcilingItemConsolidatedAbstract_019fd838-3039-7c44-92d2-dccebb89dff4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingOtherSignificantReconcilingItemConsolidatedAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-7d44-9d9a-0061533111d2" xlink:to="loc_us-gaap_SegmentReportingOtherSignificantReconcilingItemConsolidatedAbstract_019fd838-3039-7c44-92d2-dccebb89dff4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_CapitalExpendituresExcludingCapitalizedInterest_019fd838-3039-7b1c-a4d6-56263c50eb83" xlink:href="mpc-20260930.xsd#mpc_CapitalExpendituresExcludingCapitalizedInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingOtherSignificantReconcilingItemConsolidatedAbstract_019fd838-3039-7c44-92d2-dccebb89dff4" xlink:to="loc_mpc_CapitalExpendituresExcludingCapitalizedInterest_019fd838-3039-7b1c-a4d6-56263c50eb83" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPaidCapitalized_019fd838-3039-7ff1-a40d-e26d3956801a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestPaidCapitalized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingOtherSignificantReconcilingItemConsolidatedAbstract_019fd838-3039-7c44-92d2-dccebb89dff4" xlink:to="loc_us-gaap_InterestPaidCapitalized_019fd838-3039-7ff1-a40d-e26d3956801a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_CapitalExpenditure_019fd838-3039-765d-b2a1-4062db040022" xlink:href="mpc-20260930.xsd#mpc_CapitalExpenditure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019fd838-3039-7d44-9d9a-0061533111d2" xlink:to="loc_mpc_CapitalExpenditure_019fd838-3039-765d-b2a1-4062db040022" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/PropertyPlantandEquipmentPPESummaryofPropertyPlantAndEquipmentDetail" xlink:type="simple" xlink:href="mpc-20260930.xsd#PropertyPlantandEquipmentPPESummaryofPropertyPlantAndEquipmentDetail"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/PropertyPlantandEquipmentPPESummaryofPropertyPlantAndEquipmentDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019fd838-3039-7efb-95bc-a297bc15966f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_019fd838-3039-7583-9f4b-2373033b1dd6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019fd838-3039-7efb-95bc-a297bc15966f" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_019fd838-3039-7583-9f4b-2373033b1dd6" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_019fd838-3039-7820-acc8-e39afcefa42c" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_019fd838-3039-7583-9f4b-2373033b1dd6" xlink:to="loc_srt_ConsolidationItemsAxis_019fd838-3039-7820-acc8-e39afcefa42c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019fd838-3039-7820-acc8-e39afcefa42c_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_019fd838-3039-7820-acc8-e39afcefa42c" xlink:to="loc_srt_ConsolidationItemsDomain_019fd838-3039-7820-acc8-e39afcefa42c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019fd838-3039-780b-b0c9-03cd71678cc0" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_019fd838-3039-7820-acc8-e39afcefa42c" xlink:to="loc_srt_ConsolidationItemsDomain_019fd838-3039-780b-b0c9-03cd71678cc0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_019fd838-3039-7c65-8a68-e61409c1a2a5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019fd838-3039-780b-b0c9-03cd71678cc0" xlink:to="loc_us-gaap_OperatingSegmentsMember_019fd838-3039-7c65-8a68-e61409c1a2a5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateNonSegmentMember_019fd838-3039-7ca9-b836-35ba553f0c7f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CorporateNonSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019fd838-3039-780b-b0c9-03cd71678cc0" xlink:to="loc_us-gaap_CorporateNonSegmentMember_019fd838-3039-7ca9-b836-35ba553f0c7f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-78da-b034-9df8c31a9b04" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_019fd838-3039-7583-9f4b-2373033b1dd6" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-78da-b034-9df8c31a9b04" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019fd838-3039-78da-b034-9df8c31a9b04_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-78da-b034-9df8c31a9b04" xlink:to="loc_us-gaap_SegmentDomain_019fd838-3039-78da-b034-9df8c31a9b04_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019fd838-3039-7054-8b1c-2103c55e202a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-78da-b034-9df8c31a9b04" xlink:to="loc_us-gaap_SegmentDomain_019fd838-3039-7054-8b1c-2103c55e202a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_RefiningAndMarketingMember_019fd838-3039-714e-b525-b27e1572f575" xlink:href="mpc-20260930.xsd#mpc_RefiningAndMarketingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019fd838-3039-7054-8b1c-2103c55e202a" xlink:to="loc_mpc_RefiningAndMarketingMember_019fd838-3039-714e-b525-b27e1572f575" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_MidstreamMember_019fd838-3039-76b3-b32f-51f931f7cd2d" xlink:href="mpc-20260930.xsd#mpc_MidstreamMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019fd838-3039-7054-8b1c-2103c55e202a" xlink:to="loc_mpc_MidstreamMember_019fd838-3039-76b3-b32f-51f931f7cd2d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_RenewableDieselMember_019fd838-3039-78f9-a334-d80e1c081c62" xlink:href="mpc-20260930.xsd#mpc_RenewableDieselMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019fd838-3039-7054-8b1c-2103c55e202a" xlink:to="loc_mpc_RenewableDieselMember_019fd838-3039-78f9-a334-d80e1c081c62" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_019fd838-3039-77ea-a1f4-e36f774685d1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019fd838-3039-7efb-95bc-a297bc15966f" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_019fd838-3039-77ea-a1f4-e36f774685d1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_019fd838-3039-7651-b4f0-3857b7c1549c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019fd838-3039-7efb-95bc-a297bc15966f" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_019fd838-3039-7651-b4f0-3857b7c1549c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_019fd838-3039-7596-93d1-00eb5a587e3c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019fd838-3039-7efb-95bc-a297bc15966f" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_019fd838-3039-7596-93d1-00eb5a587e3c" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/FairValueMeasurementsAssetsandLiabilitiesAccountedforatFairValueonRecurringBasisDetail" xlink:type="simple" xlink:href="mpc-20260930.xsd#FairValueMeasurementsAssetsandLiabilitiesAccountedforatFairValueonRecurringBasisDetail"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/FairValueMeasurementsAssetsandLiabilitiesAccountedforatFairValueonRecurringBasisDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_019fd838-3039-7a48-88c4-c1d3bf3de23d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_019fd838-3039-73e1-bd5e-fa0920a3c204" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_019fd838-3039-7a48-88c4-c1d3bf3de23d" xlink:to="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_019fd838-3039-73e1-bd5e-fa0920a3c204" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019fd838-3039-729a-a75d-563ff8e5617e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_019fd838-3039-73e1-bd5e-fa0920a3c204" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019fd838-3039-729a-a75d-563ff8e5617e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_019fd838-3039-729a-a75d-563ff8e5617e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019fd838-3039-729a-a75d-563ff8e5617e" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_019fd838-3039-729a-a75d-563ff8e5617e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_019fd838-3039-768f-9a7c-db9b16a66339" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019fd838-3039-729a-a75d-563ff8e5617e" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_019fd838-3039-768f-9a7c-db9b16a66339" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_019fd838-3039-74df-b24b-67259d625fdf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsRecurringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_019fd838-3039-768f-9a7c-db9b16a66339" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_019fd838-3039-74df-b24b-67259d625fdf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019fd838-3039-737b-b0b7-a47c72ba43ca" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_019fd838-3039-73e1-bd5e-fa0920a3c204" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019fd838-3039-737b-b0b7-a47c72ba43ca" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019fd838-3039-737b-b0b7-a47c72ba43ca_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019fd838-3039-737b-b0b7-a47c72ba43ca" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019fd838-3039-737b-b0b7-a47c72ba43ca_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019fd838-3039-7f40-8fbe-2890264faeeb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019fd838-3039-737b-b0b7-a47c72ba43ca" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019fd838-3039-7f40-8fbe-2890264faeeb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_019fd838-3039-7367-b9fa-f9672ca8f1e7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019fd838-3039-7f40-8fbe-2890264faeeb" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_019fd838-3039-7367-b9fa-f9672ca8f1e7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_019fd838-3039-71a7-af7e-38c68437f073" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019fd838-3039-7f40-8fbe-2890264faeeb" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_019fd838-3039-71a7-af7e-38c68437f073" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_019fd838-3039-7c7d-8a83-f96922a5a473" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019fd838-3039-7f40-8fbe-2890264faeeb" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_019fd838-3039-7c7d-8a83-f96922a5a473" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_019fd838-3039-72ba-a99e-7caff9ba956e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_019fd838-3039-73e1-bd5e-fa0920a3c204" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_019fd838-3039-72ba-a99e-7caff9ba956e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-72ba-a99e-7caff9ba956e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019fd838-3039-72ba-a99e-7caff9ba956e" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-72ba-a99e-7caff9ba956e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-793d-8f35-bdb17da36f70" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019fd838-3039-72ba-a99e-7caff9ba956e" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-793d-8f35-bdb17da36f70" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommodityContractMember_019fd838-3039-7c71-9727-695b21f3a4cb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommodityContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-793d-8f35-bdb17da36f70" xlink:to="loc_us-gaap_CommodityContractMember_019fd838-3039-7c71-9727-695b21f3a4cb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmbeddedDerivativeFinancialInstrumentsMember_019fd838-3039-7ee9-ac5d-66dd45bede97" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmbeddedDerivativeFinancialInstrumentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-793d-8f35-bdb17da36f70" xlink:to="loc_us-gaap_EmbeddedDerivativeFinancialInstrumentsMember_019fd838-3039-7ee9-ac5d-66dd45bede97" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_PurchaseCrudeOilFromStrategicPetroleumReserveMember_01a13fff-4fab-7c74-875b-0c7c0ca92f68" xlink:href="mpc-20260930.xsd#mpc_PurchaseCrudeOilFromStrategicPetroleumReserveMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-793d-8f35-bdb17da36f70" xlink:to="loc_mpc_PurchaseCrudeOilFromStrategicPetroleumReserveMember_01a13fff-4fab-7c74-875b-0c7c0ca92f68" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_01a13fff-4fab-7ea9-98ac-7cec6f41928b" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_019fd838-3039-73e1-bd5e-fa0920a3c204" xlink:to="loc_srt_RangeAxis_01a13fff-4fab-7ea9-98ac-7cec6f41928b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_01a13fff-4fab-7ea9-98ac-7cec6f41928b_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_01a13fff-4fab-7ea9-98ac-7cec6f41928b" xlink:to="loc_srt_RangeMember_01a13fff-4fab-7ea9-98ac-7cec6f41928b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_01a13fff-4fab-76dd-82ee-09255d64961a" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_01a13fff-4fab-7ea9-98ac-7cec6f41928b" xlink:to="loc_srt_RangeMember_01a13fff-4fab-76dd-82ee-09255d64961a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_01a13fff-4fab-79ce-b737-ff9732b0b384" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_01a13fff-4fab-76dd-82ee-09255d64961a" xlink:to="loc_srt_MinimumMember_01a13fff-4fab-79ce-b737-ff9732b0b384" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019fd838-3039-7cef-b238-4b9b03811288" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_019fd838-3039-7a48-88c4-c1d3bf3de23d" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019fd838-3039-7cef-b238-4b9b03811288" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossLiabilityAndObligationToReturnCashOffset_019fd838-3039-73cf-a1d1-037484db8d34" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssetFairValueGrossLiabilityAndObligationToReturnCashOffset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_019fd838-3039-7a48-88c4-c1d3bf3de23d" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossLiabilityAndObligationToReturnCashOffset_019fd838-3039-73cf-a1d1-037484db8d34" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetAfterOffsetSubjectToMasterNettingArrangement_019fd838-3039-7063-a1f3-abd829351251" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssetAfterOffsetSubjectToMasterNettingArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_019fd838-3039-7a48-88c4-c1d3bf3de23d" xlink:to="loc_us-gaap_DerivativeAssetAfterOffsetSubjectToMasterNettingArrangement_019fd838-3039-7063-a1f3-abd829351251" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralObligationToReturnCash_019fd838-3039-7c31-90d8-d9176b1d8b04" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeCollateralObligationToReturnCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_019fd838-3039-7a48-88c4-c1d3bf3de23d" xlink:to="loc_us-gaap_DerivativeCollateralObligationToReturnCash_019fd838-3039-7c31-90d8-d9176b1d8b04" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_019fd838-3039-788e-b10c-c8d867c90f1e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_019fd838-3039-7a48-88c4-c1d3bf3de23d" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_019fd838-3039-788e-b10c-c8d867c90f1e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossAssetAndRightToReclaimCashOffset_019fd838-3039-72c3-9ccf-2acff5242570" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilityFairValueGrossAssetAndRightToReclaimCashOffset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_019fd838-3039-7a48-88c4-c1d3bf3de23d" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossAssetAndRightToReclaimCashOffset_019fd838-3039-72c3-9ccf-2acff5242570" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityAfterOffsetSubjectToMasterNettingArrangement_019fd838-3039-76be-affc-c22464be6e8c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilityAfterOffsetSubjectToMasterNettingArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_019fd838-3039-7a48-88c4-c1d3bf3de23d" xlink:to="loc_us-gaap_DerivativeLiabilityAfterOffsetSubjectToMasterNettingArrangement_019fd838-3039-76be-affc-c22464be6e8c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralRightToReclaimCash_019fd838-3039-7564-9a61-d71c73a67b60" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeCollateralRightToReclaimCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_019fd838-3039-7a48-88c4-c1d3bf3de23d" xlink:to="loc_us-gaap_DerivativeCollateralRightToReclaimCash_019fd838-3039-7564-9a61-d71c73a67b60" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_019fd838-3039-79ce-9cd0-d83d3f26c1b8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationContingentConsiderationLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_019fd838-3039-7a48-88c4-c1d3bf3de23d" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_019fd838-3039-79ce-9cd0-d83d3f26c1b8" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset_019fd838-3039-72ec-878c-b4825cd19d59" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_019fd838-3039-7a48-88c4-c1d3bf3de23d" xlink:to="loc_us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset_019fd838-3039-72ec-878c-b4825cd19d59" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_DerivativeDifferential_01a13fff-4fab-7e3a-be5f-2f2e20a8bc7e" xlink:href="mpc-20260930.xsd#mpc_DerivativeDifferential"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_019fd838-3039-7a48-88c4-c1d3bf3de23d" xlink:to="loc_mpc_DerivativeDifferential_01a13fff-4fab-7e3a-be5f-2f2e20a8bc7e" xlink:type="arc" order="10"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/FairValueMeasurementsLevel3Details" xlink:type="simple" xlink:href="mpc-20260930.xsd#FairValueMeasurementsLevel3Details"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/FairValueMeasurementsLevel3Details" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_019fd838-3039-7ac3-82a8-5efe5bee010c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_019fd838-3039-7bd3-8f2c-ab7ff05f0c20" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_019fd838-3039-7ac3-82a8-5efe5bee010c" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_019fd838-3039-7bd3-8f2c-ab7ff05f0c20" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019fd838-3039-7abe-a8cd-c4f922643123" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_019fd838-3039-7bd3-8f2c-ab7ff05f0c20" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019fd838-3039-7abe-a8cd-c4f922643123" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019fd838-3039-7abe-a8cd-c4f922643123_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019fd838-3039-7abe-a8cd-c4f922643123" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019fd838-3039-7abe-a8cd-c4f922643123_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019fd838-3039-75ca-9a71-3c5c0c0fa584" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019fd838-3039-7abe-a8cd-c4f922643123" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019fd838-3039-75ca-9a71-3c5c0c0fa584" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_019fd838-3039-72d4-951b-6007e1b2a694" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019fd838-3039-75ca-9a71-3c5c0c0fa584" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_019fd838-3039-72d4-951b-6007e1b2a694" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_019fd838-3039-7b5a-b9b1-9effbb38796d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019fd838-3039-75ca-9a71-3c5c0c0fa584" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_019fd838-3039-7b5a-b9b1-9effbb38796d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019fd838-3039-7002-8a87-e4fc89c10991" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_019fd838-3039-7bd3-8f2c-ab7ff05f0c20" xlink:to="loc_srt_RangeAxis_019fd838-3039-7002-8a87-e4fc89c10991" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019fd838-3039-7002-8a87-e4fc89c10991_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019fd838-3039-7002-8a87-e4fc89c10991" xlink:to="loc_srt_RangeMember_019fd838-3039-7002-8a87-e4fc89c10991_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019fd838-3039-7987-9460-f1029bdb54d8" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019fd838-3039-7002-8a87-e4fc89c10991" xlink:to="loc_srt_RangeMember_019fd838-3039-7987-9460-f1029bdb54d8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019fd838-3039-76fa-88af-50a7dfcd14ee" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019fd838-3039-7987-9460-f1029bdb54d8" xlink:to="loc_srt_MinimumMember_019fd838-3039-76fa-88af-50a7dfcd14ee" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019fd838-3039-73e1-a60f-ab6307570072" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019fd838-3039-7987-9460-f1029bdb54d8" xlink:to="loc_srt_MaximumMember_019fd838-3039-73e1-a60f-ab6307570072" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_019fd838-3039-728d-8207-db9f1be25ef7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_019fd838-3039-7bd3-8f2c-ab7ff05f0c20" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_019fd838-3039-728d-8207-db9f1be25ef7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-3039-728d-8207-db9f1be25ef7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019fd838-3039-728d-8207-db9f1be25ef7" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-3039-728d-8207-db9f1be25ef7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-3039-7bbb-886e-d5e0030bd4e7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019fd838-3039-728d-8207-db9f1be25ef7" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-3039-7bbb-886e-d5e0030bd4e7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_BANGLLLCAcquisitionMember_019fd838-3039-7297-bf3f-41855362a69a" xlink:href="mpc-20260930.xsd#mpc_BANGLLLCAcquisitionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019fd838-3039-7bbb-886e-d5e0030bd4e7" xlink:to="loc_mpc_BANGLLLCAcquisitionMember_019fd838-3039-7297-bf3f-41855362a69a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_019fd838-3039-7e62-b9e4-dc014318b9de" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_019fd838-3039-7bd3-8f2c-ab7ff05f0c20" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_019fd838-3039-7e62-b9e4-dc014318b9de" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-7e62-b9e4-dc014318b9de_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019fd838-3039-7e62-b9e4-dc014318b9de" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-7e62-b9e4-dc014318b9de_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-7022-b05e-a6e7297a11a9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019fd838-3039-7e62-b9e4-dc014318b9de" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-7022-b05e-a6e7297a11a9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_PurchaseCrudeOilFromStrategicPetroleumReserveMember_019fd838-3039-7b45-956d-3c4a3362e808" xlink:href="mpc-20260930.xsd#mpc_PurchaseCrudeOilFromStrategicPetroleumReserveMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-7022-b05e-a6e7297a11a9" xlink:to="loc_mpc_PurchaseCrudeOilFromStrategicPetroleumReserveMember_019fd838-3039-7b45-956d-3c4a3362e808" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_DerivativeDifferential_019fd838-3039-7b36-8df2-09aef5f99a47" xlink:href="mpc-20260930.xsd#mpc_DerivativeDifferential"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_019fd838-3039-7ac3-82a8-5efe5bee010c" xlink:to="loc_mpc_DerivativeDifferential_019fd838-3039-7b36-8df2-09aef5f99a47" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh_019fd838-3039-78ad-8a3f-3a393cab24cf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_019fd838-3039-7ac3-82a8-5efe5bee010c" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh_019fd838-3039-78ad-8a3f-3a393cab24cf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeForwardPrice_019fd838-3039-7bdd-98be-f527107bb49e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeForwardPrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_019fd838-3039-7ac3-82a8-5efe5bee010c" xlink:to="loc_us-gaap_DerivativeForwardPrice_019fd838-3039-7bdd-98be-f527107bb49e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAverageForwardPrice_019fd838-3039-7f48-9e58-743ce2a9055e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAverageForwardPrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_019fd838-3039-7ac3-82a8-5efe5bee010c" xlink:to="loc_us-gaap_DerivativeAverageForwardPrice_019fd838-3039-7f48-9e58-743ce2a9055e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_FairValueInputsProbabilityofRenewalSecondTerm_019fd838-3039-73f9-bfac-f39b261bb0b2" xlink:href="mpc-20260930.xsd#mpc_FairValueInputsProbabilityofRenewalSecondTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_019fd838-3039-7ac3-82a8-5efe5bee010c" xlink:to="loc_mpc_FairValueInputsProbabilityofRenewalSecondTerm_019fd838-3039-73f9-bfac-f39b261bb0b2" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTermOfContract_019fd838-3039-706c-91d5-82099696b9cd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeTermOfContract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_019fd838-3039-7ac3-82a8-5efe5bee010c" xlink:to="loc_us-gaap_DerivativeTermOfContract_019fd838-3039-706c-91d5-82099696b9cd" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/FairValueMeasurementsFairValuesReportedDetail" xlink:type="simple" xlink:href="mpc-20260930.xsd#FairValueMeasurementsFairValuesReportedDetail"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/FairValueMeasurementsFairValuesReportedDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_01a17ee7-c8bd-7d08-a80a-1f85ad1e1137" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_01a17ee7-c8bd-7f2d-86a4-bb2f5c225ac8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_01a17ee7-c8bd-7d08-a80a-1f85ad1e1137" xlink:to="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_01a17ee7-c8bd-7f2d-86a4-bb2f5c225ac8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_01a17ee7-c8bd-7518-9289-023cc91c4a84" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByMeasurementBasisAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_01a17ee7-c8bd-7f2d-86a4-bb2f5c225ac8" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_01a17ee7-c8bd-7518-9289-023cc91c4a84" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_01a17ee7-c8bd-7518-9289-023cc91c4a84_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_01a17ee7-c8bd-7518-9289-023cc91c4a84" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_01a17ee7-c8bd-7518-9289-023cc91c4a84_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_01a18293-4175-76f3-a844-032d187ce6be" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueDisclosureItemAmountsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_01a17ee7-c8bd-7518-9289-023cc91c4a84" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_01a18293-4175-76f3-a844-032d187ce6be" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_01a17ee7-c8bd-7bcb-a68b-e642cc0ebf8f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_01a18293-4175-76f3-a844-032d187ce6be" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_01a17ee7-c8bd-7bcb-a68b-e642cc0ebf8f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_01a17ee7-c8bd-70f9-86b0-e9d46d7e72e7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CarryingReportedAmountFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_01a18293-4175-76f3-a844-032d187ce6be" xlink:to="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_01a17ee7-c8bd-70f9-86b0-e9d46d7e72e7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_01a17ee7-c8bd-73da-b217-18694bfd0c02" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_01a18293-4175-76f3-a844-032d187ce6be" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_01a17ee7-c8bd-73da-b217-18694bfd0c02" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtFairValue_01a17ee7-c8bd-7dbe-be0d-41381ead0e51" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_01a17ee7-c8bd-7d08-a80a-1f85ad1e1137" xlink:to="loc_us-gaap_LongTermDebtFairValue_01a17ee7-c8bd-7dbe-be0d-41381ead0e51" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/DerivativesClassificationofGrossFairValuesofDerivativeInstrumentsExcludingCashCollateralDetail" xlink:type="simple" xlink:href="mpc-20260930.xsd#DerivativesClassificationofGrossFairValuesofDerivativeInstrumentsExcludingCashCollateralDetail"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/DerivativesClassificationofGrossFairValuesofDerivativeInstrumentsExcludingCashCollateralDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_019fd838-3039-7631-9289-da8110e37706" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_019fd838-3039-7fa6-91eb-8da7f20a32bf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_019fd838-3039-7631-9289-da8110e37706" xlink:to="loc_us-gaap_DerivativeTable_019fd838-3039-7fa6-91eb-8da7f20a32bf" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_019fd838-3039-7661-b749-522ded672a1d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_019fd838-3039-7fa6-91eb-8da7f20a32bf" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_019fd838-3039-7661-b749-522ded672a1d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-7661-b749-522ded672a1d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019fd838-3039-7661-b749-522ded672a1d" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-7661-b749-522ded672a1d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-73b4-a557-5ed1ef27b52d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019fd838-3039-7661-b749-522ded672a1d" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-73b4-a557-5ed1ef27b52d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommodityContractMember_019fd838-3039-77f1-81e4-2193c14952ce" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommodityContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-73b4-a557-5ed1ef27b52d" xlink:to="loc_us-gaap_CommodityContractMember_019fd838-3039-77f1-81e4-2193c14952ce" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmbeddedDerivativeFinancialInstrumentsMember_019fd838-3039-78c1-8e4b-b5defdad212c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmbeddedDerivativeFinancialInstrumentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-73b4-a557-5ed1ef27b52d" xlink:to="loc_us-gaap_EmbeddedDerivativeFinancialInstrumentsMember_019fd838-3039-78c1-8e4b-b5defdad212c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementOfFinancialPositionLocationBalanceAxis_01a17de2-fcac-7491-9fb1-9868f1b90a0b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementOfFinancialPositionLocationBalanceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_019fd838-3039-7fa6-91eb-8da7f20a32bf" xlink:to="loc_us-gaap_StatementOfFinancialPositionLocationBalanceAxis_01a17de2-fcac-7491-9fb1-9868f1b90a0b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019fd838-3039-7d4a-b38f-e75c1fcace26" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_019fd838-3039-7631-9289-da8110e37706" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019fd838-3039-7d4a-b38f-e75c1fcace26" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossLiability_019fd838-3039-7bc7-bb75-c05eb46f5bc1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssetFairValueGrossLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_019fd838-3039-7631-9289-da8110e37706" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossLiability_019fd838-3039-7bc7-bb75-c05eb46f5bc1" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/DerivativesClassificationofGrossFairValuesofDerivativeInstrumentsExcludingCashCollateralDetail_1" xlink:type="simple" xlink:href="mpc-20260930.xsd#DerivativesClassificationofGrossFairValuesofDerivativeInstrumentsExcludingCashCollateralDetail_1"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/DerivativesClassificationofGrossFairValuesofDerivativeInstrumentsExcludingCashCollateralDetail_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_019fd838-3039-7631-9289-da8110e37706" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_019fd838-3039-7fa6-91eb-8da7f20a32bf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_019fd838-3039-7631-9289-da8110e37706" xlink:to="loc_us-gaap_DerivativeTable_019fd838-3039-7fa6-91eb-8da7f20a32bf" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_019fd838-3039-7661-b749-522ded672a1d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_019fd838-3039-7fa6-91eb-8da7f20a32bf" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_019fd838-3039-7661-b749-522ded672a1d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-7661-b749-522ded672a1d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019fd838-3039-7661-b749-522ded672a1d" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-7661-b749-522ded672a1d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-73b4-a557-5ed1ef27b52d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019fd838-3039-7661-b749-522ded672a1d" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-73b4-a557-5ed1ef27b52d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommodityContractMember_019fd838-3039-77f1-81e4-2193c14952ce" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommodityContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-73b4-a557-5ed1ef27b52d" xlink:to="loc_us-gaap_CommodityContractMember_019fd838-3039-77f1-81e4-2193c14952ce" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmbeddedDerivativeFinancialInstrumentsMember_019fd838-3039-78c1-8e4b-b5defdad212c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmbeddedDerivativeFinancialInstrumentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-73b4-a557-5ed1ef27b52d" xlink:to="loc_us-gaap_EmbeddedDerivativeFinancialInstrumentsMember_019fd838-3039-78c1-8e4b-b5defdad212c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019fd838-3039-7d4a-b38f-e75c1fcace26" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_019fd838-3039-7631-9289-da8110e37706" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019fd838-3039-7d4a-b38f-e75c1fcace26" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossLiability_019fd838-3039-7bc7-bb75-c05eb46f5bc1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssetFairValueGrossLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_019fd838-3039-7631-9289-da8110e37706" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossLiability_019fd838-3039-7bc7-bb75-c05eb46f5bc1" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/DerivativesOpenCommodityDerivativeContractsDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#DerivativesOpenCommodityDerivativeContractsDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/DerivativesOpenCommodityDerivativeContractsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_019fd838-3039-7f7e-9f7b-47cfdabf8b0c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_019fd838-3039-75c5-92f7-be8f7e053b44" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_019fd838-3039-7f7e-9f7b-47cfdabf8b0c" xlink:to="loc_us-gaap_DerivativeTable_019fd838-3039-75c5-92f7-be8f7e053b44" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EnergyAxis_019fd838-3039-749c-98f7-c5c313111e5e" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_EnergyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_019fd838-3039-75c5-92f7-be8f7e053b44" xlink:to="loc_srt_EnergyAxis_019fd838-3039-749c-98f7-c5c313111e5e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EnergyDomain_019fd838-3039-749c-98f7-c5c313111e5e_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_EnergyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_EnergyAxis_019fd838-3039-749c-98f7-c5c313111e5e" xlink:to="loc_srt_EnergyDomain_019fd838-3039-749c-98f7-c5c313111e5e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EnergyDomain_019fd838-3039-7ea2-9312-b93fb1caadbe" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_EnergyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_EnergyAxis_019fd838-3039-749c-98f7-c5c313111e5e" xlink:to="loc_srt_EnergyDomain_019fd838-3039-7ea2-9312-b93fb1caadbe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CrudeOilMember_019fd838-3039-764d-aa0b-9e9530f0a5ee" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_CrudeOilMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EnergyDomain_019fd838-3039-7ea2-9312-b93fb1caadbe" xlink:to="loc_srt_CrudeOilMember_019fd838-3039-764d-aa0b-9e9530f0a5ee" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_FuelMember_019fd838-3039-74b2-ae0b-beb3b0aaf1c4" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_FuelMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EnergyDomain_019fd838-3039-7ea2-9312-b93fb1caadbe" xlink:to="loc_srt_FuelMember_019fd838-3039-74b2-ae0b-beb3b0aaf1c4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_BlendingproductsMember_019fd838-3039-7698-aaf9-c328c0858881" xlink:href="mpc-20260930.xsd#mpc_BlendingproductsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EnergyDomain_019fd838-3039-7ea2-9312-b93fb1caadbe" xlink:to="loc_mpc_BlendingproductsMember_019fd838-3039-7698-aaf9-c328c0858881" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_SoybeanOilMember_019fd838-3039-70c1-b5c6-d9f191964f7c" xlink:href="mpc-20260930.xsd#mpc_SoybeanOilMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EnergyDomain_019fd838-3039-7ea2-9312-b93fb1caadbe" xlink:to="loc_mpc_SoybeanOilMember_019fd838-3039-70c1-b5c6-d9f191964f7c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PositionAxis_019fd838-3039-7fba-b189-9873c4239bc3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PositionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_019fd838-3039-75c5-92f7-be8f7e053b44" xlink:to="loc_us-gaap_PositionAxis_019fd838-3039-7fba-b189-9873c4239bc3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PositionDomain_019fd838-3039-7fba-b189-9873c4239bc3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PositionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PositionAxis_019fd838-3039-7fba-b189-9873c4239bc3" xlink:to="loc_us-gaap_PositionDomain_019fd838-3039-7fba-b189-9873c4239bc3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PositionDomain_019fd838-3039-71eb-97ee-47acf6ed81a2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PositionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PositionAxis_019fd838-3039-7fba-b189-9873c4239bc3" xlink:to="loc_us-gaap_PositionDomain_019fd838-3039-71eb-97ee-47acf6ed81a2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongMember_019fd838-3039-7fa7-b3bd-c2a50d74f86a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PositionDomain_019fd838-3039-71eb-97ee-47acf6ed81a2" xlink:to="loc_us-gaap_LongMember_019fd838-3039-7fa7-b3bd-c2a50d74f86a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortMember_019fd838-3039-743a-a6a5-c2857bdb4e93" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PositionDomain_019fd838-3039-71eb-97ee-47acf6ed81a2" xlink:to="loc_us-gaap_ShortMember_019fd838-3039-743a-a6a5-c2857bdb4e93" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_019fd838-3039-702d-9409-f1fbac6dee02" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_019fd838-3039-75c5-92f7-be8f7e053b44" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_019fd838-3039-702d-9409-f1fbac6dee02" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-702d-9409-f1fbac6dee02_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019fd838-3039-702d-9409-f1fbac6dee02" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-702d-9409-f1fbac6dee02_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-784c-abac-7cf3c89ca96d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019fd838-3039-702d-9409-f1fbac6dee02" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-784c-abac-7cf3c89ca96d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherContractMember_019fd838-3039-786a-a2a7-dc89d71254b2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-784c-abac-7cf3c89ca96d" xlink:to="loc_us-gaap_OtherContractMember_019fd838-3039-786a-a2a7-dc89d71254b2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransactionMarketMethodAxis_01a140ab-f75c-777e-8d73-10e1cbd2709d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransactionMarketMethodAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_019fd838-3039-75c5-92f7-be8f7e053b44" xlink:to="loc_us-gaap_TransactionMarketMethodAxis_01a140ab-f75c-777e-8d73-10e1cbd2709d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransactionMarketMethodDomain_01a140ab-f75c-777e-8d73-10e1cbd2709d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransactionMarketMethodDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TransactionMarketMethodAxis_01a140ab-f75c-777e-8d73-10e1cbd2709d" xlink:to="loc_us-gaap_TransactionMarketMethodDomain_01a140ab-f75c-777e-8d73-10e1cbd2709d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransactionMarketMethodDomain_01a140ab-f75c-7913-b72a-4f7901be115d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TransactionMarketMethodDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TransactionMarketMethodAxis_01a140ab-f75c-777e-8d73-10e1cbd2709d" xlink:to="loc_us-gaap_TransactionMarketMethodDomain_01a140ab-f75c-7913-b72a-4f7901be115d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ExchangeTradedMember_01a140b0-7082-7e60-9ea1-648d9f27ce1b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ExchangeTradedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransactionMarketMethodDomain_01a140ab-f75c-7913-b72a-4f7901be115d" xlink:to="loc_us-gaap_ExchangeTradedMember_01a140b0-7082-7e60-9ea1-648d9f27ce1b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_DerivativeInstrumentsPercentageOfDerivativeContractsExpiration1_019fd838-3039-7beb-a699-df98ddb89405" xlink:href="mpc-20260930.xsd#mpc_DerivativeInstrumentsPercentageOfDerivativeContractsExpiration1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_019fd838-3039-7f7e-9f7b-47cfdabf8b0c" xlink:to="loc_mpc_DerivativeInstrumentsPercentageOfDerivativeContractsExpiration1_019fd838-3039-7beb-a699-df98ddb89405" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeNonmonetaryNotionalAmount_019fd838-3039-7c0e-adb4-87abe8b76076" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeNonmonetaryNotionalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_019fd838-3039-7f7e-9f7b-47cfdabf8b0c" xlink:to="loc_us-gaap_DerivativeNonmonetaryNotionalAmount_019fd838-3039-7c0e-adb4-87abe8b76076" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/DerivativesEffectofCommodityDerivativeInstrumentsinStatementsofIncomeDetail" xlink:type="simple" xlink:href="mpc-20260930.xsd#DerivativesEffectofCommodityDerivativeInstrumentsinStatementsofIncomeDetail"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/DerivativesEffectofCommodityDerivativeInstrumentsinStatementsofIncomeDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_01a15a4f-5e04-74af-808b-a180063c8d10" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_019fd838-3039-7502-bb42-a1d1a4828eed" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_01a15a4f-5e04-74af-808b-a180063c8d10" xlink:to="loc_us-gaap_DerivativeTable_019fd838-3039-7502-bb42-a1d1a4828eed" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_019fd838-3039-7511-81ee-437e875a6a88" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_019fd838-3039-7502-bb42-a1d1a4828eed" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_019fd838-3039-7511-81ee-437e875a6a88" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-7511-81ee-437e875a6a88_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019fd838-3039-7511-81ee-437e875a6a88" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-7511-81ee-437e875a6a88_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-7c8e-a079-977610644694" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019fd838-3039-7511-81ee-437e875a6a88" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-7c8e-a079-977610644694" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommodityContractMember_019fd838-3039-7053-ad9c-5bb5c6ed60b8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommodityContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-7c8e-a079-977610644694" xlink:to="loc_us-gaap_CommodityContractMember_019fd838-3039-7053-ad9c-5bb5c6ed60b8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementOfIncomeLocationBalanceAxis_01a17ddc-d847-7c07-92f9-9b28c06335e6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementOfIncomeLocationBalanceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_019fd838-3039-7502-bb42-a1d1a4828eed" xlink:to="loc_us-gaap_StatementOfIncomeLocationBalanceAxis_01a17ddc-d847-7c07-92f9-9b28c06335e6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeGainLossOnDerivativeNet_01a15a4f-5e04-7665-892a-a29e938a023d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeGainLossOnDerivativeNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_01a15a4f-5e04-74af-808b-a180063c8d10" xlink:to="loc_us-gaap_DerivativeGainLossOnDerivativeNet_01a15a4f-5e04-7665-892a-a29e938a023d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsRealizedGainLossNetRealizedGain_01a15a52-c2b4-77a1-a1e3-27ee7346c57c" xlink:href="mpc-20260930.xsd#mpc_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsRealizedGainLossNetRealizedGain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_01a15a4f-5e04-74af-808b-a180063c8d10" xlink:to="loc_mpc_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsRealizedGainLossNetRealizedGain_01a15a52-c2b4-77a1-a1e3-27ee7346c57c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnDerivativesAndCommodityContracts_01a15a52-4d52-7561-a907-7ac562cba087" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnrealizedGainLossOnDerivativesAndCommodityContracts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_01a15a4f-5e04-74af-808b-a180063c8d10" xlink:to="loc_us-gaap_UnrealizedGainLossOnDerivativesAndCommodityContracts_01a15a52-4d52-7561-a907-7ac562cba087" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_01a17da3-b7bf-702b-ac64-428c90991f3d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_01a15a4f-5e04-74af-808b-a180063c8d10" xlink:to="loc_us-gaap_DerivativeLiabilities_01a17da3-b7bf-702b-ac64-428c90991f3d" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/DerivativesEffectofCommodityDerivativeInstrumentsinStatementsofIncomeDetail_1" xlink:type="simple" xlink:href="mpc-20260930.xsd#DerivativesEffectofCommodityDerivativeInstrumentsinStatementsofIncomeDetail_1"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/DerivativesEffectofCommodityDerivativeInstrumentsinStatementsofIncomeDetail_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_01a15a4f-5e04-74af-808b-a180063c8d10" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_019fd838-3039-7502-bb42-a1d1a4828eed" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_01a15a4f-5e04-74af-808b-a180063c8d10" xlink:to="loc_us-gaap_DerivativeTable_019fd838-3039-7502-bb42-a1d1a4828eed" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_019fd838-3039-7511-81ee-437e875a6a88" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_019fd838-3039-7502-bb42-a1d1a4828eed" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_019fd838-3039-7511-81ee-437e875a6a88" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-7511-81ee-437e875a6a88_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019fd838-3039-7511-81ee-437e875a6a88" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-7511-81ee-437e875a6a88_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-7c8e-a079-977610644694" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019fd838-3039-7511-81ee-437e875a6a88" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-7c8e-a079-977610644694" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommodityContractMember_019fd838-3039-7053-ad9c-5bb5c6ed60b8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommodityContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019fd838-3039-7c8e-a079-977610644694" xlink:to="loc_us-gaap_CommodityContractMember_019fd838-3039-7053-ad9c-5bb5c6ed60b8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeGainLossOnDerivativeNet_01a15a4f-5e04-7665-892a-a29e938a023d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeGainLossOnDerivativeNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_01a15a4f-5e04-74af-808b-a180063c8d10" xlink:to="loc_us-gaap_DerivativeGainLossOnDerivativeNet_01a15a4f-5e04-7665-892a-a29e938a023d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsRealizedGainLossNetRealizedGain_01a15a52-c2b4-77a1-a1e3-27ee7346c57c" xlink:href="mpc-20260930.xsd#mpc_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsRealizedGainLossNetRealizedGain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_01a15a4f-5e04-74af-808b-a180063c8d10" xlink:to="loc_mpc_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsRealizedGainLossNetRealizedGain_01a15a52-c2b4-77a1-a1e3-27ee7346c57c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnDerivativesAndCommodityContracts_01a15a52-4d52-7561-a907-7ac562cba087" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnrealizedGainLossOnDerivativesAndCommodityContracts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_01a15a4f-5e04-74af-808b-a180063c8d10" xlink:to="loc_us-gaap_UnrealizedGainLossOnDerivativesAndCommodityContracts_01a15a52-4d52-7561-a907-7ac562cba087" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_01a17da3-b7bf-702b-ac64-428c90991f3d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_01a15a4f-5e04-74af-808b-a180063c8d10" xlink:to="loc_us-gaap_DerivativeLiabilities_01a17da3-b7bf-702b-ac64-428c90991f3d" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/DerivativeInstrumentsandHedgingActivitiesDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#DerivativeInstrumentsandHedgingActivitiesDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/DerivativeInstrumentsandHedgingActivitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_01a17e35-d814-7dc7-98a1-0680bccdb0ec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_01a17e35-d814-7713-ae5e-94e5d7777df5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_01a17e35-d814-7dc7-98a1-0680bccdb0ec" xlink:to="loc_us-gaap_DerivativeTable_01a17e35-d814-7713-ae5e-94e5d7777df5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_01a17e35-d814-74d9-b751-40adc572cec5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_01a17e35-d814-7713-ae5e-94e5d7777df5" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_01a17e35-d814-74d9-b751-40adc572cec5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_01a17e35-d814-74d9-b751-40adc572cec5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_01a17e35-d814-74d9-b751-40adc572cec5" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_01a17e35-d814-74d9-b751-40adc572cec5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_01a17e35-d814-7848-8310-0e1bb9a59616" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_01a17e35-d814-74d9-b751-40adc572cec5" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_01a17e35-d814-7848-8310-0e1bb9a59616" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_PurchaseCrudeOilFromStrategicPetroleumReserveMember_01a17e35-d814-7af1-a7ca-7e83ceeb1487" xlink:href="mpc-20260930.xsd#mpc_PurchaseCrudeOilFromStrategicPetroleumReserveMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_01a17e35-d814-7848-8310-0e1bb9a59616" xlink:to="loc_mpc_PurchaseCrudeOilFromStrategicPetroleumReserveMember_01a17e35-d814-7af1-a7ca-7e83ceeb1487" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementOfFinancialPositionLocationBalanceAxis_01a17e36-2c24-78c5-90b7-e6577e71a272" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementOfFinancialPositionLocationBalanceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_01a17e35-d814-7713-ae5e-94e5d7777df5" xlink:to="loc_us-gaap_StatementOfFinancialPositionLocationBalanceAxis_01a17e36-2c24-78c5-90b7-e6577e71a272" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_01a17e35-d814-75b7-836b-209fe4eeffec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_01a17e35-d814-7dc7-98a1-0680bccdb0ec" xlink:to="loc_us-gaap_DerivativeLiabilities_01a17e35-d814-75b7-836b-209fe4eeffec" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/DerivativeInstrumentsandHedgingActivitiesDetails_1" xlink:type="simple" xlink:href="mpc-20260930.xsd#DerivativeInstrumentsandHedgingActivitiesDetails_1"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/DerivativeInstrumentsandHedgingActivitiesDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_01a17e35-d814-7dc7-98a1-0680bccdb0ec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_01a17e35-d814-7713-ae5e-94e5d7777df5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_01a17e35-d814-7dc7-98a1-0680bccdb0ec" xlink:to="loc_us-gaap_DerivativeTable_01a17e35-d814-7713-ae5e-94e5d7777df5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_01a17e35-d814-74d9-b751-40adc572cec5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_01a17e35-d814-7713-ae5e-94e5d7777df5" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_01a17e35-d814-74d9-b751-40adc572cec5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_01a17e35-d814-74d9-b751-40adc572cec5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_01a17e35-d814-74d9-b751-40adc572cec5" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_01a17e35-d814-74d9-b751-40adc572cec5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_01a17e35-d814-7848-8310-0e1bb9a59616" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_01a17e35-d814-74d9-b751-40adc572cec5" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_01a17e35-d814-7848-8310-0e1bb9a59616" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_PurchaseCrudeOilFromStrategicPetroleumReserveMember_01a17e35-d814-7af1-a7ca-7e83ceeb1487" xlink:href="mpc-20260930.xsd#mpc_PurchaseCrudeOilFromStrategicPetroleumReserveMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_01a17e35-d814-7848-8310-0e1bb9a59616" xlink:to="loc_mpc_PurchaseCrudeOilFromStrategicPetroleumReserveMember_01a17e35-d814-7af1-a7ca-7e83ceeb1487" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_01a17e35-d814-75b7-836b-209fe4eeffec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_01a17e35-d814-7dc7-98a1-0680bccdb0ec" xlink:to="loc_us-gaap_DerivativeLiabilities_01a17e35-d814-75b7-836b-209fe4eeffec" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/DebtOutstandingBorrowingsDetail" xlink:type="simple" xlink:href="mpc-20260930.xsd#DebtOutstandingBorrowingsDetail"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/DebtOutstandingBorrowingsDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_019fd838-3039-76f8-b3c7-2cc30282e900" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019fd838-3039-789b-9755-871d9fd90467" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_019fd838-3039-76f8-b3c7-2cc30282e900" xlink:to="loc_us-gaap_DebtInstrumentTable_019fd838-3039-789b-9755-871d9fd90467" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_019fd838-3039-7e2c-a3fd-7b503205e664" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019fd838-3039-789b-9755-871d9fd90467" xlink:to="loc_srt_ConsolidatedEntitiesAxis_019fd838-3039-7e2c-a3fd-7b503205e664" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_019fd838-3039-7e2c-a3fd-7b503205e664_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_019fd838-3039-7e2c-a3fd-7b503205e664" xlink:to="loc_srt_ConsolidatedEntitiesDomain_019fd838-3039-7e2c-a3fd-7b503205e664_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_019fd838-3039-741e-9f78-02b39770b4d9" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_019fd838-3039-7e2c-a3fd-7b503205e664" xlink:to="loc_srt_ConsolidatedEntitiesDomain_019fd838-3039-741e-9f78-02b39770b4d9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ParentCompanyMember_019fd838-3039-7dd7-a21a-11a9f5bb0c16" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ParentCompanyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_019fd838-3039-741e-9f78-02b39770b4d9" xlink:to="loc_srt_ParentCompanyMember_019fd838-3039-7dd7-a21a-11a9f5bb0c16" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SubsidiariesMember_019fd838-3039-7e2f-a6c9-3db382d9e2ef" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_SubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_019fd838-3039-741e-9f78-02b39770b4d9" xlink:to="loc_srt_SubsidiariesMember_019fd838-3039-7e2f-a6c9-3db382d9e2ef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019fd838-3039-7bd0-a80c-9a3256537103" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019fd838-3039-789b-9755-871d9fd90467" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019fd838-3039-7bd0-a80c-9a3256537103" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019fd838-3039-7bd0-a80c-9a3256537103_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019fd838-3039-7bd0-a80c-9a3256537103" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019fd838-3039-7bd0-a80c-9a3256537103_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019fd838-3039-78d3-bc65-6db850032dc8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019fd838-3039-7bd0-a80c-9a3256537103" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019fd838-3039-78d3-bc65-6db850032dc8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_019fd838-3039-7c67-bf53-b19066baf150" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019fd838-3039-78d3-bc65-6db850032dc8" xlink:to="loc_us-gaap_SeniorNotesMember_019fd838-3039-7c67-bf53-b19066baf150" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BondsMember_019fd838-3039-7158-b9fe-d8337b9b274c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BondsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019fd838-3039-78d3-bc65-6db850032dc8" xlink:to="loc_us-gaap_BondsMember_019fd838-3039-7158-b9fe-d8337b9b274c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_01a14011-ecae-7dc3-b6fa-f1cf814409f9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019fd838-3039-789b-9755-871d9fd90467" xlink:to="loc_us-gaap_DebtInstrumentAxis_01a14011-ecae-7dc3-b6fa-f1cf814409f9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_01a14011-ecae-7dc3-b6fa-f1cf814409f9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_01a14011-ecae-7dc3-b6fa-f1cf814409f9" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_01a14011-ecae-7dc3-b6fa-f1cf814409f9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_01a14011-ecae-710d-b176-7ef578242c0c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_01a14011-ecae-7dc3-b6fa-f1cf814409f9" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_01a14011-ecae-710d-b176-7ef578242c0c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_SeniorNotes5.125DueDecember2026Member_01a14013-0330-7c83-afcd-50a1f273f8c8" xlink:href="mpc-20260930.xsd#mpc_SeniorNotes5.125DueDecember2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_01a14011-ecae-710d-b176-7ef578242c0c" xlink:to="loc_mpc_SeniorNotes5.125DueDecember2026Member_01a14013-0330-7c83-afcd-50a1f273f8c8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_019fd838-3039-7db5-9274-f351d46c7c10" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-3039-76f8-b3c7-2cc30282e900" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_019fd838-3039-7db5-9274-f351d46c7c10" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLongTermDebt_019fd838-3039-7f72-93e5-d4c2f4a18c3f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherLongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-3039-76f8-b3c7-2cc30282e900" xlink:to="loc_us-gaap_OtherLongTermDebt_019fd838-3039-7f72-93e5-d4c2f4a18c3f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_019fd838-3039-7fbb-bae5-ee658e848030" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinanceLeaseLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-3039-76f8-b3c7-2cc30282e900" xlink:to="loc_us-gaap_FinanceLeaseLiability_019fd838-3039-7fbb-bae5-ee658e848030" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndCapitalLeaseObligations_019fd838-3039-7fcf-8405-7e318147300b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtAndCapitalLeaseObligations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-3039-76f8-b3c7-2cc30282e900" xlink:to="loc_us-gaap_DebtAndCapitalLeaseObligations_019fd838-3039-7fcf-8405-7e318147300b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_019fd838-3039-735c-b84f-e361d05ae33b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-3039-76f8-b3c7-2cc30282e900" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_019fd838-3039-735c-b84f-e361d05ae33b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_019fd838-3039-7d8b-ac97-4fc2736ae9b2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-3039-76f8-b3c7-2cc30282e900" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_019fd838-3039-7d8b-ac97-4fc2736ae9b2" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtCurrent_019fd838-3039-78bf-ac28-e40cbfab2089" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-3039-76f8-b3c7-2cc30282e900" xlink:to="loc_us-gaap_DebtCurrent_019fd838-3039-78bf-ac28-e40cbfab2089" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_019fd838-3039-734a-9ad5-6b62dcd438cd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-3039-76f8-b3c7-2cc30282e900" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_019fd838-3039-734a-9ad5-6b62dcd438cd" xlink:type="arc" order="7"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/DebtMPCSeniorNotesDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#DebtMPCSeniorNotesDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/DebtMPCSeniorNotesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_01a17e6a-2abd-74fd-ada3-9bd09d9302a4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_01a17e6a-2abd-7a24-ada5-ab18a6061963" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_01a17e6a-2abd-74fd-ada3-9bd09d9302a4" xlink:to="loc_us-gaap_DebtInstrumentTable_01a17e6a-2abd-7a24-ada5-ab18a6061963" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_01a17e6a-2abd-75c0-89dd-2951726fbd71" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_01a17e6a-2abd-7a24-ada5-ab18a6061963" xlink:to="loc_srt_ConsolidatedEntitiesAxis_01a17e6a-2abd-75c0-89dd-2951726fbd71" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_01a17e6a-2abd-75c0-89dd-2951726fbd71_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_01a17e6a-2abd-75c0-89dd-2951726fbd71" xlink:to="loc_srt_ConsolidatedEntitiesDomain_01a17e6a-2abd-75c0-89dd-2951726fbd71_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_01a17e6a-2abd-7679-a449-5fb4fd51744a" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_01a17e6a-2abd-75c0-89dd-2951726fbd71" xlink:to="loc_srt_ConsolidatedEntitiesDomain_01a17e6a-2abd-7679-a449-5fb4fd51744a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ParentCompanyMember_01a17e6a-2abd-7f63-ab76-f803b76ce67b" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ParentCompanyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_01a17e6a-2abd-7679-a449-5fb4fd51744a" xlink:to="loc_srt_ParentCompanyMember_01a17e6a-2abd-7f63-ab76-f803b76ce67b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_01a17e6a-2abd-7119-adc8-5d529539c93b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_01a17e6a-2abd-7a24-ada5-ab18a6061963" xlink:to="loc_us-gaap_DebtInstrumentAxis_01a17e6a-2abd-7119-adc8-5d529539c93b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_01a17e6a-2abd-7119-adc8-5d529539c93b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_01a17e6a-2abd-7119-adc8-5d529539c93b" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_01a17e6a-2abd-7119-adc8-5d529539c93b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_01a17e6a-2abd-778e-b434-e9c45751ba6b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_01a17e6a-2abd-7119-adc8-5d529539c93b" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_01a17e6a-2abd-778e-b434-e9c45751ba6b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_SeniorNotes5.125DueDecember2026Member_01a17e6a-2abd-7c23-8492-fe93874f1c08" xlink:href="mpc-20260930.xsd#mpc_SeniorNotes5.125DueDecember2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_01a17e6a-2abd-778e-b434-e9c45751ba6b" xlink:to="loc_mpc_SeniorNotes5.125DueDecember2026Member_01a17e6a-2abd-7c23-8492-fe93874f1c08" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_01a17e6a-2abd-79d4-94b4-2a6d506e8252" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_01a17e6a-2abd-7a24-ada5-ab18a6061963" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_01a17e6a-2abd-79d4-94b4-2a6d506e8252" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_01a17e6a-2abd-79d4-94b4-2a6d506e8252_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_01a17e6a-2abd-79d4-94b4-2a6d506e8252" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_01a17e6a-2abd-79d4-94b4-2a6d506e8252_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_01a17e6a-2abd-7ed3-a8ef-82d369420b14" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_01a17e6a-2abd-79d4-94b4-2a6d506e8252" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_01a17e6a-2abd-7ed3-a8ef-82d369420b14" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_01a17e6a-2abd-768b-b359-58639403d8f4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_01a17e6a-2abd-7ed3-a8ef-82d369420b14" xlink:to="loc_us-gaap_SeniorNotesMember_01a17e6a-2abd-768b-b359-58639403d8f4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfDebt_01a17e6a-2abd-7a42-8555-a0882ea7a7cb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_01a17e6a-2abd-74fd-ada3-9bd09d9302a4" xlink:to="loc_us-gaap_RepaymentsOfDebt_01a17e6a-2abd-7a42-8555-a0882ea7a7cb" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/DebtMPLXSeniorNotesDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#DebtMPLXSeniorNotesDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/DebtMPLXSeniorNotesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019fd838-3039-7afb-899f-5051be5912d3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019fd838-3039-76ef-bd60-cb5ff59eb5bf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd838-3039-7afb-899f-5051be5912d3" xlink:to="loc_us-gaap_DebtInstrumentTable_019fd838-3039-76ef-bd60-cb5ff59eb5bf" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_019fd838-3039-705c-b02d-120db32d0507" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019fd838-3039-76ef-bd60-cb5ff59eb5bf" xlink:to="loc_srt_ConsolidatedEntitiesAxis_019fd838-3039-705c-b02d-120db32d0507" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_019fd838-3039-705c-b02d-120db32d0507_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_019fd838-3039-705c-b02d-120db32d0507" xlink:to="loc_srt_ConsolidatedEntitiesDomain_019fd838-3039-705c-b02d-120db32d0507_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_019fd838-3039-7c97-90b8-0084da10a7e5" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_019fd838-3039-705c-b02d-120db32d0507" xlink:to="loc_srt_ConsolidatedEntitiesDomain_019fd838-3039-7c97-90b8-0084da10a7e5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SubsidiariesMember_019fd838-3039-725d-8c3f-439c10eae841" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_SubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_019fd838-3039-7c97-90b8-0084da10a7e5" xlink:to="loc_srt_SubsidiariesMember_019fd838-3039-725d-8c3f-439c10eae841" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019fd838-3039-71d6-ad92-7e89acdda91f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019fd838-3039-76ef-bd60-cb5ff59eb5bf" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019fd838-3039-71d6-ad92-7e89acdda91f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019fd838-3039-71d6-ad92-7e89acdda91f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019fd838-3039-71d6-ad92-7e89acdda91f" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019fd838-3039-71d6-ad92-7e89acdda91f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019fd838-3039-7eff-874a-28842df1ca68" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019fd838-3039-71d6-ad92-7e89acdda91f" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019fd838-3039-7eff-874a-28842df1ca68" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_019fd838-3039-7ae1-81f2-e85b9004c8a3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019fd838-3039-7eff-874a-28842df1ca68" xlink:to="loc_us-gaap_SeniorNotesMember_019fd838-3039-7ae1-81f2-e85b9004c8a3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019fd838-3039-7f25-9821-3d9bcbea5e11" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019fd838-3039-76ef-bd60-cb5ff59eb5bf" xlink:to="loc_us-gaap_DebtInstrumentAxis_019fd838-3039-7f25-9821-3d9bcbea5e11" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019fd838-3039-7f25-9821-3d9bcbea5e11_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019fd838-3039-7f25-9821-3d9bcbea5e11" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019fd838-3039-7f25-9821-3d9bcbea5e11_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019fd838-3039-796f-ad7f-93961a2df361" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019fd838-3039-7f25-9821-3d9bcbea5e11" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019fd838-3039-796f-ad7f-93961a2df361" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_SeniorNotes5.300DueApril2036Member_019fd838-3039-7d6b-8f37-58f8a3c43f72" xlink:href="mpc-20260930.xsd#mpc_SeniorNotes5.300DueApril2036Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019fd838-3039-796f-ad7f-93961a2df361" xlink:to="loc_mpc_SeniorNotes5.300DueApril2036Member_019fd838-3039-7d6b-8f37-58f8a3c43f72" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_SeniorNotes6.100DueApril2056Member_019fd838-3039-7f94-9678-78d9448426f4" xlink:href="mpc-20260930.xsd#mpc_SeniorNotes6.100DueApril2056Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019fd838-3039-796f-ad7f-93961a2df361" xlink:to="loc_mpc_SeniorNotes6.100DueApril2056Member_019fd838-3039-7f94-9678-78d9448426f4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_SeniorNotes4.700DueNovember2029Member_01a0aa4f-6f2c-7d14-a2de-64ccd4be58d0" xlink:href="mpc-20260930.xsd#mpc_SeniorNotes4.700DueNovember2029Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019fd838-3039-796f-ad7f-93961a2df361" xlink:to="loc_mpc_SeniorNotes4.700DueNovember2029Member_01a0aa4f-6f2c-7d14-a2de-64ccd4be58d0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_SeniorNotes5.000DueMay2032Member_01a0aa50-721a-7700-8d88-54fd296443e7" xlink:href="mpc-20260930.xsd#mpc_SeniorNotes5.000DueMay2032Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019fd838-3039-796f-ad7f-93961a2df361" xlink:to="loc_mpc_SeniorNotes5.000DueMay2032Member_01a0aa50-721a-7700-8d88-54fd296443e7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_SeniorNotes5.500DueNovember2036Member_01a0aa51-0569-7716-9fda-c95ca79ee721" xlink:href="mpc-20260930.xsd#mpc_SeniorNotes5.500DueNovember2036Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019fd838-3039-796f-ad7f-93961a2df361" xlink:to="loc_mpc_SeniorNotes5.500DueNovember2036Member_01a0aa51-0569-7716-9fda-c95ca79ee721" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_SeniorNotesDueMarch2026Member_01a17e1b-24c0-747a-a868-37e1ac991c37" xlink:href="mpc-20260930.xsd#mpc_SeniorNotesDueMarch2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019fd838-3039-796f-ad7f-93961a2df361" xlink:to="loc_mpc_SeniorNotesDueMarch2026Member_01a17e1b-24c0-747a-a868-37e1ac991c37" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_SeniorNotesDueMarch20274.125Member_01a17e3b-05e6-78dd-b481-7256122fe109" xlink:href="mpc-20260930.xsd#mpc_SeniorNotesDueMarch20274.125Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019fd838-3039-796f-ad7f-93961a2df361" xlink:to="loc_mpc_SeniorNotesDueMarch20274.125Member_01a17e3b-05e6-78dd-b481-7256122fe109" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentIssuanceDate1_01a0ab3a-1be5-741c-ab36-2a7c16761624" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentIssuanceDate1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd838-3039-7afb-899f-5051be5912d3" xlink:to="loc_us-gaap_DebtInstrumentIssuanceDate1_01a0ab3a-1be5-741c-ab36-2a7c16761624" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_019fd838-3039-7283-99e4-344568bbfdc9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd838-3039-7afb-899f-5051be5912d3" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_019fd838-3039-7283-99e4-344568bbfdc9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_01a0ab3e-6b28-7de9-96f3-bf4e107c755c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd838-3039-7afb-899f-5051be5912d3" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_01a0ab3e-6b28-7de9-96f3-bf4e107c755c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_PercentOfPar_01a0ab41-db76-7809-8533-d2b832246d4f" xlink:href="mpc-20260930.xsd#mpc_PercentOfPar"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd838-3039-7afb-899f-5051be5912d3" xlink:to="loc_mpc_PercentOfPar_01a0ab41-db76-7809-8533-d2b832246d4f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentMaturityDate_01a0ab43-135e-7218-bac2-695137c57ddd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentMaturityDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd838-3039-7afb-899f-5051be5912d3" xlink:to="loc_us-gaap_DebtInstrumentMaturityDate_01a0ab43-135e-7218-bac2-695137c57ddd" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfDebt_019fd838-3039-74f3-acb0-9d808a387e44" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd838-3039-7afb-899f-5051be5912d3" xlink:to="loc_us-gaap_RepaymentsOfDebt_019fd838-3039-74f3-acb0-9d808a387e44" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/DebtAvailableCapacityunderourFacilitiesDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#DebtAvailableCapacityunderourFacilitiesDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/DebtAvailableCapacityunderourFacilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019fd838-3039-71c6-83dc-cc2003ee32c1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019fd838-3039-7f3d-97d8-a24ca0256754" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd838-3039-71c6-83dc-cc2003ee32c1" xlink:to="loc_us-gaap_DebtInstrumentTable_019fd838-3039-7f3d-97d8-a24ca0256754" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_019fd838-3039-757a-a26e-890d1bb29dfb" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019fd838-3039-7f3d-97d8-a24ca0256754" xlink:to="loc_srt_ConsolidatedEntitiesAxis_019fd838-3039-757a-a26e-890d1bb29dfb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_019fd838-3039-757a-a26e-890d1bb29dfb_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_019fd838-3039-757a-a26e-890d1bb29dfb" xlink:to="loc_srt_ConsolidatedEntitiesDomain_019fd838-3039-757a-a26e-890d1bb29dfb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_019fd838-3039-7099-bcb0-4a866b37396b" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_019fd838-3039-757a-a26e-890d1bb29dfb" xlink:to="loc_srt_ConsolidatedEntitiesDomain_019fd838-3039-7099-bcb0-4a866b37396b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SubsidiariesMember_019fd838-3039-7411-acdf-468611b31cfb" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_SubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_019fd838-3039-7099-bcb0-4a866b37396b" xlink:to="loc_srt_SubsidiariesMember_019fd838-3039-7411-acdf-468611b31cfb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019fd838-3039-71e0-9006-0a748b1e460d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019fd838-3039-7f3d-97d8-a24ca0256754" xlink:to="loc_us-gaap_DebtInstrumentAxis_019fd838-3039-71e0-9006-0a748b1e460d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019fd838-3039-71e0-9006-0a748b1e460d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019fd838-3039-71e0-9006-0a748b1e460d" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019fd838-3039-71e0-9006-0a748b1e460d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019fd838-3039-7e4e-9923-d7073a1d596c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019fd838-3039-71e0-9006-0a748b1e460d" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019fd838-3039-7e4e-9923-d7073a1d596c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_MPCRevolvingCreditFacilityDueJuly2027Member_019fd838-3039-7f66-bf0c-37f2d79fcbc5" xlink:href="mpc-20260930.xsd#mpc_MPCRevolvingCreditFacilityDueJuly2027Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019fd838-3039-7e4e-9923-d7073a1d596c" xlink:to="loc_mpc_MPCRevolvingCreditFacilityDueJuly2027Member_019fd838-3039-7f66-bf0c-37f2d79fcbc5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_TradeReceivablesSecuritizationDueSeptember2027Member_019fd838-3039-7e0d-8438-f380a4ca0a6b" xlink:href="mpc-20260930.xsd#mpc_TradeReceivablesSecuritizationDueSeptember2027Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019fd838-3039-7e4e-9923-d7073a1d596c" xlink:to="loc_mpc_TradeReceivablesSecuritizationDueSeptember2027Member_019fd838-3039-7e0d-8438-f380a4ca0a6b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_MPLXRevolvingCreditFacilityDueJuly2027Member_019fd838-3039-7151-a1a8-d2927ae61789" xlink:href="mpc-20260930.xsd#mpc_MPLXRevolvingCreditFacilityDueJuly2027Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019fd838-3039-7e4e-9923-d7073a1d596c" xlink:to="loc_mpc_MPLXRevolvingCreditFacilityDueJuly2027Member_019fd838-3039-7151-a1a8-d2927ae61789" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_MPLXRevolvingCreditFacilityDueApril2031Member_019fd838-3039-7da8-a04f-7fd3abc6c0b5" xlink:href="mpc-20260930.xsd#mpc_MPLXRevolvingCreditFacilityDueApril2031Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019fd838-3039-7e4e-9923-d7073a1d596c" xlink:to="loc_mpc_MPLXRevolvingCreditFacilityDueApril2031Member_019fd838-3039-7da8-a04f-7fd3abc6c0b5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_MPCRevolvingCreditFacilityDueApril2031Member_019fd838-3039-748e-ab47-d3712f90d266" xlink:href="mpc-20260930.xsd#mpc_MPCRevolvingCreditFacilityDueApril2031Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019fd838-3039-7e4e-9923-d7073a1d596c" xlink:to="loc_mpc_MPCRevolvingCreditFacilityDueApril2031Member_019fd838-3039-748e-ab47-d3712f90d266" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_TradeReceivablesSecuritizationDueApril2029Member_019fd838-3039-7d2a-9e1c-c5edc5858f47" xlink:href="mpc-20260930.xsd#mpc_TradeReceivablesSecuritizationDueApril2029Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019fd838-3039-7e4e-9923-d7073a1d596c" xlink:to="loc_mpc_TradeReceivablesSecuritizationDueApril2029Member_019fd838-3039-7d2a-9e1c-c5edc5858f47" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_019fd838-3039-7103-bd21-4a28a4f17674" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019fd838-3039-7f3d-97d8-a24ca0256754" xlink:to="loc_us-gaap_CreditFacilityAxis_019fd838-3039-7103-bd21-4a28a4f17674" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019fd838-3039-7103-bd21-4a28a4f17674_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_019fd838-3039-7103-bd21-4a28a4f17674" xlink:to="loc_us-gaap_CreditFacilityDomain_019fd838-3039-7103-bd21-4a28a4f17674_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019fd838-3039-76e5-adcb-12ebb7cef813" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_019fd838-3039-7103-bd21-4a28a4f17674" xlink:to="loc_us-gaap_CreditFacilityDomain_019fd838-3039-76e5-adcb-12ebb7cef813" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_SwingLineLoanMember_019fd838-3039-7f92-ac8b-ffaa927476d7" xlink:href="mpc-20260930.xsd#mpc_SwingLineLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_019fd838-3039-76e5-adcb-12ebb7cef813" xlink:to="loc_mpc_SwingLineLoanMember_019fd838-3039-7f92-ac8b-ffaa927476d7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LetterOfCreditMember_019fd838-3039-78af-ae1e-d2b6f5036754" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LetterOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_019fd838-3039-76e5-adcb-12ebb7cef813" xlink:to="loc_us-gaap_LetterOfCreditMember_019fd838-3039-78af-ae1e-d2b6f5036754" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_UncommittedAmountMember_019fd838-3039-794f-8260-174ae2166879" xlink:href="mpc-20260930.xsd#mpc_UncommittedAmountMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_019fd838-3039-76e5-adcb-12ebb7cef813" xlink:to="loc_mpc_UncommittedAmountMember_019fd838-3039-794f-8260-174ae2166879" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsAxis_019fd838-3039-70ca-a0d2-a64d332e8f7f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherCommitmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019fd838-3039-7f3d-97d8-a24ca0256754" xlink:to="loc_us-gaap_OtherCommitmentsAxis_019fd838-3039-70ca-a0d2-a64d332e8f7f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsDomain_019fd838-3039-70ca-a0d2-a64d332e8f7f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherCommitmentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_OtherCommitmentsAxis_019fd838-3039-70ca-a0d2-a64d332e8f7f" xlink:to="loc_us-gaap_OtherCommitmentsDomain_019fd838-3039-70ca-a0d2-a64d332e8f7f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsDomain_019fd838-3039-7155-bb5f-46144241a6bb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherCommitmentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_OtherCommitmentsAxis_019fd838-3039-70ca-a0d2-a64d332e8f7f" xlink:to="loc_us-gaap_OtherCommitmentsDomain_019fd838-3039-7155-bb5f-46144241a6bb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_PurchaseCrudeOilFromStrategicPetroleumReserveMember_019fd838-3039-7910-a2c6-e30620bb1409" xlink:href="mpc-20260930.xsd#mpc_PurchaseCrudeOilFromStrategicPetroleumReserveMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsDomain_019fd838-3039-7155-bb5f-46144241a6bb" xlink:to="loc_mpc_PurchaseCrudeOilFromStrategicPetroleumReserveMember_019fd838-3039-7910-a2c6-e30620bb1409" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity_019fd838-3039-7c4e-8170-4c7982cb3bfe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd838-3039-71c6-83dc-cc2003ee32c1" xlink:to="loc_us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity_019fd838-3039-7c4e-8170-4c7982cb3bfe" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_019fd838-3039-767a-a9bc-89cb855e262f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCredit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd838-3039-71c6-83dc-cc2003ee32c1" xlink:to="loc_us-gaap_LineOfCredit_019fd838-3039-767a-a9bc-89cb855e262f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_019fd838-3039-7015-b47e-e41e97c29e35" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LettersOfCreditOutstandingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd838-3039-71c6-83dc-cc2003ee32c1" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_019fd838-3039-7015-b47e-e41e97c29e35" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_019fd838-3039-7f4b-9f8d-f69ba654e91a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd838-3039-71c6-83dc-cc2003ee32c1" xlink:to="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_019fd838-3039-7f4b-9f8d-f69ba654e91a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtWeightedAverageInterestRate_019fd838-3039-7003-81d7-7d425b90afc6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtWeightedAverageInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd838-3039-71c6-83dc-cc2003ee32c1" xlink:to="loc_us-gaap_DebtWeightedAverageInterestRate_019fd838-3039-7003-81d7-7d425b90afc6" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_019fd838-3039-7ef0-8674-ae155549dd56" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019fd838-3039-71c6-83dc-cc2003ee32c1" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_019fd838-3039-7ef0-8674-ae155549dd56" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/RevenueDisaggregatedbyProductLineDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#RevenueDisaggregatedbyProductLineDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/RevenueDisaggregatedbyProductLineDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_019fd838-3039-74b5-963f-aba4daf95c88" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019fd838-3039-7c5d-80a4-d8c8b32691ec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_019fd838-3039-74b5-963f-aba4daf95c88" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019fd838-3039-7c5d-80a4-d8c8b32691ec" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-7b46-9dc6-6964b5a1cf3b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019fd838-3039-7c5d-80a4-d8c8b32691ec" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-7b46-9dc6-6964b5a1cf3b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019fd838-3039-7b46-9dc6-6964b5a1cf3b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-7b46-9dc6-6964b5a1cf3b" xlink:to="loc_us-gaap_SegmentDomain_019fd838-3039-7b46-9dc6-6964b5a1cf3b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019fd838-3039-7cdc-b874-a713fb0f26e0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019fd838-3039-7b46-9dc6-6964b5a1cf3b" xlink:to="loc_us-gaap_SegmentDomain_019fd838-3039-7cdc-b874-a713fb0f26e0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_RefiningAndMarketingMember_019fd838-3039-75a7-97b8-211039dad133" xlink:href="mpc-20260930.xsd#mpc_RefiningAndMarketingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019fd838-3039-7cdc-b874-a713fb0f26e0" xlink:to="loc_mpc_RefiningAndMarketingMember_019fd838-3039-75a7-97b8-211039dad133" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_MidstreamMember_019fd838-3039-77e4-9b2e-6467d54a5238" xlink:href="mpc-20260930.xsd#mpc_MidstreamMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019fd838-3039-7cdc-b874-a713fb0f26e0" xlink:to="loc_mpc_MidstreamMember_019fd838-3039-77e4-9b2e-6467d54a5238" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_RenewableDieselMember_019fd838-3039-71a5-bf46-75d8aa3c99a4" xlink:href="mpc-20260930.xsd#mpc_RenewableDieselMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019fd838-3039-7cdc-b874-a713fb0f26e0" xlink:to="loc_mpc_RenewableDieselMember_019fd838-3039-71a5-bf46-75d8aa3c99a4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_019fd838-3039-77cd-8ef5-b757abbe2148" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019fd838-3039-7c5d-80a4-d8c8b32691ec" xlink:to="loc_srt_ProductOrServiceAxis_019fd838-3039-77cd-8ef5-b757abbe2148" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019fd838-3039-77cd-8ef5-b757abbe2148_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_019fd838-3039-77cd-8ef5-b757abbe2148" xlink:to="loc_srt_ProductsAndServicesDomain_019fd838-3039-77cd-8ef5-b757abbe2148_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019fd838-3039-789e-8499-a640be34d665" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_019fd838-3039-77cd-8ef5-b757abbe2148" xlink:to="loc_srt_ProductsAndServicesDomain_019fd838-3039-789e-8499-a640be34d665" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_RefinedProductsMember_019fd838-3039-79df-b3c0-d7c2838cb561" xlink:href="mpc-20260930.xsd#mpc_RefinedProductsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019fd838-3039-789e-8499-a640be34d665" xlink:to="loc_mpc_RefinedProductsMember_019fd838-3039-79df-b3c0-d7c2838cb561" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CrudeOilMember_019fd838-3039-7bfb-8204-e54c09470e9f" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_CrudeOilMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019fd838-3039-789e-8499-a640be34d665" xlink:to="loc_srt_CrudeOilMember_019fd838-3039-7bfb-8204-e54c09470e9f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_ServicesAndOtherMember_019fd838-3039-79d4-8d21-d57cbc497d5e" xlink:href="mpc-20260930.xsd#mpc_ServicesAndOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019fd838-3039-789e-8499-a640be34d665" xlink:to="loc_mpc_ServicesAndOtherMember_019fd838-3039-79d4-8d21-d57cbc497d5e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019fd838-3039-7cd7-b3b7-a8fe1a96f797" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019fd838-3039-74b5-963f-aba4daf95c88" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019fd838-3039-7cd7-b3b7-a8fe1a96f797" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#SupplementalCashFlowInformationDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxPaidByIndividualJurisdictionLineItems_019fd838-3039-7ca4-9329-973cd8d4d902" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxPaidByIndividualJurisdictionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxPaidByIndividualJurisdictionTable_019fd838-3039-7615-b7ae-55cf282cb0aa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxPaidByIndividualJurisdictionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_IncomeTaxPaidByIndividualJurisdictionLineItems_019fd838-3039-7ca4-9329-973cd8d4d902" xlink:to="loc_us-gaap_IncomeTaxPaidByIndividualJurisdictionTable_019fd838-3039-7615-b7ae-55cf282cb0aa" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_019fd838-3039-7fc4-94c0-933d7daff4b7" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeTaxPaidByIndividualJurisdictionTable_019fd838-3039-7615-b7ae-55cf282cb0aa" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_019fd838-3039-7fc4-94c0-933d7daff4b7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_019fd838-3039-7fc4-94c0-933d7daff4b7_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_019fd838-3039-7fc4-94c0-933d7daff4b7" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_019fd838-3039-7fc4-94c0-933d7daff4b7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_019fd838-3039-7e0c-a98c-ed916c96333b" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_019fd838-3039-7fc4-94c0-933d7daff4b7" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_019fd838-3039-7e0c-a98c-ed916c96333b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_MartinezRenewablesLLCMember_01a17e47-7f66-7f23-8620-84b9b462dbd9" xlink:href="mpc-20260930.xsd#mpc_MartinezRenewablesLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_019fd838-3039-7e0c-a98c-ed916c96333b" xlink:to="loc_mpc_MartinezRenewablesLLCMember_01a17e47-7f66-7f23-8620-84b9b462dbd9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_PaymentToAcquireTransferableTaxCredits_01a17e47-7f66-7a6b-a400-acc6344c3c4b" xlink:href="mpc-20260930.xsd#mpc_PaymentToAcquireTransferableTaxCredits"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxPaidByIndividualJurisdictionLineItems_019fd838-3039-7ca4-9329-973cd8d4d902" xlink:to="loc_mpc_PaymentToAcquireTransferableTaxCredits_01a17e47-7f66-7a6b-a400-acc6344c3c4b" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeLossChangesinAccumulatedOtherComprehensiveLossbyComponentDetail" xlink:type="simple" xlink:href="mpc-20260930.xsd#AccumulatedOtherComprehensiveIncomeLossChangesinAccumulatedOtherComprehensiveLossbyComponentDetail"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeLossChangesinAccumulatedOtherComprehensiveLossbyComponentDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_019fd838-303a-794e-95cf-255b3c180004" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_019fd838-303a-7ad4-960e-1b0efdde714f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_019fd838-303a-794e-95cf-255b3c180004" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_019fd838-303a-7ad4-960e-1b0efdde714f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_019fd838-303a-78ff-b1e2-b7cb35bde697" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_019fd838-303a-7ad4-960e-1b0efdde714f" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_019fd838-303a-78ff-b1e2-b7cb35bde697" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019fd838-303a-78ff-b1e2-b7cb35bde697_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019fd838-303a-78ff-b1e2-b7cb35bde697" xlink:to="loc_us-gaap_EquityComponentDomain_019fd838-303a-78ff-b1e2-b7cb35bde697_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019fd838-303a-70c0-8cd8-a22e92a8a24d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019fd838-303a-78ff-b1e2-b7cb35bde697" xlink:to="loc_us-gaap_EquityComponentDomain_019fd838-303a-70c0-8cd8-a22e92a8a24d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember_019fd838-303a-7802-9af6-84f5a8a19ce3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019fd838-303a-70c0-8cd8-a22e92a8a24d" xlink:to="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember_019fd838-303a-7802-9af6-84f5a8a19ce3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_AccumulatedGainLossNetOtherMember_019fd838-303a-731b-a5a7-1244e1e51b3b" xlink:href="mpc-20260930.xsd#mpc_AccumulatedGainLossNetOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019fd838-303a-70c0-8cd8-a22e92a8a24d" xlink:to="loc_mpc_AccumulatedGainLossNetOtherMember_019fd838-303a-731b-a5a7-1244e1e51b3b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_019fd838-303a-741a-bf2d-1d36da469110" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_019fd838-303a-7ad4-960e-1b0efdde714f" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_019fd838-303a-741a-bf2d-1d36da469110" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_019fd838-303a-741a-bf2d-1d36da469110_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_019fd838-303a-741a-bf2d-1d36da469110" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_019fd838-303a-741a-bf2d-1d36da469110_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_019fd838-303a-700e-bf0b-e549898b3265" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_019fd838-303a-741a-bf2d-1d36da469110" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_019fd838-303a-700e-bf0b-e549898b3265" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_019fd838-303a-729d-a151-153ae102a215" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_019fd838-303a-700e-bf0b-e549898b3265" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_019fd838-303a-729d-a151-153ae102a215" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_019fd838-303a-7771-871f-236485e2e674" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_019fd838-303a-700e-bf0b-e549898b3265" xlink:to="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_019fd838-303a-7771-871f-236485e2e674" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax_019fd838-303a-72d4-a54a-e2c2c19d8837" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_019fd838-303a-794e-95cf-255b3c180004" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax_019fd838-303a-72d4-a54a-e2c2c19d8837" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_AccumulatedOtherComprehensiveIncomeLossOtherAfterTax_019fd838-303a-7bf9-a018-3c12746ae733" xlink:href="mpc-20260930.xsd#mpc_AccumulatedOtherComprehensiveIncomeLossOtherAfterTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_019fd838-303a-794e-95cf-255b3c180004" xlink:to="loc_mpc_AccumulatedOtherComprehensiveIncomeLossOtherAfterTax_019fd838-303a-7bf9-a018-3c12746ae733" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019fd838-303a-78cd-a480-347dd70d5fb2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_019fd838-303a-794e-95cf-255b3c180004" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019fd838-303a-78cd-a480-347dd70d5fb2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_019fd838-303a-7e03-9f54-fa1c76106863" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_019fd838-303a-794e-95cf-255b3c180004" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_019fd838-303a-7e03-9f54-fa1c76106863" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTaxAbstract_019fd838-303a-7ecd-905b-0f4ae30c35ff" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTaxAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_019fd838-303a-794e-95cf-255b3c180004" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTaxAbstract_019fd838-303a-7ecd-905b-0f4ae30c35ff" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_019fd838-303a-7dbb-aee9-f47bfd53720a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTaxAbstract_019fd838-303a-7ecd-905b-0f4ae30c35ff" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditBeforeTax_019fd838-303a-7dbb-aee9-f47bfd53720a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_019fd838-303a-75fc-914e-1723705248f1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTaxAbstract_019fd838-303a-7ecd-905b-0f4ae30c35ff" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossBeforeTax_019fd838-303a-75fc-914e-1723705248f1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAociPensionAndOtherPostretirementBenefitPlansForSettlementGainLossBeforeTax_019fd838-303a-75ce-9880-aa3d2e53350b" xlink:href="mpc-20260930.xsd#mpc_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAociPensionAndOtherPostretirementBenefitPlansForSettlementGainLossBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTaxAbstract_019fd838-303a-7ecd-905b-0f4ae30c35ff" xlink:to="loc_mpc_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAociPensionAndOtherPostretirementBenefitPlansForSettlementGainLossBeforeTax_019fd838-303a-75ce-9880-aa3d2e53350b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCI_019fd838-303a-71a2-905d-f13d71b62c5f" xlink:href="mpc-20260930.xsd#mpc_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCI"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTaxAbstract_019fd838-303a-7ecd-905b-0f4ae30c35ff" xlink:to="loc_mpc_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCI_019fd838-303a-71a2-905d-f13d71b62c5f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansTax_019fd838-303a-727f-b11e-8a51e1822df7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansBeforeTaxAbstract_019fd838-303a-7ecd-905b-0f4ae30c35ff" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansTax_019fd838-303a-727f-b11e-8a51e1822df7" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019fd838-303a-7829-9794-b82299b0a91c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_019fd838-303a-794e-95cf-255b3c180004" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019fd838-303a-7829-9794-b82299b0a91c" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax_019fd838-303a-7599-852c-dea26b87986b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_AccumulatedOtherComprehensiveIncomeLossOtherAfterTax_019fd838-303a-7a16-8bfb-4ffa2b5231ad" xlink:href="mpc-20260930.xsd#mpc_AccumulatedOtherComprehensiveIncomeLossOtherAfterTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019fd838-303a-7ebc-b36a-0443f7ffa308" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsTax_019fd838-303a-7804-a62a-dd7d5c3a87c8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_019fd838-303a-794e-95cf-255b3c180004" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsTax_019fd838-303a-7804-a62a-dd7d5c3a87c8" xlink:type="arc" order="9"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/PensionandOtherPostretirementBenefitsComponentsofNetPeriodicBenefitCostsDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#PensionandOtherPostretirementBenefitsComponentsofNetPeriodicBenefitCostsDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/PensionandOtherPostretirementBenefitsComponentsofNetPeriodicBenefitCostsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019fd838-303a-75af-b039-1ca0b1385bbd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019fd838-303a-7fb5-ac22-daccfa168e71" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019fd838-303a-75af-b039-1ca0b1385bbd" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019fd838-303a-7fb5-ac22-daccfa168e71" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_019fd838-303a-7451-96a7-980e4e8a2a99" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019fd838-303a-7fb5-ac22-daccfa168e71" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_019fd838-303a-7451-96a7-980e4e8a2a99" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_019fd838-303a-7451-96a7-980e4e8a2a99_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_019fd838-303a-7451-96a7-980e4e8a2a99" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_019fd838-303a-7451-96a7-980e4e8a2a99_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_019fd838-303a-7a33-a0c0-101dcf887663" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_019fd838-303a-7451-96a7-980e4e8a2a99" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_019fd838-303a-7a33-a0c0-101dcf887663" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_019fd838-303a-74e7-8f96-a83d6977fcb8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_019fd838-303a-7a33-a0c0-101dcf887663" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_019fd838-303a-74e7-8f96-a83d6977fcb8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_019fd838-303a-70a5-ac5a-8650356389f5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_019fd838-303a-7a33-a0c0-101dcf887663" xlink:to="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_019fd838-303a-70a5-ac5a-8650356389f5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_019fd838-303a-7342-871c-b685aa45b8c1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019fd838-303a-75af-b039-1ca0b1385bbd" xlink:to="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_019fd838-303a-7342-871c-b685aa45b8c1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_019fd838-303a-71c4-b4f7-22167b44870b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanServiceCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_019fd838-303a-7342-871c-b685aa45b8c1" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_019fd838-303a-71c4-b4f7-22167b44870b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_019fd838-303a-7a60-b612-d24f27ff6fc3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_019fd838-303a-7342-871c-b685aa45b8c1" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_019fd838-303a-7a60-b612-d24f27ff6fc3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_019fd838-303a-787f-afd0-10601363b4b7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_019fd838-303a-7342-871c-b685aa45b8c1" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_019fd838-303a-787f-afd0-10601363b4b7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_019fd838-303a-7d74-82c6-61e8bd028dab" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_019fd838-303a-7342-871c-b685aa45b8c1" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_019fd838-303a-7d74-82c6-61e8bd028dab" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_019fd838-303a-7824-9737-75662c440528" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_019fd838-303a-7342-871c-b685aa45b8c1" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_019fd838-303a-7824-9737-75662c440528" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019fd838-303a-783d-8dc1-48ee11feedff" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_019fd838-303a-7342-871c-b685aa45b8c1" xlink:to="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019fd838-303a-783d-8dc1-48ee11feedff" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/PensionandOtherPostretirementBenefitsAdditionalInformationDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#PensionandOtherPostretirementBenefitsAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/PensionandOtherPostretirementBenefitsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019fd838-303a-7d55-8410-4aa869322593" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019fd838-303a-7f94-bc20-912a0ec2c3b7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019fd838-303a-7d55-8410-4aa869322593" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019fd838-303a-7f94-bc20-912a0ec2c3b7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_019fd838-303a-79a1-a3e8-1acce55f8b6a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019fd838-303a-7f94-bc20-912a0ec2c3b7" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_019fd838-303a-79a1-a3e8-1acce55f8b6a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_019fd838-303a-79a1-a3e8-1acce55f8b6a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_019fd838-303a-79a1-a3e8-1acce55f8b6a" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_019fd838-303a-79a1-a3e8-1acce55f8b6a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_019fd838-303a-7653-b3f9-80b3a8c122af" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_019fd838-303a-79a1-a3e8-1acce55f8b6a" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_019fd838-303a-7653-b3f9-80b3a8c122af" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_019fd838-303a-777f-a6ad-899ee2664ab3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_019fd838-303a-7653-b3f9-80b3a8c122af" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_019fd838-303a-777f-a6ad-899ee2664ab3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPensionPlansDefinedBenefitMember_019fd838-303a-773c-bf2e-c83d3b126b5d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherPensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_019fd838-303a-7653-b3f9-80b3a8c122af" xlink:to="loc_us-gaap_OtherPensionPlansDefinedBenefitMember_019fd838-303a-773c-bf2e-c83d3b126b5d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_019fd838-303a-79d7-8743-3391f84496c3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_019fd838-303a-7653-b3f9-80b3a8c122af" xlink:to="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_019fd838-303a-79d7-8743-3391f84496c3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_019fd838-303a-709d-9258-56378e197b99" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanContributionsByEmployer"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019fd838-303a-7d55-8410-4aa869322593" xlink:to="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_019fd838-303a-709d-9258-56378e197b99" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligationBenefitsPaid_019fd838-303a-722f-a8d8-b970499feda3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanBenefitObligationBenefitsPaid"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019fd838-303a-7d55-8410-4aa869322593" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligationBenefitsPaid_019fd838-303a-722f-a8d8-b970499feda3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_019fd838-303a-7a06-8c16-a4c979b8af8a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019fd838-303a-7d55-8410-4aa869322593" xlink:to="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1_019fd838-303a-7a06-8c16-a4c979b8af8a" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/CommitmentsandContingenciesGuaranteesDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#CommitmentsandContingenciesGuaranteesDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/CommitmentsandContingenciesGuaranteesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesLineItems_019fd838-303a-7ce0-ab77-27d83032cad7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LossContingenciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesTable_019fd838-303a-769f-a4c3-1511af5719da" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LossContingenciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_019fd838-303a-7ce0-ab77-27d83032cad7" xlink:to="loc_us-gaap_LossContingenciesTable_019fd838-303a-769f-a4c3-1511af5719da" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_019fd838-303a-732a-999b-86e148e5b794" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_019fd838-303a-769f-a4c3-1511af5719da" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_019fd838-303a-732a-999b-86e148e5b794" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_019fd838-303a-732a-999b-86e148e5b794_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_019fd838-303a-732a-999b-86e148e5b794" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_019fd838-303a-732a-999b-86e148e5b794_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_019fd838-303a-72a9-8806-04a139f3fa87" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_019fd838-303a-732a-999b-86e148e5b794" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_019fd838-303a-72a9-8806-04a139f3fa87" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_LoopAndLocapLlcMember_019fd838-303a-7a98-bf67-30c6b1160cd3" xlink:href="mpc-20260930.xsd#mpc_LoopAndLocapLlcMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_019fd838-303a-72a9-8806-04a139f3fa87" xlink:to="loc_mpc_LoopAndLocapLlcMember_019fd838-303a-7a98-bf67-30c6b1160cd3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityAxis_019fd838-303a-7b7f-b83c-e9854c7b8961" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialSupportToNonconsolidatedLegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_019fd838-303a-769f-a4c3-1511af5719da" xlink:to="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityAxis_019fd838-303a-7b7f-b83c-e9854c7b8961" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityDomain_019fd838-303a-7b7f-b83c-e9854c7b8961_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialSupportToNonconsolidatedLegalEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityAxis_019fd838-303a-7b7f-b83c-e9854c7b8961" xlink:to="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityDomain_019fd838-303a-7b7f-b83c-e9854c7b8961_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityDomain_019fd838-303a-7487-9abf-fdc33fd3fa88" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialSupportToNonconsolidatedLegalEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityAxis_019fd838-303a-7b7f-b83c-e9854c7b8961" xlink:to="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityDomain_019fd838-303a-7487-9abf-fdc33fd3fa88" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeOfIndebtednessOfOthersMember_019fd838-303a-715b-ad30-21a00abe8bce" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GuaranteeOfIndebtednessOfOthersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityDomain_019fd838-303a-7487-9abf-fdc33fd3fa88" xlink:to="loc_us-gaap_GuaranteeOfIndebtednessOfOthersMember_019fd838-303a-715b-ad30-21a00abe8bce" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsByNatureAxis_019fd838-303a-7895-b39b-ef49b6820f79" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GuaranteeObligationsByNatureAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_019fd838-303a-769f-a4c3-1511af5719da" xlink:to="loc_us-gaap_GuaranteeObligationsByNatureAxis_019fd838-303a-7895-b39b-ef49b6820f79" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_019fd838-303a-7895-b39b-ef49b6820f79_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GuaranteeObligationsNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_019fd838-303a-7895-b39b-ef49b6820f79" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_019fd838-303a-7895-b39b-ef49b6820f79_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_019fd838-303a-7edb-893d-29764f8fe94e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GuaranteeObligationsNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_019fd838-303a-7895-b39b-ef49b6820f79" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_019fd838-303a-7edb-893d-29764f8fe94e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialGuaranteeMember_019fd838-303a-74ad-b3a8-b111efba4154" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FinancialGuaranteeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_019fd838-303a-7edb-893d-29764f8fe94e" xlink:to="loc_us-gaap_FinancialGuaranteeMember_019fd838-303a-74ad-b3a8-b111efba4154" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeTypeOtherMember_019fd838-303a-7a6e-8820-c6770530c7d2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GuaranteeTypeOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_019fd838-303a-7edb-893d-29764f8fe94e" xlink:to="loc_us-gaap_GuaranteeTypeOtherMember_019fd838-303a-7a6e-8820-c6770530c7d2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipAxis_019fd838-303a-74f6-b253-72e6af502f8a" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_OwnershipAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_019fd838-303a-769f-a4c3-1511af5719da" xlink:to="loc_srt_OwnershipAxis_019fd838-303a-74f6-b253-72e6af502f8a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipDomain_019fd838-303a-74f6-b253-72e6af502f8a_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_OwnershipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_OwnershipAxis_019fd838-303a-74f6-b253-72e6af502f8a" xlink:to="loc_srt_OwnershipDomain_019fd838-303a-74f6-b253-72e6af502f8a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipDomain_019fd838-303a-7cc0-af28-826f9bbcc89e" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_OwnershipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_OwnershipAxis_019fd838-303a-74f6-b253-72e6af502f8a" xlink:to="loc_srt_OwnershipDomain_019fd838-303a-7cc0-af28-826f9bbcc89e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsMaximumExposure_019fd838-303a-7261-b779-7e31b978b486" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GuaranteeObligationsMaximumExposure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_019fd838-303a-7ce0-ab77-27d83032cad7" xlink:to="loc_us-gaap_GuaranteeObligationsMaximumExposure_019fd838-303a-7261-b779-7e31b978b486" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/SubsequentEventsDivestitureDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#SubsequentEventsDivestitureDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/SubsequentEventsDivestitureDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventLineItems_01a183c4-0fa3-7fa1-855c-963e73f7b093" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubsequentEventLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTable_01a183c4-0fa3-7882-a7b2-24024902ad5c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubsequentEventTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_01a183c4-0fa3-7fa1-855c-963e73f7b093" xlink:to="loc_us-gaap_SubsequentEventTable_01a183c4-0fa3-7882-a7b2-24024902ad5c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupClassificationAxis_01a183c4-0fa3-72eb-b69f-fc61c9b3047b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisposalGroupClassificationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_01a183c4-0fa3-7882-a7b2-24024902ad5c" xlink:to="loc_us-gaap_DisposalGroupClassificationAxis_01a183c4-0fa3-72eb-b69f-fc61c9b3047b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_01a183c4-0fa3-72eb-b69f-fc61c9b3047b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisposalGroupClassificationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_01a183c4-0fa3-72eb-b69f-fc61c9b3047b" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_01a183c4-0fa3-72eb-b69f-fc61c9b3047b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_01a183c4-0fa3-7965-94c8-9f1c75163772" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisposalGroupClassificationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_01a183c4-0fa3-72eb-b69f-fc61c9b3047b" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_01a183c4-0fa3-7965-94c8-9f1c75163772" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupNotDiscontinuedOperationsMember_01a183c4-0fa3-7ab2-9922-dffd7eb4d9cf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisposalGroupNotDiscontinuedOperationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupClassificationDomain_01a183c4-0fa3-7965-94c8-9f1c75163772" xlink:to="loc_us-gaap_DisposalGroupNotDiscontinuedOperationsMember_01a183c4-0fa3-7ab2-9922-dffd7eb4d9cf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_01a183c4-0fa3-77f7-bd5e-a066fa582f53" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_01a183c4-0fa3-7882-a7b2-24024902ad5c" xlink:to="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_01a183c4-0fa3-77f7-bd5e-a066fa582f53" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_01a183c4-0fa3-77f7-bd5e-a066fa582f53_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_01a183c4-0fa3-77f7-bd5e-a066fa582f53" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_01a183c4-0fa3-77f7-bd5e-a066fa582f53_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_01a183c4-0fa3-7cdc-ae00-f358e9595a26" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_01a183c4-0fa3-77f7-bd5e-a066fa582f53" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_01a183c4-0fa3-7cdc-ae00-f358e9595a26" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_St.PaulParkAndMandanOperationsMember_01a183e6-2b40-758a-ba04-5ceeba7475a6" xlink:href="mpc-20260930.xsd#mpc_St.PaulParkAndMandanOperationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_01a183c4-0fa3-7cdc-ae00-f358e9595a26" xlink:to="loc_mpc_St.PaulParkAndMandanOperationsMember_01a183e6-2b40-758a-ba04-5ceeba7475a6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_01a183c4-0fa3-7711-8f8f-a2164aa753b8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_01a183c4-0fa3-7882-a7b2-24024902ad5c" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_01a183c4-0fa3-7711-8f8f-a2164aa753b8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_01a183c4-0fa3-7711-8f8f-a2164aa753b8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_01a183c4-0fa3-7711-8f8f-a2164aa753b8" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_01a183c4-0fa3-7711-8f8f-a2164aa753b8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_01a183c4-0fa3-76b5-8c3e-3fc11c58b35a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_01a183c4-0fa3-7711-8f8f-a2164aa753b8" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_01a183c4-0fa3-76b5-8c3e-3fc11c58b35a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_01a183e7-e96f-738f-be16-21989f9f22be" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubsequentEventMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_01a183c4-0fa3-76b5-8c3e-3fc11c58b35a" xlink:to="loc_us-gaap_SubsequentEventMember_01a183e7-e96f-738f-be16-21989f9f22be" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationConsideration_01a183c4-0fa3-70d2-ad8c-cfe1ddd4e73b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationConsideration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_01a183c4-0fa3-7fa1-855c-963e73f7b093" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationConsideration_01a183c4-0fa3-70d2-ad8c-cfe1ddd4e73b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mpc_DisposalGroupIncludingDiscontinuedOperationCarryingValueOfNetAssets_01a18d12-ebdd-71f2-ba7e-67c9b5d4ceaa" xlink:href="mpc-20260930.xsd#mpc_DisposalGroupIncludingDiscontinuedOperationCarryingValueOfNetAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_01a183c4-0fa3-7fa1-855c-963e73f7b093" xlink:to="loc_mpc_DisposalGroupIncludingDiscontinuedOperationCarryingValueOfNetAssets_01a18d12-ebdd-71f2-ba7e-67c9b5d4ceaa" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.marathonpetroleum.com/role/SubsequentEventsShareRepurchasesDetails" xlink:type="simple" xlink:href="mpc-20260930.xsd#SubsequentEventsShareRepurchasesDetails"/>
  <link:definitionLink xlink:role="http://www.marathonpetroleum.com/role/SubsequentEventsShareRepurchasesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventLineItems_01a17e60-d081-727a-b528-8ccb30c9500e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubsequentEventLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTable_01a17e60-d081-782a-8570-b1e1a662527c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubsequentEventTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_01a17e60-d081-727a-b528-8ccb30c9500e" xlink:to="loc_us-gaap_SubsequentEventTable_01a17e60-d081-782a-8570-b1e1a662527c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_01a17e60-d081-7d91-8084-4770cba74d21" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_01a17e60-d081-782a-8570-b1e1a662527c" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_01a17e60-d081-7d91-8084-4770cba74d21" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_01a17e60-d081-7d91-8084-4770cba74d21_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_01a17e60-d081-7d91-8084-4770cba74d21" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_01a17e60-d081-7d91-8084-4770cba74d21_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_01a17e60-d081-7990-8dcc-257ffddd4a72" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_01a17e60-d081-7d91-8084-4770cba74d21" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_01a17e60-d081-7990-8dcc-257ffddd4a72" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_01a17e60-d081-7c92-873a-66c6cd573274" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubsequentEventMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_01a17e60-d081-7990-8dcc-257ffddd4a72" xlink:to="loc_us-gaap_SubsequentEventMember_01a17e60-d081-7c92-873a-66c6cd573274" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StockRepurchaseProgramAuthorizedAmount1_01a17e60-d081-777d-bebc-54e118ed2638" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_StockRepurchaseProgramAuthorizedAmount1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_01a17e60-d081-727a-b528-8ccb30c9500e" xlink:to="loc_srt_StockRepurchaseProgramAuthorizedAmount1_01a17e60-d081-777d-bebc-54e118ed2638" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fasb.org/srt/role/srt-eedm/ExtensibleEnumerationLists" xlink:type="simple" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-roles-2026.xsd#eedm1"/>
  <link:definitionLink xlink:role="http://fasb.org/srt/role/srt-eedm/ExtensibleEnumerationLists" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeStatementAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementAbstract" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments" xlink:type="arc" order="691"/>
  </link:definitionLink>
</link:linkbase>
