XML 111 R90.htm IDEA: XBRL DOCUMENT
v3.22.2

Debt (MPC Bank Revolving Credit Facility) (Details) - USD ($) $ in Millions | Jul. 07, 2022 | Jun. 30, 2022
--- | --- | ---
MPC revolving credit facility due October 2023 |  |
Line of Credit Facility [Line Items] |  |
Maximum borrowing capacity |  | $ 5,000
MPC bank revolving credit facility due July 2027 | Subsequent Event |  |
Line of Credit Facility [Line Items] |  |
Maximum borrowing capacity | $ 5,000 |
Marathon Petroleum Corporation: | MPC bank revolving credit facility due July 2027 | Subsequent Event |  |
Line of Credit Facility [Line Items] |  |
Description of variable rate basis | at either the Adjusted Term SOFR or the Alternate Base Rate, both as defined in the New MPC Credit Agreement, plus an applicable margin |

X
- Definition Description of reference rate used for variable rate of debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentDescriptionOfVariableRateBasis
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mpc_MPCRevolvingCreditFacilityDueOctober2023Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mpc_MPCRevolvingCreditFacilityDueJuly2027Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=srt_ParentCompanyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |