content: <?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>0001821826</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>Aydt Timothy J</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
        <relationshipsToIssuer>
          <relationshipToIssuer>Officer</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>4913</noOfUnitsSold>
        <aggregateMarketValue>713662.87</aggregateMarketValue>
        <noOfUnitsOutstanding>399844048</noOfUnitsOutstanding>
        <approxSaleDate>08/10/2023</approxSaleDate>
        <securitiesExchangeName>NYSE</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>08/10/2023</acquiredDate>
        <natureOfAcquisitionTransaction>Option Granted - 03/01/2020</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>4913</amountOfSecuritiesAcquired>
        <paymentDate>08/10/2023</paymentDate>
        <natureOfPayment>Cash</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <noticeSignature>
        <noticeDate>08/10/2023</noticeDate>
        <signature>/s/ Rae Pierson, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Timothy J. Aydt</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 2833}]
text: 144
  0001821826
  XXXXXXXX
  LIVE
  0001510295
  Marathon Petroleum Corp
  001-35054
  539 SOUTH MAIN STREET
  FINDLAY
  OH
  45840-3229
  419-421-2159
  Aydt Timothy J
  Officer
  Common
  Fidelity Brokerage Services LLC
  900 Salem Street
  Smithfield
  RI
  02917
  4913
  713662.87
  399844048
  08/10/2023
  NYSE
  Common
  08/10/2023
  Option Granted - 03/01/2020
  Issuer
  N
  4913
  08/10/2023
  Cash
  Y
  08/10/2023
  /s/ Rae Pierson, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Timothy J. Aydt