<?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>0001651939</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>Kaczynski Thomas</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>4273</noOfUnitsSold>
      <aggregateMarketValue>550232.85</aggregateMarketValue>
      <noOfUnitsOutstanding>445546907</noOfUnitsOutstanding>
      <approxSaleDate>03/02/2023</approxSaleDate>
      <securitiesExchangeName>NYSE</securitiesExchangeName>
    </securitiesInformation>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>12/28/2020</acquiredDate>
      <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>339</amountOfSecuritiesAcquired>
      <paymentDate>12/28/2020</paymentDate>
      <natureOfPayment>Compensation</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>01/29/2021</acquiredDate>
      <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>981</amountOfSecuritiesAcquired>
      <paymentDate>01/29/2021</paymentDate>
      <natureOfPayment>Compensation</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>03/01/2021</acquiredDate>
      <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>516</amountOfSecuritiesAcquired>
      <paymentDate>03/01/2021</paymentDate>
      <natureOfPayment>Compensation</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>01/27/2022</acquiredDate>
      <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>925</amountOfSecuritiesAcquired>
      <paymentDate>01/27/2022</paymentDate>
      <natureOfPayment>Compensation</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>03/01/2022</acquiredDate>
      <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>1512</amountOfSecuritiesAcquired>
      <paymentDate>03/01/2022</paymentDate>
      <natureOfPayment>Compensation</natureOfPayment>
    </securitiesToBeSold>
    <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>Thomas Kaczynski</name>
        <address>
          <com:street1>539 South Main Street</com:street1>
          <com:city>Findlay</com:city>
          <com:stateOrCountry>OH</com:stateOrCountry>
          <com:zipCode>45840-3229</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <saleDate>03/01/2023</saleDate>
      <amountOfSecuritiesSold>5323</amountOfSecuritiesSold>
      <grossProceeds>658295.41</grossProceeds>
    </securitiesSoldInPast3Months>
    <noticeSignature>
      <noticeDate>03/02/2023</noticeDate>
      <signature>/s/ Gary Redman, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Tom Kaczynski</signature>
    </noticeSignature>
  </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 5579}]
144
0001651939
XXXXXXXX
LIVE
0001510295
Marathon Petroleum Corp
001-35054
539 SOUTH MAIN STREET
FINDLAY
OH
45840-3229
419-421-2159
Kaczynski Thomas
Officer
Common
Fidelity Brokerage Services LLC
900 Salem Street
Smithfield
RI
02917
4273
550232.85
445546907
03/02/2023
NYSE
Common
12/28/2020
Restricted Stock Vesting
Issuer
N
339
12/28/2020
Compensation
Common
01/29/2021
Restricted Stock Vesting
Issuer
N
981
01/29/2021
Compensation
Common
03/01/2021
Restricted Stock Vesting
Issuer
N
516
03/01/2021
Compensation
Common
01/27/2022
Restricted Stock Vesting
Issuer
N
925
01/27/2022
Compensation
Common
03/01/2022
Restricted Stock Vesting
Issuer
N
1512
03/01/2022
Compensation
N
Thomas Kaczynski
539 South Main Street
Findlay
OH
45840-3229
Common
03/01/2023
5323
658295.41
03/02/2023
/s/ Gary Redman, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Tom Kaczynski