<?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/ownership" xmlns:com="http://www.sec.gov/edgar/common">
  <headerData>
    <submissionType>144</submissionType>
    <filerInfo>
      <filer>
        <filerCredentials>
          <cik>0001430329</cik>
          <ccc>XXXXXXXX</ccc>
        </filerCredentials>
      </filer>
      <liveTestFlag>LIVE</liveTestFlag>



    </filerInfo>
  </headerData>
  <formData>
    <issuerInfo>
      <issuerCik>0001510295</issuerCik>
      <issuerName>Marathon Petroleum Corp</issuerName>
      <secFileNumber>001-35054</secFileNumber>
      <issuerAddress>
        <com:street1>539 SOUTH MAIN STREET</com:street1>
        <com:city>FINDLAY</com:city>
        <com:stateOrCountry>OH</com:stateOrCountry>
        <com:zipCode>45840-3229</com:zipCode>
      </issuerAddress>
      <issuerContactPhone>419-421-2159</issuerContactPhone>
      <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>Rucker Kim K.W.</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
      <relationshipsToIssuer>
        <relationshipToIssuer>Director</relationshipToIssuer>
      </relationshipsToIssuer>
    </issuerInfo>
    <securitiesInformation>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <brokerOrMarketmakerDetails>
        <name>Fidelity Brokerage Services LLC</name>
        <address>
          <com:street1>900 Salem Street</com:street1>
          <com:city>Smithfield</com:city>
          <com:stateOrCountry>RI</com:stateOrCountry>
          <com:zipCode>02917</com:zipCode>
        </address>
      </brokerOrMarketmakerDetails>
      <noOfUnitsSold>6000</noOfUnitsSold>
      <aggregateMarketValue>793500.00</aggregateMarketValue>
      <noOfUnitsOutstanding>424282812</noOfUnitsOutstanding>
      <approxSaleDate>08/01/2023</approxSaleDate>
      <securitiesExchangeName>NYSE</securitiesExchangeName>
    </securitiesInformation>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>04/01/2019</acquiredDate>
      <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>6000</amountOfSecuritiesAcquired>
      <paymentDate>04/01/2019</paymentDate>
      <natureOfPayment>Compensation</natureOfPayment>
    </securitiesToBeSold>
    <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
    <noticeSignature>
      <noticeDate>08/01/2023</noticeDate>
      <planAdoptionDates>
        <planAdoptionDate>11/17/2022</planAdoptionDate>
      </planAdoptionDates>
      <signature>/s/ Ryan Riviere, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Kim W. Rucker</signature>
    </noticeSignature>
  </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 2949}]
144
0001430329
XXXXXXXX
LIVE
0001510295
Marathon Petroleum Corp
001-35054
539 SOUTH MAIN STREET
FINDLAY
OH
45840-3229
419-421-2159
Rucker Kim K.W.
Director
Common
Fidelity Brokerage Services LLC
900 Salem Street
Smithfield
RI
02917
6000
793500.00
424282812
08/01/2023
NYSE
Common
04/01/2019
Restricted Stock Vesting
Issuer
N
6000
04/01/2019
Compensation
Y
08/01/2023
11/17/2022
/s/ Ryan Riviere, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Kim W. Rucker