<?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>0001668134</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>Gagle Suzanne</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>60019</noOfUnitsSold>
      <aggregateMarketValue>8059351.32</aggregateMarketValue>
      <noOfUnitsOutstanding>445546907</noOfUnitsOutstanding>
      <approxSaleDate>04/04/2023</approxSaleDate>
      <securitiesExchangeName>NYSE</securitiesExchangeName>
    </securitiesInformation>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>04/04/2023</acquiredDate>
      <natureOfAcquisitionTransaction>Option Granted - 03/01/2017</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>13483</amountOfSecuritiesAcquired>
      <paymentDate>04/04/2023</paymentDate>
      <natureOfPayment>Cash</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>04/04/2023</acquiredDate>
      <natureOfAcquisitionTransaction>Option Granted - 03/01/2018</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>6908</amountOfSecuritiesAcquired>
      <paymentDate>04/04/2023</paymentDate>
      <natureOfPayment>Cash</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>04/04/2023</acquiredDate>
      <natureOfAcquisitionTransaction>Option Granted - 03/01/2019</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>15063</amountOfSecuritiesAcquired>
      <paymentDate>04/04/2023</paymentDate>
      <natureOfPayment>Cash</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>04/04/2023</acquiredDate>
      <natureOfAcquisitionTransaction>Option Granted - 03/01/2020</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>24565</amountOfSecuritiesAcquired>
      <paymentDate>04/04/2023</paymentDate>
      <natureOfPayment>Cash</natureOfPayment>
    </securitiesToBeSold>
    <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>Suzanne Gagle</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>04/03/2023</saleDate>
      <amountOfSecuritiesSold>60021</amountOfSecuritiesSold>
      <grossProceeds>8236681.83</grossProceeds>
    </securitiesSoldInPast3Months>
    <noticeSignature>
      <noticeDate>04/04/2023</noticeDate>
      <planAdoptionDates>
        <planAdoptionDate>11/22/2022</planAdoptionDate>
      </planAdoptionDates>
      <signature>/s/Wade Moss, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Suzanne Gagle</signature>
    </noticeSignature>
  </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 5132}]
144
0001668134
XXXXXXXX
LIVE
0001510295
Marathon Petroleum Corp
001-35054
539 SOUTH MAIN STREET
FINDLAY
OH
45840-3229
419-421-2159
Gagle Suzanne
Officer
Common
Fidelity Brokerage Services LLC
900 Salem Street
Smithfield
RI
02917
60019
8059351.32
445546907
04/04/2023
NYSE
Common
04/04/2023
Option Granted - 03/01/2017
Issuer
N
13483
04/04/2023
Cash
Common
04/04/2023
Option Granted - 03/01/2018
Issuer
N
6908
04/04/2023
Cash
Common
04/04/2023
Option Granted - 03/01/2019
Issuer
N
15063
04/04/2023
Cash
Common
04/04/2023
Option Granted - 03/01/2020
Issuer
N
24565
04/04/2023
Cash
N
Suzanne Gagle
539 South Main Street
Findlay
OH
45840-3229
Common
04/03/2023
60021
8236681.83
04/04/2023
11/22/2022
/s/Wade Moss, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Suzanne Gagle