{
 "instance": {
  "mplx-20191231x10k.htm": {
   "axisCustom": 6,
   "axisStandard": 48,
   "contextCount": 832,
   "dts": {
    "calculationLink": {
     "local": [
      "mpc-20191231_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "mpc-20191231_def.xml"
     ],
     "remote": [
      "http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-eedm-def-2019-01-31.xml",
      "http://xbrl.fasb.org/srt/2019/elts/srt-eedm1-def-2019-01-31.xml"
     ]
    },
    "inline": {
     "local": [
      "mplx-20191231x10k.htm"
     ]
    },
    "labelLink": {
     "local": [
      "mpc-20191231_lab.xml"
     ],
     "remote": [
      "https://xbrl.sec.gov/dei/2019/dei-doc-2019-01-31.xml",
      "http://xbrl.fasb.org/srt/2019/elts/srt-doc-2019-01-31.xml",
      "http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-doc-2019-01-31.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "mpc-20191231_pre.xml"
     ]
    },
    "referenceLink": {
     "remote": [
      "https://xbrl.sec.gov/dei/2019/dei-ref-2019-01-31.xml",
      "http://xbrl.fasb.org/srt/2019/elts/srt-ref-2019-01-31.xml",
      "http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-ref-2019-01-31.xml"
     ]
    },
    "schema": {
     "local": [
      "mpc-20191231.xsd"
     ],
     "remote": [
      "http://xbrl.fasb.org/srt/2019/elts/srt-types-2019-01-31.xsd",
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/dtr/type/numeric-2009-12-16.xsd",
      "http://www.xbrl.org/dtr/type/nonNumeric-2009-12-16.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd",
      "http://xbrl.fasb.org/us-gaap/2019/elts/us-roles-2019-01-31.xsd",
      "http://xbrl.fasb.org/srt/2019/elts/srt-roles-2019-01-31.xsd",
      "https://xbrl.sec.gov/country/2017/country-2017-01-31.xsd",
      "http://xbrl.fasb.org/us-gaap/2019/elts/us-types-2019-01-31.xsd",
      "http://www.xbrl.org/lrr/arcrole/factExplanatory-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/net-2009-12-16.xsd",
      "https://xbrl.sec.gov/currency/2019/currency-2019-01-31.xsd",
      "https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd",
      "https://xbrl.sec.gov/exch/2019/exch-2019-01-31.xsd",
      "http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd",
      "http://xbrl.sec.gov/naics/2017/naics-2017-01-31.xsd",
      "http://xbrl.sec.gov/sic/2011/sic-2011-01-31.xsd",
      "https://xbrl.sec.gov/stpr/2018/stpr-2018-01-31.xsd",
      "http://www.xbrl.org/lrr/role/deprecated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "http://xbrl.fasb.org/us-gaap/2019/elts/us-parts-codification-2019-01-31.xsd"
     ]
    }
   },
   "elementCount": 1118,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2019-01-31": 79,
    "http://www.marathonpetroleum.com/20191231": 23,
    "http://xbrl.sec.gov/dei/2019-01-31": 5,
    "total": 107
   },
   "keyCustom": 155,
   "keyStandard": 558,
   "memberCustom": 132,
   "memberStandard": 62,
   "nsprefix": "mpc",
   "nsuri": "http://www.marathonpetroleum.com/20191231",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "0001000 - Document - Document and Entity Information",
     "role": "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation",
     "shortName": "Document and Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2103100 - Disclosure - Summary of Principal Accounting Policies",
     "role": "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPolicies",
     "shortName": "Summary of Principal Accounting Policies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R100": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4_us-gaap_FairValueByMeasurementBasisAxis_us-gaap_EstimateOfFairValueFairValueDisclosureMember",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2421405 - Disclosure - Fair Value Measurements - Reported (Details)",
     "role": "http://www.marathonpetroleum.com/role/FairValueMeasurementsReportedDetails",
     "shortName": "Fair Value Measurements - Reported (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4_us-gaap_FairValueByMeasurementBasisAxis_us-gaap_EstimateOfFairValueFairValueDisclosureMember",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R101": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4_mpc_CommodityTypeAxis_mpc_NaturalGasMember_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_EmbeddedDerivativeFinancialInstrumentsMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "mpc:NumberofRenewals",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2424403 - Disclosure - Derivative Financial Instruments (Embedded Derivatives in Commodity Contracts) (Details)",
     "role": "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsEmbeddedDerivativesInCommodityContractsDetails",
     "shortName": "Derivative Financial Instruments (Embedded Derivatives in Commodity Contracts) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4_mpc_CommodityTypeAxis_mpc_NaturalGasMember_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_EmbeddedDerivativeFinancialInstrumentsMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "mpc:NumberofRenewals",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R102": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeFairValueOfDerivativeAsset",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2424404 - Disclosure - Derivative Financial Instruments (Derivatives Balance Sheet Location) (Details)",
     "role": "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesBalanceSheetLocationDetails",
     "shortName": "Derivative Financial Instruments (Derivatives Balance Sheet Location) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeFairValueOfDerivativeAsset",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R103": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2017Q4YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "mpc:DerivativeInstrumentsNotDesignatedasHedgingInstrumentsUnrealizedGainLossNet",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2424405 - Disclosure - Derivative Financial Instruments (Derivatives Income Statement Location) (Details)",
     "role": "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesIncomeStatementLocationDetails",
     "shortName": "Derivative Financial Instruments (Derivatives Income Statement Location) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD_us-gaap_IncomeStatementLocationAxis_mpc_ProductSalesMember",
      "decimals": "-6",
      "lang": null,
      "name": "mpc:DerivativeInstrumentsNotDesignatedasHedgingInstrumentsRealizedGainLossNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R104": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinanceLeaseLiability",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2425402 - Disclosure - Debt (Summary of Outstanding Borrowings) (Details)",
     "role": "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
     "shortName": "Debt (Summary of Outstanding Borrowings) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:DebtAndCapitalLeaseObligations",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R105": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD_dei_LegalEntityAxis_mpc_MPLXLPMember_us-gaap_DebtInstrumentAxis_mpc_MPLXRevolvingCreditFacilitydueJuly2024Member",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProceedsFromLongTermLinesOfCredit",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2425403 - Disclosure - Debt (Summary of Outstanding Borrowings Interest Rates and Table Due Dates) (Details)",
     "role": "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
     "shortName": "Debt (Summary of Outstanding Borrowings Interest Rates and Table Due Dates) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R106": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2425404 - Disclosure - Debt (Schedule of Debt Payments) (Detail)",
     "role": "http://www.marathonpetroleum.com/role/DebtScheduleOfDebtPaymentsDetail",
     "shortName": "Debt (Schedule of Debt Payments) (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R107": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:RepaymentsOfLongTermDebt",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2425405 - Disclosure - Debt (Credit Agreements) (Detail)",
     "role": "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
     "shortName": "Debt (Credit Agreements) (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "I2019Q2Jul30_us-gaap_DebtInstrumentAxis_mpc_MPLXRevolvingCreditFacilitydueJuly2024Member",
      "decimals": "-8",
      "lang": null,
      "name": "us-gaap:LineOfCreditFacilityCurrentBorrowingCapacity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R108": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:ExtinguishmentOfDebtGainLossNetOfTax",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2425406 - Disclosure - Debt (Senior Notes) (Details)",
     "role": "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
     "shortName": "Debt (Senior Notes) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "I2019Q3Sep9_us-gaap_LongtermDebtTypeAxis_us-gaap_SeniorNotesMember",
      "decimals": "INF",
      "lang": null,
      "name": "mpc:PercentofPar",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R109": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:PropertyPlantAndEquipmentNet",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2425407 - Disclosure - Debt (SMR Transaction) (Details)",
     "role": "http://www.marathonpetroleum.com/role/DebtSmrTransactionDetails",
     "shortName": "Debt (SMR Transaction) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "D2009Q3SMRTrans_us-gaap_PropertyPlantAndEquipmentByTypeAxis_mpc_SteamMethaneReformerHeldUnderFinancingArrangementMember",
      "decimals": "-6",
      "lang": null,
      "name": "mpc:ProceedsFromLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2106100 - Disclosure - Accounting Standards",
     "role": "http://www.marathonpetroleum.com/role/AccountingStandards",
     "shortName": "Accounting Standards",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R110": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:DisaggregationOfRevenueTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2426402 - Disclosure - Revenue Disaggregation of Revenue (Details)",
     "role": "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails",
     "shortName": "Revenue Disaggregation of Revenue (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:DisaggregationOfRevenueTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD_srt_ProductOrServiceAxis_us-gaap_ProductMember",
      "decimals": "-6",
      "lang": null,
      "name": "mpc:RevenuefromContractwithCustomerexcludingAssessedTaxandNonASC606Revenue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R111": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2018Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:DeferredRevenueNoncurrent",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2426403 - Disclosure - Revenue Contract Balance Rollforward (Details)",
     "role": "http://www.marathonpetroleum.com/role/RevenueContractBalanceRollforwardDetails",
     "shortName": "Revenue Contract Balance Rollforward (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "link:footnote",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:ContractWithCustomerLiabilityChangeInTimeframePerformanceObligationSatisfiedRevenueRecognized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R112": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:ContractWithCustomerLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2426404 - Disclosure - Revenue Remaining Performance Obligations (Details)",
     "role": "http://www.marathonpetroleum.com/role/RevenueRemainingPerformanceObligationsDetails",
     "shortName": "Revenue Remaining Performance Obligations (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:ContractWithCustomerLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R113": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ReconciliationOfAssetsFromSegmentToConsolidatedTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2427402 - Disclosure - Supplemental Cash Flow Information (Summary of Supplemental Cash Flow Information) (Details)",
     "role": "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSummaryOfSupplementalCashFlowInformationDetails",
     "shortName": "Supplemental Cash Flow Information (Summary of Supplemental Cash Flow Information) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:InterestPaidNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R114": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2017Q4_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mpc_LOOPLOCAPSAXandExplorerLlcMember",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccountsPayableRelatedPartiesCurrentAndNoncurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2427403 - Disclosure - Supplemental Cash Flow Information Supplemental Cash Flow Information (Details)",
     "role": "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSupplementalCashFlowInformationDetails",
     "shortName": "Supplemental Cash Flow Information Supplemental Cash Flow Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2017Q4_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mpc_LOOPLOCAPSAXandExplorerLlcMember",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccountsPayableRelatedPartiesCurrentAndNoncurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R115": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "mpc:ScheduleOfReconciliationOfAdditionsToPropertyPlantAndEquipmentToTotalCapitalExpendituresTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "mpc:IncreaseDecreaseInCapitalAccruals",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2427404 - Disclosure - Supplemental Cash Flow Information (Summary of Reconciliation of Additions to Property, Plant and Equipment to Total Capital Expenditures) (Detail)",
     "role": "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSummaryOfReconciliationOfAdditionsToPropertyPlantAndEquipmentToTotalCapitalExpendituresDetail",
     "shortName": "Supplemental Cash Flow Information (Summary of Reconciliation of Additions to Property, Plant and Equipment to Total Capital Expenditures) (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "mpc:ScheduleOfReconciliationOfAdditionsToPropertyPlantAndEquipmentToTotalCapitalExpendituresTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "mpc:IncreaseDecreaseInCapitalAccruals",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R116": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccumulatedOtherComprehensiveIncomeLossNetOfTax",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2428402 - Disclosure - Accumulated Other Comprehensive Income Accumulated Other Comprehensive Income (Details)",
     "role": "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeAccumulatedOtherComprehensiveIncomeDetails",
     "shortName": "Accumulated Other Comprehensive Income Accumulated Other Comprehensive Income (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:OtherComprehensiveIncomeLossNetOfTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R117": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:AllocatedShareBasedCompensationExpense",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2429402 - Disclosure - Equity-Based Compensation (Narrative) (Detail)",
     "role": "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail",
     "shortName": "Equity-Based Compensation (Narrative) (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4_us-gaap_AwardTypeAxis_us-gaap_PhantomShareUnitsPSUsMember",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R118": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2018Q4_us-gaap_AwardTypeAxis_us-gaap_PhantomShareUnitsPSUsMember",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingNumber",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2429403 - Disclosure - Equity-Based Compensation (Summary of Phantom Unit Award Activity) (Detail)",
     "role": "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPhantomUnitAwardActivityDetail",
     "shortName": "Equity-Based Compensation (Summary of Phantom Unit Award Activity) (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD_us-gaap_AwardTypeAxis_us-gaap_PhantomShareUnitsPSUsMember",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsExercised",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R119": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfShareBasedCompensationArrangementByShareBasedPaymentAwardRestrictedStockUnitsVestedAndExpectedToVestTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD_us-gaap_AwardTypeAxis_us-gaap_PhantomShareUnitsPSUsMember",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "mpc:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalIntrinsicValue1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2429404 - Disclosure - Equity-Based Compensation (Summary of Values Related To Vested and Unvested Restricted Stock Awards) (Details)",
     "role": "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfValuesRelatedToVestedAndUnvestedRestrictedStockAwardsDetails",
     "shortName": "Equity-Based Compensation (Summary of Values Related To Vested and Unvested Restricted Stock Awards) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfShareBasedCompensationArrangementByShareBasedPaymentAwardRestrictedStockUnitsVestedAndExpectedToVestTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD_us-gaap_AwardTypeAxis_us-gaap_PhantomShareUnitsPSUsMember",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "mpc:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalIntrinsicValue1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessCombinationDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2107100 - Disclosure - Acquisitions",
     "role": "http://www.marathonpetroleum.com/role/Acquisitions",
     "shortName": "Acquisitions",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessCombinationDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R120": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfShareBasedCompensationArrangementByShareBasedPaymentAwardRestrictedStockUnitsVestedAndExpectedToVestTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD_us-gaap_AwardTypeAxis_us-gaap_PhantomShareUnitsPSUsMember",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
      "reportCount": 1,
      "unitRef": "usdPerShare",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2429405 - Disclosure - Equity-Based Compensation (Summary of Performance Unit Award Activity) (Details)",
     "role": "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPerformanceUnitAwardActivityDetails",
     "shortName": "Equity-Based Compensation (Summary of Performance Unit Award Activity) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD_us-gaap_AwardTypeAxis_us-gaap_PerformanceSharesMember",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R121": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD_us-gaap_AwardTypeAxis_us-gaap_PerformanceSharesMember",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2429406 - Disclosure - Equity-Based Compensation (Assumptions) (Details)",
     "role": "http://www.marathonpetroleum.com/role/EquityBasedCompensationAssumptionsDetails",
     "shortName": "Equity-Based Compensation (Assumptions) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD_us-gaap_AwardTypeAxis_us-gaap_PerformanceSharesMember",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R122": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "us-gaap:LeaseCostTableTextBlock",
       "us-gaap:LesseeFinanceLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2018Q4YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeasesRentExpenseNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2433404 - Disclosure - Leases Lessee Disclosures (Details)",
     "role": "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails",
     "shortName": "Leases Lessee Disclosures (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "us-gaap:LeaseCostTableTextBlock",
       "us-gaap:LesseeFinanceLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2018Q4YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeasesRentExpenseNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R123": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:LessorSalesTypeLeaseAssumptionsAndJudgmentsValueOfUnderlyingAssetAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2433405 - Disclosure - Leases Lessor Disclosures (Details)",
     "role": "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails",
     "shortName": "Leases Lessor Disclosures (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:LessorSalesTypeLeaseAssumptionsAndJudgmentsValueOfUnderlyingAssetAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R124": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccrualForEnvironmentalLossContingencies",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2435402 - Disclosure - Commitments and Contingencies (Detail)",
     "role": "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail",
     "shortName": "Commitments and Contingencies (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccrualForEnvironmentalLossContingencies",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R125": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4_us-gaap_OtherCommitmentsAxis_mpc_OperatingLeasesPropaneStorageAndTransporationAndTerminallingAgreementsMember",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:ContractualObligationDueInNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2435403 - Disclosure - Commitments and Contingencies (Minimum Future Payments) (Details)",
     "role": "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesMinimumFuturePaymentsDetails",
     "shortName": "Commitments and Contingencies (Minimum Future Payments) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4_us-gaap_OtherCommitmentsAxis_mpc_OperatingLeasesPropaneStorageAndTransporationAndTerminallingAgreementsMember",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:ContractualObligationDueInNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R126": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4_us-gaap_RecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis_mpc_SmrProductMember",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:RecordedUnconditionalPurchaseObligationDueWithinOneYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2435404 - Disclosure - Commitments and Contingencies (SMR Liability) (Details)",
     "role": "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesSmrLiabilityDetails",
     "shortName": "Commitments and Contingencies (SMR Liability) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4_us-gaap_RecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis_mpc_SmrProductMember",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:RecordedUnconditionalPurchaseObligationDueWithinOneYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R127": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfQuarterlyFinancialInformationTableTextBlock",
       "us-gaap:QuarterlyFinancialInformationTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4QTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2436402 - Disclosure - Select Quarterly Financial Data (Detail)",
     "role": "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail",
     "shortName": "Select Quarterly Financial Data (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfQuarterlyFinancialInformationTableTextBlock",
       "us-gaap:QuarterlyFinancialInformationTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4QTD",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:IncomeLossFromContinuingOperations",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EquityMethodInvestmentsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2109100 - Disclosure - Investments and Noncontrolling Interests",
     "role": "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterests",
     "shortName": "Investments and Noncontrolling Interests",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EquityMethodInvestmentsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2110100 - Disclosure - Related Party Agreements and Transactions",
     "role": "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactions",
     "shortName": "Related Party Agreements and Transactions",
     "subGroupType": "",
     "uniqueAnchor": null
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2111100 - Disclosure - Net Income (Loss) Per Limited Partner Unit",
     "role": "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnit",
     "shortName": "Net Income (Loss) Per Limited Partner Unit",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2112100 - Disclosure - Equity",
     "role": "http://www.marathonpetroleum.com/role/Equity",
     "shortName": "Equity",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "mpc:TemporaryEquityDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2113100 - Disclosure - Redeemable Preferred Units",
     "role": "http://www.marathonpetroleum.com/role/RedeemablePreferredUnits",
     "shortName": "Redeemable Preferred Units",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "mpc:TemporaryEquityDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2114100 - Disclosure - Segment Information",
     "role": "http://www.marathonpetroleum.com/role/SegmentInformation",
     "shortName": "Segment Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ConcentrationRiskDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2116100 - Disclosure - Major Customers and Concentration of Credit Risk",
     "role": "http://www.marathonpetroleum.com/role/MajorCustomersAndConcentrationOfCreditRisk",
     "shortName": "Major Customers and Concentration of Credit Risk",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ConcentrationRiskDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:DisaggregationOfRevenueTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1001000 - Statement - Consolidated Statements of Income",
     "role": "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
     "shortName": "Consolidated Statements of Income",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "lang": null,
      "name": "mpc:CostOfRentalSalesAndOccupancyCosts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InventoryDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2118100 - Disclosure - Inventories",
     "role": "http://www.marathonpetroleum.com/role/Inventories",
     "shortName": "Inventories",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InventoryDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2119100 - Disclosure - Property, Plant and Equipment",
     "role": "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipment",
     "shortName": "Property, Plant and Equipment",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2120100 - Disclosure - Goodwill and Intangibles",
     "role": "http://www.marathonpetroleum.com/role/GoodwillAndIntangibles",
     "shortName": "Goodwill and Intangibles",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2121100 - Disclosure - Fair Value Measurements",
     "role": "http://www.marathonpetroleum.com/role/FairValueMeasurements",
     "shortName": "Fair Value Measurements",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2124100 - Disclosure - Derivative Financial Instruments",
     "role": "http://www.marathonpetroleum.com/role/DerivativeFinancialInstruments",
     "shortName": "Derivative Financial Instruments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2125100 - Disclosure - Debt",
     "role": "http://www.marathonpetroleum.com/role/Debt",
     "shortName": "Debt",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RevenueFromContractWithCustomerTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2126100 - Disclosure - Revenue Revenue",
     "role": "http://www.marathonpetroleum.com/role/RevenueRevenue",
     "shortName": "Revenue Revenue",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RevenueFromContractWithCustomerTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CashFlowSupplementalDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2127100 - Disclosure - Supplemental Cash Flow Information",
     "role": "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformation",
     "shortName": "Supplemental Cash Flow Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CashFlowSupplementalDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfComprehensiveIncomeLossTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2128100 - Disclosure - Accumulated Other Comprehensive Income Accumulated Other Comprehensive Income",
     "role": "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeAccumulatedOtherComprehensiveIncome",
     "shortName": "Accumulated Other Comprehensive Income Accumulated Other Comprehensive Income",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfComprehensiveIncomeLossTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2129100 - Disclosure - Equity-Based Compensation",
     "role": "http://www.marathonpetroleum.com/role/EquityBasedCompensation",
     "shortName": "Equity-Based Compensation",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": null,
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1001001 - Statement - Consolidated Statements of Income Consolidated Statements of Income (Parenthetical)",
     "role": "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncomeConsolidatedStatementsOfIncomeParenthetical",
     "shortName": "Consolidated Statements of Income Consolidated Statements of Income (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2135100 - Disclosure - Commitments and Contingencies",
     "role": "http://www.marathonpetroleum.com/role/CommitmentsAndContingencies",
     "shortName": "Commitments and Contingencies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:QuarterlyFinancialInformationTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2136100 - Disclosure - Select Quarterly Financial Data",
     "role": "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialData",
     "shortName": "Select Quarterly Financial Data",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:QuarterlyFinancialInformationTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ConsolidationPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2201201 - Disclosure - Description of the Business and Basis of Presentation (Policies)",
     "role": "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationPolicies",
     "shortName": "Description of the Business and Basis of Presentation (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ConsolidationPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:UseOfEstimates",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2203201 - Disclosure - Summary of Principal Accounting Policies (Policies)",
     "role": "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesPolicies",
     "shortName": "Summary of Principal Accounting Policies (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:UseOfEstimates",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DescriptionOfNewAccountingPronouncementsNotYetAdopted",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2206201 - Disclosure - Accounting Standards New Accounting Pronouncements Not yet Adopted (Tables)",
     "role": "http://www.marathonpetroleum.com/role/AccountingStandardsNewAccountingPronouncementsNotYetAdoptedTables",
     "shortName": "Accounting Standards New Accounting Pronouncements Not yet Adopted (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DescriptionOfNewAccountingPronouncementsNotYetAdopted",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD_us-gaap_BusinessAcquisitionAxis_mpc_ANDXLPMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2307301 - Disclosure - Acquisitions (Tables)",
     "role": "http://www.marathonpetroleum.com/role/AcquisitionsTables",
     "shortName": "Acquisitions (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD_us-gaap_BusinessAcquisitionAxis_mpc_ANDXLPMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EquityMethodInvestmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2309301 - Disclosure - Investments and Noncontrolling Interests (Tables)",
     "role": "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsTables",
     "shortName": "Investments and Noncontrolling Interests (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EquityMethodInvestmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "mpc:ScheduleOfEntityWideInformationAllocatedRelatedPartyEmployeeBenefitCostsByIncomeStatementLineTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2310301 - Disclosure - Related Party Agreements and Transactions (Tables)",
     "role": "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsTables",
     "shortName": "Related Party Agreements and Transactions (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "mpc:ScheduleOfEntityWideInformationAllocatedRelatedPartyEmployeeBenefitCostsByIncomeStatementLineTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "mpc:ScheduleofDistributionsByPartnerByClassTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2311301 - Disclosure - Net Income (Loss) Per Limited Partner Unit (Tables)",
     "role": "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitTables",
     "shortName": "Net Income (Loss) Per Limited Partner Unit (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "mpc:ScheduleofDistributionsByPartnerByClassTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfStockholdersEquityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2312301 - Disclosure - Equity (Tables)",
     "role": "http://www.marathonpetroleum.com/role/EquityTables",
     "shortName": "Equity (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfStockholdersEquityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1002000 - Statement - Consolidated Statements of Comprehensive Income Statement",
     "role": "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfComprehensiveIncomeStatement",
     "shortName": "Consolidated Statements of Comprehensive Income Statement",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "lang": null,
      "name": "mpc:OtherComprehensiveIncomeLossPensionandOtherPostretirementBenefitPlansNetUnamortizedGainLossAdjustmentNetofTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:TemporaryEquityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2313301 - Disclosure - Redeemable Preferred Units (Tables)",
     "role": "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsTables",
     "shortName": "Redeemable Preferred Units (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:TemporaryEquityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2314301 - Disclosure - Segment Information (Tables)",
     "role": "http://www.marathonpetroleum.com/role/SegmentInformationTables",
     "shortName": "Segment Information (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfInventoryCurrentTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2318301 - Disclosure - Inventories (Tables)",
     "role": "http://www.marathonpetroleum.com/role/InventoriesTables",
     "shortName": "Inventories (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfInventoryCurrentTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2319301 - Disclosure - Property, Plant and Equipment (Tables)",
     "role": "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentTables",
     "shortName": "Property, Plant and Equipment (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfGoodwillTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2320301 - Disclosure - Goodwill and Intangibles (Tables)",
     "role": "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesTables",
     "shortName": "Goodwill and Intangibles (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfGoodwillTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2321301 - Disclosure - Fair Value Measurements (Tables)",
     "role": "http://www.marathonpetroleum.com/role/FairValueMeasurementsTables",
     "shortName": "Fair Value Measurements (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfNotionalAmountsOfOutstandingDerivativePositionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2324301 - Disclosure - Derivative Financial Instruments (Tables)",
     "role": "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsTables",
     "shortName": "Derivative Financial Instruments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfNotionalAmountsOfOutstandingDerivativePositionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfExtinguishmentOfDebtTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2325301 - Disclosure - Debt (Tables)",
     "role": "http://www.marathonpetroleum.com/role/DebtTables",
     "shortName": "Debt (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfExtinguishmentOfDebtTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisaggregationOfRevenueTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2326301 - Disclosure - Revenue Revenue (Tables)",
     "role": "http://www.marathonpetroleum.com/role/RevenueRevenueTables",
     "shortName": "Revenue Revenue (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisaggregationOfRevenueTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2327301 - Disclosure - Supplemental Cash Flow Information (Tables)",
     "role": "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationTables",
     "shortName": "Supplemental Cash Flow Information (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ReconciliationOfAssetsFromSegmentToConsolidatedTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1003000 - Statement - Consolidated Balance Sheets",
     "role": "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
     "shortName": "Consolidated Balance Sheets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": null,
      "lang": null,
      "name": "us-gaap:CommitmentsAndContingencies",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "true"
     }
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2328301 - Disclosure - Accumulated Other Comprehensive Income Accumulated Other Comprehensive Income (Tables)",
     "role": "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeAccumulatedOtherComprehensiveIncomeTables",
     "shortName": "Accumulated Other Comprehensive Income Accumulated Other Comprehensive Income (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD_us-gaap_AwardTypeAxis_us-gaap_PhantomShareUnitsPSUsMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2329301 - Disclosure - Equity-Based Compensation (Tables)",
     "role": "http://www.marathonpetroleum.com/role/EquityBasedCompensationTables",
     "shortName": "Equity-Based Compensation (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD_us-gaap_AwardTypeAxis_us-gaap_PhantomShareUnitsPSUsMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LesseeFinanceLeasesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2333301 - Disclosure - Leases Lessee Disclosure (Tables)",
     "role": "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosureTables",
     "shortName": "Leases Lessee Disclosure (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LesseeFinanceLeasesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LessorOperatingLeasePaymentsToBeReceivedMaturityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2333302 - Disclosure - Leases Lessor Disclosures (Tables)",
     "role": "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresTables",
     "shortName": "Leases Lessor Disclosures (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LessorOperatingLeasePaymentsToBeReceivedMaturityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "srt:ContractualObligationFiscalYearMaturityScheduleTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2335301 - Disclosure - Commitments and Contingencies (Tables)",
     "role": "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesTables",
     "shortName": "Commitments and Contingencies (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "srt:ContractualObligationFiscalYearMaturityScheduleTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:QuarterlyFinancialInformationTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfQuarterlyFinancialInformationTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2336301 - Disclosure - Select Quarterly Financial Data (Tables)",
     "role": "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataTables",
     "shortName": "Select Quarterly Financial Data (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:QuarterlyFinancialInformationTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfQuarterlyFinancialInformationTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "D2012Q1PartnershipFormation",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LimitedLiabilityCompanyOrLimitedPartnershipBusinessFormationDate",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2401402 - Disclosure - Description of the Business and Basis of Presentation (Detail)",
     "role": "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationDetail",
     "shortName": "Description of the Business and Basis of Presentation (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "D2012Q1PartnershipFormation",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LimitedLiabilityCompanyOrLimitedPartnershipBusinessFormationDate",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "mpc:IncomeLossfromEquityMethodInvestmentsfromAssetImpairmentandEliminationofBasisDifferential",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2403402 - Disclosure - Summary of Principal Accounting Policies (Details)",
     "role": "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesDetails",
     "shortName": "Summary of Principal Accounting Policies (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "D2019Q1_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_us-gaap_AccountingStandardsUpdate201602Member_us-gaap_BalanceSheetLocationAxis_mpc_OperatingLeaseRightOfUseAssetMember",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:NewAccountingPronouncementOrChangeInAccountingPrincipleEffectOfAdoptionQuantification",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2406402 - Disclosure - Accounting Standards ASU 2016-02 Leases and related updates (Details)",
     "role": "http://www.marathonpetroleum.com/role/AccountingStandardsAsu201602LeasesAndRelatedUpdatesDetails",
     "shortName": "Accounting Standards ASU 2016-02 Leases and related updates (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "D2019Q1_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_us-gaap_AccountingStandardsUpdate201602Member_us-gaap_BalanceSheetLocationAxis_mpc_OperatingLeaseRightOfUseAssetMember",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:NewAccountingPronouncementOrChangeInAccountingPrincipleEffectOfAdoptionQuantification",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ReconciliationOfAssetsFromSegmentToConsolidatedTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2407402 - Disclosure - Acquisitions Acquisitions (Andeavor Logistics LP) (Details)",
     "role": "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
     "shortName": "Acquisitions Acquisitions (Andeavor Logistics LP) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q1QTD",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:GoodwillPurchaseAccountingAdjustments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": null,
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1003501 - Statement - Consolidated Balance Sheets (Parenthetical)",
     "role": "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheetsParenthetical",
     "shortName": "Consolidated Balance Sheets (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R60": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfAcquiredFiniteLivedIntangibleAssetsByMajorClassTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:IntangibleAssetsNetExcludingGoodwill",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2407403 - Disclosure - Acquisitions Acquisitions (Acquisition Mt. Airy Terminal) (Details)",
     "role": "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails",
     "shortName": "Acquisitions Acquisitions (Acquisition Mt. Airy Terminal) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "I2018Q3Sep26_us-gaap_BusinessAcquisitionAxis_mpc_Mt.AiryTerminalMember",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R61": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "D2017Q4Feb1",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:LimitedLiabilityCompanyLLCOrLimitedPartnershipLPManagingMemberOrGeneralPartnerOwnershipInterest",
      "reportCount": 1,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2407404 - Disclosure - Acquisitions Acquisitions (Refining Logistics and Fuels Distribution) (Details)",
     "role": "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
     "shortName": "Acquisitions Acquisitions (Refining Logistics and Fuels Distribution) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "I2017Q4Feb1",
      "decimals": "0",
      "lang": null,
      "name": "mpc:Numberofstoragetanks",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Tank",
      "xsiNil": "false"
     }
    },
    "R62": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "D2017Q4Feb1",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:LimitedLiabilityCompanyLLCOrLimitedPartnershipLPManagingMemberOrGeneralPartnerOwnershipInterest",
      "reportCount": 1,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2407405 - Disclosure - Acquisitions (Joint-Interest Acquisition) (Details)",
     "role": "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails",
     "shortName": "Acquisitions (Joint-Interest Acquisition) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "D2017Q3Sep1_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mpc_IllinoisExtensionPipelineCompanyLLCMember",
      "decimals": "INF",
      "lang": null,
      "name": "mpc:Pipelinelength",
      "reportCount": 1,
      "unique": true,
      "unitRef": "mi",
      "xsiNil": "false"
     }
    },
    "R63": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "D2017Q4Feb1",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:LimitedLiabilityCompanyLLCOrLimitedPartnershipLPManagingMemberOrGeneralPartnerOwnershipInterest",
      "reportCount": 1,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2407406 - Disclosure - Acquisitions (Acquisition of HST, WHC & MPLXT) (Details)",
     "role": "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
     "shortName": "Acquisitions (Acquisition of HST, WHC & MPLXT) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "I2017Q1Mar1",
      "decimals": "0",
      "lang": null,
      "name": "mpc:Numberofnaturalgasliquidsstoragecaverns",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R64": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:PaymentsToAcquirePropertyPlantAndEquipment",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2407407 - Disclosure - Acquisitions (Acquisition of Ozark Pipeline) (Details)",
     "role": "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfOzarkPipelineDetails",
     "shortName": "Acquisitions (Acquisition of Ozark Pipeline) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "D2017Q1Mar1_us-gaap_BusinessAcquisitionAxis_mpc_OzarkPipelineMember",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:PaymentsToAcquirePropertyPlantAndEquipment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R65": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:PaymentsToAcquireEquityMethodInvestments",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2407408 - Disclosure - Acquisitions (Acquisition of MarEn Bakken) (Details)",
     "role": "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfMarenBakkenDetails",
     "shortName": "Acquisitions (Acquisition of MarEn Bakken) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "D2016Q4Feb15_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_mpc_MarathonPetroleumCorporationMember",
      "decimals": "-5",
      "lang": null,
      "name": "mpc:IncentiveDistributionRightsForfeitedperQuarter",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R66": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:EquityMethodInvestmentsTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:EquityMethodInvestments",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2409402 - Disclosure - Investments and Noncontrolling Interest (Equity Method Investments) (Details)",
     "role": "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails",
     "shortName": "Investments and Noncontrolling Interest (Equity Method Investments) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:EquityMethodInvestmentsTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mpc_WhistlerPipelineLLCMember",
      "decimals": "2",
      "lang": null,
      "name": "us-gaap:EquityMethodInvestmentOwnershipPercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R67": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "mpc:SummarizedFinancialInformationForEquityMethodInvesteesTableTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:EquityMethodInvestmentSummarizedFinancialInformationRevenue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2409403 - Disclosure - Investments and Noncontrolling Interests (Summary of Equity Method Investment Financial Information) (Details)",
     "role": "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsSummaryOfEquityMethodInvestmentFinancialInformationDetails",
     "shortName": "Investments and Noncontrolling Interests (Summary of Equity Method Investment Financial Information) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "mpc:SummarizedFinancialInformationForEquityMethodInvesteesTableTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:EquityMethodInvestmentSummarizedFinancialInformationRevenue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R68": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "mpc:IncomeLossfromEquityMethodInvestmentsfromAssetImpairment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2409404 - Disclosure - Investments and Noncontrolling Interests (Narrative) (Details)",
     "role": "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsNarrativeDetails",
     "shortName": "Investments and Noncontrolling Interests (Narrative) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "mpc:IncomeLossfromEquityMethodInvestmentsfromAssetImpairment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R69": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueFromRelatedParties",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2410402 - Disclosure - Related Party Agreements and Transactions (Narrative) (Detail)",
     "role": "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail",
     "shortName": "Related Party Agreements and Transactions (Narrative) (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD_srt_ProductOrServiceAxis_mpc_RefinedProductsMember_us-gaap_LeaseArrangementTypeAxis_mpc_TruckingServicesAgreementMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_mpc_MarathonPetroleumCorporationMember_us-gaap_TypeOfArrangementAxis_mpc_CommercialAgreementsMember",
      "decimals": null,
      "lang": "en-US",
      "name": "mpc:TermOfAgreements",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1004000 - Statement - Consolidated Statements of Cash Flows",
     "role": "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows",
     "shortName": "Consolidated Statements of Cash Flows",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:DeferredIncomeTaxExpenseBenefit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R70": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueFromRelatedParties",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2410403 - Disclosure - Related Party Agreements and Transactions (Intercompany Loans with Related Parties) (Detail)",
     "role": "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsIntercompanyLoansWithRelatedPartiesDetail",
     "shortName": "Related Party Agreements and Transactions (Intercompany Loans with Related Parties) (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "I2018Q4ANDXICLoan_dei_LegalEntityAxis_mpc_ANDXLPMember_us-gaap_DebtInstrumentAxis_mpc_RelatedPartyRevolvingCreditAgreementMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_mpc_MPCInvestmentMember",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:LineOfCreditFacilityCurrentBorrowingCapacity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R71": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "mpc:OperatingLeaseIncomeStatementLeaseRevenueRelatedParties",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2410404 - Disclosure - Related Party Agreements and Transactions (Summary of Revenue by Income Statement RP Line Item) (Detail)",
     "role": "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfRevenueByIncomeStatementRpLineItemDetail",
     "shortName": "Related Party Agreements and Transactions (Summary of Revenue by Income Statement RP Line Item) (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_mpc_MarathonPetroleumCorporationMember",
      "decimals": "-6",
      "lang": null,
      "name": "mpc:OperatingLeaseIncomeStatementLeaseRevenueRelatedParties",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R72": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "mpc:ScheduleOfEntityWideInformationAllocatedRelatedPartyEmployeeBenefitCostsByIncomeStatementLineTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_mpc_MarathonPetroleumCorporationMember",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:LaborAndRelatedExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2410405 - Disclosure - Related Party Agreements and Transactions (Summary of Expenses by Income Statement RP Line Item) (Detail)",
     "role": "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfExpensesByIncomeStatementRpLineItemDetail",
     "shortName": "Related Party Agreements and Transactions (Summary of Expenses by Income Statement RP Line Item) (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "mpc:ScheduleOfEntityWideInformationAllocatedRelatedPartyEmployeeBenefitCostsByIncomeStatementLineTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_mpc_MarathonPetroleumCorporationMember",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:LaborAndRelatedExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R73": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "mpc:CurrentAssetsRelatedParties",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2410406 - Disclosure - Related Party Agreements and Transactions (Summary of Balance Sheet by RP Line Item) (Details)",
     "role": "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails",
     "shortName": "Related Party Agreements and Transactions (Summary of Balance Sheet by RP Line Item) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_OtherAffiliatesMember",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:AccountsReceivableRelatedPartiesCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R74": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "mpc:EarningsPerUnitPotentiallyDilutiveUnits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2411402 - Disclosure - Net Income (Loss) Per Limited Partner Unit (Schedule of Distributions by Partner Class) (Detail)",
     "role": "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitScheduleOfDistributionsByPartnerClassDetail",
     "shortName": "Net Income (Loss) Per Limited Partner Unit (Schedule of Distributions by Partner Class) (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "mpc:EarningsPerUnitPotentiallyDilutiveUnits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R75": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:DistributionMadeToLimitedPartnerCashDistributionsDeclared",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2411403 - Disclosure - Net Income (Loss) Per Limited Partner Unit (Basic and Diluted Earnings Per Unit) (Detail)",
     "role": "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail",
     "shortName": "Net Income (Loss) Per Limited Partner Unit (Basic and Diluted Earnings Per Unit) (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:UndistributedEarningsLossAvailableToCommonShareholdersBasic",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R76": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfStockholdersEquityTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:PartnersCapitalAccountUnits",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2412402 - Disclosure - Equity (Units Outstanding) (Details)",
     "role": "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails",
     "shortName": "Equity (Units Outstanding) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "I2019Q2Jul30_dei_LegalEntityAxis_mpc_MPLXLPMember_us-gaap_PartnerCapitalComponentsAxis_mpc_TexNewMexunitsMember",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:LimitedPartnersCapitalAccountUnitsOutstanding",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R77": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "mpc:CapitalContributionByRelatedParty",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2412403 - Disclosure - Equity (Reorganization Transactions) (Details)",
     "role": "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails",
     "shortName": "Equity (Reorganization Transactions) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "D2017Q4Feb1_us-gaap_PartnerTypeOfPartnersCapitalAccountAxis_mpc_LimitedPartnersCommonUnitsMember",
      "decimals": "-8",
      "lang": null,
      "name": "us-gaap:PartnersCapitalAccountExchangesAndConversions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R78": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-8",
      "first": true,
      "lang": null,
      "name": "mpc:CommonStockMonetaryValueofSharesAuthorized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2412404 - Disclosure - Equity (ATM Program) (Details)",
     "role": "http://www.marathonpetroleum.com/role/EquityAtmProgramDetails",
     "shortName": "Equity (ATM Program) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-8",
      "first": true,
      "lang": null,
      "name": "mpc:CommonStockMonetaryValueofSharesAuthorized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R79": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfStockholdersEquityTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2018Q4",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:PartnersCapitalAccountUnits",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2412405 - Disclosure - Equity (Changes in Partners Capital, Unit Rollforward) (Details)",
     "role": "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
     "shortName": "Equity (Changes in Partners Capital, Unit Rollforward) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2016Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:PartnersCapitalIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1005000 - Statement - Consolidated Statements of Equity",
     "role": "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
     "shortName": "Consolidated Statements of Equity",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2016Q4_us-gaap_PartnerTypeOfPartnersCapitalAccountAxis_us-gaap_PreferredClassBMember",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:PartnersCapitalIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R80": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfQuarterlyFinancialInformationTableTextBlock",
       "us-gaap:QuarterlyFinancialInformationTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4QTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2412406 - Disclosure - Equity (Net Income Allocation) (Details)",
     "role": "http://www.marathonpetroleum.com/role/EquityNetIncomeAllocationDetails",
     "shortName": "Equity (Net Income Allocation) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "mpc:ScheduleOfCalculationOfNetIncomeApplicabletoPartnersTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2017Q4YTD",
      "decimals": "-6",
      "lang": null,
      "name": "mpc:IncentiveDistributionRightsAndOther",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R81": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:DistributionMadeToLimitedPartnerCashDistributionsDeclared",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2412407 - Disclosure - Equity (Cash Distributions) (Details)",
     "role": "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
     "shortName": "Equity (Cash Distributions) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "D2019Q4Distribution_us-gaap_SubsequentEventTypeAxis_us-gaap_SubsequentEventMember",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:DistributionMadeToLimitedPartnerCashDistributionsDeclared",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R82": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "mpc:ManagingMemberOrGeneralPartnerSubsequentDistributionAmountExcludingIncentiveDistribution",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2412408 - Disclosure - Equity (Cash Distributions Applicable to Period the Distributions Were Earned) (Details)",
     "role": "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails",
     "shortName": "Equity (Cash Distributions Applicable to Period the Distributions Were Earned) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "mpc:ManagingMemberOrGeneralPartnerSubsequentDistributionAmountExcludingIncentiveDistribution",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R83": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfStockholdersEquityTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2017Q4YTD",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:PartnersCapitalAccountUnitsSaleOfUnits",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2413402 - Disclosure - Redeemable Preferred Units (Narrative) (Details)",
     "role": "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsNarrativeDetails",
     "shortName": "Redeemable Preferred Units (Narrative) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "D2016Q2Q116DistPd_us-gaap_PreferredUnitsByNameAxis_mpc_SeriesAConvertiblePreferredUnitsMember",
      "decimals": "3",
      "lang": null,
      "name": "us-gaap:PreferredStockDividendRatePercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R84": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2018Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:TemporaryEquityCarryingAmountIncludingPortionAttributableToNoncontrollingInterests",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2413403 - Disclosure - Redeemable Preferred Units (Rollforward of Redeemable Preferred Units) (Details)",
     "role": "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsRollforwardOfRedeemablePreferredUnitsDetails",
     "shortName": "Redeemable Preferred Units (Rollforward of Redeemable Preferred Units) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:TemporaryEquityTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD_us-gaap_PreferredUnitsByNameAxis_mpc_SeriesAConvertiblePreferredUnitsMember",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:TemporaryEquityNetIncome",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R85": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NumberOfReportableSegments",
      "reportCount": 1,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2414402 - Disclosure - Segment Information (Details)",
     "role": "http://www.marathonpetroleum.com/role/SegmentInformationDetails",
     "shortName": "Segment Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R86": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfQuarterlyFinancialInformationTableTextBlock",
       "us-gaap:QuarterlyFinancialInformationTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4QTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2414403 - Disclosure - Segment Information - Revenues and Adjusted EBITDA (Details)",
     "role": "http://www.marathonpetroleum.com/role/SegmentInformationRevenuesAndAdjustedEbitdaDetails",
     "shortName": "Segment Information - Revenues and Adjusted EBITDA (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD_us-gaap_StatementBusinessSegmentsAxis_mpc_LogisticsandStorageMember",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:PaymentsToAcquireEquityMethodInvestments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R87": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ReconciliationOfAssetsFromSegmentToConsolidatedTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2414404 - Disclosure - Segment Information - Assets by Segment (Details)",
     "role": "http://www.marathonpetroleum.com/role/SegmentInformationAssetsBySegmentDetails",
     "shortName": "Segment Information - Assets by Segment (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ReconciliationOfAssetsFromSegmentToConsolidatedTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_us-gaap_StatementBusinessSegmentsAxis_mpc_LogisticsandStorageMember",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:Assets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R88": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:Depreciation",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2414405 - Disclosure - Segment Information - Reconciliation Adjusted EBITDA to Net income (Details)",
     "role": "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails",
     "shortName": "Segment Information - Reconciliation Adjusted EBITDA to Net income (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": "-6",
      "lang": null,
      "name": "mpc:InterestandOtherFinancialCosts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R89": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD_srt_MajorCustomersAxis_mpc_FirstMajorCustomerMember_us-gaap_ConcentrationRiskByBenchmarkAxis_mpc_RevenuesAndOtherIncomeMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_mpc_MarathonPetroleumCorporationMember",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:ConcentrationRiskPercentage1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2416401 - Disclosure - Major Customers and Concentration of Credit Risk (Details)",
     "role": "http://www.marathonpetroleum.com/role/MajorCustomersAndConcentrationOfCreditRiskDetails",
     "shortName": "Major Customers and Concentration of Credit Risk (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD_srt_MajorCustomersAxis_mpc_FirstMajorCustomerMember_us-gaap_ConcentrationRiskByBenchmarkAxis_mpc_RevenuesAndOtherIncomeMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_mpc_MarathonPetroleumCorporationMember",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:ConcentrationRiskPercentage1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2101100 - Disclosure - Description of the Business and Basis of Presentation",
     "role": "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentation",
     "shortName": "Description of the Business and Basis of Presentation",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FD2019Q4YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R90": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:ScheduleOfInventoryCurrentTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:EnergyRelatedInventoryNaturalGasLiquids",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2418402 - Disclosure - Inventories (Summary of Inventories) (Details)",
     "role": "http://www.marathonpetroleum.com/role/InventoriesSummaryOfInventoriesDetails",
     "shortName": "Inventories (Summary of Inventories) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:ScheduleOfInventoryCurrentTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:EnergyRelatedInventoryNaturalGasLiquids",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R91": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:PropertyPlantAndEquipmentGross",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2419402 - Disclosure - Property, Plant and Equipment (Summary of Property, Plant and Equipment) (Detail)",
     "role": "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail",
     "shortName": "Property, Plant and Equipment (Summary of Property, Plant and Equipment) (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4_us-gaap_PropertyPlantAndEquipmentByTypeAxis_mpc_GasGatheringAndTransmissionEquipmentAndFacilitiesMember",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:PropertyPlantAndEquipmentGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R92": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2419403 - Disclosure - Property Plant and Equipment (Narrative) (Details)",
     "role": "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentNarrativeDetails",
     "shortName": "Property Plant and Equipment (Narrative) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R93": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "D2019Q4PostReportingUnitChange",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:GoodwillImpairmentLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2420402 - Disclosure - Goodwill and Intangibles (Goodwill) (Narrative) (Details)",
     "role": "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillNarrativeDetails",
     "shortName": "Goodwill and Intangibles (Goodwill) (Narrative) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "D2019Q4PostReportingUnitChange",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:NumberOfReportingUnits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R94": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfGoodwillTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:GoodwillGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2420403 - Disclosure - Goodwill and Intangibles (Reconciliation of Goodwill) (Details)",
     "role": "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesReconciliationOfGoodwillDetails",
     "shortName": "Goodwill and Intangibles (Reconciliation of Goodwill) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfGoodwillTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:GoodwillGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R95": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfAcquiredFiniteLivedIntangibleAssetsByMajorClassTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2420404 - Disclosure - Goodwill and Intangibles (Intangible Assets) (Details)",
     "role": "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangibleAssetsDetails",
     "shortName": "Goodwill and Intangibles (Intangible Assets) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfAcquiredFiniteLivedIntangibleAssetsByMajorClassTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R96": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2420405 - Disclosure - Goodwill and Intangibles (Future Amortization Expense) (Details)",
     "role": "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesFutureAmortizationExpenseDetails",
     "shortName": "Goodwill and Intangibles (Future Amortization Expense) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R97": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsRecurringMember",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2421402 - Disclosure - Fair Value Measurements - Recurring (Financial Instruments by Valuation Hierarchy) (Details)",
     "role": "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringFinancialInstrumentsByValuationHierarchyDetails",
     "shortName": "Fair Value Measurements - Recurring (Financial Instruments by Valuation Hierarchy) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsRecurringMember",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R98": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "mpc:FairValueInputsAssetsAndLiabilitiesQuantitativeInformationTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4_srt_RangeAxis_srt_MinimumMember_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "mpc:FairValueInputsForwardCommodityPrice",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2421403 - Disclosure - Fair Value Measurements - Recurring (Significant Unobservable Inputs in Level 3 Valuation) (Details)",
     "role": "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringSignificantUnobservableInputsInLevel3ValuationDetails",
     "shortName": "Fair Value Measurements - Recurring (Significant Unobservable Inputs in Level 3 Valuation) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "mpc:FairValueInputsAssetsAndLiabilitiesQuantitativeInformationTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2019Q4_srt_RangeAxis_srt_MinimumMember_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "mpc:FairValueInputsForwardCommodityPrice",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R99": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2018Q4_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisWithUnobservableInputs",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2421404 - Disclosure - Fair Value Measurements - Recurring (Changes in Level 3 Measurements) (Details)",
     "role": "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringChangesInLevel3MeasurementsDetails",
     "shortName": "Fair Value Measurements - Recurring (Changes in Level 3 Measurements) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-20191231x10k.htm",
      "contextRef": "FI2017Q4_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisWithUnobservableInputs",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 219,
   "tag": {
    "dei_AmendmentFlag": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
        "label": "Amendment Flag",
        "terseLabel": "Amendment Flag"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_CityAreaCode": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Area code of city",
        "label": "City Area Code",
        "terseLabel": "City Area Code"
       }
      }
     },
     "localname": "CityAreaCode",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_CurrentFiscalYearEndDate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "End date of current fiscal year in the format --MM-DD.",
        "label": "Current Fiscal Year End Date",
        "terseLabel": "Current Fiscal Year End Date"
       }
      }
     },
     "localname": "CurrentFiscalYearEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "gMonthDayItemType"
    },
    "dei_DocumentAnnualReport": {
     "auth_ref": [
      "r585"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an annual report.",
        "label": "Document Annual Report",
        "terseLabel": "Document Annual Report"
       }
      }
     },
     "localname": "DocumentAnnualReport",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentFiscalPeriodFocus": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.",
        "label": "Document Fiscal Period Focus",
        "terseLabel": "Document Fiscal Period Focus"
       }
      }
     },
     "localname": "DocumentFiscalPeriodFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "fiscalPeriodItemType"
    },
    "dei_DocumentFiscalYearFocus": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This is focus fiscal year of the document report in CCYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006.",
        "label": "Document Fiscal Year Focus",
        "terseLabel": "Document Fiscal Year Focus"
       }
      }
     },
     "localname": "DocumentFiscalYearFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "gYearItemType"
    },
    "dei_DocumentInformationTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Container to support the formal attachment of each official or unofficial, public or private document as part of a submission package.",
        "label": "Document Information [Table]",
        "terseLabel": "Document Information [Table]"
       }
      }
     },
     "localname": "DocumentInformationTable",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_DocumentPeriodEndDate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The end date of the period reflected on the cover page if a periodic report. For all other reports and registration statements containing historical data, it is the date up through which that historical data is presented.  If there is no historical data in the report, use the filing date. The format of the date is CCYY-MM-DD.",
        "label": "Document Period End Date",
        "terseLabel": "Document Period End Date"
       }
      }
     },
     "localname": "DocumentPeriodEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r584"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a transition report.",
        "label": "Document Transition Report",
        "terseLabel": "Document Transition Report"
       }
      }
     },
     "localname": "DocumentTransitionReport",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentType": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
        "label": "Document Type",
        "terseLabel": "Document Type"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_EntityAddressAddressLine1": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name",
        "label": "Entity Address, Address Line One",
        "terseLabel": "Entity Address, Address Line One"
       }
      }
     },
     "localname": "EntityAddressAddressLine1",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCityOrTown": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Name of the City or Town",
        "label": "Entity Address, City or Town",
        "terseLabel": "Entity Address, City or Town"
       }
      }
     },
     "localname": "EntityAddressCityOrTown",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressPostalZipCode": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Code for the postal or zip code",
        "label": "Entity Address, Postal Zip Code",
        "terseLabel": "Entity Address, Postal Zip Code"
       }
      }
     },
     "localname": "EntityAddressPostalZipCode",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressStateOrProvince": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Name of the state or province.",
        "label": "Entity Address, State or Province",
        "terseLabel": "Entity Address, State or Province"
       }
      }
     },
     "localname": "EntityAddressStateOrProvince",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "stateOrProvinceItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r586"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK.",
        "label": "Entity Central Index Key",
        "terseLabel": "Entity Central Index Key"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
        "label": "Entity Common Stock, Shares Outstanding",
        "terseLabel": "Entity Common Stock, Shares Outstanding"
       }
      }
     },
     "localname": "EntityCommonStockSharesOutstanding",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "sharesItemType"
    },
    "dei_EntityCurrentReportingStatus": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Current Reporting Status",
        "terseLabel": "Entity Current Reporting Status"
       }
      }
     },
     "localname": "EntityCurrentReportingStatus",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains.",
        "label": "Entity [Domain]",
        "terseLabel": "Entity [Domain]"
       }
      }
     },
     "localname": "EntityDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccountingStandardsAsu201602LeasesAndRelatedUpdatesDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfMarenBakkenDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails",
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail",
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsIntercompanyLoansWithRelatedPartiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r586"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Indicate if registrant meets the emerging growth company criteria.",
        "label": "Entity Emerging Growth Company",
        "terseLabel": "Entity Emerging Growth Company"
       }
      }
     },
     "localname": "EntityEmergingGrowthCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
        "label": "Entity File Number",
        "terseLabel": "Entity File Number"
       }
      }
     },
     "localname": "EntityFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r586"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Indicate whether the registrant is one of the following: Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Filer Category",
        "terseLabel": "Entity Filer Category"
       }
      }
     },
     "localname": "EntityFilerCategory",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "filerCategoryItemType"
    },
    "dei_EntityIncorporationStateCountryCode": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Two-character EDGAR code representing the state or country of incorporation.",
        "label": "Entity Incorporation, State or Country Code",
        "terseLabel": "Entity Incorporation, State or Country Code"
       }
      }
     },
     "localname": "EntityIncorporationStateCountryCode",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInformationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Entity Information [Line Items]",
        "terseLabel": "Entity Information [Line Items]"
       }
      }
     },
     "localname": "EntityInformationLineItems",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r590"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).",
        "label": "Entity Interactive Data Current",
        "terseLabel": "Entity Interactive Data Current"
       }
      }
     },
     "localname": "EntityInteractiveDataCurrent",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityPublicFloat": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The aggregate market value of the voting and non-voting common equity held by non-affiliates computed by reference to the price at which the common equity was last sold, or the average bid and asked price of such common equity, as of the last business day of the registrant's most recently completed second fiscal quarter.",
        "label": "Entity Public Float",
        "terseLabel": "Entity Public Float"
       }
      }
     },
     "localname": "EntityPublicFloat",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "monetaryItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r586"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
        "label": "Entity Registrant Name",
        "terseLabel": "Entity Registrant Name"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r586"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act.",
        "label": "Entity Shell Company",
        "terseLabel": "Entity Shell Company"
       }
      }
     },
     "localname": "EntityShellCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntitySmallBusiness": {
     "auth_ref": [
      "r586"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC).",
        "label": "Entity Small Business",
        "terseLabel": "Entity Small Business"
       }
      }
     },
     "localname": "EntitySmallBusiness",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityTaxIdentificationNumber": {
     "auth_ref": [
      "r586"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS.",
        "label": "Entity Tax Identification Number",
        "terseLabel": "Entity Tax Identification Number"
       }
      }
     },
     "localname": "EntityTaxIdentificationNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "employerIdItemType"
    },
    "dei_EntityVoluntaryFilers": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is not required to file reports pursuant to Section 13 or Section 15(d) of the Act.",
        "label": "Entity Voluntary Filers",
        "terseLabel": "Entity Voluntary Filers"
       }
      }
     },
     "localname": "EntityVoluntaryFilers",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityWellKnownSeasonedIssuer": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is a well-known seasoned issuer, as defined in Rule 405 of the Securities Act. Is used on Form Type: 10-K, 10-Q, 8-K, 20-F, 6-K, 10-K/A, 10-Q/A, 20-F/A, 6-K/A, N-CSR, N-Q, N-1A.",
        "label": "Entity Well-known Seasoned Issuer",
        "terseLabel": "Entity Well-known Seasoned Issuer"
       }
      }
     },
     "localname": "EntityWellKnownSeasonedIssuer",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_LegalEntityAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The set of legal entities associated with a report.",
        "label": "Legal Entity [Axis]",
        "terseLabel": "Legal Entity [Axis]"
       }
      }
     },
     "localname": "LegalEntityAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccountingStandardsAsu201602LeasesAndRelatedUpdatesDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfMarenBakkenDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails",
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail",
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsIntercompanyLoansWithRelatedPartiesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_LocalPhoneNumber": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Local phone number for entity.",
        "label": "Local Phone Number",
        "terseLabel": "Local Phone Number"
       }
      }
     },
     "localname": "LocalPhoneNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r582"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Title of a 12(b) registered security.",
        "label": "Title of 12(b) Security",
        "terseLabel": "Title of 12(b) Security"
       }
      }
     },
     "localname": "Security12bTitle",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r583"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Name of the Exchange on which a security is registered.",
        "label": "Security Exchange Name",
        "terseLabel": "Security Exchange Name"
       }
      }
     },
     "localname": "SecurityExchangeName",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "edgarExchangeCodeItemType"
    },
    "dei_TradingSymbol": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Trading symbol of an instrument as listed on an exchange.",
        "label": "Trading Symbol",
        "terseLabel": "Trading Symbol"
       }
      }
     },
     "localname": "TradingSymbol",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "mpc_ANDXBankRevolvingCreditFacilitiesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "ANDX Bank Revolving Credit Facilities",
        "label": "ANDX Bank Revolving Credit Facilities [Member]",
        "terseLabel": "ANDX Bank Revolving Credit Facilities [Member]"
       }
      }
     },
     "localname": "ANDXBankRevolvingCreditFacilitiesMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_ANDXLPMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "ANDX LP [Member]",
        "label": "ANDX LP [Member]",
        "terseLabel": "ANDX LP [Member]"
       }
      }
     },
     "localname": "ANDXLPMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccountingStandardsAsu201602LeasesAndRelatedUpdatesDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsTables",
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPerformanceUnitAwardActivityDetails",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsIntercompanyLoansWithRelatedPartiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_ASUsnotyetadoptedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "ASUs not yet adopted [Abstract]",
        "label": "ASUs not yet adopted [Abstract]"
       }
      }
     },
     "localname": "ASUsnotyetadoptedAbstract",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "xbrltype": "stringItemType"
    },
    "mpc_ATMProgramMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "ATM Program [Member]",
        "label": "ATM Program [Member]",
        "terseLabel": "ATM Program"
       }
      }
     },
     "localname": "ATMProgramMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityAtmProgramDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_AccountingForChangesInOwnershipInterestsInSubsidiariesPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for change in ownership interest in subsidiaries that includes method of accounting used for different circumstances under which there is a change in ownership interest in subsidiaries.",
        "label": "Accounting for Changes in Ownership Interests in Subsidiaries [Policy Text Block]",
        "terseLabel": "Accounting for changes in ownership interests in subsidiaries"
       }
      }
     },
     "localname": "AccountingForChangesInOwnershipInterestsInSubsidiariesPolicyTextBlock",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mpc_AccruedPropertyPlantAndEquipmentCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred through that date and payable for property, plant and equipment. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accrued Property Plant and Equipment Current",
        "terseLabel": "Accrued property, plant and equipment"
       }
      }
     },
     "localname": "AccruedPropertyPlantAndEquipmentCurrent",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_AcquisitionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Acquisitions [Abstract]",
        "label": "Acquisitions [Abstract]",
        "terseLabel": "Acquisitions [Abstract]"
       }
      }
     },
     "localname": "AcquisitionsAbstract",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSummaryOfSupplementalCashFlowInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_AcquisitionsAndeavorLogisticsLPAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Acquisitions (Andeavor Logistics LP) [Abstract]",
        "label": "Acquisitions (Andeavor Logistics LP) [Abstract]"
       }
      }
     },
     "localname": "AcquisitionsAndeavorLogisticsLPAbstract",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "xbrltype": "stringItemType"
    },
    "mpc_AdjustedEBITDA": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Adjusted EBITDA",
        "label": "Adjusted EBITDA",
        "terseLabel": "Adjusted EBITDA"
       }
      }
     },
     "localname": "AdjustedEBITDA",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationRevenuesAndAdjustedEbitdaDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_AdjustedEBITDAattributabletoPredecessor": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Adjusted EBITDA attributable to Predecessor",
        "label": "Adjusted EBITDA attributable to Predecessor",
        "terseLabel": "Adjusted EBITDA attributable to Predecessor"
       }
      }
     },
     "localname": "AdjustedEBITDAattributabletoPredecessor",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_AdjustedEBITDAattributabletononcontrollinginterests": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Adjusted EBITDA attributable to noncontrolling interests",
        "label": "Adjusted EBITDA attributable to noncontrolling interests",
        "terseLabel": "Adjusted EBITDA attributable to noncontrolling interests"
       }
      }
     },
     "localname": "AdjustedEBITDAattributabletononcontrollinginterests",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_AgreementTypeAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Agreement Type [Axis]",
        "label": "Agreement Type [Axis]",
        "terseLabel": "Agreement Type [Axis]"
       }
      }
     },
     "localname": "AgreementTypeAxis",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail",
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesMinimumFuturePaymentsDetails",
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_AgreementTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Agreement Type [Domain]",
        "label": "Agreement Type [Domain]",
        "terseLabel": "Agreement Type [Domain]"
       }
      }
     },
     "localname": "AgreementTypeDomain",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail",
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesMinimumFuturePaymentsDetails",
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_AndeavorLogisticsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Andeavor Logistics [Member]",
        "label": "Andeavor Logistics [Member]",
        "terseLabel": "Andeavor Logistics [Member]"
       }
      }
     },
     "localname": "AndeavorLogisticsMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangibleAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_AndeavorLogisticsRioPipelineMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Andeavor Logistics Rio Pipeline [Member]",
        "label": "Andeavor Logistics Rio Pipeline [Member]",
        "terseLabel": "Andeavor Logistics Rio Pipeline [Member]"
       }
      }
     },
     "localname": "AndeavorLogisticsRioPipelineMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_AutomaticRenewalTermAgreement": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Automatic Renewal Term Agreement",
        "label": "Automatic Renewal Term Agreement",
        "terseLabel": "Automatic renewal term agreement"
       }
      }
     },
     "localname": "AutomaticRenewalTermAgreement",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsIntercompanyLoansWithRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "mpc_BakkenPipelineSystemMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Bakken Pipeline System [Member]",
        "label": "Bakken Pipeline System [Member]",
        "terseLabel": "Bakken Pipeline System"
       }
      }
     },
     "localname": "BakkenPipelineSystemMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfMarenBakkenDetails",
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_BargesandtowingvesselsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Barges and towing vessels [Member]",
        "label": "Barges and towing vessels [Member]",
        "terseLabel": "Barges and towing vessels"
       }
      }
     },
     "localname": "BargesandtowingvesselsMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_BarrelsHandled": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Barrels Handled",
        "label": "Barrels Handled",
        "terseLabel": "Barrels Handled"
       }
      }
     },
     "localname": "BarrelsHandled",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfMarenBakkenDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "mpc_BusinessAcquisitionEquityInterestIssuedorIssuableFairValueAssigned": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of equity interests (such as common shares, preferred shares, or partnership interest) issued or issuable to acquire the entity.",
        "label": "Business Acquisition, Equity Interest Issued or Issuable, Fair Value Assigned",
        "terseLabel": "Equity interest issued or issuable, fair value assigned"
       }
      }
     },
     "localname": "BusinessAcquisitionEquityInterestIssuedorIssuableFairValueAssigned",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_BusinessAcquisitionTotalConsiderationFairValueAssigned": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of equity interests (such as common shares, preferred shares, or partnership interest) issued or issuable and cash paid to acquire the entity.",
        "label": "Business Acquisition, Total Consideration, Fair Value Assigned",
        "terseLabel": "Business Acquisition, Total Consideration, Fair Value Assigned"
       }
      }
     },
     "localname": "BusinessAcquisitionTotalConsiderationFairValueAssigned",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_BusinessAcquisitionTotalConsiderationValueAssigned": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Value of equity interests (such as common shares, preferred shares, or partnership interest) issued or issuable and cash to acquire the entity.",
        "label": "Business Acquisition, Total Consideration, Value Assigned",
        "terseLabel": "Total consideration, value assigned"
       }
      }
     },
     "localname": "BusinessAcquisitionTotalConsiderationValueAssigned",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_BusinessCombinationRecognizedIdentifiableAssetsAcquiredEquityMethodInvestments": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Business Combination, Recognized Identifiable Assets Acquired, Equity Method Investments",
        "label": "Business Combination, Recognized Identifiable Assets Acquired, Equity Method Investments",
        "terseLabel": "Business Combination, Recognized Identifiable Assets Acquired, Equity Method Investments"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredEquityMethodInvestments",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_CapitalContributionByRelatedParty": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Capital Contribution By Related Party",
        "label": "Capital Contribution By Related Party",
        "negatedTerseLabel": "Contribution from MPC",
        "terseLabel": "Contribution from MPC"
       }
      }
     },
     "localname": "CapitalContributionByRelatedParty",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_CapitalExpenditure": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Capital expenditures",
        "label": "Capital Expenditure",
        "terseLabel": "Capital Expenditure"
       }
      }
     },
     "localname": "CapitalExpenditure",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SegmentInformationRevenuesAndAdjustedEbitdaDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_Cashconsiderationtounitholders": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Cash payment per unit to unitholders for acquisition",
        "label": "Cash consideration to unitholders",
        "terseLabel": "Cash consideration to unitholders"
       }
      }
     },
     "localname": "Cashconsiderationtounitholders",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "mpc_CentrahomaProcessingLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Centrahoma Processing LLC [Member]",
        "label": "Centrahoma Processing LLC [Member]",
        "terseLabel": "Centrahoma Processing LLC"
       }
      }
     },
     "localname": "CentrahomaProcessingLLCMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_ClassBUnitsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Class B Units [Member]",
        "label": "Class B Units [Member]",
        "terseLabel": "Class B Units"
       }
      }
     },
     "localname": "ClassBUnitsMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_ColocationAgreementsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Co-location Agreements [Member]",
        "label": "Co-location Agreements [Member]",
        "terseLabel": "Co-location Agreements [Member]"
       }
      }
     },
     "localname": "ColocationAgreementsMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_CommercialAgreementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Commercial Agreements [Abstract]",
        "label": "Commercial Agreements [Abstract]",
        "terseLabel": "Commercial Agreements"
       }
      }
     },
     "localname": "CommercialAgreementsAbstract",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_CommercialAgreementsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Commercial Agreements [Member]",
        "label": "Commercial Agreements [Member]",
        "terseLabel": "Commercial Agreements"
       }
      }
     },
     "localname": "CommercialAgreementsMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_CommitmentsAndContingenciesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Commitments And Contingencies [Line Items]",
        "label": "Commitments And Contingencies [Line Items]",
        "terseLabel": "Commitments And Contingencies [Line Items]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesLineItems",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_CommitmentsAndContingenciesTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Commitments And Contingencies [Table]",
        "label": "Commitments And Contingencies [Table]",
        "terseLabel": "Commitments And Contingencies [Table]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesTable",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_CommodityTypeAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure pertaining to different commodity types.",
        "label": "Commodity Type [Axis]",
        "terseLabel": "Commodity Type [Axis]"
       }
      }
     },
     "localname": "CommodityTypeAxis",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsEmbeddedDerivativesInCommodityContractsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_CommodityTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents the information pertaining to all types of commodity.",
        "label": "Commodity Type [Domain]",
        "terseLabel": "Commodity Type [Domain]"
       }
      }
     },
     "localname": "CommodityTypeDomain",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsEmbeddedDerivativesInCommodityContractsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_CommonStockMonetaryValueofSharesAuthorized": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Common Stock, Monetary Value of Shares Authorized",
        "label": "Common Stock, Monetary Value of Shares Authorized",
        "terseLabel": "Common Stock, Monetary Value of Shares Authorized"
       }
      }
     },
     "localname": "CommonStockMonetaryValueofSharesAuthorized",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityAtmProgramDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_CommonUnitsConversionRatio": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Ratio applied to the conversion of Markwest shares to MPLX common units.",
        "label": "Common Units Conversion Ratio",
        "terseLabel": "Common Units Conversion Ratio"
       }
      }
     },
     "localname": "CommonUnitsConversionRatio",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "mpc_CommonUnitsConversionRatioANDXtoMPLX": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Ratio applied to the conversion of ANDX common units to MPLX common units",
        "label": "Common Units Conversion Ratio - ANDX to MPLX",
        "terseLabel": "Common Units Conversion Ratio - ANDX to MPLX"
       }
      }
     },
     "localname": "CommonUnitsConversionRatioANDXtoMPLX",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationDetail",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "mpc_ComprehensiveIncomeLossNetofTaxAttributabletoNonredeemableNoncontrollingInterest": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfComprehensiveIncomeStatement": {
       "order": 2.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Comprehensive Income (Loss), Net of Tax, Attributable to Nonredeemable Noncontrolling Interest",
        "label": "Comprehensive Income (Loss), Net of Tax, Attributable to Nonredeemable Noncontrolling Interest",
        "terseLabel": "Noncontrolling interests"
       }
      }
     },
     "localname": "ComprehensiveIncomeLossNetofTaxAttributabletoNonredeemableNoncontrollingInterest",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfComprehensiveIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_ComprehensiveIncomelossNetofTaxAttributabletoPredecessor": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfComprehensiveIncomeStatement": {
       "order": 3.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Comprehensive Income (loss), Net of Tax, Attributable to Predecessor",
        "label": "Comprehensive Income (loss), Net of Tax, Attributable to Predecessor",
        "terseLabel": "Income attributable to Predecessor"
       }
      }
     },
     "localname": "ComprehensiveIncomelossNetofTaxAttributabletoPredecessor",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfComprehensiveIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_ContractwithCustomerAssetIncreaseDecrease": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Contract with Customer, Asset Increase (Decrease)",
        "label": "Contract with Customer, Asset Increase (Decrease)",
        "terseLabel": "Contract with Customer, Asset Increase (Decrease)"
       }
      }
     },
     "localname": "ContractwithCustomerAssetIncreaseDecrease",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueContractBalanceRollforwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_CostOfRentalSalesAndOccupancyCosts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Cost of Rental Sales and Occupancy Costs",
        "label": "Cost of Rental Sales and Occupancy Costs",
        "terseLabel": "Rental cost of sales"
       }
      }
     },
     "localname": "CostOfRentalSalesAndOccupancyCosts",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_CostofRentalSalesandOccupancyCostsRelatedParties": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Cost of Rental Sales and Occupancy Costs, Related Parties",
        "label": "Cost of Rental Sales and Occupancy Costs, Related Parties",
        "terseLabel": "Rental cost of sales - related parties"
       }
      }
     },
     "localname": "CostofRentalSalesandOccupancyCostsRelatedParties",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_CovenantRatioDebtToEbitda": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Covenant Ratio Debt To Ebitda",
        "label": "Covenant Ratio Debt To Ebitda",
        "terseLabel": "Covenant of ratio of consolidated net debt to consolidated EBITDA (in ratio)"
       }
      }
     },
     "localname": "CovenantRatioDebtToEbitda",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail"
     ],
     "xbrltype": "pureItemType"
    },
    "mpc_CovenantRatioDebtToEbitdaPostAcquisition": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Covenant Ratio Debt To Ebitda Post Acquisition",
        "label": "Covenant Ratio Debt To Ebitda Post Acquisition",
        "terseLabel": "Covenant of ratio of consolidated net debt to consolidated EBITDA following certain acquisitions (in ratio)"
       }
      }
     },
     "localname": "CovenantRatioDebtToEbitdaPostAcquisition",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail"
     ],
     "xbrltype": "pureItemType"
    },
    "mpc_CurrentAssetsRelatedParties": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Current Assets, Related Parties",
        "label": "Current Assets, Related Parties",
        "terseLabel": "Current Assets, Related Parties"
       }
      }
     },
     "localname": "CurrentAssetsRelatedParties",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_CurrentLiabilitiesRelatedParties": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Other Current Liabilities, Related Parties",
        "label": "Current Liabilities, Related Parties",
        "terseLabel": "Current Liabilities, Related Parties"
       }
      }
     },
     "localname": "CurrentLiabilitiesRelatedParties",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_DebtInstrumentRenewalTerm": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Debt Instrument, Renewal Term",
        "label": "Debt Instrument, Renewal Term",
        "terseLabel": "Debt Instrument, Renewal Term"
       }
      }
     },
     "localname": "DebtInstrumentRenewalTerm",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "mpc_DebtPremiumMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Debt Premium [Member]",
        "label": "Debt Premium [Member]",
        "terseLabel": "Debt Premium [Member]"
       }
      }
     },
     "localname": "DebtPremiumMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_DeferredRevenueCurrentRelatedParties": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The carrying amount of consideration received or receivable from related parties as of the balance sheet date on potential earnings that were not recognized as revenue in conformity with GAAP, and which are expected to be recognized as such within one year or the normal operating cycle, if longer, including sales, license fees, and royalties, but excluding interest income.",
        "label": "Deferred Revenue, Current, Related Parties",
        "periodEndLabel": "Ending Balance Deferred Revenue, Current, Related Parties",
        "periodStartLabel": "Beginning Balance Deferred revenue - related parties"
       }
      }
     },
     "localname": "DeferredRevenueCurrentRelatedParties",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueContractBalanceRollforwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_DeferredRevenueNoncurrentPeriodIncreaseDecrease": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Deferred Revenue, Noncurrent, Period Increase (Decrease)",
        "label": "Deferred Revenue, Noncurrent, Period Increase (Decrease)",
        "terseLabel": "Deferred Revenue, Noncurrent, Period Increase (Decrease)"
       }
      }
     },
     "localname": "DeferredRevenueNoncurrentPeriodIncreaseDecrease",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueContractBalanceRollforwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_DeferredRevenueNoncurrentRelatedParties": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of long-term deferred revenue from relate parties due after one year.",
        "label": "Deferred Revenue, Noncurrent, Related Parties",
        "periodEndLabel": "Ending Balance Deferred Revenue, Noncurrent, Related Parties",
        "periodStartLabel": "Beginning Balance Deferred Revenue, Noncurrent, Related Parties",
        "terseLabel": "Deferred Revenue, Noncurrent, Related Parties"
       }
      }
     },
     "localname": "DeferredRevenueNoncurrentRelatedParties",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails",
      "http://www.marathonpetroleum.com/role/RevenueContractBalanceRollforwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_DeferredRevenueNoncurrentRelatedPartiesRevenueRecognized": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Deferred Revenue, Noncurrent, Related Parties, Revenue Recognized",
        "label": "Deferred Revenue, Noncurrent, Related Parties, Revenue Recognized",
        "terseLabel": "Deferred Revenue, Noncurrent, Related Parties, Revenue Recognized"
       }
      }
     },
     "localname": "DeferredRevenueNoncurrentRelatedPartiesRevenueRecognized",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueContractBalanceRollforwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_DeferredRevenueNoncurrentRelatedPartyPeriodIncreaseDecrease": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Deferred Revenue, Noncurrent, Related Party, Period Increase (Decrease)",
        "label": "Deferred Revenue, Noncurrent, Related Party, Period Increase (Decrease)",
        "terseLabel": "Deferred Revenue, Noncurrent, Related Party, Period Increase (Decrease)"
       }
      }
     },
     "localname": "DeferredRevenueNoncurrentRelatedPartyPeriodIncreaseDecrease",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueContractBalanceRollforwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_DeferredRevenueNoncurrentRevenueRecognized": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Deferred Revenue, Noncurrent, Revenue Recognized",
        "label": "Deferred Revenue, Noncurrent, Revenue Recognized",
        "terseLabel": "Deferred Revenue, Noncurrent, Revenue Recognized"
       }
      }
     },
     "localname": "DeferredRevenueNoncurrentRevenueRecognized",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueContractBalanceRollforwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_DeferredRevenueRelatedParties": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Deferred revenue with related parties, including both current and non current portions.",
        "label": "Deferred Revenue Related Parties",
        "terseLabel": "Deferred revenue related parties"
       }
      }
     },
     "localname": "DeferredRevenueRelatedParties",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_DeferredRevenueRelatedPartiesRevenueRecognized": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Deferred Revenue - Related Parties, Revenue Recognized",
        "label": "Deferred Revenue - Related Parties, Revenue Recognized",
        "terseLabel": "Deferred Revenue - Related Parties, Revenue Recognized"
       }
      }
     },
     "localname": "DeferredRevenueRelatedPartiesRevenueRecognized",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueContractBalanceRollforwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_DeferredRevenueRelatedPartyPeriodIncreaseDecrease": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Deferred Revenue - Related Party, Period Increase (Decrease)",
        "label": "Deferred Revenue - Related Party, Period Increase (Decrease)",
        "terseLabel": "Deferred Revenue - Related Party, Period Increase (Decrease)"
       }
      }
     },
     "localname": "DeferredRevenueRelatedPartyPeriodIncreaseDecrease",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueContractBalanceRollforwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_DerivativeInstrumentsNotDesignatedasHedgingInstrumentsRealizedGainLossNet": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of realized gain (loss) of derivative instruments not designated or qualifying as hedging instruments.",
        "label": "Derivative Instruments Not Designated as Hedging Instruments, Realized Gain (Loss), Net",
        "terseLabel": "Realized gains/(losses)"
       }
      }
     },
     "localname": "DerivativeInstrumentsNotDesignatedasHedgingInstrumentsRealizedGainLossNet",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesIncomeStatementLocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_DerivativeInstrumentsNotDesignatedasHedgingInstrumentsUnrealizedGainLossNet": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of unrealized gain (loss) of derivative instruments not designated or qualifying as hedging instruments.",
        "label": "Derivative Instruments Not Designated as Hedging Instruments, Unrealized Gain (Loss), Net",
        "terseLabel": "Unrealized gains",
        "verboseLabel": "Revenues"
       }
      }
     },
     "localname": "DerivativeInstrumentsNotDesignatedasHedgingInstrumentsUnrealizedGainLossNet",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesIncomeStatementLocationDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationRevenuesAndAdjustedEbitdaDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_DescriptionOfBusinessAndBasisOfPresentationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Description Of Business And Basis Of Presentation [Line Items]",
        "label": "Description Of Business And Basis Of Presentation [Line Items]",
        "terseLabel": "Description Of Business And Basis Of Presentation [Line Items]"
       }
      }
     },
     "localname": "DescriptionOfBusinessAndBasisOfPresentationLineItems",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_DescriptionOfBusinessAndBasisOfPresentationTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Description Of Business And Basis Of Presentation [Table]",
        "label": "Description Of Business And Basis Of Presentation [Table]",
        "terseLabel": "Description Of Business And Basis Of Presentation [Table]"
       }
      }
     },
     "localname": "DescriptionOfBusinessAndBasisOfPresentationTable",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_DirectOwnershipInterestMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Direct ownership interest [Member]",
        "label": "Direct Ownership Interest [Member]",
        "terseLabel": "Direct Ownership Interest"
       }
      }
     },
     "localname": "DirectOwnershipInterestMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_DistributionMadetoGeneralPartnerCashDistributionDeclared": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of equity impact of cash distribution declared to general partner of limited partnership (LP).",
        "label": "Distribution Made to General Partner, Cash Distribution Declared",
        "negatedLabel": "Distribution declared, general partner"
       }
      }
     },
     "localname": "DistributionMadetoGeneralPartnerCashDistributionDeclared",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_DistributionsMadetoPartnersTotalCashDistributionDeclared": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of cash distributions declared to partners by a limited partnership.",
        "label": "Distributions Made to Partners, Total Cash Distribution Declared",
        "terseLabel": "Total distributions declared"
       }
      }
     },
     "localname": "DistributionsMadetoPartnersTotalCashDistributionDeclared",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_DistributionsdeclaredAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Distributions declared: [Abstract]",
        "label": "Distributions declared: [Abstract]",
        "terseLabel": "Distributions declared:"
       }
      }
     },
     "localname": "DistributionsdeclaredAbstract",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_DistributionstoMPCfromPredecessor": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Distributions to MPC from Predecessor",
        "label": "Distributions to MPC from Predecessor",
        "negatedLabel": "Distributions to MPC from Predecessor",
        "terseLabel": "Distributions to MPC from Predecessor"
       }
      }
     },
     "localname": "DistributionstoMPCfromPredecessor",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_DocumentAndEntityInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Document and Entity Information [Abstract]",
        "label": "Document And Entity Information [Abstract]"
       }
      }
     },
     "localname": "DocumentAndEntityInformationAbstract",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "xbrltype": "stringItemType"
    },
    "mpc_EPAProposedPenalty": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "EPA Proposed Penalty",
        "label": "EPA Proposed Penalty",
        "terseLabel": "EPA proposed penalty"
       }
      }
     },
     "localname": "EPAProposedPenalty",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_EarningsPerUnitPotentiallyDilutiveUnits": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per unit (EPU) in the future that were not included in the computation of diluted EPU because to do so would have been antidilutive for the period presented.",
        "label": "Earnings Per Unit, Potentially Dilutive Units",
        "terseLabel": "Potentially dilutive securities"
       }
      }
     },
     "localname": "EarningsPerUnitPotentiallyDilutiveUnits",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitScheduleOfDistributionsByPartnerClassDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "mpc_EmbeddedDerivativeFairValueOfEmbeddedDerivativeLiabilityIncludingInceptionValueAllocableToHostContract": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value as of the balance sheet date of a natural gas purchase agreement embedded in a gas processing agreement. The natural gas purchase agreement is an embedded derivative. This amount includes the value of the embedded purchase agreement at the inception of the arrangement. however, in accordance with GAAP, the fair value of the embedded derivative at inception is deemed to be allocable to the host contract and is not separately recorded as an embedded derivative.",
        "label": "Embedded Derivative Fair Value of Embedded Derivative Liability Including Inception Value Allocable to Host Contract",
        "terseLabel": "Embedded derivative fair value of embedded derivative liability including inception value allocable to host contract"
       }
      }
     },
     "localname": "EmbeddedDerivativeFairValueOfEmbeddedDerivativeLiabilityIncludingInceptionValueAllocableToHostContract",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsEmbeddedDerivativesInCommodityContractsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_EmbeddedDerivativeRenewalTerm": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents the term for which the counterparty has the option to renew a purchase agreement related to an embedded derivative.",
        "label": "Embedded Derivative Renewal Term",
        "terseLabel": "Embedded Derivative Renewal Term",
        "verboseLabel": "Term of counterparty option to renew gas purchase agreement"
       }
      }
     },
     "localname": "EmbeddedDerivativeRenewalTerm",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsEmbeddedDerivativesInCommodityContractsDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "mpc_EmbeddedDerivativeSecondRenewalTerm": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Embedded Derivative Second Renewal Term",
        "label": "Embedded Derivative Second Renewal Term",
        "terseLabel": "Embedded Derivative Second Renewal Term"
       }
      }
     },
     "localname": "EmbeddedDerivativeSecondRenewalTerm",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "mpc_EnvironmentalLossContingencyMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Environmental Loss Contingency [Member]",
        "label": "Environmental Loss Contingency [Member]",
        "terseLabel": "Environmental Loss Contingency [Member]"
       }
      }
     },
     "localname": "EnvironmentalLossContingencyMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_EquityBasedCompensationPlanDescriptionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Equity-Based Compensation Plan, Description [Abstract]",
        "label": "Equity-Based Compensation Plan, Description [Abstract]",
        "terseLabel": "Description of the Plan"
       }
      }
     },
     "localname": "EquityBasedCompensationPlanDescriptionAbstract",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_EquityBasedCompensationPlanOutstandingPhantomUnitAwardsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Equity-Based Compensation Plan, Outstanding Phantom Unit Awards [Abstract]",
        "label": "Equity-Based Compensation Plan, Outstanding Phantom Unit Awards [Abstract]",
        "terseLabel": "Outstanding Phantom and Performance Unit Awards"
       }
      }
     },
     "localname": "EquityBasedCompensationPlanOutstandingPhantomUnitAwardsAbstract",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_EquityBasedCompensationPlanUnitBasedAwardsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Equity-Based Compensation Plan, Unit-Based Awards [Abstract]",
        "label": "Equity-Based Compensation Plan, Unit-Based Awards [Abstract]",
        "terseLabel": "Unit-based awards under the Plan"
       }
      }
     },
     "localname": "EquityBasedCompensationPlanUnitBasedAwardsAbstract",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_EquityMethodInvestmentDifferenceBetweenCarryingAmountAndUnderlyingEquityPortionRelatedToGoodwillandOtherAssetsNotAmortized": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Equity method investment difference between carrying amount and underlying equity, portion related to goodwill and other assets which is not being amortized",
        "label": "Equity Method Investment Difference Between Carrying Amount And Underlying Equity Portion Related To Goodwill and Other Assets Not Amortized",
        "terseLabel": "Basis difference, not amortized"
       }
      }
     },
     "localname": "EquityMethodInvestmentDifferenceBetweenCarryingAmountAndUnderlyingEquityPortionRelatedToGoodwillandOtherAssetsNotAmortized",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_EquityMethodInvestmentSummarizedFinancialInformationCostsandExpenses": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Equity Method Investment, Summarized Financial Information, Costs and Expenses",
        "label": "Equity Method Investment, Summarized Financial Information, Costs and Expenses",
        "terseLabel": "Costs and expenses"
       }
      }
     },
     "localname": "EquityMethodInvestmentSummarizedFinancialInformationCostsandExpenses",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_EquityTransactionsAndShareBasedCompensationTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Equity Transactions And Share Based Compensation [Table]",
        "label": "Equity Transactions And Share Based Compensation [Table]",
        "terseLabel": "Equity Transactions And Share Based Compensation [Table]"
       }
      }
     },
     "localname": "EquityTransactionsAndShareBasedCompensationTable",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPhantomUnitAwardActivityDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_Estimatedcostofproposedsupplementalenvironmentalprojects": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Estimated cost of proposed supplemental environmental projects",
        "label": "Estimated cost of proposed supplemental environmental projects",
        "terseLabel": "Estimated cost of proposed supplemental environmental projects"
       }
      }
     },
     "localname": "Estimatedcostofproposedsupplementalenvironmentalprojects",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_ExplorerPipelineMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Explorer Pipeline [Member]",
        "label": "Explorer Pipeline [Member]",
        "terseLabel": "Explorer"
       }
      }
     },
     "localname": "ExplorerPipelineMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_FairValueInputs": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair Value Inputs used in the annual goodwill impairment test",
        "label": "Fair Value Inputs",
        "terseLabel": "Fair Value Inputs"
       }
      }
     },
     "localname": "FairValueInputs",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "mpc_FairValueInputsAssetsAndLiabilitiesQuantitativeInformationTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of quantitative information about the inputs used in the fair value measurement of assets and liabilities classified as Level 3 measurements. This disclosure may include, but is not limited to, the fair value of the asset and liabilities, valuation technique used to measure fair value, the inputs used to measure fair value, the ranges of the inputs, and the weighted averages of the inputs.",
        "label": "Fair Value Inputs Assets and Liabilities Quantitative Information [Table Text Block]",
        "terseLabel": "Fair Value Inputs Assets and Liabilities Quantitative Information [Table Text Block]"
       }
      }
     },
     "localname": "FairValueInputsAssetsAndLiabilitiesQuantitativeInformationTableTextBlock",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mpc_FairValueInputsAssetsandLiabilitiesQuantitativeInformationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "[Line Items] for Schedule of the inputs used in the fair value measurement of assets and liabilities. This disclosure may include, but is not limited to, the fair value of the asset and liabilities, valuation technique used to measure fair value, the inputs used to measure fair value, the ranges of the inputs, and the weighted averages of the inputs. [Table]",
        "label": "Fair Value Inputs, Assets and Liabilities, Quantitative Information [Line Items]",
        "terseLabel": "Fair Value Inputs, Assets and Liabilities, Quantitative Information [Line Items]"
       }
      }
     },
     "localname": "FairValueInputsAssetsandLiabilitiesQuantitativeInformationLineItems",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_FairValueInputsAssetsandLiabilitiesQuantitativeInformationTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule of the inputs used in the fair value measurement of assets and liabilities. This disclosure may include, but is not limited to, the fair value of the asset and liabilities, valuation technique used to measure fair value, the inputs used to measure fair value, the ranges of the inputs, and the weighted averages of the inputs. [Table]",
        "label": "Fair Value Inputs, Assets and Liabilities, Quantitative Information [Table]",
        "terseLabel": "Fair Value Inputs, Assets and Liabilities, Quantitative Information [Table]"
       }
      }
     },
     "localname": "FairValueInputsAssetsandLiabilitiesQuantitativeInformationTable",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_FairValueInputsForwardCommodityPrice": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents the forward commodity price used as an input to measure fair value.",
        "label": "Fair Value Inputs Forward Commodity Price",
        "terseLabel": "Fair value inputs commodity price"
       }
      }
     },
     "localname": "FairValueInputsForwardCommodityPrice",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_FairValueInputsProbabilityOfRenewal": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents the percentage of likelihood of renewal of the commodity contract with embedded derivative.",
        "label": "Fair Value Inputs Probability of Renewal",
        "terseLabel": "Fair Value Inputs Probability of Renewal"
       }
      }
     },
     "localname": "FairValueInputsProbabilityOfRenewal",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "mpc_FairValueInputsProbabilityofRenewalSecondTerm": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents the percentage of likelihood of renewal of the commodity contract with embedded derivative for the second term of the contract.",
        "label": "Fair Value Inputs Probability of Renewal Second Term",
        "terseLabel": "Fair Value Inputs Probability of Renewal Second Term"
       }
      }
     },
     "localname": "FairValueInputsProbabilityofRenewalSecondTerm",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "mpc_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetAndLiabilitiesNetChangeInUnrealizedGainLossIncludedInEarningsContractHeld": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This element represents total unrealized gains or losses for the period, arising from assets and liabilities measured at fair value on a recurring basis using unobservable inputs (Level 3), which are included in earnings. Such unrealized gains or losses relate to those contracts still held at the reporting date.",
        "label": "Fair Value Measurement with Unobservable Inputs Reconciliation, Recurring Basis Asset and Liabilities Net, Change in Unrealized Gain (Loss) Included in Earnings Contract Held",
        "terseLabel": "The amount of total losses for the period included in earnings attributable to the change in unrealized gains or losses relating to liabilities still held at end of period"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetAndLiabilitiesNetChangeInUnrealizedGainLossIncludedInEarningsContractHeld",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringChangesInLevel3MeasurementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_FairValueOfAssetsContributed": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The fair value of assets contributed to the Partnership in noncash investing or financing activities.",
        "label": "Fair Value Of Assets Contributed",
        "terseLabel": "Contribution - common units issued"
       }
      }
     },
     "localname": "FairValueOfAssetsContributed",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSummaryOfSupplementalCashFlowInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_FinanceLeaseCost": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Lessee Finance Lease Cost- total amortization of ROU asset and interest on lease liability",
        "label": "Finance Lease Cost",
        "terseLabel": "Finance Lease Cost"
       }
      }
     },
     "localname": "FinanceLeaseCost",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_FinanceLeaseDueDateYear": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Finance Lease Due Date Year",
        "label": "Finance Lease Due Date Year",
        "terseLabel": "Finance Lease Due Date Year"
       }
      }
     },
     "localname": "FinanceLeaseDueDateYear",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "gYearItemType"
    },
    "mpc_FinanceLeaseMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Finance Lease [Member]",
        "label": "Finance Lease [Member]",
        "terseLabel": "Finance Lease [Member]"
       }
      }
     },
     "localname": "FinanceLeaseMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_FirstMajorCustomerMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "First Major Customer [Member]",
        "label": "First Major Customer [Member]",
        "terseLabel": "First Major Customer"
       }
      }
     },
     "localname": "FirstMajorCustomerMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/MajorCustomersAndConcentrationOfCreditRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_FloatingRateSeniorNotesDueSeptember2021Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Floating Rate Senior Notes Due September 2021 [Member]",
        "label": "Floating Rate Senior Notes Due September 2021 [Member]",
        "terseLabel": "Floating Rate Senior Notes Due September 2021 [Member]",
        "verboseLabel": "Senior Notes Due March 2023 [Member]"
       }
      }
     },
     "localname": "FloatingRateSeniorNotesDueSeptember2021Member",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_FloatingRateSeniorNotesDueSeptember2022Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Floating Rate Senior Notes Due September 2022 [Member]",
        "label": "Floating Rate Senior Notes Due September 2022 [Member]",
        "terseLabel": "Floating Rate Senior Notes Due September 2022 [Member]"
       }
      }
     },
     "localname": "FloatingRateSeniorNotesDueSeptember2022Member",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_FuelsDistributionMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fuels Distribution [Member]",
        "label": "Fuels Distribution [Member]",
        "terseLabel": "Fuels Distribution [Member]"
       }
      }
     },
     "localname": "FuelsDistributionMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_GasGatheringAndTransmissionEquipmentAndFacilitiesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Long-lived, depreciable assets related to natural gas gathering and NGL transportation pipelines and facilities.",
        "label": "Gas Gathering And Transmission Equipment And Facilities [Member]",
        "terseLabel": "Natural gas gathering and NGL transportation pipelines and facilities"
       }
      }
     },
     "localname": "GasGatheringAndTransmissionEquipmentAndFacilitiesMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_GatheringandProcessingMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Gathering and Processing [Member]",
        "label": "Gathering and Processing [Member]",
        "terseLabel": "Gathering and Processing [Member]"
       }
      }
     },
     "localname": "GatheringandProcessingMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangibleAssetsDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesReconciliationOfGoodwillDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/MajorCustomersAndConcentrationOfCreditRiskDetails",
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationAssetsBySegmentDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationRevenuesAndAdjustedEbitdaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_GeneralPartnerAndLimitedPartnerMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Party to a partnership business who has both unlimited and limited liability.",
        "label": "General Partner And Limited Partner [Member]",
        "terseLabel": "General Partner And Limited Partner Units"
       }
      }
     },
     "localname": "GeneralPartnerAndLimitedPartnerMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_GeneralPartnerCommonUnitsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "General Partner Common Units [Member]",
        "label": "General Partner Common Units [Member]",
        "terseLabel": "General Partner Common Units"
       }
      }
     },
     "localname": "GeneralPartnerCommonUnitsMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_GeneralPartnerUnitsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "General Partner Units [Member]",
        "label": "General Partner Units [Member]",
        "terseLabel": "General Partner Units"
       }
      }
     },
     "localname": "GeneralPartnerUnitsMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_GeneralandAdministrativeExpenseRelatedPartyMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "General and Administrative Expense - Related Party [Member]",
        "label": "General and Administrative Expense - Related Party [Member]",
        "terseLabel": "General and Administrative Expense - Related Party [Member]"
       }
      }
     },
     "localname": "GeneralandAdministrativeExpenseRelatedPartyMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfExpensesByIncomeStatementRpLineItemDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_HSTWHCMPLXTMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "HST &amp; WHC &amp; MPLXT [Member]",
        "label": "HST &amp; WHC &amp; MPLXT [Member]",
        "terseLabel": "HST &amp; WHC &amp; MPLXT"
       }
      }
     },
     "localname": "HSTWHCMPLXTMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_IllinoisExtensionPipelineCompanyLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Illinois Extension Pipeline Company LLC [Member]",
        "label": "Illinois Extension Pipeline Company LLC [Member]",
        "terseLabel": "Illinois Extension"
       }
      }
     },
     "localname": "IllinoisExtensionPipelineCompanyLLCMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_ImputedInterestRateOnLiability": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents the imputed interest rate on a transaction treated as a financing arrangement.",
        "label": "Imputed Interest Rate on Liability",
        "terseLabel": "Imputed interest rate on liability"
       }
      }
     },
     "localname": "ImputedInterestRateOnLiability",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSmrTransactionDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "mpc_IncentiveDistributionRightsAndOther": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/EquityNetIncomeAllocationDetails": {
       "order": 3.0,
       "parentTag": "mpc_NetIncomeLossAvailableToGeneralAndLimitedPartners",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of incentive distribution rights earned in cash or stock during the period by a limited partnership general partner, as well as other items to be deducted from net income before calculating the general partner's two percent interest.",
        "label": "Incentive Distribution Rights And Other",
        "terseLabel": "General partner's IDRs and other"
       }
      }
     },
     "localname": "IncentiveDistributionRightsAndOther",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityNetIncomeAllocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_IncentiveDistributionRightsForfeitedperQuarter": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Incentive Distribution Rights Forfeited per Quarter",
        "label": "Incentive Distribution Rights Forfeited per Quarter",
        "terseLabel": "Incentive distribution rights forfeited per quarter"
       }
      }
     },
     "localname": "IncentiveDistributionRightsForfeitedperQuarter",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfMarenBakkenDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_IncentiveDistributionSubsequentDistributionAmount": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_ManagingMemberOrGeneralPartnerSubsequentDistributionAmount",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of incentive obligation earned in cash or stock during the period by a limited partnership general partner and paid after the end of the accounting period.",
        "label": "Incentive Distribution, Subsequent Distribution Amount",
        "terseLabel": "General partner's distributions on IDRs"
       }
      }
     },
     "localname": "IncentiveDistributionSubsequentDistributionAmount",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_IncomeLossAttributabletoPredecessor": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome": {
       "order": 3.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Income (Loss) Attributable to Predecessor",
        "label": "Income (Loss) Attributable to Predecessor",
        "terseLabel": "Less: Net income attributable to Predecessor"
       }
      }
     },
     "localname": "IncomeLossAttributabletoPredecessor",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_IncomeLossfromEquityMethodInvestmentsfromAssetImpairment": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Income (Loss) from Equity Method Investments from Asset Impairment",
        "label": "Income (Loss) from Equity Method Investments from Asset Impairment",
        "terseLabel": "Income (Loss) from Equity Method Investments from Asset Impairment"
       }
      }
     },
     "localname": "IncomeLossfromEquityMethodInvestmentsfromAssetImpairment",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_IncomeLossfromEquityMethodInvestmentsfromAssetImpairmentandEliminationofBasisDifferential": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Income (Loss) from Equity Method Investments from Asset Impairment and Elimination of Basis Differential",
        "label": "Income (Loss) from Equity Method Investments from Asset Impairment and Elimination of Basis Differential",
        "terseLabel": "Income (Loss) from Equity Method Investments from Asset Impairment and Elimination of Basis Differential"
       }
      }
     },
     "localname": "IncomeLossfromEquityMethodInvestmentsfromAssetImpairmentandEliminationofBasisDifferential",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsSummaryOfEquityMethodInvestmentFinancialInformationDetails",
      "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_IncreaseDecreaseInCapitalAccruals": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Increase (Decrease) In Capital Accruals",
        "label": "Increase Decrease In Capital Accruals",
        "terseLabel": "Increase/(decrease) in capital accruals"
       }
      }
     },
     "localname": "IncreaseDecreaseInCapitalAccruals",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSummaryOfReconciliationOfAdditionsToPropertyPlantAndEquipmentToTotalCapitalExpendituresDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_IndirectOwnershipInterestMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Indirect Ownership Interest",
        "label": "Indirect Ownership Interest [Member]",
        "terseLabel": "Indirect Ownership Interest"
       }
      }
     },
     "localname": "IndirectOwnershipInterestMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_InitialPublicOfferingCompletionDate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Initial Public Offering Completion Date",
        "label": "Initial Public Offering Completion Date",
        "terseLabel": "Date for initial public offering completed"
       }
      }
     },
     "localname": "InitialPublicOfferingCompletionDate",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationDetail"
     ],
     "xbrltype": "dateItemType"
    },
    "mpc_InterestAndOtherFinancialCostsFromRelatedParties": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Interest And Other Financial Costs From Related Parties",
        "label": "Interest And Other Financial Costs From Related Parties",
        "terseLabel": "Related party interest and other financial costs"
       }
      }
     },
     "localname": "InterestAndOtherFinancialCostsFromRelatedParties",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_InterestandOtherFinancialCosts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Interest and Other Financial Costs",
        "label": "Interest and Other Financial Costs",
        "terseLabel": "Interest and Other Financial Costs"
       }
      }
     },
     "localname": "InterestandOtherFinancialCosts",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_LOOPLOCAPSAXandExplorerLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "LOOP LOCAP SAX and Explorer Llc [Member]",
        "label": "LOOP LOCAP SAX and Explorer Llc [Member]",
        "terseLabel": "LOOP LOCAP SAX and Explorer Llc [Member]",
        "verboseLabel": "LOOP LOCAP SAX and Explorer"
       }
      }
     },
     "localname": "LOOPLOCAPSAXandExplorerLlcMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails",
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSupplementalCashFlowInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_LandBuildingOfficeEquipmentAndOtherMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents real estate held for productive use, long-lived structures used in the conduct of business, including office, production, storage, building improvements and distribution facilities and includes long-lived, depreciable assets not directly used in the production process for inventories or facilities.",
        "label": "Land Building Office Equipment And Other [Member]",
        "terseLabel": "Land, building, office equipment and other"
       }
      }
     },
     "localname": "LandBuildingOfficeEquipmentAndOtherMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_LeaseAgreementsLesseeMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Lease Agreements, Lessee [Member]",
        "label": "Lease Agreements, Lessee [Member]",
        "terseLabel": "Lease Agreements, Lessee [Member]"
       }
      }
     },
     "localname": "LeaseAgreementsLesseeMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_LeaseAgreementsLessorMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Lease Agreements, Lessor [Member]",
        "label": "Lease Agreements, Lessor [Member]",
        "terseLabel": "Lease Agreements, Lessor [Member]"
       }
      }
     },
     "localname": "LeaseAgreementsLessorMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_LeaseCostsLesseeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Lease Costs Lessee [Abstract]",
        "label": "Lease Costs Lessee [Abstract]"
       }
      }
     },
     "localname": "LeaseCostsLesseeAbstract",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "xbrltype": "stringItemType"
    },
    "mpc_LiabilitiesRelatedPartiesNoncurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Other Liabilities, Related Parties, Noncurrent",
        "label": "Liabilities, Related Parties, Noncurrent",
        "terseLabel": "Liabilities, Related Parties, Noncurrent"
       }
      }
     },
     "localname": "LiabilitiesRelatedPartiesNoncurrent",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_LightproductterminalMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Light-product terminal [Member]",
        "label": "Light-product terminal [Member]",
        "terseLabel": "Light-product terminal"
       }
      }
     },
     "localname": "LightproductterminalMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_LimitedPartnersClassBUnitsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Limited Partners Class B Units [Member]",
        "label": "Limited Partners Class B Units [Member]",
        "terseLabel": "Limited Partners Class B Units"
       }
      }
     },
     "localname": "LimitedPartnersClassBUnitsMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_LimitedPartnersCommonUnitsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Limited Partners Common Units [Member]",
        "label": "Limited Partners Common Units [Member]",
        "terseLabel": "Limited Partners Common Units"
       }
      }
     },
     "localname": "LimitedPartnersCommonUnitsMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/EquityAtmProgramDetails",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails",
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail",
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitScheduleOfDistributionsByPartnerClassDetail",
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_LineOfCreditFacilityAdditionalBorrowingCapacity": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line Of Credit Facility Additional Borrowing Capacity",
        "label": "Line Of Credit Facility Additional Borrowing Capacity",
        "terseLabel": "Additional borrowing capacity"
       }
      }
     },
     "localname": "LineOfCreditFacilityAdditionalBorrowingCapacity",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_LineofCreditFacilityRemainingBorrowingCapacityPercentage": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Line of Credit Facility, Remaining Borrowing Capacity, Percentage",
        "label": "Line of Credit Facility, Remaining Borrowing Capacity, Percentage",
        "terseLabel": "Remaining borrowing capacity, percentage"
       }
      }
     },
     "localname": "LineofCreditFacilityRemainingBorrowingCapacityPercentage",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "mpc_LoanAgreementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Loan Agreement [Abstract]",
        "label": "Loan Agreement [Abstract]",
        "terseLabel": "Loan Agreement [Abstract]"
       }
      }
     },
     "localname": "LoanAgreementAbstract",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_LocapLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Locap Llc [Member]",
        "label": "Locap Llc [Member]",
        "terseLabel": "LOCAP"
       }
      }
     },
     "localname": "LocapLlcMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_LogisticsandStorageMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Logistics and Storage [Member]",
        "label": "Logistics and Storage [Member]",
        "terseLabel": "Logistics and Storage [Member]"
       }
      }
     },
     "localname": "LogisticsandStorageMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangibleAssetsDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesReconciliationOfGoodwillDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/MajorCustomersAndConcentrationOfCreditRiskDetails",
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationAssetsBySegmentDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationRevenuesAndAdjustedEbitdaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_LoopLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "LOOP LLC [Member]",
        "label": "Loop Llc [Member]",
        "terseLabel": "LOOP"
       }
      }
     },
     "localname": "LoopLlcMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_LoopLlcandExplorerPipelineMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Loop Llc and Explorer Pipeline [Member]",
        "label": "Loop Llc and Explorer Pipeline [Member]",
        "terseLabel": "LOOP and Explorer"
       }
      }
     },
     "localname": "LoopLlcandExplorerPipelineMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_MPCInvestmentMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "MPC Investment [Member]",
        "label": "MPC Investment [Member]",
        "terseLabel": "MPC Investment"
       }
      }
     },
     "localname": "MPCInvestmentMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsIntercompanyLoansWithRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_MPLX364DayTermLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "MPLX 364-Day Term Loan",
        "label": "MPLX 364-Day Term Loan [Member]",
        "terseLabel": "MPLX 364-Day Term Loan [Member]"
       }
      }
     },
     "localname": "MPLX364DayTermLoanMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_MPLXHoldingsIncMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "MPLX Holdings Inc [Member]",
        "label": "MPLX Holdings Inc [Member]",
        "terseLabel": "MPLX Holdings Inc"
       }
      }
     },
     "localname": "MPLXHoldingsIncMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_MPLXLPMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "MPLX LP [Member]",
        "label": "MPLX LP [Member]",
        "terseLabel": "MPLX LP [Member]",
        "verboseLabel": "MPLX LP"
       }
      }
     },
     "localname": "MPLXLPMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_MPLXLogisticsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "MPLX Logistics LLC [Member]",
        "label": "MPLX Logistics LLC [Member]",
        "terseLabel": "MPLX Logistics LLC"
       }
      }
     },
     "localname": "MPLXLogisticsLLCMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_MPLXRevolverdueJuly2022Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "MPLX Revolver due July 2022",
        "label": "MPLX Revolver due July 2022 [Member]",
        "terseLabel": "MPLX Revolver due July 2022"
       }
      }
     },
     "localname": "MPLXRevolverdueJuly2022Member",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_MPLXRevolvingCreditFacilitydueJuly2022Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "MPLX Revolving Credit Facility due July 2022",
        "label": "MPLX Revolving Credit Facility due July 2022 [Member]",
        "terseLabel": "MPLX Revolver"
       }
      }
     },
     "localname": "MPLXRevolvingCreditFacilitydueJuly2022Member",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_MPLXRevolvingCreditFacilitydueJuly2024Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "MPLX Revolving Credit Facility due July 2024 [Member]",
        "label": "MPLX Revolving Credit Facility due July 2024 [Member]",
        "terseLabel": "MPLX Revolving Credit Facility due July 2024 [Member]"
       }
      }
     },
     "localname": "MPLXRevolvingCreditFacilitydueJuly2024Member",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_MPLXTermLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "MPLX Term Loan [Member]",
        "label": "MPLX Term Loan [Member]",
        "terseLabel": "Term loan facility due 2019"
       }
      }
     },
     "localname": "MPLXTermLoanMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_MRMWELibertyLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "M&amp;R MWE Liberty LLC [Member]",
        "label": "M&amp;R MWE Liberty LLC [Member]",
        "terseLabel": "M&amp;R MWE Liberty LLC [Member]"
       }
      }
     },
     "localname": "MRMWELibertyLLCMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_ManagementServicesAgreementsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Management Services Agreements [Member]",
        "label": "Management Services Agreements [Member]",
        "terseLabel": "Management Services Agreements [Member]"
       }
      }
     },
     "localname": "ManagementServicesAgreementsMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_ManagingMemberOrGeneralPartnerSubsequentDistributionAmountExcludingIncentiveDistribution": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_ManagingMemberOrGeneralPartnerSubsequentDistributionAmount",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash or stock or unit payment to a limited liability corporation managing member or limited partnership general partner, excluding payments for incentive distributions, after the end of the accounting period.",
        "label": "Managing Member Or General Partner, Subsequent Distribution Amount, Excluding Incentive Distribution",
        "terseLabel": "General partner's distributions on general partner units"
       }
      }
     },
     "localname": "ManagingMemberOrGeneralPartnerSubsequentDistributionAmountExcludingIncentiveDistribution",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_MarEnBakkenCompanyLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "MarEn Bakken Company LLC [Member]",
        "label": "MarEn Bakken Company LLC [Member]",
        "terseLabel": "MarEn Bakken"
       }
      }
     },
     "localname": "MarEnBakkenCompanyLLCMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfMarenBakkenDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_MarEnBakkenMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "MarEn Bakken [Member]",
        "label": "MarEn Bakken [Member]",
        "terseLabel": "MarEn Bakken"
       }
      }
     },
     "localname": "MarEnBakkenMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfMarenBakkenDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_MarathonPetroleumCorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Marathon petroleum corporation.",
        "label": "Marathon Petroleum Corporation [Member]",
        "terseLabel": "Marathon Petroleum Corporation [Member]",
        "verboseLabel": "MPC"
       }
      }
     },
     "localname": "MarathonPetroleumCorporationMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfMarenBakkenDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails",
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails",
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/MajorCustomersAndConcentrationOfCreditRiskDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsIntercompanyLoansWithRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfExpensesByIncomeStatementRpLineItemDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfRevenueByIncomeStatementRpLineItemDetail",
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_MarathonPipeLineLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Marathon pipe line Llc.",
        "label": "Marathon Pipe Line Llc [Member]",
        "terseLabel": "Marathon Pipe Line LLC"
       }
      }
     },
     "localname": "MarathonPipeLineLlcMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_MarineManagementServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Marine Management Services [Member]",
        "label": "Marine Management Services [Member]",
        "terseLabel": "Marine Management Services [Member]"
       }
      }
     },
     "localname": "MarineManagementServicesMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_MarkWestEMGJeffersonDryGasGatheringCompanyL.L.C.Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "MarkWest EMG Jefferson Dry Gas Gathering Company, L.L.C. [Member]",
        "label": "MarkWest EMG Jefferson Dry Gas Gathering Company, L.L.C. [Member]",
        "terseLabel": "MarkWest EMG Jefferson Dry Gas Gathering Company, L.L.C. [Member]"
       }
      }
     },
     "localname": "MarkWestEMGJeffersonDryGasGatheringCompanyL.L.C.Member",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfRevenueByIncomeStatementRpLineItemDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_MarkWestMarkWestLibertyMidstreamOhioFractionationMarkWestUticaEMGMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "MarkWest Liberty Midstream, Ohio Fractionation, MarkWest Utica EMG [Member]",
        "label": "MarkWest, MarkWest Liberty Midstream, Ohio Fractionation, MarkWest Utica EMG [Member]",
        "terseLabel": "MarkWest, MarkWest Liberty Midstream, Ohio Fractionation, MarkWest Utica EMG [Member]"
       }
      }
     },
     "localname": "MarkWestMarkWestLibertyMidstreamOhioFractionationMarkWestUticaEMGMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_MarkWestMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "MarkWest [Member]",
        "label": "MarkWest [Member]",
        "terseLabel": "MarkWest"
       }
      }
     },
     "localname": "MarkWestMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_MarkWestSeniorNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "MarkWest Senior Notes [Member]",
        "label": "MarkWest Senior Notes [Member]",
        "terseLabel": "MarkWest senior notes"
       }
      }
     },
     "localname": "MarkWestSeniorNotesMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_MarkWestUticaEMGMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "MarkWest Utica EMG [Member]",
        "label": "MarkWest Utica EMG [Member]",
        "terseLabel": "MarkWest Utica EMG",
        "verboseLabel": "MarkWest Utica EMG [Member]"
       }
      }
     },
     "localname": "MarkWestUticaEMGMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsSummaryOfEquityMethodInvestmentFinancialInformationDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsIntercompanyLoansWithRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfRevenueByIncomeStatementRpLineItemDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_Milesofpipeline": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Miles of pipeline",
        "label": "Miles of pipeline",
        "terseLabel": "Miles of pipeline"
       }
      }
     },
     "localname": "Milesofpipeline",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails"
     ],
     "xbrltype": "lengthItemType"
    },
    "mpc_MinimumCommittedVolumeContractsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Minimum Committed Volume Contracts [Member]",
        "label": "Minimum Committed Volume Contracts [Member]",
        "terseLabel": "Minimum Committed Volume Contracts [Member]"
       }
      }
     },
     "localname": "MinimumCommittedVolumeContractsMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail",
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesMinimumFuturePaymentsDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_MinnesotaPipeLineCompanyLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Minnesota Pipe Line Company, LLC [Member]",
        "label": "Minnesota Pipe Line Company, LLC [Member]",
        "terseLabel": "Minnesota Pipe Line Company, LLC [Member]"
       }
      }
     },
     "localname": "MinnesotaPipeLineCompanyLLCMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_MplxTwoThousandEighteenIncentiveCompensationPlanMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Mplx Two Thousand Eighteen Incentive Compensation Plan [Member]",
        "label": "Mplx Two Thousand Eighteen Incentive Compensation Plan [Member]",
        "terseLabel": "Mplx Two Thousand Eighteen Incentive Compensation Plan [Member]"
       }
      }
     },
     "localname": "MplxTwoThousandEighteenIncentiveCompensationPlanMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_MplxTwoThousandTwelveIncentiveCompensationPlanMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Mplx two thousand twelve incentive compensation plan.",
        "label": "Mplx Two Thousand Twelve Incentive Compensation Plan [Member]",
        "terseLabel": "Mplx 2012 Incentive Compensation Plan [Member]"
       }
      }
     },
     "localname": "MplxTwoThousandTwelveIncentiveCompensationPlanMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_Mt.AiryTerminalMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Mt. Airy Terminal [Member]",
        "label": "Mt. Airy Terminal [Member]",
        "terseLabel": "Mt. Airy Terminal [Member]"
       }
      }
     },
     "localname": "Mt.AiryTerminalMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsTables"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_NaturalGasMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Derivative instrument whose primary underlying risk is tied to the price of natural gas.",
        "label": "Natural Gas [Member]",
        "terseLabel": "Embedded derivative in natural gas processing and purchase contract [Member]"
       }
      }
     },
     "localname": "NaturalGasMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsEmbeddedDerivativesInCommodityContractsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_NaturalGasOrNaturalGasLiquidsInStorage": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/InventoriesSummaryOfInventoriesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_InventoryGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of natural gas or natural gas liquids in storage, which is ready for sale.",
        "label": "Natural Gas or Natural Gas Liquids in Storage",
        "terseLabel": "Line fill"
       }
      }
     },
     "localname": "NaturalGasOrNaturalGasLiquidsInStorage",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InventoriesSummaryOfInventoriesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_NaturalgasliquidsstoragecavernsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Natural gas liquids storage caverns [Member]",
        "label": "Natural gas liquids storage caverns [Member]",
        "terseLabel": "Natural gas liquids storage caverns"
       }
      }
     },
     "localname": "NaturalgasliquidsstoragecavernsMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_NetIncomeAttributableToParentCompanyPerLimitedPartnerUnitBasicAndDilutedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Net Income Attributable To Parent Company Per Limited Partner Unit Basic And Diluted [Abstract]",
        "label": "Net Income Attributable To Parent Company Per Limited Partner Unit Basic And Diluted [Abstract]",
        "terseLabel": "Net income attributable to MPLX LP per limited partner unit:",
        "verboseLabel": "Net income (loss) attributable to MPLX LP per limited partner unit:"
       }
      }
     },
     "localname": "NetIncomeAttributableToParentCompanyPerLimitedPartnerUnitBasicAndDilutedAbstract",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_NetIncomeLossAllocatedToGeneralPartnerExcludingIncentiveDistribution": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of net income allocated to the general partner, excluding incentive distribution rights.",
        "label": "Net Income (Loss) Allocated To General Partner, Excluding Incentive Distribution",
        "terseLabel": "General partner's two percent GP Interest in net income attributable to MPLX LP"
       }
      }
     },
     "localname": "NetIncomeLossAllocatedToGeneralPartnerExcludingIncentiveDistribution",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityNetIncomeAllocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_NetIncomeLossAvailableToGeneralAndLimitedPartners": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/EquityNetIncomeAllocationDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Net income after adjustments for Incentive Distribution Rights of the general partner.",
        "label": "Net Income (Loss) Available To General And Limited Partners",
        "totalLabel": "Net income attributable to MPLX LP available to general and limited partners"
       }
      }
     },
     "localname": "NetIncomeLossAvailableToGeneralAndLimitedPartners",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityNetIncomeAllocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_NetIncomeLossIncludingPortionAttributabletoNoncontrollingInterestExcludingPortionAttributabletoTemporaryEquity": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest and excluding the portion attributable to temporary equity.",
        "label": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest, Excluding Portion Attributable to Temporary Equity",
        "negatedTerseLabel": "Net income (loss)"
       }
      }
     },
     "localname": "NetIncomeLossIncludingPortionAttributabletoNoncontrollingInterestExcludingPortionAttributabletoTemporaryEquity",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_NetIncomeLossPerOutstandingLimitedPartnershipUnitBasicAndDilutedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Net Income Loss Per Outstanding Limited Partnership Unit Basic And Diluted [Abstract]",
        "label": "Net Income Loss Per Outstanding Limited Partnership Unit Basic And Diluted [Abstract]",
        "terseLabel": "Net income attributable to MPLX LP subsequent to initial public offering per limited partner unit:"
       }
      }
     },
     "localname": "NetIncomeLossPerOutstandingLimitedPartnershipUnitBasicAndDilutedAbstract",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_NetIncomePerShareLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Net Income Per Share [Line Items]",
        "label": "Net Income Per Share [Line Items]",
        "terseLabel": "Net Income Per Share [Line Items]"
       }
      }
     },
     "localname": "NetIncomePerShareLineItems",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitScheduleOfDistributionsByPartnerClassDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_NetIncomePerShareTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Net Income Per Share [Table]",
        "label": "Net Income Per Share [Table]",
        "terseLabel": "Net Income Per Share [Table]"
       }
      }
     },
     "localname": "NetIncomePerShareTable",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitScheduleOfDistributionsByPartnerClassDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_NonASC606RevenueAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Non-ASC 606 Revenue [Axis]",
        "label": "Non-ASC 606 Revenue [Axis]",
        "terseLabel": "Non-ASC 606 Revenue [Axis]"
       }
      }
     },
     "localname": "NonASC606RevenueAxis",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_NonASC606RevenueDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "[Domain] for Non-ASC 606 Revenue [Axis]",
        "label": "Non-ASC 606 Revenue [Domain]",
        "terseLabel": "Non-ASC 606 Revenue [Domain]"
       }
      }
     },
     "localname": "NonASC606RevenueDomain",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_NonCashNetTransfersOfMaterialsAndSuppliesInventories": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Non cash net transfers of materials and supplies inventories.",
        "label": "Non Cash Net Transfers Of Materials And Supplies Inventories",
        "terseLabel": "Net transfers of property, plant and equipment from materials and supplies inventories"
       }
      }
     },
     "localname": "NonCashNetTransfersOfMaterialsAndSuppliesInventories",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSummaryOfSupplementalCashFlowInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_NonRelatedPartyAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Non Related Party [Axis]",
        "label": "Non Related Party [Axis]",
        "terseLabel": "Non Related Party [Axis]"
       }
      }
     },
     "localname": "NonRelatedPartyAxis",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails",
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_NonRelatedPartyDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Non Related Party [Domain]",
        "label": "Non Related Party [Domain]",
        "terseLabel": "Non Related Party [Domain]"
       }
      }
     },
     "localname": "NonRelatedPartyDomain",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails",
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_NonVIEsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Non-VIEs [Member]",
        "label": "Non-VIEs [Member]",
        "terseLabel": "Non-VIEs"
       }
      }
     },
     "localname": "NonVIEsMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_NonpublicMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Nonpublic [Member]",
        "label": "Nonpublic [Member]",
        "terseLabel": "Nonpublic [Member]"
       }
      }
     },
     "localname": "NonpublicMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationDetail",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_NumberOfPriorQuarterlyReportingPeriodsCovenant": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number Of Prior Quarterly Reporting Periods Covenant",
        "label": "Number Of Prior Quarterly Reporting Periods Covenant",
        "terseLabel": "Number of prior quarterly reporting periods used in determining compliance with covenant of ratio of consolidated net debt to consolidated EBITDA"
       }
      }
     },
     "localname": "NumberOfPriorQuarterlyReportingPeriodsCovenant",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail"
     ],
     "xbrltype": "integerItemType"
    },
    "mpc_NumberofPumpStations": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of Pump Stations",
        "label": "Number of Pump Stations",
        "terseLabel": "Number of pump stations"
       }
      }
     },
     "localname": "NumberofPumpStations",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "mpc_NumberofQuartersIDRsForfeited": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of Quarters IDRs Forfeited",
        "label": "Number of Quarters IDRs Forfeited",
        "terseLabel": "Number of quarters IDRs forfeited"
       }
      }
     },
     "localname": "NumberofQuartersIDRsForfeited",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfMarenBakkenDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "mpc_NumberofRenewals": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of Times for Automatic Renewal",
        "label": "Number of Renewals",
        "terseLabel": "Number of renewals"
       }
      }
     },
     "localname": "NumberofRenewals",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsEmbeddedDerivativesInCommodityContractsDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsIntercompanyLoansWithRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "pureItemType"
    },
    "mpc_NumberofUnderwrittenOfferingsAllowabletobeDemanded": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of Underwritten Offerings Allowable to be Demanded",
        "label": "Number of Underwritten Offerings Allowable to be Demanded",
        "terseLabel": "Number of Underwritten Offerings Allowable to be Demanded"
       }
      }
     },
     "localname": "NumberofUnderwrittenOfferingsAllowabletobeDemanded",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "mpc_NumberofUnderwrittenOfferingsAllowabletobeDemandedin12MonthPeriod": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of Underwritten Offerings Allowable to be Demanded in 12 Month Period",
        "label": "Number of Underwritten Offerings Allowable to be Demanded in 12 Month Period",
        "terseLabel": "Number of Underwritten Offerings Allowable to be Demanded in 12 Month Period"
       }
      }
     },
     "localname": "NumberofUnderwrittenOfferingsAllowabletobeDemandedin12MonthPeriod",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "mpc_Numberofdocksandgasolineblenders": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of docks and gasoline blenders",
        "label": "Number of docks and gasoline blenders",
        "terseLabel": "Number of docks and gasoline blenders"
       }
      }
     },
     "localname": "Numberofdocksandgasolineblenders",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "mpc_Numberoflightproductterminals": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of light product terminals",
        "label": "Number of light product terminals",
        "terseLabel": "Number of light product terminals"
       }
      }
     },
     "localname": "Numberoflightproductterminals",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "mpc_Numberofnaturalgasliquidsstoragecaverns": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of natural gas liquids storage caverns",
        "label": "Number of natural gas liquids storage caverns",
        "terseLabel": "Number of natural gas liquids storage caverns"
       }
      }
     },
     "localname": "Numberofnaturalgasliquidsstoragecaverns",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "mpc_Numberofrailandtruckracks": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of rail and truck racks",
        "label": "Number of rail and truck racks",
        "terseLabel": "Number of rail and truck racks"
       }
      }
     },
     "localname": "Numberofrailandtruckracks",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "mpc_Numberofstoragetanks": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of storage tanks",
        "label": "Number of storage tanks",
        "terseLabel": "Number of storage tanks"
       }
      }
     },
     "localname": "Numberofstoragetanks",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "mpc_OperatingAgreementsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Operating Agreements [Member]",
        "label": "Operating Agreements [Member]",
        "terseLabel": "Operating Agreements [Member]"
       }
      }
     },
     "localname": "OperatingAgreementsMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_OperatingLeaseIncomeStatementLeaseRevenueRelatedParties": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The total amount of revenue recognized for the period from operating leases, including minimum lease revenue, contingent revenue, percentage revenue and sublease revenue from related parties.",
        "label": "Operating Lease, Income Statement, Lease Revenue, Related Parties",
        "terseLabel": "Rental income - related parties"
       }
      }
     },
     "localname": "OperatingLeaseIncomeStatementLeaseRevenueRelatedParties",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfRevenueByIncomeStatementRpLineItemDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_OperatingLeaseLiabilityMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Operating Lease Liability [Member]",
        "label": "Operating Lease Liability [Member]",
        "terseLabel": "Operating Lease Liability [Member]"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccountingStandardsAsu201602LeasesAndRelatedUpdatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_OperatingLeaseRightOfUseAssetMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Operating Lease Right Of Use Asset [Member]",
        "label": "Operating Lease Right Of Use Asset [Member]",
        "terseLabel": "Operating Lease Right Of Use Asset [Member]"
       }
      }
     },
     "localname": "OperatingLeaseRightOfUseAssetMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccountingStandardsAsu201602LeasesAndRelatedUpdatesDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_OperatingLeasesPropaneStorageAndTransporationAndTerminallingAgreementsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents various non-cancellable operating lease agreements, a long-term propane storage agreement, and transportation and terminalling agreements.",
        "label": "Operating Leases Propane Storage And Transporation And Terminalling Agreements [Member]",
        "terseLabel": "Transportation And Terminalling Agreements"
       }
      }
     },
     "localname": "OperatingLeasesPropaneStorageAndTransporationAndTerminallingAgreementsMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesMinimumFuturePaymentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_OtherAssetsRelatedPartiesNoncurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 7.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Other Assets, Related Parties, Noncurrent",
        "label": "Other Assets, Related Parties, Noncurrent",
        "terseLabel": "Other Assets, Related Parties, Noncurrent"
       }
      }
     },
     "localname": "OtherAssetsRelatedPartiesNoncurrent",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_OtherComprehensiveIncomeLossPensionandOtherPostretirementBenefitPlansNetUnamortizedGainLossAdjustmentNetofTax": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfComprehensiveIncomeStatement": {
       "order": 2.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount after tax and reclassification adjustments, of increase (decrease) in accumulated other comprehensive income (loss) related to the net actuarial gain (loss) of pension and other postretirement defined benefit plans.",
        "label": "Other Comprehensive Income (Loss), Pension and Other Postretirement Benefit Plans, Net Unamortized Gain (Loss) Adjustment, Net of Tax",
        "terseLabel": "Remeasurements of pension and other postretirement benefits related to equity method investments, net of tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossPensionandOtherPostretirementBenefitPlansNetUnamortizedGainLossAdjustmentNetofTax",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfComprehensiveIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_OtherVIEsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Other VIEs [Member]",
        "label": "Other VIEs [Member]",
        "terseLabel": "Other VIEs"
       }
      }
     },
     "localname": "OtherVIEsMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_OtherVIEsandNonVIEsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Other VIEs and Non-VIEs [Member]",
        "label": "Other VIEs and Non-VIEs [Member]",
        "terseLabel": "Other VIEs and Non-VIEs [Member]"
       }
      }
     },
     "localname": "OtherVIEsandNonVIEsMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_OwnershipTypeAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Direct or Indirect Ownership Interest",
        "label": "Ownership Type [Axis]",
        "terseLabel": "Ownership Type [Axis]"
       }
      }
     },
     "localname": "OwnershipTypeAxis",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_OwnershipTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "[Domain] for Direct or Indirect Ownership Interest",
        "label": "Ownership Type [Domain]",
        "terseLabel": "Ownership Type [Domain]"
       }
      }
     },
     "localname": "OwnershipTypeDomain",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_OzarkPipelineMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Ozark Pipeline [Member]",
        "label": "Ozark Pipeline [Member]",
        "terseLabel": "Ozark Pipeline"
       }
      }
     },
     "localname": "OzarkPipelineMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfOzarkPipelineDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsTables"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_PartnersTotalSubsequentDistributionAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Total amount of cash or stock or unit payment to LP partners earned during the applicable period.",
        "label": "Partners, Total Subsequent Distribution Amount",
        "terseLabel": "Limited partners' distributions"
       }
      }
     },
     "localname": "PartnersTotalSubsequentDistributionAmount",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails",
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_PaymentsofDistributionsonPreferredUnits": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Payments of Distributions on Preferred Units",
        "label": "Payments of Distributions on Preferred Units",
        "negatedLabel": "Distributions to Series A preferred unitholders"
       }
      }
     },
     "localname": "PaymentsofDistributionsonPreferredUnits",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_PaymentsofDistributionsonPreferredUnitsfromPredecessor": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Payments of Distributions on Preferred Units from Predecessor",
        "label": "Payments of Distributions on Preferred Units from Predecessor",
        "negatedTerseLabel": "Payments of Distributions on Preferred Units from Predecessor"
       }
      }
     },
     "localname": "PaymentsofDistributionsonPreferredUnitsfromPredecessor",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_PaymentstoAcquireBusinessesandEquityMethodInvestments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Payments to Acquire Businesses and Equity Method Investments",
        "label": "Payments to Acquire Businesses and Equity Method Investments",
        "negatedTerseLabel": "Distributions to MPC for acquisitions"
       }
      }
     },
     "localname": "PaymentstoAcquireBusinessesandEquityMethodInvestments",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_PaymentstoClassBUnitholders": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Payments to Class B Unitholders",
        "label": "Payments to Class B Unitholders",
        "negatedLabel": "Consideration payment to Class B unitholders"
       }
      }
     },
     "localname": "PaymentstoClassBUnitholders",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_PercentageofLimitedPartnersCapitalAccountUnitsOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Percentage of Limited Partners' Capital Account, Units Outstanding",
        "label": "Percentage of Limited Partners' Capital Account, Units Outstanding",
        "terseLabel": "Percentage of Limited Partners' Capital Account, Units Outstanding"
       }
      }
     },
     "localname": "PercentageofLimitedPartnersCapitalAccountUnitsOutstanding",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "mpc_PercentageofOwnershipInterestinJointVentureAcquired": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Percentage of Ownership Interest in Joint Venture Acquired",
        "label": "Percentage of Ownership Interest in Joint Venture Acquired",
        "terseLabel": "Percentage of ownership interest in joint venture acquired"
       }
      }
     },
     "localname": "PercentageofOwnershipInterestinJointVentureAcquired",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfMarenBakkenDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "mpc_PercentageofUnitsSoldinPublicOffering": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Percentage of Units Sold in Public Offering",
        "label": "Percentage of Units Sold in Public Offering",
        "terseLabel": "Percentage of Units Sold in Public Offering"
       }
      }
     },
     "localname": "PercentageofUnitsSoldinPublicOffering",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "mpc_PercentofPar": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Percent of Par",
        "label": "Percent of Par",
        "terseLabel": "Percent of par"
       }
      }
     },
     "localname": "PercentofPar",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "mpc_PerformanceUnitPerformanceConditionMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Performance Unit Performance Condition [Member] Grant date fair value of the performance condition",
        "label": "Performance Unit Performance Condition [Member]",
        "terseLabel": "Performance Unit Performance Condition [Member]"
       }
      }
     },
     "localname": "PerformanceUnitPerformanceConditionMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPerformanceUnitAwardActivityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_PerformanceUnitsMarketConditionMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Performance Units Market Condition [Member] Grant date fair value based on market conditions",
        "label": "Performance Units Market Condition [Member]",
        "terseLabel": "Performance Units Market Condition [Member]"
       }
      }
     },
     "localname": "PerformanceUnitsMarketConditionMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPerformanceUnitAwardActivityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_PipelineBarrelsHandled": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Pipeline Barrels Handled",
        "label": "Pipeline Barrels Handled",
        "terseLabel": "Pipeline barrels handled"
       }
      }
     },
     "localname": "PipelineBarrelsHandled",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfOzarkPipelineDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "mpc_Pipelinediameter": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Pipeline diameter",
        "label": "Pipeline diameter",
        "terseLabel": "Pipeline diameter"
       }
      }
     },
     "localname": "Pipelinediameter",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfOzarkPipelineDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails"
     ],
     "xbrltype": "lengthItemType"
    },
    "mpc_Pipelinelength": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Pipeline length",
        "label": "Pipeline length",
        "terseLabel": "Pipeline length"
       }
      }
     },
     "localname": "Pipelinelength",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfOzarkPipelineDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails"
     ],
     "xbrltype": "lengthItemType"
    },
    "mpc_PipelinesAndRelatedAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Pipelines and related assets.",
        "label": "Pipelines And Related Assets [Member]",
        "terseLabel": "Pipelines and related assets"
       }
      }
     },
     "localname": "PipelinesAndRelatedAssetsMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_ProceedsFromLiability": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash inflow from a financing transaction.",
        "label": "Proceeds from Liability",
        "terseLabel": "Proceeds from liability"
       }
      }
     },
     "localname": "ProceedsFromLiability",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSmrTransactionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_ProcessingFractionationAndStorageFacilitiesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents the long-lived depreciable assets for processing, fractionation and storage facilities.",
        "label": "Processing, Fractionation And Storage Facilities [Member]",
        "terseLabel": "Processing, fractionation and storage facilities"
       }
      }
     },
     "localname": "ProcessingFractionationAndStorageFacilitiesMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_ProductImbalancesPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Product Imbalances [Policy Text Block]",
        "label": "Product Imbalances Policy [Text Block]",
        "terseLabel": "Imbalances"
       }
      }
     },
     "localname": "ProductImbalancesPolicyTextBlock",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mpc_ProductSalesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Product Sales [Member]",
        "label": "Product Sales [Member]",
        "terseLabel": "Product sales"
       }
      }
     },
     "localname": "ProductSalesMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesIncomeStatementLocationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_ProductSupplyAgreementFutureMinimumPaymentsServicesIncludedInPayment": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesSmrLiabilityDetails": {
       "order": 2.0,
       "parentTag": "mpc_SteamMethaneReformerLiability",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The portion of the total contractually required payments under the product supply agreement that relates to fees for services.",
        "label": "Product Supply Agreement Future Minimum Payments Services Included in Payment",
        "terseLabel": "Less: Services element"
       }
      }
     },
     "localname": "ProductSupplyAgreementFutureMinimumPaymentsServicesIncludedInPayment",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesSmrLiabilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_ProductSupplyAgreementsFutureMinimumPaymentsInterestIncludedInPayments": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesSmrLiabilityDetails": {
       "order": 3.0,
       "parentTag": "mpc_SteamMethaneReformerLiability",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The portion of the total contractually required payments under the product supply agreement that relates to interest expense.",
        "label": "Product Supply Agreements Future Minimum Payments Interest Included in Payments",
        "terseLabel": "Less: Interest"
       }
      }
     },
     "localname": "ProductSupplyAgreementsFutureMinimumPaymentsInterestIncludedInPayments",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesSmrLiabilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_ProratedIncentiveDistributionRightsForfeited": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Prorated Incentive Distribution Rights Forfeited",
        "label": "Prorated Incentive Distribution Rights Forfeited",
        "terseLabel": "Prorated incentive distribution rights forfeited"
       }
      }
     },
     "localname": "ProratedIncentiveDistributionRightsForfeited",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfMarenBakkenDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_ProvidingmarinetransportationofcrudeoilfeedstocksandrefinedpetroleumproductsandrelatedservicesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Providing marine transportation of crude oil, feedstocks and refined petroleum products, and related services [Member]",
        "label": "Providing marine transportation of crude oil, feedstocks and refined petroleum products, and related services [Member]",
        "terseLabel": "Providing marine transportation of crude oil, feedstocks and refined petroleum products, and related services [Member]"
       }
      }
     },
     "localname": "ProvidingmarinetransportationofcrudeoilfeedstocksandrefinedpetroleumproductsandrelatedservicesMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_PublicMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Public [Member]",
        "label": "Public [Member]",
        "terseLabel": "Public"
       }
      }
     },
     "localname": "PublicMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationDetail",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails",
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_PublicorNonPublicDesignatorDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "[Domain] for Public or Non-Public Designator [Axis]",
        "label": "Public or Non-Public Designator [Domain]",
        "terseLabel": "Public or Non-Public Designator [Domain]"
       }
      }
     },
     "localname": "PublicorNonPublicDesignatorDomain",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationDetail",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_PublicorNonpublicDesignatorAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Public or NonPublic Designator [Axis]",
        "label": "Public or Nonpublic Designator [Axis]",
        "terseLabel": "Public or Nonpublic Designator [Axis]"
       }
      }
     },
     "localname": "PublicorNonpublicDesignatorAxis",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationDetail",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_PurchasedproductcostsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Purchased product costs [Member]",
        "label": "Purchased product costs [Member]",
        "terseLabel": "Purchased product costs"
       }
      }
     },
     "localname": "PurchasedproductcostsMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesIncomeStatementLocationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_PurchasesFromRelatedPartiesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Purchases From Related Parties [Member]",
        "label": "Purchases From Related Parties [Member]",
        "terseLabel": "Purchases - related parties"
       }
      }
     },
     "localname": "PurchasesFromRelatedPartiesMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfExpensesByIncomeStatementRpLineItemDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_QuarterlyFinancialDataLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Quarterly Financial Data [Line Items]",
        "label": "Quarterly Financial Data [Line Items]",
        "terseLabel": "Quarterly Financial Data [Line Items]"
       }
      }
     },
     "localname": "QuarterlyFinancialDataLineItems",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_QuarterlyFinancialDataTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Quarterly Financial Data [Table]",
        "label": "Quarterly Financial Data [Table]",
        "terseLabel": "Quarterly Financial Data [Table]"
       }
      }
     },
     "localname": "QuarterlyFinancialDataTable",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_RedeemablePreferredUnitsDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Redeemable Preferred Units Disclosure [Abstract]",
        "label": "Redeemable Preferred Units Disclosure [Abstract]"
       }
      }
     },
     "localname": "RedeemablePreferredUnitsDisclosureAbstract",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "xbrltype": "stringItemType"
    },
    "mpc_RefinedProductsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Refined Products [Member]",
        "label": "Refined Products [Member]",
        "terseLabel": "Refined products"
       }
      }
     },
     "localname": "RefinedProductsMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_RefineriesandrelatedassetsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Refineries and related assets [Member]",
        "label": "Refineries and related assets [Member]",
        "terseLabel": "Refineries and related assets [Member]"
       }
      }
     },
     "localname": "RefineriesandrelatedassetsMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_RefiningLogisticsFuelsDistributionMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Refining Logistics &amp; Fuels Distribution [Member]",
        "label": "Refining Logistics &amp; Fuels Distribution [Member]",
        "terseLabel": "Refining Logistics &amp; Fuels Distribution [Member]"
       }
      }
     },
     "localname": "RefiningLogisticsFuelsDistributionMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_RefiningLogisticsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Refining Logistics [Member]",
        "label": "Refining Logistics [Member]",
        "terseLabel": "Refining Logistics [Member]"
       }
      }
     },
     "localname": "RefiningLogisticsMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_ReimbursableProjectsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Reimbursable Projects [Member]",
        "label": "Reimbursable Projects [Member]",
        "terseLabel": "Reimbursable Projects"
       }
      }
     },
     "localname": "ReimbursableProjectsMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_RelatedPartyMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Related Party [Member]",
        "label": "Related Party [Member]",
        "terseLabel": "Related Party [Member]"
       }
      }
     },
     "localname": "RelatedPartyMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_RelatedPartyRevolvingCreditAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Related Party Revolving Credit Agreement [Member]",
        "label": "Related Party Revolving Credit Agreement [Member]",
        "terseLabel": "Related Party Revolving Credit Agreement"
       }
      }
     },
     "localname": "RelatedPartyRevolvingCreditAgreementMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsIntercompanyLoansWithRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_RendezvousGasServicesL.L.C.Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Rendezvous Gas Services, L.L.C. [Member]",
        "label": "Rendezvous Gas Services, L.L.C. [Member]",
        "terseLabel": "Rendezvous Gas Services, L.L.C. [Member]"
       }
      }
     },
     "localname": "RendezvousGasServicesL.L.C.Member",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_RenewalTermAgreement": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Renewal Term Agreement",
        "label": "Renewal Term Agreement",
        "terseLabel": "Renewal Term Agreement",
        "verboseLabel": "Renewal Term Agreement"
       }
      }
     },
     "localname": "RenewalTermAgreement",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLeasesNarrativeDetails",
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "mpc_RentalcostofsalesrelatedpartiesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Rental cost of sales - related parties [Member]",
        "label": "Rental cost of sales - related parties [Member]",
        "terseLabel": "Rental cost of sales - related parties [Member]"
       }
      }
     },
     "localname": "RentalcostofsalesrelatedpartiesMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfExpensesByIncomeStatementRpLineItemDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_RetirementExpenditures": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Expenditures incurred through the retirement of assets.",
        "label": "Retirement Expenditures",
        "negatedTerseLabel": "Asset retirement expenditures"
       }
      }
     },
     "localname": "RetirementExpenditures",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_RevenueRemainingPerformanceObligationExpectedtobeRecognizedinCurrentFiscalYear": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Revenue, Remaining Performance Obligation, Expected to be Recognized in Current Fiscal Year",
        "label": "Revenue, Remaining Performance Obligation, Expected to be Recognized in Current Fiscal Year",
        "terseLabel": "Revenue, Remaining Performance Obligation, Expected to be Recognized in Current Fiscal Year"
       }
      }
     },
     "localname": "RevenueRemainingPerformanceObligationExpectedtobeRecognizedinCurrentFiscalYear",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueRemainingPerformanceObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_RevenueRemainingPerformanceObligationExpectedtobeRecognizedinFifthFiscalYearandThereafter": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Revenue, Remaining Performance Obligation, Expected to be Recognized in Fifth Fiscal Year and Thereafter",
        "label": "Revenue, Remaining Performance Obligation, Expected to be Recognized in Fifth Fiscal Year and Thereafter",
        "terseLabel": "Revenue, Remaining Performance Obligation, Expected to be Recognized in Fifth Fiscal Year and Thereafter"
       }
      }
     },
     "localname": "RevenueRemainingPerformanceObligationExpectedtobeRecognizedinFifthFiscalYearandThereafter",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueRemainingPerformanceObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_RevenueRemainingPerformanceObligationExpectedtobeRecognizedinFourthFiscalYear": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Revenue, Remaining Performance Obligation, Expected to be Recognized in Fourth Fiscal Year",
        "label": "Revenue, Remaining Performance Obligation, Expected to be Recognized in Fourth Fiscal Year",
        "terseLabel": "Revenue, Remaining Performance Obligation, Expected to be Recognized in Fourth Fiscal Year"
       }
      }
     },
     "localname": "RevenueRemainingPerformanceObligationExpectedtobeRecognizedinFourthFiscalYear",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueRemainingPerformanceObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_RevenueRemainingPerformanceObligationExpectedtobeRecognizedinNextFiscalYear": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Revenue, Remaining Performance Obligation, Expected to be Recognized in Next Fiscal Year",
        "label": "Revenue, Remaining Performance Obligation, Expected to be Recognized in Next Fiscal Year",
        "terseLabel": "Revenue, Remaining Performance Obligation, Expected to be Recognized in Next Fiscal Year"
       }
      }
     },
     "localname": "RevenueRemainingPerformanceObligationExpectedtobeRecognizedinNextFiscalYear",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueRemainingPerformanceObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_RevenueRemainingPerformanceObligationExpectedtobeRecognizedinThirdFiscalYear": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Revenue, Remaining Performance Obligation, Expected to be Recognized in Third Fiscal Year",
        "label": "Revenue, Remaining Performance Obligation, Expected to be Recognized in Third Fiscal Year",
        "terseLabel": "Revenue, Remaining Performance Obligation, Expected to be Recognized in Third Fiscal Year"
       }
      }
     },
     "localname": "RevenueRemainingPerformanceObligationExpectedtobeRecognizedinThirdFiscalYear",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueRemainingPerformanceObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_RevenueandExpenseAccrualsPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of the accounting policy for revenue and expense accruals.",
        "label": "Revenue and Expense Accruals Policy [Policy Text Block]",
        "terseLabel": "Revenue and expense accruals"
       }
      }
     },
     "localname": "RevenueandExpenseAccrualsPolicyPolicyTextBlock",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mpc_RevenuefromContractwithCustomerExcludingAssessedTaxRelatedParties": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Revenue from Contract with Customer, Excluding Assessed Tax, Related Parties",
        "label": "Revenue from Contract with Customer, Excluding Assessed Tax, Related Parties",
        "terseLabel": "Revenue from Contract with Customer, Excluding Assessed Tax, Related Parties"
       }
      }
     },
     "localname": "RevenuefromContractwithCustomerExcludingAssessedTaxRelatedParties",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfRevenueByIncomeStatementRpLineItemDetail",
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_RevenuefromContractwithCustomerexcludingAssessedTaxandNonASC606Revenue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Revenue from Contract with Customer, excluding Assessed Tax and Non-ASC 606 Revenue",
        "label": "Revenue from Contract with Customer, excluding Assessed Tax and Non-ASC 606 Revenue",
        "terseLabel": "Revenue from Contract with Customer, excluding Assessed Tax and Non-ASC 606 Revenue"
       }
      }
     },
     "localname": "RevenuefromContractwithCustomerexcludingAssessedTaxandNonASC606Revenue",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_RevenuesAndOtherIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Revenues and Other Income [Abstract]",
        "label": "Revenues And Other Income [Abstract]",
        "terseLabel": "Revenues and other income:"
       }
      }
     },
     "localname": "RevenuesAndOtherIncomeAbstract",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_RevenuesAndOtherIncomeMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Revenues And Other Income [Member]",
        "label": "Revenues And Other Income [Member]",
        "terseLabel": "Revenues And Other Income]"
       }
      }
     },
     "localname": "RevenuesAndOtherIncomeMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/MajorCustomersAndConcentrationOfCreditRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_SalesRevenueGoodsRelatedPartyNetZero": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Revenue from related parties from the sale of goods in the normal course of business that net zero on the financial statements due to the terms of the contract.",
        "label": "Sales Revenue, Goods, Related Party, Net Zero",
        "terseLabel": "Sales Revenue, Goods, Related Party, Net Zero"
       }
      }
     },
     "localname": "SalesRevenueGoodsRelatedPartyNetZero",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfRevenueByIncomeStatementRpLineItemDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_SalestypeandDirectFinancingLeasesLeaseReceivablePaymentstobeReceivedCurrentYear": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Sales-type and Direct Financing Leases, Lease Receivable, Payments to be Received, Current Year",
        "label": "Sales-type and Direct Financing Leases, Lease Receivable, Payments to be Received, Current Year",
        "terseLabel": "Sales-type and Direct Financing Leases, Lease Receivable, Payments to be Received, Current Year"
       }
      }
     },
     "localname": "SalestypeandDirectFinancingLeasesLeaseReceivablePaymentstobeReceivedCurrentYear",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_ScheduleOfCalculationOfNetIncomeApplicabletoPartnersTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "[Table Text Block] for Schedule Of Calculation Of Net Income Applicable to Partners [Table]",
        "label": "Schedule Of Calculation Of Net Income Applicable to Partners [Table Text Block]",
        "terseLabel": "Schedule Of Calculation Of Net Income Applicable to Partners"
       }
      }
     },
     "localname": "ScheduleOfCalculationOfNetIncomeApplicabletoPartnersTableTextBlock",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mpc_ScheduleOfDisposalsTreatedAsFinancingArrangementDisclosuresTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of disposal that was accounted for as a financing arrangement due to the Company's continuing involvement in the underlying in-substance real estate. The disclosure includes the classification and carrying value of the assets and liabilities that remain on the consolidated balance sheet as a result of the financing treatment.",
        "label": "Schedule of Disposals Treated as Financing Arrangement Disclosures [Text Block]",
        "terseLabel": "Schedule of amounts related to the SMR included in the Balance Sheet"
       }
      }
     },
     "localname": "ScheduleOfDisposalsTreatedAsFinancingArrangementDisclosuresTextBlock",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mpc_ScheduleOfEarningsPerShareBasicAndDilutedLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule Of Earnings Per Share Basic And Diluted [Line Items]",
        "label": "Schedule Of Earnings Per Share Basic And Diluted [Line Items]",
        "terseLabel": "Schedule Of Earnings Per Share Basic And Diluted [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfEarningsPerShareBasicAndDilutedLineItems",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_ScheduleOfEarningsPerShareBasicAndDilutedTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule Of Earnings Per Share Basic And Diluted [Table]",
        "label": "Schedule Of Earnings Per Share Basic And Diluted [Table]",
        "terseLabel": "Schedule Of Earnings Per Share Basic And Diluted [Table]"
       }
      }
     },
     "localname": "ScheduleOfEarningsPerShareBasicAndDilutedTable",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_ScheduleOfEntityWideInformationAllocatedRelatedPartyEmployeeBenefitCostsByIncomeStatementLineTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule Of Entity Wide Information Allocated Related Party Employee Benefit Costs By Income Statement Line [Table Text Block]",
        "label": "Schedule Of Entity Wide Information Allocated Related Party Employee Benefit Costs By Income Statement Line [Table Text Block]",
        "terseLabel": "Schedule Of Entity Wide Information Allocated Related Party Employee Benefit Costs By Income Statement Line [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfEntityWideInformationAllocatedRelatedPartyEmployeeBenefitCostsByIncomeStatementLineTableTextBlock",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mpc_ScheduleOfFutureMinimumRentalPaymentsReceivableForOperatingLeasesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of future minimum payments receivable in the aggregate and for each of the five succeeding fiscal years for operating leases having initial or remaining noncancelable lease terms in excess of one year.",
        "label": "Schedule of Future Minimum Rental Payments Receivable for Operating Leases [Table Text Block]",
        "terseLabel": "Schedule of Future Minimum Rental Payments Receivable for Operating Leases [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfFutureMinimumRentalPaymentsReceivableForOperatingLeasesTableTextBlock",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mpc_ScheduleOfReconciliationOfAdditionsToPropertyPlantAndEquipmentToTotalCapitalExpendituresTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule of Reconciliation of Additions to Property, Plant And Equipment to Total Capital Expenditures [Table Text Block]",
        "label": "Schedule Of Reconciliation Of Additions To Property Plant And Equipment To Total Capital Expenditures [Table Text Block]",
        "terseLabel": "Summary of Changes in Capital Accruals"
       }
      }
     },
     "localname": "ScheduleOfReconciliationOfAdditionsToPropertyPlantAndEquipmentToTotalCapitalExpendituresTableTextBlock",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mpc_ScheduleOfShareBasedCompensationPerformanceUnitAwardsValuationAssumptionsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule of Share-based Compensation, Performance Unit Awards, Valuation Assumptions [Table Text Block]",
        "label": "Schedule of Share-based Compensation, Performance Unit Awards, Valuation Assumptions [Table Text Block]",
        "terseLabel": "Schedule of Share-based Compensation, Performance Unit Awards, Valuation Assumptions"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationPerformanceUnitAwardsValuationAssumptionsTableTextBlock",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mpc_ScheduleofDistributionsByPartnerByClassTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule of Distributions By Partner By Class [Table Text Block]",
        "label": "Schedule of Distributions By Partner By Class [Table Text Block]",
        "terseLabel": "Schedule of Net Income Per Limited Partner Unit"
       }
      }
     },
     "localname": "ScheduleofDistributionsByPartnerByClassTableTextBlock",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mpc_ScheduleofEntityWideInformationSalestoRelatedPartiesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule of Entity Wide Information Sales to Related Parties [Table Text Block]",
        "label": "Schedule of Entity Wide Information Sales to Related Parties [Table Text Block]",
        "terseLabel": "Revenue from Related Parties"
       }
      }
     },
     "localname": "ScheduleofEntityWideInformationSalestoRelatedPartiesTableTextBlock",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mpc_ScheduleofFutureMinimumLeasePaymentsforOperatingandFinanceLeasesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule of Future Minimum Lease Payments for Operating and Finance Leases [Table Text Block]",
        "label": "Schedule of Future Minimum Lease Payments for Operating and Finance Leases [Table Text Block]",
        "terseLabel": "Schedule of Future Minimum Lease Payments for Operating and Finance Leases [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleofFutureMinimumLeasePaymentsforOperatingandFinanceLeasesTableTextBlock",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosureTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mpc_ScheduleofinterestpayabledatesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule of interest payable dates [Table Text Block]",
        "label": "Schedule of interest payable dates [Table Text Block]",
        "terseLabel": "Schedule of interest payable dates"
       }
      }
     },
     "localname": "ScheduleofinterestpayabledatesTableTextBlock",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mpc_SeniorNotesDueApril2038Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Senior Notes Due April 2038",
        "label": "Senior Notes Due April 2038 [Member]",
        "terseLabel": "Senior Notes Due April 2038 [Member]"
       }
      }
     },
     "localname": "SeniorNotesDueApril2038Member",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_SeniorNotesDueApril2048Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Senior Notes Due April 2048",
        "label": "Senior Notes Due April 2048 [Member]",
        "terseLabel": "Senior Notes Due April 2048 [Member]"
       }
      }
     },
     "localname": "SeniorNotesDueApril2048Member",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_SeniorNotesDueApril2058Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Senior Notes Due April 2058",
        "label": "Senior Notes Due April 2058 [Member]",
        "terseLabel": "Senior Notes Due April 2058 [Member]"
       }
      }
     },
     "localname": "SeniorNotesDueApril2058Member",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_SeniorNotesDueDecember2022Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Senior Notes Due December 2022 [Member]",
        "label": "Senior Notes Due December 2022 [Member]",
        "terseLabel": "Senior Notes Due December 2022 [Member]",
        "verboseLabel": "4.000% senior notes due February 2025"
       }
      }
     },
     "localname": "SeniorNotesDueDecember2022Member",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_SeniorNotesDueDecember2024Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Senior Notes Due December 2024",
        "label": "Senior Notes Due December 2024 [Member]",
        "terseLabel": "4.875% senior notes due December 2024"
       }
      }
     },
     "localname": "SeniorNotesDueDecember2024Member",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_SeniorNotesDueDecember2027Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Senior Notes Due December 2027 [Member]",
        "label": "Senior Notes Due December 2027 [Member]",
        "terseLabel": "Senior Notes Due December 2027 [Member]"
       }
      }
     },
     "localname": "SeniorNotesDueDecember2027Member",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_SeniorNotesDueDecember2047Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Senior Notes Due December 2047 [Member]",
        "label": "Senior Notes Due December 2047 [Member]",
        "terseLabel": "Senior Notes Due December 2047 [Member]"
       }
      }
     },
     "localname": "SeniorNotesDueDecember2047Member",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_SeniorNotesDueFebruary2023Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Senior Notes Due February 2023",
        "label": "Senior Notes Due February 2023 [Member]",
        "terseLabel": "5.500% senior notes due February 2023"
       }
      }
     },
     "localname": "SeniorNotesDueFebruary2023Member",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_SeniorNotesDueFebruary2025Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Senior Notes Due February 2025",
        "label": "Senior Notes Due February 2025 [Member]",
        "terseLabel": "4.000% senior notes due February 2025"
       }
      }
     },
     "localname": "SeniorNotesDueFebruary2025Member",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_SeniorNotesDueFebruary2029Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Senior Notes Due February 2029 [Member]",
        "label": "Senior Notes Due February 2029 [Member]",
        "terseLabel": "Senior Notes Due February 2029 [Member]"
       }
      }
     },
     "localname": "SeniorNotesDueFebruary2029Member",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_SeniorNotesDueFebruary2049Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Senior Notes Due February 2049 [Member]",
        "label": "Senior Notes Due February 2049 [Member]",
        "terseLabel": "Senior Notes Due February 2049 [Member]",
        "verboseLabel": "Senior Notes Due November 2049 [Member]"
       }
      }
     },
     "localname": "SeniorNotesDueFebruary2049Member",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_SeniorNotesDueJanuary2025Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Senior Notes Due January 2025 [Member]",
        "label": "Senior Notes Due January 2025 [Member]",
        "terseLabel": "Senior Notes Due January 2025 [Member]"
       }
      }
     },
     "localname": "SeniorNotesDueJanuary2025Member",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_SeniorNotesDueJuly2023Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Senior Notes Due July 2023",
        "label": "Senior Notes Due July 2023 [Member]",
        "terseLabel": "4.500% senior notes due July 2023"
       }
      }
     },
     "localname": "SeniorNotesDueJuly2023Member",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_SeniorNotesDueJune2025Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Senior Notes Due June 2025",
        "label": "Senior Notes Due June 2025 [Member]",
        "terseLabel": "4.875% senior notes due June 2025"
       }
      }
     },
     "localname": "SeniorNotesDueJune2025Member",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_SeniorNotesDueMarch2023Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Senior Notes Due March 2023",
        "label": "Senior Notes Due March 2023 [Member]",
        "terseLabel": "4.875% senior notes due June 2025",
        "verboseLabel": "Senior Notes Due March 2023 [Member]"
       }
      }
     },
     "localname": "SeniorNotesDueMarch2023Member",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_SeniorNotesDueMarch2027Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Senior Notes Due March 2027 [Member]",
        "label": "Senior Notes Due March 2027 [Member]",
        "terseLabel": "4.125% senior notes due March 2027",
        "verboseLabel": "Senior Notes Due March 2027 [Member]"
       }
      }
     },
     "localname": "SeniorNotesDueMarch2027Member",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_SeniorNotesDueMarch2028Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Senior Notes Due March 2028",
        "label": "Senior Notes Due March 2028 [Member]",
        "terseLabel": "Senior Notes Due March 2028 [Member]"
       }
      }
     },
     "localname": "SeniorNotesDueMarch2028Member",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_SeniorNotesDueMarch2047Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Senior Notes Due March 2047 [Member]",
        "label": "Senior Notes Due March 2047 [Member]",
        "terseLabel": "5.200% senior notes due March 2047"
       }
      }
     },
     "localname": "SeniorNotesDueMarch2047Member",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_SeniorNotesDueMay2024Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Senior Notes Due May 2024 [Member]",
        "label": "Senior Notes Due May 2024 [Member]",
        "terseLabel": "Senior Notes Due May 2024 [Member]"
       }
      }
     },
     "localname": "SeniorNotesDueMay2024Member",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_SeniorNotesDueOctober2019Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Senior Notes Due October 2019 [Member]",
        "label": "Senior Notes Due October 2019 [Member]",
        "terseLabel": "Senior Notes Due October 2019 [Member]"
       }
      }
     },
     "localname": "SeniorNotesDueOctober2019Member",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_SeniorNotesDueOctober2022Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Senior Notes Due October 2022 [Member]",
        "label": "Senior Notes Due October 2022 [Member]",
        "terseLabel": "Senior Notes Due October 2022 [Member]",
        "verboseLabel": "4.875% senior notes due December 2024"
       }
      }
     },
     "localname": "SeniorNotesDueOctober2022Member",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_SeriesAConvertiblePreferredUnitsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Series A Convertible Preferred Units [Member]",
        "label": "Series A Convertible Preferred Units [Member]",
        "terseLabel": "Series A Convertible Preferred Units"
       }
      }
     },
     "localname": "SeriesAConvertiblePreferredUnitsMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails",
      "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsRollforwardOfRedeemablePreferredUnitsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalIntrinsicValue1": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested In Period Total Intrinsic Value1",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested In Period Total Intrinsic Value 1",
        "terseLabel": "Intrinsic value of units issued during the period"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalIntrinsicValue1",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfValuesRelatedToVestedAndUnvestedRestrictedStockAwardsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsWeightedAverageGrantDateFairValueForfeited": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Share Based Compensation Arrangement By Share Based Payment Award Non Option Equity Instruments Weighted Average Grant Date Fair Value Forfeited",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Non Option Equity Instruments Weighted Average Grant Date Fair Value Forfeited",
        "terseLabel": "Forfeited (usd per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsWeightedAverageGrantDateFairValueForfeited",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPerformanceUnitAwardActivityDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPhantomUnitAwardActivityDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "mpc_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsWeightedAverageGrantDateFairValueGranted": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Share Based Compensation Arrangement By Share Based Payment Award Non Option Equity Instruments Weighted Average Grant Date Fair Value Granted",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Non Option Equity Instruments Weighted Average Grant Date Fair Value Granted",
        "terseLabel": "Granted (usd per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsWeightedAverageGrantDateFairValueGranted",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPerformanceUnitAwardActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "mpc_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsWeightedAverageGrantDateFairValueIssued": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Share Based Compensation Arrangement By Share Based Payment Award Non Option Equity Instruments Weighted Average Grant Date Fair Value Issued",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Non Option Equity Instruments Weighted Average Grant Date Fair Value Issued",
        "terseLabel": "Settled (usd per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsWeightedAverageGrantDateFairValueIssued",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPerformanceUnitAwardActivityDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPhantomUnitAwardActivityDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "mpc_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsWeightedAverageGrantDateFairValueOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Share Based Compensation Arrangement By Share Based Payment Award Non Option Equity Instruments Weighted Average Grant Date Fair Value Outstanding",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Non Option Equity Instruments Weighted Average Grant Date Fair Value Outstanding",
        "periodEndLabel": "Outstanding at December 31, 2017 (usd per share)",
        "periodStartLabel": "Outstanding at December 31, 2016 (usd per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsWeightedAverageGrantDateFairValueOutstanding",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPerformanceUnitAwardActivityDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPhantomUnitAwardActivityDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "mpc_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsConvertible": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Convertible units as of the balance sheet date.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Non Options Convertible",
        "terseLabel": "Non-forfeitable at December 31, 2019(1)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsConvertible",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPhantomUnitAwardActivityDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "mpc_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsConvertibleWeightedAverageFairValue": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "As of the balance sheet date, the weighted-average fair value for convertible units.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Non Options Convertible Weighted Average Fair Value",
        "terseLabel": "Convertible at December 31, 2017 (usd per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsConvertibleWeightedAverageFairValue",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPhantomUnitAwardActivityDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "mpc_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsVestedAndExpectedToVestOutstandingNumber": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The number of vested and expected to vest shares as of the balance sheet date.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Non Options Vested And Expected To Vest Outstanding Number",
        "terseLabel": "Vested and expected to vest at December 31, 2019"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsVestedAndExpectedToVestOutstandingNumber",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPhantomUnitAwardActivityDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "mpc_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsVestedAndExpectedToVestWeightedAverageFairValue": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "As of the balance sheet date, the weighted-average fair value for outstanding units that are fully vested or expected to vest.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Non Options Vested And Expected To Vest Weighted Average Fair Value",
        "terseLabel": "Vested and expected to vest at December 31, 2017 (usd per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsVestedAndExpectedToVestWeightedAverageFairValue",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPhantomUnitAwardActivityDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "mpc_ShareBasedCompensationArrangementByShareBasedPaymentAwardPercentagePaidOutInCash": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Share Based Compensation Arrangement By Share Based Payment Award Percentage Paid Out In Cash",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Percentage Paid Out In Cash",
        "terseLabel": "Award percentage paid out in cash"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardPercentagePaidOutInCash",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "mpc_ShareBasedCompensationArrangementByShareBasedPaymentAwardPercentagePaidOutInStock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Share Based Compensation Arrangement By Share Based Payment Award Percentage Paid Out In Stock",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Percentage Paid Out In Stock",
        "terseLabel": "Award percentage paid out in stock"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardPercentagePaidOutInStock",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "mpc_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsLookbackPeriod": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Remaining performance period at the grant date.",
        "label": "Sharebased Compensation Arrangement By Sharebased Payment Award Fair Value Assumptions Lookback Period",
        "terseLabel": "Look-back period"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsLookbackPeriod",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationAssumptionsDetails"
     ],
     "xbrltype": "durationStringItemType"
    },
    "mpc_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsAggregateIntrinsicValueConvertible": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "ntrinsic value of convertible equity-based compensation awards. Excludes options.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Aggregate Intrinsic Value, Convertible",
        "terseLabel": "Non-forfeitable at December 31, 2019(1)"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsAggregateIntrinsicValueConvertible",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPhantomUnitAwardActivityDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsAggregateIntrinsicValueVestedandExpectedtoVest": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Intrinsic value of equity-based compensation awards vested and expected to vest. Excludes options.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Aggregate Intrinsic Value, Vested and Expected to Vest",
        "terseLabel": "Vested and expected to vest at December 31, 2019"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherthanOptionsAggregateIntrinsicValueVestedandExpectedtoVest",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPhantomUnitAwardActivityDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_SharebasedCompensationArrangementbySharebasedPaymentAwardNonOptionEquityInstruments.WeightedAverageGrantFairValueRollForward": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Share-based Compensation Arrangement by Share-based Payment Award, Non-Option Equity Instruments. Weighted Average Grant Fair Value [Roll Forward]",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Non-Option Equity Instruments. Weighted Average Grant Fair Value [Roll Forward]",
        "terseLabel": "Weighted Average Fair Value"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementbySharebasedPaymentAwardNonOptionEquityInstruments.WeightedAverageGrantFairValueRollForward",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPerformanceUnitAwardActivityDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPhantomUnitAwardActivityDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsAggregateIntrinsicValueAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Aggregate Intrinsic Value [Abstract]",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Aggregate Intrinsic Value [Abstract]",
        "terseLabel": "Aggregate Intrinsic Value"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementbySharebasedPaymentAwardOptionsAggregateIntrinsicValueAbstract",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPhantomUnitAwardActivityDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_SherwoodMidstreamHoldingsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Sherwood Midstream Holdings [Member]",
        "label": "Sherwood Midstream Holdings [Member]",
        "terseLabel": "Sherwood Midstream Holdings"
       }
      }
     },
     "localname": "SherwoodMidstreamHoldingsMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_SherwoodMidstreamLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Sherwood Midstream LLC",
        "label": "Sherwood Midstream LLC [Member]",
        "terseLabel": "Sherwood Midstream LLC"
       }
      }
     },
     "localname": "SherwoodMidstreamLLCMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_SixYearTransportationServicesAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Six Year Transportation Services Agreement [Member]",
        "label": "Six Year Transportation Services Agreement [Member]",
        "terseLabel": "Six Year Transportation Services Agreement [Member]"
       }
      }
     },
     "localname": "SixYearTransportationServicesAgreementMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_SmrProductMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire product produced by a steam methane reformer to be received in exchange for payments of processing fees and the reimbursement of other expenses.",
        "label": "Smr Product [Member]",
        "terseLabel": "SMR Transaction"
       }
      }
     },
     "localname": "SmrProductMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesSmrLiabilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_SteamMethaneReformerHeldUnderFinancingArrangementMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A steam methane reformer (SMR) sold in a transaction treated as a financing arrangement.",
        "label": "Steam Methane Reformer Held Under Financing Arrangement [Member]",
        "terseLabel": "Steam Methane Reformer Held Under Financing Arrangement [Member]"
       }
      }
     },
     "localname": "SteamMethaneReformerHeldUnderFinancingArrangementMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSmrTransactionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_SteamMethaneReformerLiability": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesSmrLiabilityDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Aggregate carrying amount, as of the balance sheet date, of the liability associated with the sale of an SMR accounted for as a financing arrangement.",
        "label": "Steam Methane Reformer Liability",
        "totalLabel": "Total SMR liability"
       }
      }
     },
     "localname": "SteamMethaneReformerLiability",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesSmrLiabilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_SteamMethaneReformerLiabilityCurrent": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Aggregate carrying amount, as of the balance sheet date, of the current portion of the liability associated with the sale of an SMR accounted for as a financing arrangement. Current liabilities are expected to be paid within one year (or the normal operating cycle, if longer).",
        "label": "Steam Methane Reformer Liability Current",
        "terseLabel": "Less: Current portion of SMR liability"
       }
      }
     },
     "localname": "SteamMethaneReformerLiabilityCurrent",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesSmrLiabilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_SteamMethaneReformerLiabilityNonCurrent": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Aggregate carrying amount, as of the balance sheet date, of the noncurrent portion of the liability associated with the sale of an SMR accounted for as a financing arrangement. Noncurrent liabilities are expected to be paid after one year (or the normal operating cycle, if longer).",
        "label": "Steam Methane Reformer Liability Noncurrent",
        "terseLabel": "Long-term portion of SMR liability"
       }
      }
     },
     "localname": "SteamMethaneReformerLiabilityNonCurrent",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesSmrLiabilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_StockholdersEquityLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Stockholders Equity [Line Items]",
        "label": "Stockholders Equity [Line Items]",
        "terseLabel": "Stockholders Equity [Line Items]"
       }
      }
     },
     "localname": "StockholdersEquityLineItems",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityAtmProgramDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_StockholdersEquityTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Stockholders Equity [Table]",
        "label": "Stockholders Equity [Table]",
        "terseLabel": "Stockholders Equity [Table]"
       }
      }
     },
     "localname": "StockholdersEquityTable",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityAtmProgramDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_StorageCapacity": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Storage Capacity",
        "label": "Storage Capacity",
        "terseLabel": "Storage Capacity"
       }
      }
     },
     "localname": "StorageCapacity",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails"
     ],
     "xbrltype": "volumeItemType"
    },
    "mpc_StorageServicesAgreementsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Storage Services Agreements [Member]",
        "label": "Storage Services Agreements [Member]",
        "terseLabel": "Storage Services Agreements"
       }
      }
     },
     "localname": "StorageServicesAgreementsMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_SummarizedFinancialInformationForEquityMethodInvesteesTableTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Summarized financial information for equity method investees [Table Text Block]",
        "label": "Summarized Financial Information For Equity Method Investees Table [Table Text Block]",
        "terseLabel": "Summarized Financial Information For Equity Method Investees Table"
       }
      }
     },
     "localname": "SummarizedFinancialInformationForEquityMethodInvesteesTableTableTextBlock",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mpc_SuppplementalCashFlowLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "[Line Items] for Suppplemental Cash Flow",
        "label": "Suppplemental Cash Flow [Line Items]",
        "terseLabel": "Suppplemental Cash Flow [Line Items]"
       }
      }
     },
     "localname": "SuppplementalCashFlowLineItems",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSupplementalCashFlowInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_SuppplementalCashFlowTableTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Suppplemental Cash Flow [Table] [Table]",
        "label": "Suppplemental Cash Flow [Table] [Table]",
        "terseLabel": "Suppplemental Cash Flow [Table] [Table]"
       }
      }
     },
     "localname": "SuppplementalCashFlowTableTable",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSupplementalCashFlowInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_TaxEffectOfShareBasedCompensationPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for income tax effects of share-based compensation.",
        "label": "Tax Effect of Share based Compensation [Policy Text Block]",
        "terseLabel": "Tax effects of share-based compensation"
       }
      }
     },
     "localname": "TaxEffectOfShareBasedCompensationPolicyTextBlock",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mpc_TaxesOtherThanIncomeTaxesPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Taxes Other Than Income Taxes Policy [Text Block]",
        "label": "Taxes Other Than Income Taxes Policy [Text Block]",
        "terseLabel": "Other taxes"
       }
      }
     },
     "localname": "TaxesOtherThanIncomeTaxesPolicyTextBlock",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mpc_TemporaryEquityDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Temporary Equity Disclosure [Text Block]",
        "label": "Temporary Equity Disclosure [Text Block]",
        "terseLabel": "Redeemable Preferred Units"
       }
      }
     },
     "localname": "TemporaryEquityDisclosureTextBlock",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RedeemablePreferredUnits"
     ],
     "xbrltype": "textBlockItemType"
    },
    "mpc_TenYearTerminalServicesAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Ten Year Terminal Services Agreement [Member]",
        "label": "Ten Year Terminal Services Agreement [Member]",
        "terseLabel": "Ten Year Terminal Services Agreement [Member]"
       }
      }
     },
     "localname": "TenYearTerminalServicesAgreementMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_TermOfAgreements": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Term Of Agreements",
        "label": "Term Of Agreements",
        "terseLabel": "Term Of Agreements"
       }
      }
     },
     "localname": "TermOfAgreements",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail",
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesMinimumFuturePaymentsDetails",
      "http://www.marathonpetroleum.com/role/LeasesLeasesNarrativeDetails",
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsIntercompanyLoansWithRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "mpc_TerminalServicesAgreementsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Terminal Services Agreements [Member]",
        "label": "Terminal Services Agreements [Member]",
        "terseLabel": "Terminal Services Agreements"
       }
      }
     },
     "localname": "TerminalServicesAgreementsMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_TerminalsandrelatedassetsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Terminals and related assets",
        "label": "Terminals and related assets [Member]",
        "terseLabel": "Terminals and related assets"
       }
      }
     },
     "localname": "TerminalsandrelatedassetsMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_TexNewMexunitsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "TexNew Mex units [Member]",
        "label": "TexNew Mex units [Member]",
        "terseLabel": "TexNew Mex units [Member]"
       }
      }
     },
     "localname": "TexNewMexunitsMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_ThirdPartyMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Third Party [Member]",
        "label": "Third Party [Member]",
        "terseLabel": "Third Party"
       }
      }
     },
     "localname": "ThirdPartyMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationRevenuesAndAdjustedEbitdaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_TruckingServicesAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Trucking Services Agreement [Member]",
        "label": "Trucking Services Agreement [Member]",
        "terseLabel": "Trucking Services Agreement [Member]"
       }
      }
     },
     "localname": "TruckingServicesAgreementMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_WhistlerPipelineLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Whistler Pipeline LLC [Member]",
        "label": "Whistler Pipeline LLC [Member]",
        "terseLabel": "Whistler Pipeline LLC [Member]"
       }
      }
     },
     "localname": "WhistlerPipelineLLCMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_WinktoWebsterPipelineLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Wink to Webster Pipeline LLC [Member]",
        "label": "Wink to Webster Pipeline LLC [Member]",
        "terseLabel": "Wink to Webster Pipeline LLC [Member]"
       }
      }
     },
     "localname": "WinktoWebsterPipelineLLCMember",
     "nsuri": "http://www.marathonpetroleum.com/20191231",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ConsolidationItemsAxis": {
     "auth_ref": [
      "r183",
      "r195"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by components, eliminations, non-segment corporate-level activity and reconciling items used in consolidating a parent entity and its subsidiaries or its operating segments.",
        "label": "Consolidation Items [Axis]",
        "terseLabel": "Consolidation Items [Axis]"
       }
      }
     },
     "localname": "ConsolidationItemsAxis",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationAssetsBySegmentDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationRevenuesAndAdjustedEbitdaDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ConsolidationItemsDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Components, elimination, non-segment corporate-level activity and reconciling items used in consolidating a parent entity and its subsidiaries or its operating segments.",
        "label": "Consolidation Items [Domain]",
        "terseLabel": "Consolidation Items [Domain]"
       }
      }
     },
     "localname": "ConsolidationItemsDomain",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationAssetsBySegmentDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationRevenuesAndAdjustedEbitdaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ContractualObligationFiscalYearMaturityScheduleTableTextBlock": {
     "auth_ref": [
      "r589"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of contractual obligation by timing of payment due. Includes, but is not limited to, long-term debt obligation, lease obligation, and purchase obligation.",
        "label": "Contractual Obligation, Fiscal Year Maturity [Table Text Block]",
        "terseLabel": "Contractual Obligation, Fiscal Year Maturity Schedule"
       }
      }
     },
     "localname": "ContractualObligationFiscalYearMaturityScheduleTableTextBlock",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "srt_CrudeOilMember": {
     "auth_ref": [
      "r587",
      "r588"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Unrefined, unprocessed oil, which may be used in a variety of applications, and from which, petroleum-based products are produced.",
        "label": "Crude Oil [Member]",
        "terseLabel": "Crude Oil"
       }
      }
     },
     "localname": "CrudeOilMember",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_EquityMethodInvesteeNameDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Name of investment, including named security. Excludes consolidated entity.",
        "label": "Investment, Name [Domain]",
        "terseLabel": "Investment, Name [Domain]"
       }
      }
     },
     "localname": "EquityMethodInvesteeNameDomain",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfMarenBakkenDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails",
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsSummaryOfEquityMethodInvestmentFinancialInformationDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail",
      "http://www.marathonpetroleum.com/role/SegmentInformationRevenuesAndAdjustedEbitdaDetails",
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSupplementalCashFlowInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_LitigationCaseAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of judicial proceeding, alternative dispute resolution or claim.",
        "label": "Litigation Case [Axis]",
        "terseLabel": "Litigation Case [Axis]"
       }
      }
     },
     "localname": "LitigationCaseAxis",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_LitigationCaseTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Judicial proceeding, alternative dispute resolution or claim. For example, but not limited to, name of case, category of litigation, or other differentiating information.",
        "label": "Litigation Case [Domain]",
        "terseLabel": "Litigation Case [Domain]"
       }
      }
     },
     "localname": "LitigationCaseTypeDomain",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MajorCustomersAxis": {
     "auth_ref": [
      "r199",
      "r318",
      "r322",
      "r572"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by name or description of a single external customer or a group of external customers.",
        "label": "Customer [Axis]",
        "terseLabel": "Customer [Axis]"
       }
      }
     },
     "localname": "MajorCustomersAxis",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/MajorCustomersAndConcentrationOfCreditRiskDetails",
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationRevenuesAndAdjustedEbitdaDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Upper limit of the provided range.",
        "label": "Maximum [Member]",
        "terseLabel": "Maximum"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesMinimumFuturePaymentsDetails",
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPerformanceUnitAwardActivityDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringSignificantUnobservableInputsInLevel3ValuationDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillNarrativeDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangibleAssetsDetails",
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MinimumMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Lower limit of the provided range.",
        "label": "Minimum [Member]",
        "terseLabel": "Minimum"
       }
      }
     },
     "localname": "MinimumMember",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail",
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesMinimumFuturePaymentsDetails",
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringSignificantUnobservableInputsInLevel3ValuationDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillNarrativeDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangibleAssetsDetails",
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_NameOfMajorCustomerDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Single external customer or group of external customers.",
        "label": "Customer [Domain]",
        "terseLabel": "Customer [Domain]"
       }
      }
     },
     "localname": "NameOfMajorCustomerDomain",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/MajorCustomersAndConcentrationOfCreditRiskDetails",
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationRevenuesAndAdjustedEbitdaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_OfficerMember": {
     "auth_ref": [
      "r201"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Person with designation of officer.",
        "label": "Officer [Member]",
        "terseLabel": "Officer"
       }
      }
     },
     "localname": "OfficerMember",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_OwnershipAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by name of entity in which ownership interest is disclosed. Excludes equity method investee and named security investment.",
        "label": "Ownership [Axis]",
        "terseLabel": "Ownership [Axis]"
       }
      }
     },
     "localname": "OwnershipAxis",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_OwnershipDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Name of entity in which ownership interest is disclosed. Excludes equity method investee and named security investment.",
        "label": "Ownership [Domain]",
        "terseLabel": "Ownership [Domain]"
       }
      }
     },
     "localname": "OwnershipDomain",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ProFormaMember": {
     "auth_ref": [
      "r272",
      "r519"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information reported based on historical fact adjusted for fully or partially assumed fact. Excludes information reported for future period (forecast).",
        "label": "Pro Forma [Member]",
        "terseLabel": "Pro Forma [Member]"
       }
      }
     },
     "localname": "ProFormaMember",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ProductOrServiceAxis": {
     "auth_ref": [
      "r197",
      "r318",
      "r320",
      "r569",
      "r570"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by product and service, or group of similar products and similar services.",
        "label": "Product and Service [Axis]",
        "terseLabel": "Product and Service [Axis]"
       }
      }
     },
     "localname": "ProductOrServiceAxis",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfRevenueByIncomeStatementRpLineItemDetail",
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationRevenuesAndAdjustedEbitdaDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ProductsAndServicesDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Product or service, or a group of similar products or similar services.",
        "label": "Product and Service [Domain]",
        "terseLabel": "Product and Service [Domain]"
       }
      }
     },
     "localname": "ProductsAndServicesDomain",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfRevenueByIncomeStatementRpLineItemDetail",
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationRevenuesAndAdjustedEbitdaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by statistical measurement. Includes, but is not limited to, minimum, maximum, weighted average, arithmetic average, and median.",
        "label": "Statistical Measurement [Axis]",
        "terseLabel": "Statistical Measurement [Axis]"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail",
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesMinimumFuturePaymentsDetails",
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPerformanceUnitAwardActivityDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringSignificantUnobservableInputsInLevel3ValuationDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillNarrativeDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangibleAssetsDetails",
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Statistical measurement. Includes, but is not limited to, minimum, maximum, weighted average, arithmetic average, and median.",
        "label": "Statistical Measurement [Domain]",
        "terseLabel": "Statistical Measurement [Domain]"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail",
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesMinimumFuturePaymentsDetails",
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPerformanceUnitAwardActivityDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringSignificantUnobservableInputsInLevel3ValuationDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillNarrativeDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangibleAssetsDetails",
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RestatementAdjustmentMember": {
     "auth_ref": [
      "r144",
      "r146",
      "r147",
      "r148"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Effect of a correction of an error, other prior year adjustment, or application of a new accounting pronouncement on a financial statement line item or any per share amounts. The cumulative effect of the change on retained earnings or net assets in the statement of financial position would also be represented under this domain member.",
        "label": "Restatement Adjustment [Member]",
        "terseLabel": "Restatement Adjustment [Member]"
       }
      }
     },
     "localname": "RestatementAdjustmentMember",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RestatementAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by revision of previously issued financial statements.",
        "label": "Restatement [Axis]",
        "terseLabel": "Restatement [Axis]"
       }
      }
     },
     "localname": "RestatementAxis",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RestatementDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Revision of previously issued financial statements.",
        "label": "Restatement [Domain]",
        "terseLabel": "Restatement [Domain]"
       }
      }
     },
     "localname": "RestatementDomain",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioPreviouslyReportedMember": {
     "auth_ref": [
      "r146",
      "r147",
      "r148"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents the amount as previously reported before the correction of an error or other adjustment.",
        "label": "Previously Reported [Member]",
        "terseLabel": "Previously Reported [Member]"
       }
      }
     },
     "localname": "ScenarioPreviouslyReportedMember",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioUnspecifiedDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Scenario reported, distinguishing information from actual fact. Includes, but is not limited to, pro forma and forecast. Excludes actual facts.",
        "label": "Scenario [Domain]",
        "terseLabel": "Scenario [Domain]"
       }
      }
     },
     "localname": "ScenarioUnspecifiedDomain",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfRevenueByIncomeStatementRpLineItemDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis": {
     "auth_ref": [
      "r213"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by name of investment, including named security. Excludes consolidated entity.",
        "label": "Investment, Name [Axis]",
        "terseLabel": "Investment, Name [Axis]"
       }
      }
     },
     "localname": "ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfMarenBakkenDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails",
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsSummaryOfEquityMethodInvestmentFinancialInformationDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail",
      "http://www.marathonpetroleum.com/role/SegmentInformationRevenuesAndAdjustedEbitdaDetails",
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSupplementalCashFlowInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_SegmentGeographicalDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Geographical area.",
        "label": "Geographical [Domain]",
        "terseLabel": "Geographical [Domain]"
       }
      }
     },
     "localname": "SegmentGeographicalDomain",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_StatementGeographicalAxis": {
     "auth_ref": [
      "r198",
      "r318",
      "r321",
      "r571",
      "r579",
      "r581",
      "r591",
      "r592"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by geographical components.",
        "label": "Geographical [Axis]",
        "terseLabel": "Geographical [Axis]"
       }
      }
     },
     "localname": "StatementGeographicalAxis",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_StatementScenarioAxis": {
     "auth_ref": [
      "r272",
      "r519"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by scenario reported, distinguishing information from actual fact. Includes, but is not limited to, pro forma and forecast. Excludes actual facts.",
        "label": "Scenario [Axis]",
        "terseLabel": "Scenario [Axis]"
       }
      }
     },
     "localname": "StatementScenarioAxis",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfRevenueByIncomeStatementRpLineItemDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_TitleOfIndividualAxis": {
     "auth_ref": [
      "r201",
      "r512"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by title of individual or nature of relationship to individual or group of individuals.",
        "label": "Title of Individual [Axis]",
        "terseLabel": "Title of Individual [Axis]"
       }
      }
     },
     "localname": "TitleOfIndividualAxis",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_TitleOfIndividualWithRelationshipToEntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Title of individual, or nature of relationship to individual or group of individuals.",
        "label": "Title of Individual [Domain]",
        "terseLabel": "Title of Individual [Domain]"
       }
      }
     },
     "localname": "TitleOfIndividualWithRelationshipToEntityDomain",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "localname": "AccountingPoliciesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountingStandardsUpdate201409Member": {
     "auth_ref": [
      "r327"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accounting Standards Update 2014-09 Revenue from Contracts with Customers (Topic 606).",
        "label": "Accounting Standards Update 2014-09 [Member]",
        "terseLabel": "Accounting Standards Update 2014-09 [Member]"
       }
      }
     },
     "localname": "AccountingStandardsUpdate201409Member",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueContractBalanceRollforwardDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingStandardsUpdate201602Member": {
     "auth_ref": [
      "r476"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accounting Standards Update 2016-02 Leases (Topic 842).",
        "label": "Accounting Standards Update 2016-02 [Member]",
        "terseLabel": "Accounting Standards Update 2016-02 [Member]"
       }
      }
     },
     "localname": "AccountingStandardsUpdate201602Member",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccountingStandardsAsu201602LeasesAndRelatedUpdatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountsPayableCurrent": {
     "auth_ref": [
      "r41"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accounts Payable, Current",
        "terseLabel": "Accounts payable"
       }
      }
     },
     "localname": "AccountsPayableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsPayableRelatedPartiesCurrentAndNoncurrent": {
     "auth_ref": [
      "r137",
      "r510",
      "r547",
      "r565"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount for accounts payable to related parties.",
        "label": "Accounts Payable, Related Parties",
        "terseLabel": "Accounts payable, related parties"
       }
      }
     },
     "localname": "AccountsPayableRelatedPartiesCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSupplementalCashFlowInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsReceivableNetCurrent": {
     "auth_ref": [
      "r4",
      "r27",
      "r202",
      "r203",
      "r319"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business, classified as current.",
        "label": "Accounts Receivable, after Allowance for Credit Loss, Current",
        "terseLabel": "Receivables, net"
       }
      }
     },
     "localname": "AccountsReceivableNetCurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsReceivableRelatedPartiesCurrent": {
     "auth_ref": [
      "r54",
      "r137",
      "r510",
      "r513",
      "r514"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of receivables arising from transactions with related parties due within one year or the normal operating cycle, if longer.",
        "label": "Accounts Receivable, Related Parties, Current",
        "terseLabel": "Accounts Receivable, Related Parties, Current"
       }
      }
     },
     "localname": "AccountsReceivableRelatedPartiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccrualForEnvironmentalLossContingencies": {
     "auth_ref": [
      "r261",
      "r270",
      "r271"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Total costs accrued as of the balance sheet date for environmental loss contingencies.",
        "label": "Accrual for Environmental Loss Contingencies",
        "terseLabel": "Accrual for environmental loss contingencies"
       }
      }
     },
     "localname": "AccrualForEnvironmentalLossContingencies",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedLiabilitiesCurrent": {
     "auth_ref": [
      "r45"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred and payable, pertaining to costs that are statutory in nature, are incurred on contractual obligations, or accumulate over time and for which invoices have not yet been received or will not be rendered. Examples include taxes, interest, rent and utilities. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accrued Liabilities, Current",
        "terseLabel": "Accrued liabilities"
       }
      }
     },
     "localname": "AccruedLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/DebtSmrTransactionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember": {
     "auth_ref": [
      "r66",
      "r70",
      "r71",
      "r333",
      "r402"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accumulated other comprehensive (income) loss related to defined benefit plans attributable to the parent.",
        "label": "Accumulated Defined Benefit Plans Adjustment Attributable to Parent [Member]",
        "terseLabel": "Accumulated Defined Benefit Plans Adjustment Attributable to Parent [Member]"
       }
      }
     },
     "localname": "AccumulatedDefinedBenefitPlansAdjustmentMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeAccumulatedOtherComprehensiveIncomeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment": {
     "auth_ref": [
      "r39",
      "r253"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail": {
       "order": 2.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of accumulated depreciation, depletion and amortization for physical assets used in the normal conduct of business to produce goods and services.",
        "label": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment",
        "terseLabel": "Accumulated depreciation",
        "verboseLabel": "Less accumulated depreciation"
       }
      }
     },
     "localname": "AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentNarrativeDetails",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Accumulated Other Comprehensive Income (Loss) [Line Items]",
        "terseLabel": "Accumulated Other Comprehensive Income (Loss) [Line Items]"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeAccumulatedOtherComprehensiveIncome",
      "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeAccumulatedOtherComprehensiveIncomeDetails",
      "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeAccumulatedOtherComprehensiveIncomeTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax": {
     "auth_ref": [
      "r68",
      "r69",
      "r70"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at period end. Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners. Includes foreign currency translation items, certain pension adjustments, unrealized gains and losses on certain investments in debt and equity securities, other than temporary impairment (OTTI) losses related to factors other than credit losses on available-for-sale and held-to-maturity debt securities that an entity does not intend to sell and it is not more likely than not that the entity will be required to sell before recovery of the amortized cost basis, as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge.",
        "label": "Accumulated Other Comprehensive Income (Loss), Net of Tax",
        "terseLabel": "Accumulated other comprehensive loss"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeAccumulatedOtherComprehensiveIncomeDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about components of accumulated other comprehensive income (loss).",
        "label": "Accumulated Other Comprehensive Income (Loss) [Table]",
        "terseLabel": "Accumulated Other Comprehensive Income (Loss) [Table]"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeAccumulatedOtherComprehensiveIncome",
      "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeAccumulatedOtherComprehensiveIncomeDetails",
      "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeAccumulatedOtherComprehensiveIncomeTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeMember": {
     "auth_ref": [
      "r67",
      "r70",
      "r71",
      "r402"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accumulated increase (decrease) in equity from transactions and other events and circumstances from non-owner sources, attributable to the parent. Excludes net income (loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners.",
        "label": "AOCI Attributable to Parent [Member]",
        "terseLabel": "AOCI Attributable to Parent"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife": {
     "auth_ref": [
      "r240"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average amortization period of finite-lived intangible assets acquired either individually or as part of a group of assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Acquired Finite-lived Intangible Assets, Weighted Average Useful Life",
        "terseLabel": "Acquired Finite-lived Intangible Assets, Weighted Average Useful Life"
       }
      }
     },
     "localname": "AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangibleAssetsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_AcquisitionCosts": {
     "auth_ref": [
      "r524",
      "r525"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The capitalized costs incurred during the period (excluded from amortization) to purchase, lease or otherwise acquire an unproved property, including costs of lease bonuses and options to purchase or lease properties, the portion of costs applicable to minerals when land including mineral rights is purchased in fee, brokers' fees, recording fees, legal costs, and other costs incurred in acquiring properties.",
        "label": "Acquisition Costs, Period Cost",
        "negatedTerseLabel": "Acquisition Costs, Period Cost",
        "terseLabel": "Acquisition Costs, Period Cost"
       }
      }
     },
     "localname": "AcquisitionCosts",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsForNewAccountingPronouncementsAxis": {
     "auth_ref": [
      "r143"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by new accounting pronouncement.",
        "label": "Adjustments for New Accounting Pronouncements [Axis]",
        "terseLabel": "Adjustments for New Accounting Pronouncements [Axis]"
       }
      }
     },
     "localname": "AdjustmentsForNewAccountingPronouncementsAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccountingStandardsAsu201602LeasesAndRelatedUpdatesDetails",
      "http://www.marathonpetroleum.com/role/RevenueContractBalanceRollforwardDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "Adjustments to reconcile net income to net cash provided by operating activities:"
       }
      }
     },
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AllocatedShareBasedCompensationExpense": {
     "auth_ref": [
      "r340",
      "r357",
      "r360"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of expense for award under share-based payment arrangement. Excludes amount capitalized.",
        "label": "Share-based Payment Arrangement, Expense",
        "terseLabel": "Total compensation expense"
       }
      }
     },
     "localname": "AllocatedShareBasedCompensationExpense",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmortizationOfFinancingCosts": {
     "auth_ref": [
      "r85",
      "r117",
      "r461"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of amortization expense attributable to debt issuance costs.",
        "label": "Amortization of Debt Issuance Costs",
        "terseLabel": "Amortization of deferred financing costs"
       }
      }
     },
     "localname": "AmortizationOfFinancingCosts",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmortizationOfIntangibleAssets": {
     "auth_ref": [
      "r117",
      "r238",
      "r246"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method.",
        "label": "Amortization of Intangible Assets",
        "terseLabel": "Amortization of Intangible Assets"
       }
      }
     },
     "localname": "AmortizationOfIntangibleAssets",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ArrangementsAndNonarrangementTransactionsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Collaborative arrangement and arrangement other than collaborative applicable to revenue-generating activity or operations.",
        "label": "Collaborative Arrangement and Arrangement Other than Collaborative [Domain]",
        "terseLabel": "Collaborative Arrangement and Arrangement Other than Collaborative [Domain]"
       }
      }
     },
     "localname": "ArrangementsAndNonarrangementTransactionsMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AssetRetirementObligationsPolicy": {
     "auth_ref": [
      "r127",
      "r259"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for legal obligation associated with retirement of long-lived asset that results from acquisition, construction, or development or from normal operation of long-lived asset. Excludes environmental remediation liability from improper or other-than-normal operation of long-lived asset, obligation arising in connection with leased property that meets definition of lease payments or variable lease payments and from plan to sell or otherwise dispose of a long-lived asset.",
        "label": "Asset Retirement Obligation [Policy Text Block]",
        "terseLabel": "Asset retirement obligations"
       }
      }
     },
     "localname": "AssetRetirementObligationsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AssetUnderConstructionMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Asset in process of being built.",
        "label": "Asset under Construction [Member]",
        "terseLabel": "Construction-in-progress"
       }
      }
     },
     "localname": "AssetUnderConstructionMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfExpensesByIncomeStatementRpLineItemDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r186",
      "r540",
      "r556"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets",
        "terseLabel": "Total assets",
        "totalLabel": "Total assets"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/SegmentInformationAssetsBySegmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Assets [Abstract]",
        "terseLabel": "Assets"
       }
      }
     },
     "localname": "AssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsCurrent": {
     "auth_ref": [
      "r7",
      "r9",
      "r59"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold, or consumed within one year (or the normal operating cycle, if longer). Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets, Current",
        "terseLabel": "Assets, Current",
        "totalLabel": "Total current assets"
       }
      }
     },
     "localname": "AssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Assets, Current [Abstract]",
        "terseLabel": "Current assets:"
       }
      }
     },
     "localname": "AssetsCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AwardTypeAxis": {
     "auth_ref": [
      "r341",
      "r359"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of award under share-based payment arrangement.",
        "label": "Award Type [Axis]",
        "terseLabel": "Award Type [Axis]"
       }
      }
     },
     "localname": "AwardTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationAssumptionsDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPerformanceUnitAwardActivityDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPhantomUnitAwardActivityDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfValuesRelatedToVestedAndUnvestedRestrictedStockAwardsDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by location on balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Axis]",
        "terseLabel": "Balance Sheet Location [Axis]"
       }
      }
     },
     "localname": "BalanceSheetLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccountingStandardsAsu201602LeasesAndRelatedUpdatesDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesBalanceSheetLocationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationDomain": {
     "auth_ref": [
      "r414",
      "r418"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Location in the balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Domain]",
        "terseLabel": "Balance Sheet Location [Domain]"
       }
      }
     },
     "localname": "BalanceSheetLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccountingStandardsAsu201602LeasesAndRelatedUpdatesDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesBalanceSheetLocationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BridgeLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Financing which is expected to be replaced by a medium to long-term loan. The loan \"bridges\" the gap in time when otherwise no financing would be in place.",
        "label": "Bridge Loan [Member]",
        "terseLabel": "Swingline Loan"
       }
      }
     },
     "localname": "BridgeLoanMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BusinessAcquisitionAcquireeDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Identification of the acquiree in a material business combination (or series of individually immaterial business combinations), which may include the name or other type of identification of the acquiree.",
        "label": "Business Acquisition, Acquiree [Domain]",
        "terseLabel": "Business Acquisition, Acquiree [Domain]"
       }
      }
     },
     "localname": "BusinessAcquisitionAcquireeDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfOzarkPipelineDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsTables",
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangibleAssetsDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BusinessAcquisitionAxis": {
     "auth_ref": [
      "r380",
      "r381"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by business combination or series of individually immaterial business combinations.",
        "label": "Business Acquisition [Axis]",
        "terseLabel": "Business Acquisition [Axis]"
       }
      }
     },
     "localname": "BusinessAcquisitionAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfOzarkPipelineDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsTables",
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangibleAssetsDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessAcquisitionEquityInterestIssuedOrIssuableValueAssigned": {
     "auth_ref": [
      "r388"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Value of equity interests (such as common shares, preferred shares, or partnership interest) issued or issuable to acquire the entity.",
        "label": "Business Acquisition, Equity Interest Issued or Issuable, Value Assigned",
        "terseLabel": "Equity interest issued or issuable, value assigned"
       }
      }
     },
     "localname": "BusinessAcquisitionEquityInterestIssuedOrIssuableValueAssigned",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessAcquisitionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Business Acquisition [Line Items]",
        "terseLabel": "Business Acquisition [Line Items]"
       }
      }
     },
     "localname": "BusinessAcquisitionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfOzarkPipelineDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessAcquisitionProFormaInformationTextBlock": {
     "auth_ref": [
      "r378",
      "r379"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of pro forma results of operations for a material business acquisition or series of individually immaterial business acquisitions that are material in the aggregate.",
        "label": "Business Acquisition, Pro Forma Information [Table Text Block]",
        "terseLabel": "Business Acquisition, Pro Forma Information"
       }
      }
     },
     "localname": "BusinessAcquisitionProFormaInformationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BusinessCombinationDisclosureTextBlock": {
     "auth_ref": [
      "r393"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for a business combination (or series of individually immaterial business combinations) completed during the period, including background, timing, and recognized assets and liabilities. The disclosure may include leverage buyout transactions (as applicable).",
        "label": "Business Combination Disclosure [Text Block]",
        "terseLabel": "Acquisitions"
       }
      }
     },
     "localname": "BusinessCombinationDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/Acquisitions"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual": {
     "auth_ref": [
      "r377"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This element represents the amount of earnings or loss of the acquiree since the acquisition date included in the consolidated income statement for the reporting period.",
        "label": "Business Combination, Pro Forma Information, Earnings or Loss of Acquiree since Acquisition Date, Actual",
        "terseLabel": "Business Combination, Pro Forma Information, Earnings or Loss of Acquiree since Acquisition Date, Actual",
        "verboseLabel": "Income from operations"
       }
      }
     },
     "localname": "BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfOzarkPipelineDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual": {
     "auth_ref": [
      "r377"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This element represents the amount of revenue of the acquiree since the acquisition date included in the consolidated income statement for the reporting period.",
        "label": "Business Combination, Pro Forma Information, Revenue of Acquiree since Acquisition Date, Actual",
        "terseLabel": "Business Combination, Pro Forma Information, Revenue of Acquiree since Acquisition Date, Actual",
        "verboseLabel": "Revenues and other income"
       }
      }
     },
     "localname": "BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfOzarkPipelineDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets": {
     "auth_ref": [
      "r383"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of assets acquired at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Assets",
        "terseLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Assets"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents": {
     "auth_ref": [
      "r383"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions, acquired at the acquisition date. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Cash and Equivalents",
        "terseLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Cash and Equivalents"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther": {
     "auth_ref": [
      "r383"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of other assets expected to be realized or consumed before one year or the normal operating cycle, if longer, acquired at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Assets, Other",
        "terseLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Assets, Other"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables": {
     "auth_ref": [
      "r383"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount due from customers or clients for goods or services, including trade receivables, that have been delivered or sold in the normal course of business, and amounts due from others, including related parties expected to be converted to cash, sold or exchanged within one year or the normal operating cycle, if longer, acquired at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Assets, Receivables",
        "terseLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Assets, Receivables"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable": {
     "auth_ref": [
      "r383"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterest",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of liabilities incurred for goods and services received that are used in an entity's business and related party payables, assumed at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Liabilities, Accounts Payable",
        "negatedTerseLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Liabilities, Accounts Payable",
        "terseLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Liabilities, Accounts Payable"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther": {
     "auth_ref": [
      "r383"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails": {
       "order": 7.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterest",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of other liabilities due within one year or within the normal operating cycle, if longer, assumed at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Liabilities, Other",
        "negatedTerseLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Liabilities, Other",
        "terseLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Liabilities, Other"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill": {
     "auth_ref": [
      "r383"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of intangible assets, excluding goodwill, acquired at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill",
        "terseLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory": {
     "auth_ref": [
      "r382",
      "r383"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of inventory recognized as of the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Inventory",
        "terseLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Inventory"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities": {
     "auth_ref": [
      "r383"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of liabilities assumed at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Liabilities",
        "terseLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Liabilities"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet": {
     "auth_ref": [
      "r382",
      "r383"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount recognized as of the acquisition date for the identifiable assets acquired in excess of (less than) the aggregate liabilities assumed.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Net",
        "terseLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Net"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt": {
     "auth_ref": [
      "r383"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of long-term debt due after one year or the normal operating cycle, if longer, assumed at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Noncurrent Liabilities, Long-term Debt",
        "terseLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Noncurrent Liabilities, Long-term Debt"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther": {
     "auth_ref": [
      "r383"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of other liabilities due after one year or the normal operating cycle, if longer, assumed at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Noncurrent Liabilities, Other",
        "terseLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Noncurrent Liabilities, Other"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets": {
     "auth_ref": [
      "r383"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of other assets expected to be realized or consumed after one year or the normal operating cycle, if longer, acquired at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Other Noncurrent Assets",
        "terseLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Other Noncurrent Assets"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment": {
     "auth_ref": [
      "r382",
      "r383"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of property, plant, and equipment recognized as of the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Property, Plant, and Equipment",
        "terseLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Property, Plant, and Equipment"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterest": {
     "auth_ref": [
      "r383"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount recognized as of the acquisition date for the assets, including goodwill, in excess of (less than) the aggregate liabilities assumed, less the noncontrolling interest in the acquiree.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired, Goodwill, and Liabilities Assumed, Less Noncontrolling Interest",
        "terseLabel": "Business Combination, Recognized Identifiable Assets Acquired, Goodwill, and Liabilities Assumed, Less Noncontrolling Interest",
        "totalLabel": "Business Combination, Recognized Identifiable Assets Acquired, Goodwill, and Liabilities Assumed, Less Noncontrolling Interest"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationSeparatelyRecognizedTransactionsAxis": {
     "auth_ref": [
      "r376"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosures related to transactions that are recognized separately from the acquisition of assets and assumptions of liabilities in the business combination by type of transaction.",
        "label": "Business Combination, Separately Recognized Transactions [Axis]",
        "terseLabel": "Business Combination, Separately Recognized Transactions [Axis]"
       }
      }
     },
     "localname": "BusinessCombinationSeparatelyRecognizedTransactionsAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPerformanceUnitAwardActivityDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessCombinationSeparatelyRecognizedTransactionsDomain": {
     "auth_ref": [
      "r376"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Type of transaction that is recognized separately from the acquisition of assets and assumptions of liabilities in a business combination by transaction.",
        "label": "Business Combination, Separately Recognized Transactions [Domain]",
        "terseLabel": "Business Combination, Separately Recognized Transactions [Domain]"
       }
      }
     },
     "localname": "BusinessCombinationSeparatelyRecognizedTransactionsDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPerformanceUnitAwardActivityDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BusinessCombinationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Business Combinations [Abstract]"
       }
      }
     },
     "localname": "BusinessCombinationsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessCombinationsPolicy": {
     "auth_ref": [
      "r127",
      "r374"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for completed business combinations (purchase method, acquisition method or combination of entities under common control). This accounting policy may include a general discussion of the purchase method or acquisition method of accounting (including for example, the treatment accorded contingent consideration, the identification of assets and liabilities, the purchase price allocation process, how the fair values of acquired assets and liabilities are determined) and the entity's specific application thereof. An entity that acquires another entity in a leveraged buyout transaction generally discloses the accounting policy followed by the acquiring entity in determining the basis used to value its interest in the acquired entity, and the rationale for that accounting policy.",
        "label": "Business Combinations Policy [Policy Text Block]",
        "terseLabel": "Business combinations"
       }
      }
     },
     "localname": "BusinessCombinationsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BusinessDescriptionAndBasisOfPresentationTextBlock": {
     "auth_ref": [
      "r2",
      "r142",
      "r180"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for the business description and basis of presentation concepts.  Business description describes the nature and type of organization including but not limited to organizational structure as may be applicable to holding companies, parent and subsidiary relationships, business divisions, business units, business segments, affiliates and information about significant ownership of the reporting entity.  Basis of presentation describes the underlying basis used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).",
        "label": "Business Description and Basis of Presentation [Text Block]",
        "terseLabel": "Business Description and Basis of Presentation [Text Block]"
       }
      }
     },
     "localname": "BusinessDescriptionAndBasisOfPresentationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CapitalLeasesFutureMinimumPaymentsDue": {
     "auth_ref": [
      "r475"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of minimum lease payments for capital leases.",
        "label": "Capital Leases, Future Minimum Payments Due",
        "terseLabel": "Capital Leases, Future Minimum Payments Due"
       }
      }
     },
     "localname": "CapitalLeasesFutureMinimumPaymentsDue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalLeasesFutureMinimumPaymentsDueCurrent": {
     "auth_ref": [
      "r475"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of minimum lease payments for capital leases due in the next fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Capital Leases, Future Minimum Payments Due, Next Twelve Months",
        "verboseLabel": "Capital Leases, Future Minimum Payments Due, Next Twelve Months"
       }
      }
     },
     "localname": "CapitalLeasesFutureMinimumPaymentsDueCurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFiveYears": {
     "auth_ref": [
      "r475"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of minimum lease payments for capital leases due in the fifth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Capital Leases, Future Minimum Payments Due in Five Years",
        "verboseLabel": "Capital Leases, Future Minimum Payments Due in Five Years"
       }
      }
     },
     "localname": "CapitalLeasesFutureMinimumPaymentsDueInFiveYears",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFourYears": {
     "auth_ref": [
      "r475"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of minimum lease payments for capital leases due in the fourth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Capital Leases, Future Minimum Payments Due in Four Years",
        "verboseLabel": "Capital Leases, Future Minimum Payments Due in Four Years"
       }
      }
     },
     "localname": "CapitalLeasesFutureMinimumPaymentsDueInFourYears",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalLeasesFutureMinimumPaymentsDueInThreeYears": {
     "auth_ref": [
      "r475"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of minimum lease payments for capital leases due in the third fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Capital Leases, Future Minimum Payments Due in Three Years",
        "verboseLabel": "Capital Leases, Future Minimum Payments Due in Three Years"
       }
      }
     },
     "localname": "CapitalLeasesFutureMinimumPaymentsDueInThreeYears",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalLeasesFutureMinimumPaymentsDueInTwoYears": {
     "auth_ref": [
      "r475"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of minimum lease payments for capital leases due in the second fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Capital Leases, Future Minimum Payments Due in Two Years",
        "verboseLabel": "Capital Leases, Future Minimum Payments Due in Two Years"
       }
      }
     },
     "localname": "CapitalLeasesFutureMinimumPaymentsDueInTwoYears",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalLeasesFutureMinimumPaymentsDueThereafter": {
     "auth_ref": [
      "r475"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of minimum lease payments for capital leases due after the fifth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Capital Leases, Future Minimum Payments Due Thereafter",
        "verboseLabel": "Capital Leases, Future Minimum Payments Due Thereafter"
       }
      }
     },
     "localname": "CapitalLeasesFutureMinimumPaymentsDueThereafter",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalLeasesFutureMinimumPaymentsInterestIncludedInPayments": {
     "auth_ref": [
      "r475"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount necessary to reduce net minimum lease payments to present value for capital leases.",
        "label": "Capital Leases, Future Minimum Payments, Interest Included in Payments",
        "terseLabel": "Less: imputed interest costs"
       }
      }
     },
     "localname": "CapitalLeasesFutureMinimumPaymentsInterestIncludedInPayments",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments": {
     "auth_ref": [
      "r475"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Present value of minimum lease payments for capital leases net of executory costs, including amounts paid by the lessee to the lessor for insurance, maintenance and taxes.",
        "label": "Capital Leases, Future Minimum Payments, Present Value of Net Minimum Payments",
        "terseLabel": "Capital Leases, Future Minimum Payments, Present Value of Net Minimum Payments"
       }
      }
     },
     "localname": "CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CarryingReportedAmountFairValueDisclosureMember": {
     "auth_ref": [
      "r451",
      "r452"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Measured as reported on the statement of financial position (balance sheet).",
        "label": "Reported Value Measurement [Member]",
        "terseLabel": "Reported Value Measurement [Member]"
       }
      }
     },
     "localname": "CarryingReportedAmountFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsReportedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r3",
      "r34",
      "r119"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.",
        "label": "Cash and Cash Equivalents, at Carrying Value",
        "terseLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/SegmentInformationAssetsBySegmentDetails",
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSummaryOfSupplementalCashFlowInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash and Cash Equivalents [Member]",
        "terseLabel": "Cash and Cash Equivalents [Member]"
       }
      }
     },
     "localname": "CashAndCashEquivalentsMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CashAndCashEquivalentsPolicyTextBlock": {
     "auth_ref": [
      "r15",
      "r120",
      "r127"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for cash and cash equivalents, including the policy for determining which items are treated as cash equivalents. Other information that may be disclosed includes (1) the nature of any restrictions on the entity's use of its cash and cash equivalents, (2) whether the entity's cash and cash equivalents are insured or expose the entity to credit risk, (3) the classification of any negative balance accounts (overdrafts), and (4) the carrying basis of cash equivalents (for example, at cost) and whether the carrying amount of cash equivalents approximates fair value.",
        "label": "Cash and Cash Equivalents, Policy [Policy Text Block]",
        "terseLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy": {
     "auth_ref": [
      "r15",
      "r120",
      "r127",
      "r539"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Entity's cash and cash equivalents accounting policy with respect to restricted balances.  Restrictions may include legally restricted deposits held as compensating balances against short-term borrowing arrangements, contracts entered into with others, or company statements of intention with regard to particular deposits; however, time deposits and short-term certificates of deposit are not generally included in legally restricted deposits.",
        "label": "Cash and Cash Equivalents, Restricted Cash and Cash Equivalents, Policy [Policy Text Block]",
        "terseLabel": "Restricted cash"
       }
      }
     },
     "localname": "CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r112",
      "r119",
      "r125"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage. Excludes amount for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents",
        "terseLabel": "Cash, cash equivalents and restricted cash at end of period",
        "verboseLabel": "Cash, cash equivalents and restricted cash at beginning of period"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSummaryOfSupplementalCashFlowInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect": {
     "auth_ref": [
      "r112",
      "r457"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of increase (decrease) in cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; excluding effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Period Increase (Decrease), Excluding Exchange Rate Effect",
        "totalLabel": "Net (decrease)/increase in cash, cash equivalents and restricted cash"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashFlowSupplementalDisclosuresTextBlock": {
     "auth_ref": [
      "r126"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for supplemental cash flow activities, including cash, noncash, and part noncash transactions, for the period. Noncash is defined as information about all investing and financing activities of an enterprise during a period that affect recognized assets or liabilities but that do not result in cash receipts or cash payments in the period. \"Part noncash\" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period.",
        "label": "Cash Flow, Supplemental Disclosures [Text Block]",
        "terseLabel": "Supplemental Cash Flow Information"
       }
      }
     },
     "localname": "CashFlowSupplementalDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ClassOfStockDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Share of stock differentiated by the voting rights the holder receives. Examples include, but are not limited to, common stock, redeemable preferred stock, nonredeemable preferred stock, and convertible stock.",
        "label": "Class of Stock [Domain]",
        "terseLabel": "Class of Stock [Domain]"
       }
      }
     },
     "localname": "ClassOfStockDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails",
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail",
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitScheduleOfDistributionsByPartnerClassDetail",
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ClassOfStockLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Class of Stock [Line Items]",
        "terseLabel": "Class of Stock [Line Items]"
       }
      }
     },
     "localname": "ClassOfStockLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommitmentsAndContingencies": {
     "auth_ref": [
      "r50",
      "r271",
      "r549",
      "r562"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur.",
        "label": "Commitments and Contingencies",
        "terseLabel": "Commitments and contingencies (see Note 23)"
       }
      }
     },
     "localname": "CommitmentsAndContingencies",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Commitments and Contingencies Disclosure [Abstract]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock": {
     "auth_ref": [
      "r269",
      "r278"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for commitments and contingencies.",
        "label": "Commitments and Contingencies Disclosure [Text Block]",
        "terseLabel": "Commitments and Contingencies"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingencies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommodityContractMember": {
     "auth_ref": [
      "r331",
      "r423"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Derivative instrument whose primary underlying risk is tied to commodity prices.",
        "label": "Commodity Contract [Member]",
        "terseLabel": "Commodity contracts",
        "verboseLabel": "Commodity Derivative Contracts (net)"
       }
      }
     },
     "localname": "CommodityContractMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativeFinancialInstrumentsVolumeOfDerivativeActivityDetails",
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesBalanceSheetLocationDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringChangesInLevel3MeasurementsDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringFinancialInstrumentsByValuationHierarchyDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ComprehensiveIncomeNetOfTax": {
     "auth_ref": [
      "r74",
      "r76",
      "r77"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfComprehensiveIncomeStatement": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income, attributable to parent entity. Excludes changes in equity resulting from investments by owners and distributions to owners.",
        "label": "Comprehensive Income (Loss), Net of Tax, Attributable to Parent",
        "totalLabel": "Comprehensive income attributable to MPLX LP"
       }
      }
     },
     "localname": "ComprehensiveIncomeNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfComprehensiveIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterestAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Comprehensive Income (Loss), Net of Tax, Attributable to Noncontrolling Interest [Abstract]",
        "terseLabel": "Less comprehensive income attributable to:"
       }
      }
     },
     "localname": "ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterestAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfComprehensiveIncomeStatement"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r74",
      "r76",
      "r397",
      "r404"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfComprehensiveIncomeStatement": {
       "order": 1.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income. Excludes changes in equity resulting from investments by owners and distributions to owners.",
        "label": "Comprehensive Income (Loss), Net of Tax, Including Portion Attributable to Noncontrolling Interest",
        "totalLabel": "Comprehensive income"
       }
      }
     },
     "localname": "ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfComprehensiveIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConcentrationRiskBenchmarkDomain": {
     "auth_ref": [
      "r174",
      "r175",
      "r453",
      "r454"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The denominator in a calculation of a disclosed concentration risk percentage.",
        "label": "Concentration Risk Benchmark [Domain]",
        "terseLabel": "Concentration Risk Benchmark [Domain]"
       }
      }
     },
     "localname": "ConcentrationRiskBenchmarkDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/MajorCustomersAndConcentrationOfCreditRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConcentrationRiskByBenchmarkAxis": {
     "auth_ref": [
      "r174",
      "r175",
      "r453",
      "r454",
      "r573"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by benchmark of concentration risk.",
        "label": "Concentration Risk Benchmark [Axis]",
        "terseLabel": "Concentration Risk Benchmark [Axis]"
       }
      }
     },
     "localname": "ConcentrationRiskByBenchmarkAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/MajorCustomersAndConcentrationOfCreditRiskDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskDisclosureTextBlock": {
     "auth_ref": [
      "r180"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for any concentrations existing at the date of the financial statements that make an entity vulnerable to a reasonably possible, near-term, severe impact. This disclosure informs financial statement users about the general nature of the risk associated with the concentration, and may indicate the percentage of concentration risk as of the balance sheet date.",
        "label": "Concentration Risk Disclosure [Text Block]",
        "terseLabel": "Major Customers and Concentration of Credit Risk"
       }
      }
     },
     "localname": "ConcentrationRiskDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/MajorCustomersAndConcentrationOfCreditRisk"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConcentrationRiskLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Concentration Risk [Line Items]",
        "terseLabel": "Concentration Risk [Line Items]"
       }
      }
     },
     "localname": "ConcentrationRiskLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/MajorCustomersAndConcentrationOfCreditRiskDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskPercentage1": {
     "auth_ref": [
      "r174",
      "r175",
      "r453",
      "r454"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the \"benchmark\" (or denominator) in the equation, this concept represents the concentration percentage derived from the division.",
        "label": "Concentration Risk, Percentage",
        "terseLabel": "Concentration risk, percentage"
       }
      }
     },
     "localname": "ConcentrationRiskPercentage1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/MajorCustomersAndConcentrationOfCreditRiskDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ConcentrationRiskTable": {
     "auth_ref": [
      "r173",
      "r174",
      "r175",
      "r176",
      "r453",
      "r455"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Describes the nature of a concentration, a benchmark to which it is compared, and the percentage that the risk is to the benchmark.",
        "label": "Concentration Risk [Table]",
        "terseLabel": "Major Customer and Concentration of Credit Risk [Table]"
       }
      }
     },
     "localname": "ConcentrationRiskTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/MajorCustomersAndConcentrationOfCreditRiskDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConsolidationPolicyTextBlock": {
     "auth_ref": [
      "r127",
      "r398",
      "r405",
      "r406"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy regarding (1) the principles it follows in consolidating or combining the separate financial statements, including the principles followed in determining the inclusion or exclusion of subsidiaries or other entities in the consolidated or combined financial statements and (2) its treatment of interests (for example, common stock, a partnership interest or other means of exerting influence) in other entities, for example consolidation or use of the equity or cost methods of accounting.  The accounting policy may also address the accounting treatment for intercompany accounts and transactions, noncontrolling interest, and the income statement treatment in consolidation for issuances of stock by a subsidiary.",
        "label": "Consolidation, Policy [Policy Text Block]",
        "terseLabel": "Basis of presentation"
       }
      }
     },
     "localname": "ConsolidationPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ContractWithCustomerAssetAndLiabilityTableTextBlock": {
     "auth_ref": [
      "r314"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of contract balances and changes in contract balances.",
        "label": "Contract with Customer, Asset and Liability [Table Text Block]",
        "terseLabel": "Contract with Customer, Asset and Liability [Table Text Block]"
       }
      }
     },
     "localname": "ContractWithCustomerAssetAndLiabilityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueRevenueTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ContractWithCustomerAssetGross": {
     "auth_ref": [
      "r309",
      "r311",
      "r319"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before allowance for credit loss, of right to consideration in exchange for good or service transferred to customer, when right is conditioned on something other than passage of time.",
        "label": "Contract with Customer, Asset, before Allowance for Credit Loss",
        "periodEndLabel": "Ending Balance Contract with Customer, Asset, Gross",
        "periodStartLabel": "Beginning Balance Contract with Customer, Asset, Gross"
       }
      }
     },
     "localname": "ContractWithCustomerAssetGross",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueContractBalanceRollforwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractWithCustomerAssetReclassifiedToReceivable": {
     "auth_ref": [
      "r312"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of decrease in right to consideration in exchange for good or service transferred to customer when right is conditioned on something other than passage of time from transfer to receivable due to right to consideration becoming unconditional.",
        "label": "Contract with Customer, Asset, Reclassified to Receivable",
        "terseLabel": "Contract with Customer, Asset, Reclassified to Receivable"
       }
      }
     },
     "localname": "ContractWithCustomerAssetReclassifiedToReceivable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueContractBalanceRollforwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractWithCustomerBasisOfPricingAxis": {
     "auth_ref": [
      "r323"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by basis of pricing for contract representing right to consideration in exchange for good or service transferred to customer.",
        "label": "Contract with Customer, Basis of Pricing [Axis]",
        "terseLabel": "Contract with Customer, Basis of Pricing [Axis]"
       }
      }
     },
     "localname": "ContractWithCustomerBasisOfPricingAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ContractWithCustomerBasisOfPricingDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Basis of pricing for contract with customer. Includes, but is not limited to, fixed-price and time-and-materials contracts.",
        "label": "Contract with Customer, Basis of Pricing [Domain]",
        "terseLabel": "Contract with Customer, Basis of Pricing [Domain]"
       }
      }
     },
     "localname": "ContractWithCustomerBasisOfPricingDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ContractWithCustomerDurationAxis": {
     "auth_ref": [
      "r324"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by duration of contract with customer. Includes, but is not limited to, short-term and long-term contracts.",
        "label": "Contract with Customer, Duration [Axis]",
        "terseLabel": "Contract with Customer, Duration [Axis]"
       }
      }
     },
     "localname": "ContractWithCustomerDurationAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ContractWithCustomerDurationDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Duration of contract with customer. Includes, but is not limited to, short-term and long-term contracts.",
        "label": "Contract with Customer, Duration [Domain]",
        "terseLabel": "Contract with Customer, Duration [Domain]"
       }
      }
     },
     "localname": "ContractWithCustomerDurationDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ContractWithCustomerLiability": {
     "auth_ref": [
      "r309",
      "r310",
      "r319"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable.",
        "label": "Contract with Customer, Liability",
        "terseLabel": "Contract with Customer, Liability"
       }
      }
     },
     "localname": "ContractWithCustomerLiability",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueRemainingPerformanceObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractWithCustomerLiabilityChangeInTimeframePerformanceObligationSatisfiedRevenueRecognized": {
     "auth_ref": [
      "r313"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of revenue recognized arising from contract liability from change in timeframe for performance obligation to be satisfied.",
        "label": "Contract with Customer, Liability, Change in Timeframe, Performance Obligation Satisfied, Revenue Recognized",
        "terseLabel": "Contract with Customer, Liability, Change in Timeframe, Performance Obligation Satisfied, Revenue Recognized"
       }
      }
     },
     "localname": "ContractWithCustomerLiabilityChangeInTimeframePerformanceObligationSatisfiedRevenueRecognized",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueContractBalanceRollforwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractWithCustomerSalesChannelAxis": {
     "auth_ref": [
      "r326"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by sales channel for delivery of good or service in contract with customer.",
        "label": "Contract with Customer, Sales Channel [Axis]",
        "terseLabel": "Contract with Customer, Sales Channel [Axis]"
       }
      }
     },
     "localname": "ContractWithCustomerSalesChannelAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ContractWithCustomerSalesChannelDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Sales channel for delivery of good or service in contract with customer. Includes, but is not limited to, directly to consumer and through intermediary.",
        "label": "Contract with Customer, Sales Channel [Domain]",
        "terseLabel": "Contract with Customer, Sales Channel [Domain]"
       }
      }
     },
     "localname": "ContractWithCustomerSalesChannelDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ContractualObligation": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesMinimumFuturePaymentsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of contractual obligation, including but not limited to, long-term debt, capital lease obligations, operating lease obligations, purchase obligations, and other commitments.",
        "label": "Contractual Obligation",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "ContractualObligation",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesMinimumFuturePaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractualObligationDueAfterFifthYear": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesMinimumFuturePaymentsDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_ContractualObligation",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of contractual obligation due after the fifth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Contractual Obligation, Due after Fifth Year",
        "terseLabel": "2025 and thereafter"
       }
      }
     },
     "localname": "ContractualObligationDueAfterFifthYear",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesMinimumFuturePaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractualObligationDueInFifthYear": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesMinimumFuturePaymentsDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_ContractualObligation",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of contractual obligation due in the fifth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Contractual Obligation, Due in Fifth Year",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "ContractualObligationDueInFifthYear",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesMinimumFuturePaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractualObligationDueInFourthYear": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesMinimumFuturePaymentsDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_ContractualObligation",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of contractual obligation due in the fourth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Contractual Obligation, Due in Fourth Year",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "ContractualObligationDueInFourthYear",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesMinimumFuturePaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractualObligationDueInNextTwelveMonths": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesMinimumFuturePaymentsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_ContractualObligation",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of contractual obligation due in the next fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Contractual Obligation, Due in Next Fiscal Year",
        "terseLabel": "2020"
       }
      }
     },
     "localname": "ContractualObligationDueInNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesMinimumFuturePaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractualObligationDueInSecondYear": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesMinimumFuturePaymentsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_ContractualObligation",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of contractual obligation due in the second fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Contractual Obligation, Due in Second Year",
        "terseLabel": "2021"
       }
      }
     },
     "localname": "ContractualObligationDueInSecondYear",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesMinimumFuturePaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractualObligationDueInThirdYear": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesMinimumFuturePaymentsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_ContractualObligation",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of contractual obligation due in the third fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Contractual Obligation, Due in Third Year",
        "terseLabel": "2022"
       }
      }
     },
     "localname": "ContractualObligationDueInThirdYear",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesMinimumFuturePaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContributionOfProperty": {
     "auth_ref": [
      "r122",
      "r123",
      "r124"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Value of property contributed in noncash investing and financing activities.",
        "label": "Contribution of Property",
        "verboseLabel": "Contribution - fixed assets to joint venture"
       }
      }
     },
     "localname": "ContributionOfProperty",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSummaryOfSupplementalCashFlowInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConvertiblePreferredStockConvertedToOtherSecurities": {
     "auth_ref": [
      "r157",
      "r296"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Value of convertible preferred stock that was converted to other securities.",
        "label": "Convertible Preferred Stock Converted to Other Securities",
        "negatedTerseLabel": "Convertible Preferred Stock Converted to Other Securities"
       }
      }
     },
     "localname": "ConvertiblePreferredStockConvertedToOtherSecurities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsRollforwardOfRedeemablePreferredUnitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CostOfGoodsAndServicesSold": {
     "auth_ref": [
      "r91"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The aggregate costs related to goods produced and sold and services rendered by an entity during the reporting period. This excludes costs incurred during the reporting period related to financial services rendered and other revenue generating activities.",
        "label": "Cost of Goods and Services Sold",
        "terseLabel": "Cost of Goods and Services Sold"
       }
      }
     },
     "localname": "CostOfGoodsAndServicesSold",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CostOfSalesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Primary financial statement caption encompassing cost of sales.",
        "label": "Cost of Sales [Member]",
        "terseLabel": "Cost of revenues"
       }
      }
     },
     "localname": "CostOfSalesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesIncomeStatementLocationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CostsAndExpenses": {
     "auth_ref": [
      "r87"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperations",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Total costs of sales and operating expenses for the period.",
        "label": "Costs and Expenses",
        "terseLabel": "Total costs and expenses"
       }
      }
     },
     "localname": "CostsAndExpenses",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CostsAndExpensesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Costs and Expenses [Abstract]",
        "terseLabel": "Costs and expenses:"
       }
      }
     },
     "localname": "CostsAndExpensesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CostsAndExpensesRelatedParty": {
     "auth_ref": [
      "r92"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Costs of sales and operating expenses for the period incurred from transactions with related parties.",
        "label": "Costs and Expenses, Related Party",
        "terseLabel": "Purchases - related parties"
       }
      }
     },
     "localname": "CostsAndExpensesRelatedParty",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CreditFacilityAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of credit facility. Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing.",
        "label": "Credit Facility [Axis]",
        "terseLabel": "Credit Facility [Axis]"
       }
      }
     },
     "localname": "CreditFacilityAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CreditFacilityDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Type of credit facility. Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing.",
        "label": "Credit Facility [Domain]",
        "terseLabel": "Credit Facility [Domain]"
       }
      }
     },
     "localname": "CreditFacilityDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CustomerContractsMember": {
     "auth_ref": [
      "r385"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Entity's established relationships with its customers through contracts.",
        "label": "Customer Contracts [Member]",
        "terseLabel": "Customer Contracts [Member]"
       }
      }
     },
     "localname": "CustomerContractsMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtAndCapitalLeaseObligations": {
     "auth_ref": [
      "r546",
      "r564"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of short-term and long-term debt and lease obligation.",
        "label": "Debt and Lease Obligation",
        "terseLabel": "Debt and capital lease obligations"
       }
      }
     },
     "localname": "DebtAndCapitalLeaseObligations",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtCurrent": {
     "auth_ref": [
      "r43"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of short-term debt and current maturity of long-term debt and capital lease obligations due within one year or the normal operating cycle, if longer.",
        "label": "Debt, Current",
        "terseLabel": "Amounts due within one year"
       }
      }
     },
     "localname": "DebtCurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Debt Disclosure [Abstract]"
       }
      }
     },
     "localname": "DebtDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtDisclosureTextBlock": {
     "auth_ref": [
      "r290"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants.",
        "label": "Debt Disclosure [Text Block]",
        "terseLabel": "Debt"
       }
      }
     },
     "localname": "DebtDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/Debt"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtInstrumentAxis": {
     "auth_ref": [
      "r19",
      "r20",
      "r21",
      "r541",
      "r542",
      "r555"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of debt instrument, including, but not limited to, draws against credit facilities.",
        "label": "Debt Instrument [Axis]",
        "terseLabel": "Debt Instrument [Axis]"
       }
      }
     },
     "localname": "DebtInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsIntercompanyLoansWithRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail",
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSupplementalCashFlowInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentCarryingAmount": {
     "auth_ref": [
      "r21",
      "r286",
      "r542",
      "r555"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt.",
        "label": "Long-term Debt, Gross",
        "terseLabel": "Long-term debt, gross",
        "verboseLabel": "Long-term debt, outstanding"
       }
      }
     },
     "localname": "DebtInstrumentCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentDescriptionOfVariableRateBasis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The reference rate for the variable rate of the debt instrument, such as LIBOR or the US Treasury rate and the maturity of the reference rate used, such as three months or six months LIBOR.",
        "label": "Debt Instrument, Description of Variable Rate Basis",
        "terseLabel": "Debt Instrument, Description of Variable Rate Basis"
       }
      }
     },
     "localname": "DebtInstrumentDescriptionOfVariableRateBasis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsIntercompanyLoansWithRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentInterestRateEffectivePercentage": {
     "auth_ref": [
      "r47",
      "r287",
      "r460"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium.",
        "label": "Debt Instrument, Interest Rate, Effective Percentage",
        "terseLabel": "Interest rate, effective percentage"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateEffectivePercentage",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentInterestRateStatedPercentage": {
     "auth_ref": [
      "r47"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Contractual interest rate for funds borrowed, under the debt agreement.",
        "label": "Debt Instrument, Interest Rate, Stated Percentage",
        "terseLabel": "Interest rate, stated percentage"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateStatedPercentage",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Debt Instrument [Line Items]",
        "terseLabel": "Debt Instrument [Line Items]"
       }
      }
     },
     "localname": "DebtInstrumentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentMaturityDate": {
     "auth_ref": [
      "r48",
      "r438"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Date when the debt instrument is scheduled to be fully repaid, in CCYY-MM-DD format.",
        "label": "Debt Instrument, Maturity Date",
        "terseLabel": "Debt Instrument, Maturity Date"
       }
      }
     },
     "localname": "DebtInstrumentMaturityDate",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "auth_ref": [
      "r49"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities.",
        "label": "Debt Instrument, Name [Domain]",
        "terseLabel": "Debt Instrument, Name [Domain]"
       }
      }
     },
     "localname": "DebtInstrumentNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsIntercompanyLoansWithRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail",
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSupplementalCashFlowInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtInstrumentTable": {
     "auth_ref": [
      "r49",
      "r135",
      "r296",
      "r299",
      "r300",
      "r301",
      "r459",
      "r460",
      "r462",
      "r554"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A table or schedule providing information pertaining to long-term debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Schedule of Long-term Debt Instruments [Table]",
        "terseLabel": "Schedule of Long-term Debt Instruments [Table]"
       }
      }
     },
     "localname": "DebtInstrumentTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentUnamortizedDiscount": {
     "auth_ref": [
      "r459",
      "r462"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after accumulated amortization, of debt discount.",
        "label": "Debt Instrument, Unamortized Discount",
        "terseLabel": "Unamortized discount"
       }
      }
     },
     "localname": "DebtInstrumentUnamortizedDiscount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtPolicyTextBlock": {
     "auth_ref": [
      "r127",
      "r284"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy related to debt. Includes, but is not limited to, debt issuance costs, the effects of refinancings, method of amortizing debt issuance costs and original issue discount, and classifications of debt.",
        "label": "Debt, Policy [Policy Text Block]",
        "terseLabel": "Deferred financing costs"
       }
      }
     },
     "localname": "DebtPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DeferredCompensationSharebasedArrangementsLiabilityCurrentAndNoncurrent": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Aggregate carrying value as of the balance sheet date of the liabilities for stock option plans and other equity-based compensation arrangements.",
        "label": "Deferred Compensation Share-based Arrangements, Liability, Current and Noncurrent",
        "terseLabel": "Accrued distributions"
       }
      }
     },
     "localname": "DeferredCompensationSharebasedArrangementsLiabilityCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredCreditsAndOtherLiabilitiesNoncurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 7.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of unearned revenue or income, not otherwise specified in the taxonomy, which is expected to be taken into income after one year or beyond the normal operating cycle, if longer and noncurrent obligations not separately disclosed in the balance sheet (other liabilities, noncurrent).",
        "label": "Deferred Credits and Other Liabilities, Noncurrent",
        "terseLabel": "Deferred credits and other liabilities"
       }
      }
     },
     "localname": "DeferredCreditsAndOtherLiabilitiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/DebtSmrTransactionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r117",
      "r131",
      "r370",
      "r371"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of deferred income tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Deferred Income Tax Expense (Benefit)",
        "terseLabel": "Deferred income taxes"
       }
      }
     },
     "localname": "DeferredIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredRentReceivablesNet": {
     "auth_ref": [
      "r58",
      "r466",
      "r467",
      "r468"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cumulative difference between the rental payments required by a lease agreement and the rental income or expense recognized on a straight-line basis, or other systematic and rational basis more representative of the time pattern in which use or benefit is granted or derived from the leased property, expected to be recognized in income or expense over the term of the leased property, by the lessor or lessee, respectively. Such receivable is reduced by allowances attributable to, for instance, credit risk associated with a lessee.",
        "label": "Deferred Rent Receivables, Net",
        "terseLabel": "Deferred Rent Receivables, Net"
       }
      }
     },
     "localname": "DeferredRentReceivablesNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredRevenueArrangementTypeAxis": {
     "auth_ref": [
      "r12"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of deferred revenue arrangement.",
        "label": "Deferred Revenue Arrangement Type [Axis]",
        "terseLabel": "Deferred Revenue Arrangement Type [Axis]"
       }
      }
     },
     "localname": "DeferredRevenueArrangementTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DeferredRevenueArrangementTypeDomain": {
     "auth_ref": [
      "r12"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Category of obligation arising when an entity receives consideration from a customer before achieving certain criteria that must be met for revenue to be recognized.",
        "label": "Deferred Revenue [Domain]",
        "terseLabel": "Deferred Revenue [Domain]"
       }
      }
     },
     "localname": "DeferredRevenueArrangementTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DeferredRevenueCurrent": {
     "auth_ref": [
      "r30"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of deferred income and obligation to transfer product and service to customer for which consideration has been received or is receivable, classified as current.",
        "label": "Deferred Revenue, Current",
        "periodEndLabel": "Ending Balance Deferred Revenue, Current",
        "periodStartLabel": "Beginning Balance Deferred Revenue, Current"
       }
      }
     },
     "localname": "DeferredRevenueCurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueContractBalanceRollforwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredRevenueNoncurrent": {
     "auth_ref": [
      "r30"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of deferred income and obligation to transfer product and service to customer for which consideration has been received or is receivable, classified as noncurrent.",
        "label": "Deferred Revenue, Noncurrent",
        "periodEndLabel": "Ending Balance Deferred Revenue, Noncurrent",
        "periodStartLabel": "Beginning Balance Deferred Revenue, Noncurrent",
        "terseLabel": "Long-term deferred revenue"
       }
      }
     },
     "localname": "DeferredRevenueNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/RevenueContractBalanceRollforwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredRevenuePeriodIncreaseDecrease": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of increase (decrease) in deferred revenue.",
        "label": "Deferred Revenue, Period Increase (Decrease)",
        "terseLabel": "Deferred Revenue, Period Increase (Decrease)"
       }
      }
     },
     "localname": "DeferredRevenuePeriodIncreaseDecrease",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueContractBalanceRollforwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredRevenueRevenueRecognized1": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of revenue recognized that was previously reported as deferred or unearned revenue.",
        "label": "Deferred Revenue, Revenue Recognized",
        "terseLabel": "Deferred Revenue, Revenue Recognized"
       }
      }
     },
     "localname": "DeferredRevenueRevenueRecognized1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueContractBalanceRollforwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilitiesNoncurrent": {
     "auth_ref": [
      "r364",
      "r365",
      "r366"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences, with jurisdictional netting and classified as noncurrent.",
        "label": "Deferred Tax Liabilities, Net, Noncurrent",
        "terseLabel": "Deferred income taxes"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Depreciation": {
     "auth_ref": [
      "r117",
      "r251"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of expense recognized in the current period that reflects the allocation of the cost of tangible assets over the assets' useful lives. Includes production and non-production related depreciation.",
        "label": "Depreciation",
        "terseLabel": "Depreciation and amortization"
       }
      }
     },
     "localname": "Depreciation",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssets": {
     "auth_ref": [
      "r61",
      "r62",
      "r450"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Asset",
        "verboseLabel": "Assets"
       }
      }
     },
     "localname": "DerivativeAssets",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringFinancialInstrumentsByValuationHierarchyDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeContractTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Financial instrument or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.",
        "label": "Derivative Contract [Domain]",
        "terseLabel": "Derivative Contract [Domain]"
       }
      }
     },
     "localname": "DerivativeContractTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativeFinancialInstrumentsVolumeOfDerivativeActivityDetails",
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesBalanceSheetLocationDetails",
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsEmbeddedDerivativesInCommodityContractsDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringChangesInLevel3MeasurementsDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringFinancialInstrumentsByValuationHierarchyDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeAsset": {
     "auth_ref": [
      "r60",
      "r63",
      "r416",
      "r522"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value, before effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets elected not to be offset. Excludes assets not subject to a master netting arrangement.",
        "label": "Derivative Asset, Fair Value, Gross Asset",
        "terseLabel": "Derivative asset, fair value, gross asset"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeAsset",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesBalanceSheetLocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeLiability": {
     "auth_ref": [
      "r60",
      "r63",
      "r416",
      "r522"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value, before effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities elected not to be offset. Excludes liabilities not subject to a master netting arrangement.",
        "label": "Derivative Liability, Fair Value, Gross Liability",
        "negatedTerseLabel": "Derivative liability, fair value, gross liability"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeLiability",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesBalanceSheetLocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeInstrumentRiskAxis": {
     "auth_ref": [
      "r415",
      "r417",
      "r421",
      "r424"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of derivative contract.",
        "label": "Derivative Instrument [Axis]",
        "terseLabel": "Derivative Instrument [Axis]"
       }
      }
     },
     "localname": "DerivativeInstrumentRiskAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativeFinancialInstrumentsVolumeOfDerivativeActivityDetails",
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesBalanceSheetLocationDetails",
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsEmbeddedDerivativesInCommodityContractsDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringChangesInLevel3MeasurementsDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringFinancialInstrumentsByValuationHierarchyDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Derivative Instruments and Hedging Activities Disclosure [Abstract]"
       }
      }
     },
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock": {
     "auth_ref": [
      "r432"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for derivative instruments and hedging activities including, but not limited to, risk management strategies, non-hedging derivative instruments, assets, liabilities, revenue and expenses, and methodologies and assumptions used in determining the amounts.",
        "label": "Derivative Instruments and Hedging Activities Disclosure [Text Block]",
        "terseLabel": "Derivative Financial Instruments"
       }
      }
     },
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstruments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DerivativeInstrumentsGainLossLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Derivative Instruments, Gain (Loss) [Line Items]",
        "terseLabel": "Derivative Instruments, Gain (Loss) [Line Items]"
       }
      }
     },
     "localname": "DerivativeInstrumentsGainLossLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesIncomeStatementLocationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet": {
     "auth_ref": [
      "r420",
      "r422"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of realized and unrealized gain (loss) of derivative instruments not designated or qualifying as hedging instruments.",
        "label": "Derivative Instruments Not Designated as Hedging Instruments, Gain (Loss), Net",
        "terseLabel": "Total derivative loss",
        "verboseLabel": "Other Operating Income"
       }
      }
     },
     "localname": "DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesIncomeStatementLocationDetails",
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilities": {
     "auth_ref": [
      "r61",
      "r62",
      "r450"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Liability",
        "negatedTerseLabel": "Liabilities"
       }
      }
     },
     "localname": "DerivativeLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringFinancialInstrumentsByValuationHierarchyDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Derivative [Line Items]",
        "terseLabel": "Derivative [Line Items]"
       }
      }
     },
     "localname": "DerivativeLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativeFinancialInstrumentsVolumeOfDerivativeActivityDetails",
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsEmbeddedDerivativesInCommodityContractsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeTable": {
     "auth_ref": [
      "r138",
      "r408",
      "r410",
      "r411",
      "r412",
      "r413",
      "r419",
      "r421",
      "r427",
      "r429",
      "r431"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule that describes and identifies a derivative or group of derivatives on a disaggregated basis, such as for individual instruments, or small groups of similar instruments. May include a combination of the type of instrument, risks being hedged, notional amount, hedge designation, related hedged item, inception date, maturity date, or other relevant item.",
        "label": "Derivative [Table]",
        "terseLabel": "Derivative [Table]"
       }
      }
     },
     "localname": "DerivativeTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativeFinancialInstrumentsVolumeOfDerivativeActivityDetails",
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesIncomeStatementLocationDetails",
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsEmbeddedDerivativesInCommodityContractsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativesFairValueLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Derivatives, Fair Value [Line Items]",
        "terseLabel": "Derivatives, Fair Value [Line Items]"
       }
      }
     },
     "localname": "DerivativesFairValueLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesBalanceSheetLocationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativesPolicyTextBlock": {
     "auth_ref": [
      "r127",
      "r139",
      "r408",
      "r410",
      "r412",
      "r413",
      "r428"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for its derivative instruments and hedging activities.",
        "label": "Derivatives, Policy [Policy Text Block]",
        "terseLabel": "Derivative instruments"
       }
      }
     },
     "localname": "DerivativesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DescriptionOfNewAccountingPronouncementsNotYetAdopted": {
     "auth_ref": [
      "r149"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for a new accounting pronouncement that has been issued but not yet adopted.",
        "label": "Description of New Accounting Pronouncements Not yet Adopted [Text Block]",
        "terseLabel": "Description of New Accounting Pronouncements Not yet Adopted [Text Block]"
       }
      }
     },
     "localname": "DescriptionOfNewAccountingPronouncementsNotYetAdopted",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccountingStandardsNewAccountingPronouncementsNotYetAdoptedTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DisaggregationOfRevenueLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Disaggregation of Revenue [Line Items]",
        "terseLabel": "Disaggregation of Revenue [Line Items]"
       }
      }
     },
     "localname": "DisaggregationOfRevenueLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DisaggregationOfRevenueTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about disaggregation of revenue into categories depicting how nature, amount, timing, and uncertainty of revenue and cash flows are affected by economic factor.",
        "label": "Disaggregation of Revenue [Table]",
        "terseLabel": "Disaggregation of Revenue [Table]"
       }
      }
     },
     "localname": "DisaggregationOfRevenueTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DisaggregationOfRevenueTableTextBlock": {
     "auth_ref": [
      "r318"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of disaggregation of revenue into categories depicting how nature, amount, timing, and uncertainty of revenue and cash flows are affected by economic factor.",
        "label": "Disaggregation of Revenue [Table Text Block]",
        "terseLabel": "Disaggregation of Revenue [Table Text Block]"
       }
      }
     },
     "localname": "DisaggregationOfRevenueTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueRevenueTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock": {
     "auth_ref": [
      "r361"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for share-based payment arrangement.",
        "label": "Share-based Payment Arrangement [Text Block]",
        "terseLabel": "Equity-Based Compensation"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Share-based Payment Arrangement [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DistributionMadeToLimitedPartnerCashDistributionsDeclared": {
     "auth_ref": [
      "r166",
      "r167",
      "r303"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of equity impact of cash distribution declared to unit-holder of limited partnership (LP).",
        "label": "Distribution Made to Limited Partner, Cash Distributions Declared",
        "terseLabel": "Total cash distributions declared",
        "verboseLabel": "Distributions to preferred units"
       }
      }
     },
     "localname": "DistributionMadeToLimitedPartnerCashDistributionsDeclared",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails",
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail",
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitScheduleOfDistributionsByPartnerClassDetail",
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DistributionMadeToLimitedPartnerCashDistributionsPaid": {
     "auth_ref": [
      "r166",
      "r167",
      "r303"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash distribution paid to unit-holder of limited partnership (LP).",
        "label": "Distribution Made to Limited Partner, Cash Distributions Paid",
        "negatedTerseLabel": "Distributions to unitholders and general partner"
       }
      }
     },
     "localname": "DistributionMadeToLimitedPartnerCashDistributionsPaid",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsRollforwardOfRedeemablePreferredUnitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DistributionMadeToLimitedPartnerDateOfRecord": {
     "auth_ref": [
      "r166",
      "r167",
      "r303"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Date of record for distribution of cash or unit to limited partner of limited partnership (LP), in CCYY-MM-DD format.",
        "label": "Distribution Made to Limited Partner, Date of Record",
        "terseLabel": "Distribution made to limited partner, date of record"
       }
      }
     },
     "localname": "DistributionMadeToLimitedPartnerDateOfRecord",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DistributionMadeToLimitedPartnerDeclarationDate": {
     "auth_ref": [
      "r166",
      "r167",
      "r303"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Date of declaration for distribution of cash or unit to limited partner of limited partnership (LP), in CCYY-MM-DD format.",
        "label": "Distribution Made to Limited Partner, Declaration Date",
        "terseLabel": "Distribution made to limited partner, declaration date"
       }
      }
     },
     "localname": "DistributionMadeToLimitedPartnerDeclarationDate",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsNarrativeDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DistributionMadeToLimitedPartnerDistributionDate": {
     "auth_ref": [
      "r166",
      "r167",
      "r303"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Date of distribution for distribution of cash or unit to limited partner of limited partnership (LP), in CCYY-MM-DD format.",
        "label": "Distribution Made to Limited Partner, Distribution Date",
        "terseLabel": "Distribution made to limited partner, distribution date"
       }
      }
     },
     "localname": "DistributionMadeToLimitedPartnerDistributionDate",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DistributionMadeToLimitedPartnerDistributionsDeclaredPerUnit": {
     "auth_ref": [
      "r166",
      "r167",
      "r303"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Per unit of ownership amount of cash distributions declared to unit-holder of a limited partnership (LP).",
        "label": "Distribution Made to Limited Partner, Distributions Declared, Per Unit",
        "terseLabel": "Cash distributions declared per limited partner common unit"
       }
      }
     },
     "localname": "DistributionMadeToLimitedPartnerDistributionsDeclaredPerUnit",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails",
      "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_DistributionsMadeToLimitedPartnerByDistributionTableTextBlock": {
     "auth_ref": [
      "r166",
      "r167",
      "r303"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of payment of cash or stock made to limited partner of limited partnership (LP).",
        "label": "Distributions Made to Limited Partner, by Distribution [Table Text Block]",
        "terseLabel": "Distributions Made to Limited Partner, by Distribution"
       }
      }
     },
     "localname": "DistributionsMadeToLimitedPartnerByDistributionTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DividendsPreferredStock": {
     "auth_ref": [
      "r303",
      "r553"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/EquityNetIncomeAllocationDetails": {
       "order": 2.0,
       "parentTag": "mpc_NetIncomeLossAvailableToGeneralAndLimitedPartners",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of paid and unpaid preferred stock dividends declared with the form of settlement in cash, stock and payment-in-kind (PIK).",
        "label": "Dividends, Preferred Stock",
        "negatedLabel": "Distributions to preferred unitholders",
        "terseLabel": "Less: Series A preferred unit distributions"
       }
      }
     },
     "localname": "DividendsPreferredStock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/EquityNetIncomeAllocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueFromRelatedPartiesCurrent": {
     "auth_ref": [
      "r5",
      "r16",
      "r26",
      "r132",
      "r510"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The aggregate amount of receivables to be collected from related parties where one party can exercise control or significant influence over another party; including affiliates, owners or officers and their immediate families, pension trusts, and so forth, at the financial statement date. which are usually due within one year (or one business cycle).",
        "label": "Due from Related Parties, Current",
        "verboseLabel": "Receivable from MPC for indemnification of environmental costs"
       }
      }
     },
     "localname": "DueFromRelatedPartiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueFromRelatedPartiesNoncurrent": {
     "auth_ref": [
      "r35",
      "r137",
      "r510"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Aggregate amount of receivables to be collected from related parties where one party can exercise control or significant influence over another party; including affiliates, owners or officers and their immediate families, pension trusts, and so forth, at the financial statement date. which are usually due after one year (or one business cycle).",
        "label": "Due from Related Parties, Noncurrent",
        "terseLabel": "Due from Related Parties, Noncurrent"
       }
      }
     },
     "localname": "DueFromRelatedPartiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueToRelatedPartiesCurrent": {
     "auth_ref": [
      "r41",
      "r137",
      "r510"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of obligations due all related parties. For classified balance sheets, represents the current portion of such liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Due to Related Parties, Current",
        "terseLabel": "Due to Related Parties, Current",
        "verboseLabel": "Current liabilities - related parties"
       }
      }
     },
     "localname": "DueToRelatedPartiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsIntercompanyLoansWithRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EarningsPerLimitedPartnershipUnitAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Net Income (Loss), Per Outstanding Limited Partnership Unit, Basic, Net of Tax [Abstract]",
        "terseLabel": "Per Unit Data (See Note 7)"
       }
      }
     },
     "localname": "EarningsPerLimitedPartnershipUnitAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Earnings Per Share [Abstract]"
       }
      }
     },
     "localname": "EarningsPerShareAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerSharePolicyTextBlock": {
     "auth_ref": [
      "r127",
      "r156",
      "r157",
      "r158"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for computing basic and diluted earnings or loss per share for each class of common stock and participating security. Addresses all significant policy factors, including any antidilutive items that have been excluded from the computation and takes into account stock dividends, splits and reverse splits that occur after the balance sheet date of the latest reporting period but before the issuance of the financial statements.",
        "label": "Earnings Per Share, Policy [Policy Text Block]",
        "terseLabel": "Net income per limited partner unit"
       }
      }
     },
     "localname": "EarningsPerSharePolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EarningsPerShareTextBlock": {
     "auth_ref": [
      "r160"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for earnings per share.",
        "label": "Earnings Per Share [Text Block]",
        "terseLabel": "Net Income (Loss) Per Limited Partner Unit"
       }
      }
     },
     "localname": "EarningsPerShareTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnit"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EmbeddedDerivativeFinancialInstrumentsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Derivative instrument embedded in host contract.",
        "label": "Embedded Derivative Financial Instruments [Member]",
        "terseLabel": "Embedded derivatives in commodity contracts",
        "verboseLabel": "Embedded Derivatives in Commodity Contracts (net)"
       }
      }
     },
     "localname": "EmbeddedDerivativeFinancialInstrumentsMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsEmbeddedDerivativesInCommodityContractsDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringChangesInLevel3MeasurementsDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringFinancialInstrumentsByValuationHierarchyDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1": {
     "auth_ref": [
      "r358"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition",
        "terseLabel": "Cost not yet recognized, period for recognition"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions": {
     "auth_ref": [
      "r358"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cost to be recognized for nonvested award under share-based payment arrangement. Excludes share and unit options.",
        "label": "Share-based Payment Arrangement, Nonvested Award, Excluding Option, Cost Not yet Recognized, Amount",
        "terseLabel": "Unrecognized compensation cost"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EnergyRelatedInventoryNaturalGasLiquids": {
     "auth_ref": [
      "r55"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/InventoriesSummaryOfInventoriesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_InventoryGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of liquid hydrocarbon components recovered from natural gas.",
        "label": "Energy Related Inventory, Natural Gas Liquids",
        "terseLabel": "NGLs"
       }
      }
     },
     "localname": "EnergyRelatedInventoryNaturalGasLiquids",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InventoriesSummaryOfInventoriesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EnvironmentalCostsPolicy": {
     "auth_ref": [
      "r127",
      "r260",
      "r262",
      "r263",
      "r264"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for obligations that resulted from improper or other-than normal operation of a long-lived asset in the past. This accounting policy may address (1) whether the related remediation costs are expensed or capitalized, (2) whether the obligation is measured on a discounted basis, (3) the event, situation, or set of circumstances that generally triggers recognition of loss contingencies arising from the entity's environmental remediation-related obligations, and (4) the timing of recognition of any recoveries.",
        "label": "Environmental Costs, Policy [Policy Text Block]",
        "terseLabel": "Environmental costs"
       }
      }
     },
     "localname": "EnvironmentalCostsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Equity [Abstract]"
       }
      }
     },
     "localname": "EquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_EquityComponentDomain": {
     "auth_ref": [
      "r295"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc.",
        "label": "Equity Component [Domain]",
        "terseLabel": "Equity Component [Domain]"
       }
      }
     },
     "localname": "EquityComponentDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeAccumulatedOtherComprehensiveIncome",
      "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeAccumulatedOtherComprehensiveIncomeDetails",
      "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeAccumulatedOtherComprehensiveIncomeTables",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/EquityAtmProgramDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityMethodInvestmentDifferenceBetweenCarryingAmountAndUnderlyingEquity": {
     "auth_ref": [
      "r215"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Difference between amount at which an investment accounted for under the equity method of accounting is carried (reported) on the balance sheet and amount of underlying equity in net assets the reporting Entity has in the investee.",
        "label": "Equity Method Investment, Difference Between Carrying Amount and Underlying Equity",
        "terseLabel": "Basis difference"
       }
      }
     },
     "localname": "EquityMethodInvestmentDifferenceBetweenCarryingAmountAndUnderlyingEquity",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentDividendsOrDistributions": {
     "auth_ref": [
      "r82",
      "r111",
      "r117",
      "r566"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of distribution received from equity method investee for return on investment, classified as operating activities. Excludes distribution for return of investment, classified as investing activities.",
        "label": "Proceeds from Equity Method Investment, Distribution",
        "terseLabel": "Distributions from unconsolidated affiliates"
       }
      }
     },
     "localname": "EquityMethodInvestmentDividendsOrDistributions",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentOtherThanTemporaryImpairment": {
     "auth_ref": [
      "r210"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This item represents an other than temporary decline in value that has been recognized against an investment accounted for under the equity method of accounting. The excess of the carrying amount over the fair value of the investment represents the amount of the write down which is or was reflected in earnings. The written down value is a new cost basis with the adjusted value of the investment becoming its new carrying value subject to the equity accounting method. Evidence of a loss in value might include, but would not necessarily be limited to, absence of an ability to recover the carrying amount of the investment or inability of the investee to sustain an earnings capacity which would justify the carrying amount of the investment.",
        "label": "Equity Method Investment, Other than Temporary Impairment",
        "terseLabel": "Equity Method Investment, Other than Temporary Impairment"
       }
      }
     },
     "localname": "EquityMethodInvestmentOtherThanTemporaryImpairment",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentOwnershipPercentage": {
     "auth_ref": [
      "r213"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The percentage of ownership of common stock or equity participation in the investee accounted for under the equity method of accounting.",
        "label": "Equity Method Investment, Ownership Percentage",
        "terseLabel": "Equity method investment, ownership percentage"
       }
      }
     },
     "localname": "EquityMethodInvestmentOwnershipPercentage",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfMarenBakkenDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails",
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EquityMethodInvestmentSummarizedFinancialInformationCurrentAssets": {
     "auth_ref": [
      "r1",
      "r130",
      "r212",
      "r217",
      "r456"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of current assets reported by an equity method investment of the entity.",
        "label": "Equity Method Investment, Summarized Financial Information, Current Assets",
        "terseLabel": "Current assets"
       }
      }
     },
     "localname": "EquityMethodInvestmentSummarizedFinancialInformationCurrentAssets",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentSummarizedFinancialInformationCurrentLiabilities": {
     "auth_ref": [
      "r1",
      "r130",
      "r212",
      "r217",
      "r456"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of current liabilities reported by an equity method investment of the entity.",
        "label": "Equity Method Investment, Summarized Financial Information, Current Liabilities",
        "terseLabel": "Current liabilities"
       }
      }
     },
     "localname": "EquityMethodInvestmentSummarizedFinancialInformationCurrentLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems": {
     "auth_ref": [
      "r1",
      "r130",
      "r212",
      "r217"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of income (loss) from continuing operations reported by an equity method investee.",
        "label": "Equity Method Investment, Summarized Financial Information, Income (Loss) from Continuing Operations",
        "terseLabel": "Income (loss) from operations"
       }
      }
     },
     "localname": "EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss": {
     "auth_ref": [
      "r1",
      "r130",
      "r212",
      "r217",
      "r456"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of net income (loss) reported by an equity method investment of the entity.",
        "label": "Equity Method Investment, Summarized Financial Information, Net Income (Loss)",
        "terseLabel": "Net income (loss)"
       }
      }
     },
     "localname": "EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNoncurrentAssets": {
     "auth_ref": [
      "r1",
      "r130",
      "r212",
      "r217",
      "r456"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of noncurrent assets reported by an equity method investment of the entity.",
        "label": "Equity Method Investment, Summarized Financial Information, Noncurrent Assets",
        "terseLabel": "Noncurrent assets"
       }
      }
     },
     "localname": "EquityMethodInvestmentSummarizedFinancialInformationNoncurrentAssets",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNoncurrentLiabilities": {
     "auth_ref": [
      "r1",
      "r130",
      "r212",
      "r217",
      "r456"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of noncurrent liabilities reported by an equity method investment of the entity.",
        "label": "Equity Method Investment, Summarized Financial Information, Noncurrent Liabilities",
        "terseLabel": "Noncurrent liabilities"
       }
      }
     },
     "localname": "EquityMethodInvestmentSummarizedFinancialInformationNoncurrentLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue": {
     "auth_ref": [
      "r1",
      "r217"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of revenue from sale of product and rendering of service reported by equity method investee.",
        "label": "Equity Method Investment, Summarized Financial Information, Revenue",
        "terseLabel": "Revenue and other income"
       }
      }
     },
     "localname": "EquityMethodInvestmentSummarizedFinancialInformationRevenue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestments": {
     "auth_ref": [
      "r36",
      "r187",
      "r211"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This item represents the carrying amount on the entity's balance sheet of its investment in common stock of an equity method investee. This is not an indicator of the fair value of the investment, rather it is the initial cost adjusted for the entity's share of earnings and losses of the investee, adjusted for any distributions (dividends) and other than temporary impairment (OTTI) losses recognized.",
        "label": "Equity Method Investments",
        "terseLabel": "Equity method investments"
       }
      }
     },
     "localname": "EquityMethodInvestments",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentsAndJointVenturesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Equity Method Investments and Joint Ventures [Abstract]"
       }
      }
     },
     "localname": "EquityMethodInvestmentsAndJointVenturesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_EquityMethodInvestmentsDisclosureTextBlock": {
     "auth_ref": [
      "r219",
      "r407"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for equity method investments and joint ventures. Equity method investments are investments that give the investor the ability to exercise significant influence over the operating and financial policies of an investee. Joint ventures are entities owned and operated by a small group of businesses as a separate and specific business or project for the mutual benefit of the members of the group.",
        "label": "Equity Method Investments and Joint Ventures Disclosure [Text Block]",
        "terseLabel": "Investments and Noncontrolling Interests"
       }
      }
     },
     "localname": "EquityMethodInvestmentsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterests"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EquityMethodInvestmentsPolicy": {
     "auth_ref": [
      "r36",
      "r111",
      "r127",
      "r214",
      "r456"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for equity method of accounting for investments and other interests. Investment includes, but is not limited to, unconsolidated subsidiary, corporate joint venture, noncontrolling interest in real estate venture, limited partnership, and limited liability company. Information includes, but is not limited to, ownership percentage, reason equity method is or is not considered appropriate, and accounting policy election for distribution received.",
        "label": "Equity Method Investments [Policy Text Block]",
        "terseLabel": "Investment in unconsolidated affiliates"
       }
      }
     },
     "localname": "EquityMethodInvestmentsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EquityMethodInvestmentsTextBlock": {
     "auth_ref": [
      "r218"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of equity method investments including, but not limited to, name of each investee or group of investments, percentage ownership, difference between recorded amount of an investment and the value of the underlying equity in the net assets, and summarized financial information.",
        "label": "Equity Method Investments [Table Text Block]",
        "terseLabel": "Equity Method Investments"
       }
      }
     },
     "localname": "EquityMethodInvestmentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EstimateOfFairValueFairValueDisclosureMember": {
     "auth_ref": [
      "r450"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Measured as an estimate of fair value.",
        "label": "Estimate of Fair Value Measurement [Member]",
        "terseLabel": "Estimate of Fair Value Measurement [Member]"
       }
      }
     },
     "localname": "EstimateOfFairValueFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsReportedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ExtinguishmentOfDebtAxis": {
     "auth_ref": [
      "r289"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information pertaining to the debt extinguished including the amount of gain (loss), the income tax effect on the gain (loss), and the amount of gain (loss), net or the related income tax, by debt instrument.",
        "label": "Extinguishment of Debt [Axis]",
        "terseLabel": "Extinguishment of Debt [Axis]"
       }
      }
     },
     "localname": "ExtinguishmentOfDebtAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ExtinguishmentOfDebtGainLossNetOfTax": {
     "auth_ref": [
      "r288"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The difference between the reacquisition price and the net carrying amount of the extinguished debt recognized currently as a component of income in the period of extinguishment, net of tax.",
        "label": "Extinguishment of Debt, Gain (Loss), Net of Tax",
        "negatedTerseLabel": "Extinguishment of Debt, Gain (Loss), Net of Tax",
        "terseLabel": "Extinguishment of Debt, Gain (Loss), Net of Tax"
       }
      }
     },
     "localname": "ExtinguishmentOfDebtGainLossNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ExtinguishmentOfDebtLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Extinguishment of Debt [Line Items]",
        "terseLabel": "Extinguishment of Debt [Line Items]"
       }
      }
     },
     "localname": "ExtinguishmentOfDebtLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ExtinguishmentOfDebtTypeDomain": {
     "auth_ref": [
      "r289"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Type of debt extinguished.",
        "label": "Extinguishment of Debt, Type [Domain]",
        "terseLabel": "Extinguishment of Debt, Type [Domain]"
       }
      }
     },
     "localname": "ExtinguishmentOfDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]",
        "terseLabel": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringFinancialInstrumentsByValuationHierarchyDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable": {
     "auth_ref": [
      "r433",
      "r434",
      "r435",
      "r444"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about asset and liability measured at fair value on recurring and nonrecurring basis.",
        "label": "Fair Value, Recurring and Nonrecurring [Table]",
        "terseLabel": "Fair Value, Recurring and Nonrecurring [Table]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringFinancialInstrumentsByValuationHierarchyDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain": {
     "auth_ref": [
      "r439"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Class of asset.",
        "label": "Asset Class [Domain]",
        "terseLabel": "Asset Class [Domain]"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]",
        "terseLabel": "Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]"
       }
      }
     },
     "localname": "FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsReportedDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByAssetClassAxis": {
     "auth_ref": [
      "r433",
      "r444"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by class of asset.",
        "label": "Asset Class [Axis]",
        "terseLabel": "Asset Class [Axis]"
       }
      }
     },
     "localname": "FairValueByAssetClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByBalanceSheetGroupingTable": {
     "auth_ref": [
      "r433",
      "r451",
      "r452"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about the fair value of financial instruments, including financial assets and financial liabilities, and the measurements of those instruments, assets, and liabilities.",
        "label": "Fair Value, by Balance Sheet Grouping [Table]",
        "terseLabel": "Fair Value, by Balance Sheet Grouping [Table]"
       }
      }
     },
     "localname": "FairValueByBalanceSheetGroupingTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsReportedDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByBalanceSheetGroupingTextBlock": {
     "auth_ref": [
      "r433",
      "r451"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the fair value of financial instruments, including financial assets and financial liabilities, and the measurements of those instruments, assets, and liabilities.",
        "label": "Fair Value, by Balance Sheet Grouping [Table Text Block]",
        "terseLabel": "Fair Value, by Balance Sheet Grouping [Table Text Block]"
       }
      }
     },
     "localname": "FairValueByBalanceSheetGroupingTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "auth_ref": [
      "r331",
      "r332",
      "r337",
      "r434",
      "r520"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient.",
        "label": "Fair Value Hierarchy and NAV [Axis]",
        "terseLabel": "Fair Value Hierarchy and NAV [Axis]"
       }
      }
     },
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringFinancialInstrumentsByValuationHierarchyDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementBasisAxis": {
     "auth_ref": [
      "r433",
      "r445"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by measurement basis.",
        "label": "Measurement Basis [Axis]",
        "terseLabel": "Measurement Basis [Axis]"
       }
      }
     },
     "localname": "FairValueByMeasurementBasisAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsReportedDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementFrequencyAxis": {
     "auth_ref": [
      "r433",
      "r434",
      "r437",
      "r438",
      "r446"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by measurement frequency.",
        "label": "Measurement Frequency [Axis]",
        "terseLabel": "Measurement Frequency [Axis]"
       }
      }
     },
     "localname": "FairValueByMeasurementFrequencyAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringFinancialInstrumentsByValuationHierarchyDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosureItemAmountsDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Measurement basis, for example, but not limited to, reported value, fair value, portion at fair value, portion at other than fair value.",
        "label": "Fair Value Measurement [Domain]",
        "terseLabel": "Fair Value Measurement [Domain]"
       }
      }
     },
     "localname": "FairValueDisclosureItemAmountsDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsReportedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Fair Value Disclosures [Abstract]"
       }
      }
     },
     "localname": "FairValueDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "auth_ref": [
      "r442"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.",
        "label": "Fair Value Disclosures [Text Block]",
        "terseLabel": "Fair Value Measurements"
       }
      }
     },
     "localname": "FairValueDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurements"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r331",
      "r332",
      "r337",
      "r434",
      "r521"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Inputs, Level 3 [Member]",
        "terseLabel": "Significant unobservable inputs (Level 3)"
       }
      }
     },
     "localname": "FairValueInputsLevel3Member",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringFinancialInstrumentsByValuationHierarchyDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementFrequencyDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Measurement frequency.",
        "label": "Measurement Frequency [Domain]",
        "terseLabel": "Measurement Frequency [Domain]"
       }
      }
     },
     "localname": "FairValueMeasurementFrequencyDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringFinancialInstrumentsByValuationHierarchyDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for fair value measurements of financial and non-financial assets, liabilities and instruments classified in shareholders' equity. Disclosures include, but are not limited to, how an entity that manages a group of financial assets and liabilities on the basis of its net exposure measures the fair value of those assets and liabilities.",
        "label": "Fair Value Measurement, Policy [Policy Text Block]",
        "terseLabel": "Fair value measurement"
       }
      }
     },
     "localname": "FairValueMeasurementPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
        "label": "Fair Value Hierarchy and NAV [Domain]",
        "terseLabel": "Fair Value Hierarchy and NAV [Domain]"
       }
      }
     },
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringFinancialInstrumentsByValuationHierarchyDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsRecurringMember": {
     "auth_ref": [
      "r442",
      "r446"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Frequent fair value measurement. Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, frequently measured at fair value.",
        "label": "Fair Value, Recurring [Member]",
        "terseLabel": "Fair Value, Recurring [Member]"
       }
      }
     },
     "localname": "FairValueMeasurementsRecurringMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringFinancialInstrumentsByValuationHierarchyDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]",
        "terseLabel": "Changes in Level 3 Fair Value Measurements [Line Items]"
       }
      }
     },
     "localname": "FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringChangesInLevel3MeasurementsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationRollForward": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Input Reconciliation [Roll Forward]",
        "terseLabel": "Derivative assets and liabilities classified by the Partnership within Level 3 of the valuation hierarchy [Roll Forward]"
       }
      }
     },
     "localname": "FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationRollForward",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringChangesInLevel3MeasurementsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTable": {
     "auth_ref": [
      "r439",
      "r443"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about financial instrument classified as a derivative asset (liability) after deduction of derivative liability (asset) using recurring unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Input Reconciliation [Table]",
        "terseLabel": "Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Input Reconciliation [Table]"
       }
      }
     },
     "localname": "FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringChangesInLevel3MeasurementsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock": {
     "auth_ref": [
      "r439",
      "r443"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of financial instrument classified as a derivative asset (liability) after deduction of derivative liability (asset) using recurring unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]",
        "terseLabel": "Schedule of changes in Level 3 fair value measurements [Table Text Block]"
       }
      }
     },
     "localname": "FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationGainLossIncludedInEarnings": {
     "auth_ref": [
      "r440",
      "r443"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of gain (loss) recognized in income from derivative asset (liability) after deduction of derivative liability (asset), measured at fair value on recurring basis using unobservable input (level 3).",
        "label": "Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Inputs Reconciliation, Gain (Loss) Included in Earnings",
        "terseLabel": "Total gains/(losses) (realized and unrealized) included in earnings(1)"
       }
      }
     },
     "localname": "FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationGainLossIncludedInEarnings",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringChangesInLevel3MeasurementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationSettlements": {
     "auth_ref": [
      "r441",
      "r443"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of settlements of financial instrument classified as a derivative asset (liability) after deduction of derivative liability, measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Inputs Reconciliation, Settlements",
        "terseLabel": "Settlements"
       }
      }
     },
     "localname": "FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationSettlements",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringChangesInLevel3MeasurementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisWithUnobservableInputs": {
     "auth_ref": [
      "r433",
      "r443"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value of financial instrument classified as derivative asset (liability) after deduction of derivative liability (asset), measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis with Unobservable Inputs",
        "periodEndLabel": "Fair value at end of period",
        "periodStartLabel": "Fair value at beginning of period"
       }
      }
     },
     "localname": "FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisWithUnobservableInputs",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringChangesInLevel3MeasurementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueOfFinancialInstrumentsPolicy": {
     "auth_ref": [
      "r127",
      "r447",
      "r449"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for determining the fair value of financial instruments.",
        "label": "Fair Value of Financial Instruments, Policy [Policy Text Block]",
        "terseLabel": "Fair value of financial instruments"
       }
      }
     },
     "localname": "FairValueOfFinancialInstrumentsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable": {
     "auth_ref": [
      "r414",
      "r419",
      "r430"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule that discloses the location and fair value amounts of derivative instruments (and nonderivative instruments that are designated and qualify as hedging instruments) reported in the statement of financial position.",
        "label": "Fair Values Derivatives, Balance Sheet Location, by Derivative Contract Type [Table]",
        "terseLabel": "Fair Values Derivatives, Balance Sheet Location, by Derivative Contract Type [Table]"
       }
      }
     },
     "localname": "FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesBalanceSheetLocationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinanceLeaseInterestExpense": {
     "auth_ref": [
      "r479",
      "r484",
      "r494"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of interest expense on finance lease liability.",
        "label": "Finance Lease, Interest Expense",
        "terseLabel": "Finance Lease, Interest Expense"
       }
      }
     },
     "localname": "FinanceLeaseInterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSummaryOfSupplementalCashFlowInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseInterestPaymentOnLiability": {
     "auth_ref": [
      "r481",
      "r488"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of interest paid on finance lease liability.",
        "label": "Finance Lease, Interest Payment on Liability",
        "terseLabel": "Finance Lease, Interest Payment on Liability"
       }
      }
     },
     "localname": "FinanceLeaseInterestPaymentOnLiability",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseLiability": {
     "auth_ref": [
      "r478",
      "r493"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from finance lease.",
        "label": "Finance Lease, Liability",
        "terseLabel": "Finance Lease, Liability"
       }
      }
     },
     "localname": "FinanceLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseLiabilityPaymentsDue": {
     "auth_ref": [
      "r493"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payments for finance lease.",
        "label": "Finance Lease, Liability, Payment, Due",
        "terseLabel": "Finance Lease, Liability, Payment, Due"
       }
      }
     },
     "localname": "FinanceLeaseLiabilityPaymentsDue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive": {
     "auth_ref": [
      "r493"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payments for finance lease, due after fifth fiscal year following latest fiscal year.",
        "label": "Finance Lease, Liability, Payments, Due after Year Five",
        "terseLabel": "Finance Lease, Liability, Payments, Due after Year Five"
       }
      }
     },
     "localname": "FinanceLeaseLiabilityPaymentsDueAfterYearFive",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths": {
     "auth_ref": [
      "r493"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payments for finance lease, due in next fiscal year following latest fiscal year.",
        "label": "Finance Lease, Liability, Payments, Due Next Twelve Months",
        "terseLabel": "Finance Lease, Liability, Payments, Due Next Twelve Months"
       }
      }
     },
     "localname": "FinanceLeaseLiabilityPaymentsDueNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive": {
     "auth_ref": [
      "r493"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payments for finance lease, due in fifth fiscal year following latest fiscal year.",
        "label": "Finance Lease, Liability, Payments, Due Year Five",
        "terseLabel": "Finance Lease, Liability, Payments, Due Year Five"
       }
      }
     },
     "localname": "FinanceLeaseLiabilityPaymentsDueYearFive",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour": {
     "auth_ref": [
      "r493"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payments for finance lease, due in fourth fiscal year following latest fiscal year.",
        "label": "Finance Lease, Liability, Payments, Due Year Four",
        "terseLabel": "Finance Lease, Liability, Payments, Due Year Four"
       }
      }
     },
     "localname": "FinanceLeaseLiabilityPaymentsDueYearFour",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree": {
     "auth_ref": [
      "r493"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payments for finance lease, due in third fiscal year following latest fiscal year.",
        "label": "Finance Lease, Liability, Payments, Due Year Three",
        "terseLabel": "Finance Lease, Liability, Payments, Due Year Three"
       }
      }
     },
     "localname": "FinanceLeaseLiabilityPaymentsDueYearThree",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo": {
     "auth_ref": [
      "r493"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payments for finance lease, due in second fiscal year following latest fiscal year.",
        "label": "Finance Lease, Liability, Payments, Due Year Two",
        "terseLabel": "Finance Lease, Liability, Payments, Due Year Two"
       }
      }
     },
     "localname": "FinanceLeaseLiabilityPaymentsDueYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeasePrincipalPayments": {
     "auth_ref": [
      "r480",
      "r488"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash outflow for principal payment on finance lease.",
        "label": "Finance Lease, Principal Payments",
        "terseLabel": "Finance Lease, Principal Payments"
       }
      }
     },
     "localname": "FinanceLeasePrincipalPayments",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSummaryOfSupplementalCashFlowInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseRightOfUseAssetAmortization": {
     "auth_ref": [
      "r479",
      "r484",
      "r494"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of amortization expense attributable to right-of-use asset from finance lease.",
        "label": "Finance Lease, Right-of-Use Asset, Amortization",
        "terseLabel": "Finance Lease, Right-of-Use Asset, Amortization"
       }
      }
     },
     "localname": "FinanceLeaseRightOfUseAssetAmortization",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinanceLeaseWeightedAverageDiscountRatePercent": {
     "auth_ref": [
      "r491",
      "r494"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average discount rate for finance lease calculated at point in time.",
        "label": "Finance Lease, Weighted Average Discount Rate, Percent",
        "terseLabel": "Finance Lease, Weighted Average Discount Rate, Percent"
       }
      }
     },
     "localname": "FinanceLeaseWeightedAverageDiscountRatePercent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_FinanceLeaseWeightedAverageRemainingLeaseTerm1": {
     "auth_ref": [
      "r490",
      "r494"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average remaining lease term for finance lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Finance Lease, Weighted Average Remaining Lease Term",
        "terseLabel": "Finance Lease, Weighted Average Remaining Lease Term"
       }
      }
     },
     "localname": "FinanceLeaseWeightedAverageRemainingLeaseTerm1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetUsefulLife": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Finite-Lived Intangible Asset, Useful Life",
        "terseLabel": "Finite-Lived Intangible Asset, Useful Life"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetUsefulLife",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangibleAssetsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization": {
     "auth_ref": [
      "r245"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Accumulated amount of amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite-Lived Intangible Assets, Accumulated Amortization",
        "negatedTerseLabel": "Accumulated amortization"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAccumulatedAmortization",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesFutureAmortizationExpenseDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of amortization expense for assets, excluding financial assets and goodwill, lacking physical substance with a finite life expected to be recognized after the fifth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Finite-Lived Intangible Assets, Amortization Expense, after Year Five",
        "terseLabel": "Thereafter"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesFutureAmortizationExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths": {
     "auth_ref": [
      "r247"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesFutureAmortizationExpenseDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of amortization expense for assets, excluding financial assets and goodwill, lacking physical substance with a finite life expected to be recognized during the next fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Finite-Lived Intangible Assets, Amortization Expense, Next Twelve Months",
        "terseLabel": "2018"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesFutureAmortizationExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive": {
     "auth_ref": [
      "r247"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesFutureAmortizationExpenseDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of amortization expense for assets, excluding financial assets and goodwill, lacking physical substance with a finite life expected to be recognized during the fifth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Finite-Lived Intangible Assets, Amortization Expense, Year Five",
        "verboseLabel": "2022"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearFive",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesFutureAmortizationExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour": {
     "auth_ref": [
      "r247"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesFutureAmortizationExpenseDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of amortization expense for assets, excluding financial assets and goodwill, lacking physical substance with a finite life expected to be recognized during the fourth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Finite-Lived Intangible Assets, Amortization Expense, Year Four",
        "terseLabel": "2021"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearFour",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesFutureAmortizationExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree": {
     "auth_ref": [
      "r247"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesFutureAmortizationExpenseDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of amortization expense for assets, excluding financial assets and goodwill, lacking physical substance with a finite life expected to be recognized during the third fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Finite-Lived Intangible Assets, Amortization Expense, Year Three",
        "terseLabel": "2020"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearThree",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesFutureAmortizationExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo": {
     "auth_ref": [
      "r247"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesFutureAmortizationExpenseDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of amortization expense for assets, excluding financial assets and goodwill, lacking physical substance with a finite life expected to be recognized during the second fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Finite-Lived Intangible Assets, Amortization Expense, Year Two",
        "terseLabel": "2019"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesFutureAmortizationExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis": {
     "auth_ref": [
      "r239",
      "r241",
      "r245",
      "r248",
      "r523"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by major type or class of finite-lived intangible assets.",
        "label": "Finite-Lived Intangible Assets by Major Class [Axis]",
        "terseLabel": "Finite-Lived Intangible Assets by Major Class [Axis]"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsByMajorClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsGross": {
     "auth_ref": [
      "r245",
      "r523"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount before amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite-Lived Intangible Assets, Gross",
        "terseLabel": "Gross"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsGross",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Finite-Lived Intangible Assets [Line Items]",
        "terseLabel": "Finite-Lived Intangible Assets [Line Items]"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangibleAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain": {
     "auth_ref": [
      "r239",
      "r244"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The major class of finite-lived intangible asset (for example, patents, trademarks, copyrights, etc.) A major class is composed of intangible assets that can be grouped together because they are similar, either by their nature or by their use in the operations of a company.",
        "label": "Finite-Lived Intangible Assets, Major Class Name [Domain]",
        "terseLabel": "Finite-Lived Intangible Assets, Major Class Name [Domain]"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsMajorClassNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsNet": {
     "auth_ref": [
      "r245"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesFutureAmortizationExpenseDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite-Lived Intangible Assets, Net",
        "totalLabel": "Total future intangibles amortization expenses"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesFutureAmortizationExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnDispositionOfAssets": {
     "auth_ref": [
      "r117",
      "r250",
      "r255"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of gain (loss) on sale or disposal of property, plant and equipment assets, excluding oil and gas property and timber property.",
        "label": "Gain (Loss) on Disposition of Property Plant Equipment, Excluding Oil and Gas Property and Timber Property",
        "negatedLabel": "Gain on disposal of assets"
       }
      }
     },
     "localname": "GainLossOnDispositionOfAssets",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GeneralAndAdministrativeExpense": {
     "auth_ref": [
      "r94"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The aggregate total of expenses of managing and administering the affairs of an entity, including affiliates of the reporting entity, which are not directly or indirectly associated with the manufacture, sale or creation of a product or product line.",
        "label": "General and Administrative Expense",
        "terseLabel": "General and administrative expenses"
       }
      }
     },
     "localname": "GeneralAndAdministrativeExpense",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GeneralAndAdministrativeExpenseMember": {
     "auth_ref": [
      "r84"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Primary financial statement caption encompassing general and administrative expense.",
        "label": "General and Administrative Expense [Member]",
        "terseLabel": "General and administrative expenses"
       }
      }
     },
     "localname": "GeneralAndAdministrativeExpenseMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GeneralPartnerMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Party to a partnership business who has unlimited liability.",
        "label": "General Partner [Member]",
        "terseLabel": "General Partner"
       }
      }
     },
     "localname": "GeneralPartnerMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail",
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitScheduleOfDistributionsByPartnerClassDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Goodwill": {
     "auth_ref": [
      "r225",
      "r227"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterest",
       "weight": 1.0
      },
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
        "label": "Goodwill",
        "periodEndLabel": "Goodwill, ending balance",
        "periodStartLabel": "Goodwill, beginning balance",
        "terseLabel": "Goodwill"
       }
      }
     },
     "localname": "Goodwill",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillNarrativeDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesReconciliationOfGoodwillDetails",
      "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillAcquiredDuringPeriod": {
     "auth_ref": [
      "r229"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of increase in asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized resulting from a business combination.",
        "label": "Goodwill, Acquired During Period",
        "terseLabel": "Acquisitions"
       }
      }
     },
     "localname": "GoodwillAcquiredDuringPeriod",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesReconciliationOfGoodwillDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetImpairment": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Total loss recognized during the period from the impairment of goodwill plus the loss recognized in the period resulting from the impairment of the carrying amount of intangible assets, other than goodwill.",
        "label": "Goodwill and Intangible Asset Impairment",
        "negatedTerseLabel": "Goodwill and Intangible Asset Impairment",
        "verboseLabel": "Impairment expense"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetImpairment",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails",
      "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Goodwill and Intangible Assets Disclosure [Abstract]"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock": {
     "auth_ref": [
      "r249"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for goodwill and intangible assets.",
        "label": "Goodwill and Intangible Assets Disclosure [Text Block]",
        "terseLabel": "Goodwill and Intangibles"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangibles"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsGoodwillPolicy": {
     "auth_ref": [
      "r127",
      "r233"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for goodwill. This accounting policy also may address how an entity assesses and measures impairment of goodwill, how reporting units are determined, how goodwill is allocated to such units, and how the fair values of the reporting units are determined.",
        "label": "Goodwill and Intangible Assets, Goodwill, Policy [Policy Text Block]",
        "terseLabel": "Goodwill"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsGoodwillPolicy",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsIntangibleAssetsPolicy": {
     "auth_ref": [
      "r127",
      "r242"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for intangible assets. This accounting policy may address both intangible assets subject to amortization and those that are not. The following also may be disclosed: (1) a description of intangible assets (2) the estimated useful lives of those assets (3) the amortization method used (4) how the entity assesses and measures impairment of such assets (5) how future cash flows are estimated (6) how the fair values of such asset are determined.",
        "label": "Goodwill and Intangible Assets, Intangible Assets, Policy [Policy Text Block]",
        "terseLabel": "Intangibles"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsIntangibleAssetsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GoodwillGross": {
     "auth_ref": [
      "r228",
      "r232"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount before accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
        "label": "Goodwill, Gross",
        "terseLabel": "Gross goodwill"
       }
      }
     },
     "localname": "GoodwillGross",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesReconciliationOfGoodwillDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillImpairedAccumulatedImpairmentLoss": {
     "auth_ref": [
      "r228",
      "r232"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of accumulated impairment loss for an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
        "label": "Goodwill, Impaired, Accumulated Impairment Loss",
        "negatedTerseLabel": "Accumulated impairment losses"
       }
      }
     },
     "localname": "GoodwillImpairedAccumulatedImpairmentLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesReconciliationOfGoodwillDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillImpairmentLoss": {
     "auth_ref": [
      "r117",
      "r226",
      "r230",
      "r235"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of loss from the write-down of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
        "label": "Goodwill, Impairment Loss",
        "negatedTerseLabel": "Impairment losses",
        "terseLabel": "Goodwill, Impairment Loss"
       }
      }
     },
     "localname": "GoodwillImpairmentLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillNarrativeDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesReconciliationOfGoodwillDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Goodwill [Line Items]",
        "terseLabel": "Goodwill [Line Items]"
       }
      }
     },
     "localname": "GoodwillLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillNarrativeDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesReconciliationOfGoodwillDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_GoodwillMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
        "label": "Goodwill [Member]",
        "terseLabel": "Goodwill"
       }
      }
     },
     "localname": "GoodwillMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GoodwillPurchaseAccountingAdjustments": {
     "auth_ref": [
      "r231",
      "r375"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of increase (decrease) from adjustments after acquisition date under purchase accounting of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
        "label": "Goodwill, Purchase Accounting Adjustments",
        "terseLabel": "Goodwill, Purchase Accounting Adjustments"
       }
      }
     },
     "localname": "GoodwillPurchaseAccountingAdjustments",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GuaranteeObligationsByNatureAxis": {
     "auth_ref": [
      "r283"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by nature of guarantee.",
        "label": "Guarantor Obligations, Nature [Axis]",
        "terseLabel": "Guarantor Obligations, Nature [Axis]"
       }
      }
     },
     "localname": "GuaranteeObligationsByNatureAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_GuaranteeObligationsMaximumExposure": {
     "auth_ref": [
      "r282"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Maximum potential amount of future payments (undiscounted) the guarantor could be required to make under the guarantee or each group of similar guarantees before reduction for potential recoveries under recourse or collateralization provisions.",
        "label": "Guarantor Obligations, Maximum Exposure, Undiscounted",
        "terseLabel": "Guarantor Obligations, Maximum Exposure, Undiscounted"
       }
      }
     },
     "localname": "GuaranteeObligationsMaximumExposure",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GuaranteeObligationsNatureDomain": {
     "auth_ref": [
      "r281"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents a description of the nature of the guarantee or each group of similar guarantees.",
        "label": "Guarantor Obligations, Nature [Domain]",
        "terseLabel": "Guarantor Obligations, Nature [Domain]"
       }
      }
     },
     "localname": "GuaranteeObligationsNatureDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GuaranteeTypeOtherMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Agreement that requires the guarantor to make payments to a guaranteed party in compensation for that party's or parties' loss or injury, classified as other.",
        "label": "Guarantee Type, Other [Member]",
        "terseLabel": "Guarantee Type, Other [Member]"
       }
      }
     },
     "localname": "GuaranteeTypeOtherMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_HedgingDesignationAxis": {
     "auth_ref": [
      "r412",
      "r425"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by designation of purpose of derivative instrument.",
        "label": "Hedging Designation [Axis]",
        "terseLabel": "Hedging Designation [Axis]"
       }
      }
     },
     "localname": "HedgingDesignationAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativeFinancialInstrumentsVolumeOfDerivativeActivityDetails",
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesBalanceSheetLocationDetails",
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesIncomeStatementLocationDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_HedgingDesignationDomain": {
     "auth_ref": [
      "r412"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Designation of purpose of derivative instrument.",
        "label": "Hedging Designation [Domain]",
        "terseLabel": "Hedging Designation [Domain]"
       }
      }
     },
     "localname": "HedgingDesignationDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativeFinancialInstrumentsVolumeOfDerivativeActivityDetails",
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesBalanceSheetLocationDetails",
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesIncomeStatementLocationDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncentiveDistributionMadeToManagingMemberOrGeneralPartnerLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Incentive Distribution Made to Managing Member or General Partner [Line Items]",
        "terseLabel": "Incentive Distribution Made to Managing Member or General Partner [Line Items]"
       }
      }
     },
     "localname": "IncentiveDistributionMadeToManagingMemberOrGeneralPartnerLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncentiveDistributionPolicyManagingMemberOrGeneralPartnerDescription": {
     "auth_ref": [
      "r153",
      "r154",
      "r159"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for an incentive policy and the associated accounting for a plan in a limited liability corporation or limited partnership that includes the payment of cash or stock or units to the managing member or general partner.",
        "label": "Incentive Distribution Policy, Managing Member or General Partner, Description [Policy Text Block]",
        "terseLabel": "Distributions"
       }
      }
     },
     "localname": "IncentiveDistributionPolicyManagingMemberOrGeneralPartnerDescription",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeApproachValuationTechniqueMember": {
     "auth_ref": [
      "r436"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Valuation approach converting future amounts to single current discounted amount.",
        "label": "Valuation, Income Approach [Member]",
        "terseLabel": "Income Approach Valuation Technique"
       }
      }
     },
     "localname": "IncomeApproachValuationTechniqueMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperations": {
     "auth_ref": [
      "r90",
      "r118",
      "r155",
      "r396"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount after tax of income (loss) from continuing operations attributable to the parent.",
        "label": "Income (Loss) from Continuing Operations, Net of Tax, Attributable to Parent",
        "terseLabel": "Income from operations",
        "totalLabel": "Income from operations"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperations",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "auth_ref": [
      "r81",
      "r144",
      "r538",
      "r551",
      "r568"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest.",
        "label": "Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest",
        "totalLabel": "Income before income taxes"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromEquityMethodInvestments": {
     "auth_ref": [
      "r82",
      "r117",
      "r184",
      "r211",
      "r550",
      "r566"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of income (loss) for proportionate share of equity method investee's income (loss).",
        "label": "Income (Loss) from Equity Method Investments",
        "negatedTerseLabel": "Income from equity method investments",
        "terseLabel": "Income (Loss) from Equity Method Investments",
        "verboseLabel": "Income from equity method investments"
       }
      }
     },
     "localname": "IncomeLossFromEquityMethodInvestments",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfMarenBakkenDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsSummaryOfEquityMethodInvestmentFinancialInformationDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationRevenuesAndAdjustedEbitdaDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Income Statement [Abstract]"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationAxis": {
     "auth_ref": [
      "r256"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by location in the income statement.",
        "label": "Income Statement Location [Axis]",
        "terseLabel": "Income Statement Location [Axis]"
       }
      }
     },
     "localname": "IncomeStatementLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesIncomeStatementLocationDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfExpensesByIncomeStatementRpLineItemDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Location in the income statement.",
        "label": "Income Statement Location [Domain]",
        "terseLabel": "Income Statement Location [Domain]"
       }
      }
     },
     "localname": "IncomeStatementLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesIncomeStatementLocationDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfExpensesByIncomeStatementRpLineItemDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r131",
      "r185",
      "r372"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Income Tax Expense (Benefit)",
        "verboseLabel": "Provision for income taxes"
       }
      }
     },
     "localname": "IncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxPolicyTextBlock": {
     "auth_ref": [
      "r78",
      "r127",
      "r362",
      "r363",
      "r367",
      "r368",
      "r369",
      "r373",
      "r580"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for income taxes, which may include its accounting policies for recognizing and measuring deferred tax assets and liabilities and related valuation allowances, recognizing investment tax credits, operating loss carryforwards, tax credit carryforwards, and other carryforwards, methodologies for determining its effective income tax rate and the characterization of interest and penalties in the financial statements.",
        "label": "Income Tax, Policy [Policy Text Block]",
        "terseLabel": "Income taxes"
       }
      }
     },
     "localname": "IncomeTaxPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxesPaid": {
     "auth_ref": [
      "r114",
      "r121"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income.",
        "label": "Income Taxes Paid",
        "terseLabel": "Income taxes paid"
       }
      }
     },
     "localname": "IncomeTaxesPaid",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSummaryOfSupplementalCashFlowInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities": {
     "auth_ref": [
      "r116"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the amounts payable to vendors for goods and services received and the amount of obligations and expenses incurred but not paid.",
        "label": "Increase (Decrease) in Accounts Payable and Accrued Liabilities",
        "terseLabel": "Current accounts payable and accrued liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsPayableAndAccruedLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsReceivable": {
     "auth_ref": [
      "r116"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in amount due within one year (or one business cycle) from customers for the credit sale of goods and services.",
        "label": "Increase (Decrease) in Accounts Receivable",
        "negatedLabel": "Current receivables"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsReceivable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDeferredRevenue": {
     "auth_ref": [
      "r116"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 16.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of increase (decrease) in deferred income and obligation to transfer product and service to customer for which consideration has been received or is receivable.",
        "label": "Increase (Decrease) in Deferred Revenue",
        "terseLabel": "Deferred revenue"
       }
      }
     },
     "localname": "IncreaseDecreaseInDeferredRevenue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDerivativeAssetsAndLiabilities": {
     "auth_ref": [
      "r116"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The increase (decrease) during the period in the net carrying value of derivative instruments reported as assets and liabilities that are due to be disposed of within one year (or the normal operating cycle, if longer).",
        "label": "Increase (Decrease) in Derivative Assets and Liabilities",
        "negatedTerseLabel": "Fair value of derivatives"
       }
      }
     },
     "localname": "IncreaseDecreaseInDerivativeAssetsAndLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDueFromRelatedPartiesCurrent": {
     "auth_ref": [
      "r116"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The aggregate increase (decrease) during the reporting period in the amount due from the following types of related parties: a parent company and its subsidiaries; subsidiaries of a common parent; an entity and trust for the benefit of employees, such as pension and profit-sharing trusts that are managed by or under the trusteeship of the entity's management; an entity and its principal owners, management, or member of their immediate families, affiliates, or other parties with the ability to exert significant influence.",
        "label": "Increase (Decrease) in Due from Related Parties, Current",
        "negatedLabel": "Current assets/current liabilities - related parties"
       }
      }
     },
     "localname": "IncreaseDecreaseInDueFromRelatedPartiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInInventories": {
     "auth_ref": [
      "r116"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the aggregate value of all inventory held by the reporting entity, associated with underlying transactions that are classified as operating activities.",
        "label": "Increase (Decrease) in Inventories",
        "negatedTerseLabel": "Inventories"
       }
      }
     },
     "localname": "IncreaseDecreaseInInventories",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Increase (Decrease) in Operating Capital [Abstract]",
        "terseLabel": "Changes in:"
       }
      }
     },
     "localname": "IncreaseDecreaseInOperatingCapitalAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet": {
     "auth_ref": [
      "r116"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 15.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of increase (decrease) in operating assets after deduction of operating liabilities classified as other.",
        "label": "Increase (Decrease) in Other Operating Assets and Liabilities, Net",
        "negatedTerseLabel": "Increase (Decrease) in Other Operating Assets and Liabilities, Net"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherOperatingCapitalNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IntangibleAssetsNetExcludingGoodwill": {
     "auth_ref": [
      "r237",
      "r243"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedLessNoncontrollingInterest",
       "weight": 1.0
      },
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Sum of the carrying amounts of all intangible assets, excluding goodwill, as of the balance sheet date, net of accumulated amortization and impairment charges.",
        "label": "Intangible Assets, Net (Excluding Goodwill)",
        "terseLabel": "Intangibles, net"
       }
      }
     },
     "localname": "IntangibleAssetsNetExcludingGoodwill",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestCostsCapitalized": {
     "auth_ref": [
      "r458"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of interest capitalized during the period.",
        "label": "Interest Costs Capitalized",
        "terseLabel": "Interest costs capitalized"
       }
      }
     },
     "localname": "InterestCostsCapitalized",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncomeConsolidatedStatementsOfIncomeParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestCostsIncurred": {
     "auth_ref": [
      "r458"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Total interest costs incurred during the period and either capitalized or charged against earnings.",
        "label": "Interest Costs Incurred",
        "terseLabel": "Interest Costs Incurred"
       }
      }
     },
     "localname": "InterestCostsIncurred",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseDebtExcludingAmortization": {
     "auth_ref": [
      "r96"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome": {
       "order": 3.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents the portion of interest incurred in the period on debt arrangements that was charged against earnings, excluding amortization of debt discount (premium) and financing costs.",
        "label": "Interest Expense, Debt, Excluding Amortization",
        "terseLabel": "Interest expense (net of amounts capitalized of $51 million, $37 million and $32 million, respectively)"
       }
      }
     },
     "localname": "InterestExpenseDebtExcludingAmortization",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPaidNet": {
     "auth_ref": [
      "r109",
      "r113",
      "r121"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash paid for interest, excluding capitalized interest, classified as operating activity. Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount.",
        "label": "Interest Paid, Excluding Capitalized Interest, Operating Activities",
        "terseLabel": "Interest paid (net of amounts capitalized)"
       }
      }
     },
     "localname": "InterestPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSummaryOfSupplementalCashFlowInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPayableCurrentAndNoncurrent": {
     "auth_ref": [
      "r547",
      "r563"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of interest payable on debt, including, but not limited to, trade payables.",
        "label": "Interest Payable",
        "terseLabel": "Accrued interest payable"
       }
      }
     },
     "localname": "InterestPayableCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InventoryDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Inventory Disclosure [Abstract]"
       }
      }
     },
     "localname": "InventoryDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_InventoryDisclosureTextBlock": {
     "auth_ref": [
      "r222"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for inventory. Includes, but is not limited to, the basis of stating inventory, the method of determining inventory cost, the classes of inventory, and the nature of the cost elements included in inventory.",
        "label": "Inventory Disclosure [Text Block]",
        "terseLabel": "Inventories"
       }
      }
     },
     "localname": "InventoryDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/Inventories"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InventoryGross": {
     "auth_ref": [
      "r55"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://www.marathonpetroleum.com/role/InventoriesSummaryOfInventoriesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Gross amount, as of the balance sheet date, of merchandise, goods, commodities, or supplies held for future sale or to be used in manufacturing, servicing or production process.",
        "label": "Inventory, Gross",
        "terseLabel": "Inventory, Gross",
        "totalLabel": "Total inventories",
        "verboseLabel": "Inventories"
       }
      }
     },
     "localname": "InventoryGross",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/InventoriesSummaryOfInventoriesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InventoryPolicyTextBlock": {
     "auth_ref": [
      "r13",
      "r56",
      "r127",
      "r161",
      "r220",
      "r221"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of inventory accounting policy for inventory classes, including, but not limited to, basis for determining inventory amounts, methods by which amounts are added and removed from inventory classes, loss recognition on impairment of inventories, and situations in which inventories are stated above cost.",
        "label": "Inventory, Policy [Policy Text Block]",
        "terseLabel": "Inventories"
       }
      }
     },
     "localname": "InventoryPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LaborAndRelatedExpense": {
     "auth_ref": [
      "r86"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of expense for salary, wage, profit sharing; incentive and equity-based compensation; and other employee benefit.",
        "label": "Labor and Related Expense",
        "terseLabel": "Expenses incurred under employee services agreements"
       }
      }
     },
     "localname": "LaborAndRelatedExpense",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfExpensesByIncomeStatementRpLineItemDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LeaseAgreementsMember": {
     "auth_ref": [
      "r386"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Contractual agreement that stipulates the lessee pay the lessor for use of an asset.",
        "label": "Lease Agreements [Member]",
        "terseLabel": "Lease Agreements [Member]"
       }
      }
     },
     "localname": "LeaseAgreementsMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LeaseArrangementTypeAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by group of related lease arrangements. For example, but not limited to, leases grouped by facility or contractual terms.",
        "label": "Lease Arrangement, Type [Axis]",
        "terseLabel": "Lease Arrangement, Type [Axis]"
       }
      }
     },
     "localname": "LeaseArrangementTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLeasesNarrativeDetails",
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosureTables",
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresTables",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LeaseArrangementTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Group of related lease arrangements. For example, but not limited to, leases grouped by facility or contractual terms.",
        "label": "Lease Arrangement, Type [Domain]",
        "terseLabel": "Lease Arrangement, Type [Domain]"
       }
      }
     },
     "localname": "LeaseArrangementTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLeasesNarrativeDetails",
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosureTables",
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresTables",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LeaseCost": {
     "auth_ref": [
      "r492",
      "r494"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of lease cost recognized by lessee for lease contract.",
        "label": "Lease, Cost",
        "terseLabel": "Lease, Cost"
       }
      }
     },
     "localname": "LeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LeaseCostTableTextBlock": {
     "auth_ref": [
      "r492"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of lessee's lease cost. Includes, but is not limited to, interest expense for finance lease, amortization of right-of-use asset for finance lease, operating lease cost, short-term lease cost, variable lease cost and sublease income.",
        "label": "Lease, Cost [Table Text Block]",
        "terseLabel": "Lease, Cost [Table Text Block]"
       }
      }
     },
     "localname": "LeaseCostTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosureTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LeasesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Leases [Abstract]"
       }
      }
     },
     "localname": "LeasesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_LesseeFinanceLeasesTextBlock": {
     "auth_ref": [
      "r495"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for finance leases of lessee. Includes, but is not limited to, description of lessee's finance lease and maturity analysis of finance lease liability.",
        "label": "Lessee, Finance Leases [Text Block]",
        "terseLabel": "Lessee, Finance Leases [Text Block]"
       }
      }
     },
     "localname": "LesseeFinanceLeasesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosureTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LesseeLeaseDescriptionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Lessee, Lease, Description [Line Items]",
        "terseLabel": "Lessee, Lease, Description [Line Items]"
       }
      }
     },
     "localname": "LesseeLeaseDescriptionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLeasesNarrativeDetails",
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosureTables",
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LesseeLeaseDescriptionTable": {
     "auth_ref": [
      "r483"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about lessee's leases.",
        "label": "Lessee, Lease, Description [Table]",
        "terseLabel": "Lessee, Lease, Disclosure [Table]"
       }
      }
     },
     "localname": "LesseeLeaseDescriptionTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLeasesNarrativeDetails",
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosureTables",
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue": {
     "auth_ref": [
      "r493"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payments for operating lease.",
        "label": "Lessee, Operating Lease, Liability, Payments, Due",
        "terseLabel": "Lessee, Operating Lease, Liability, Payments, Due"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive": {
     "auth_ref": [
      "r493"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payments for operating lease, due after fifth fiscal year following latest fiscal year.",
        "label": "Lessee, Operating Lease, Liability, Payments, Due after Year Five",
        "terseLabel": "Lessee, Operating Lease, Liability, Payments, Due after Year Five"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths": {
     "auth_ref": [
      "r493"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payments for operating lease, due in next fiscal year following latest fiscal year.",
        "label": "Lessee, Operating Lease, Liability, Payments, Due Next Twelve Months",
        "terseLabel": "Lessee, Operating Lease, Liability, Payments, Due Next Twelve Months"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive": {
     "auth_ref": [
      "r493"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payments for operating lease, due in fifth fiscal year following latest fiscal year.",
        "label": "Lessee, Operating Lease, Liability, Payments, Due Year Five",
        "terseLabel": "Lessee, Operating Lease, Liability, Payments, Due Year Five"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearFive",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour": {
     "auth_ref": [
      "r493"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payments for operating lease, due in fourth fiscal year following latest fiscal year.",
        "label": "Lessee, Operating Lease, Liability, Payments, Due Year Four",
        "terseLabel": "Lessee, Operating Lease, Liability, Payments, Due Year Four"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearFour",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree": {
     "auth_ref": [
      "r493"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payments for operating lease, due in third fiscal year following latest fiscal year.",
        "label": "Lessee, Operating Lease, Liability, Payments, Due Year Three",
        "terseLabel": "Lessee, Operating Lease, Liability, Payments, Due Year Three"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearThree",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo": {
     "auth_ref": [
      "r493"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payments for operating lease, due in second fiscal year following latest fiscal year.",
        "label": "Lessee, Operating Lease, Liability, Payments, Due Year Two",
        "terseLabel": "Lessee, Operating Lease, Liability, Payments, Due Year Two"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount": {
     "auth_ref": [
      "r493"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payments in excess of discounted obligation for lease payments for operating lease.",
        "label": "Lessee, Operating Lease, Liability, Undiscounted Excess Amount",
        "terseLabel": "Lessee, Operating Lease, Liability, Undiscounted Excess Amount"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityUndiscountedExcessAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LessorDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Lessor Disclosure [Abstract]"
       }
      }
     },
     "localname": "LessorDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_LessorLeaseDescriptionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Lessor, Lease, Description [Line Items]",
        "terseLabel": "Lessor, Lease, Description [Line Items]"
       }
      }
     },
     "localname": "LessorLeaseDescriptionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LessorLeaseDescriptionTable": {
     "auth_ref": [
      "r503"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about lessor's leases.",
        "label": "Lessor, Lease, Description [Table]",
        "terseLabel": "Lessor, Lease, Description [Table]"
       }
      }
     },
     "localname": "LessorLeaseDescriptionTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceivedFourYears": {
     "auth_ref": [
      "r501"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of lease payments to be received by lessor in fourth year following latest fiscal year for operating lease. Excludes interim and annual periods when interim periods are reported on rolling approach, from latest statement of financial position date.",
        "label": "Lessor, Operating Lease, Payments to be Received, Four Years",
        "terseLabel": "Lessor, Operating Lease, Payments to be Received, Four Years"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsToBeReceivedFourYears",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceivedMaturityTableTextBlock": {
     "auth_ref": [
      "r501"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of maturity of undiscounted cash flows to be received by lessor on annual basis for operating lease.",
        "label": "Lessor, Operating Lease, Payments to be Received, Maturity [Table Text Block]",
        "terseLabel": "Lessor, Operating Lease, Payments to be Received, Maturity [Table Text Block]"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsToBeReceivedMaturityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths": {
     "auth_ref": [
      "r501"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of lease payments to be received by lessor in next fiscal year following latest fiscal year for operating lease. Excludes interim and annual periods when interim periods are reported on rolling approach, from latest statement of financial position date.",
        "label": "Lessor, Operating Lease, Payments to be Received, Next Twelve Months",
        "terseLabel": "Lessor, Operating Lease, Payments to be Received, Next Twelve Months"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceivedRemainderOfFiscalYear": {
     "auth_ref": [
      "r501"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of lease payments to be received by lessor in remainder of fiscal year following latest fiscal year for operating lease. Excludes interim and annual periods when interim periods are reported on rolling approach, from latest statement of financial position date.",
        "label": "Lessor, Operating Lease, Payments to be Received, Remainder of Fiscal Year",
        "terseLabel": "Lessor, Operating Lease, Payments to be Received, Remainder of Fiscal Year"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsToBeReceivedRemainderOfFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceivedThereafter": {
     "auth_ref": [
      "r501"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of lease payments to be received by lessor after fifth fiscal year following latest statement of financial position date for operating lease. Excludes interim and annual periods when interim periods are reported on rolling approach, from latest statement of financial position date.",
        "label": "Lessor, Operating Lease, Payments to be Received, Thereafter",
        "terseLabel": "Lessor, Operating Lease, Payments to be Received, Thereafter"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsToBeReceivedThereafter",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceivedThreeYears": {
     "auth_ref": [
      "r501"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of lease payments to be received by lessor in third fiscal year following latest fiscal year for operating lease. Excludes interim and annual periods when interim periods are reported on rolling approach, from latest statement of financial position date.",
        "label": "Lessor, Operating Lease, Payments to be Received, Three Years",
        "terseLabel": "Lessor, Operating Lease, Payments to be Received, Three Years"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsToBeReceivedThreeYears",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceivedTwoYears": {
     "auth_ref": [
      "r501"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of lease payments to be received by lessor in second fiscal year following latest fiscal year for operating lease. Excludes interim and annual periods when interim periods are reported on rolling approach, from latest statement of financial position date.",
        "label": "Lessor, Operating Lease, Payments to be Received, Two Years",
        "terseLabel": "Lessor, Operating Lease, Payments to be Received, Two Years"
       }
      }
     },
     "localname": "LessorOperatingLeasePaymentsToBeReceivedTwoYears",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LessorSalesTypeLeaseAssumptionsAndJudgmentsValueOfUnderlyingAssetAmount": {
     "auth_ref": [
      "r502"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount that lessor expects to derive from underlying asset following end of sales-type lease term.",
        "label": "Lessor, Sales-type Lease, Assumptions and Judgments, Value of Underlying Asset, Amount",
        "terseLabel": "Lessor, Sales-type Lease, Assumptions and Judgments, Value of Underlying Asset, Amount"
       }
      }
     },
     "localname": "LessorSalesTypeLeaseAssumptionsAndJudgmentsValueOfUnderlyingAssetAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LetterOfCreditMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A document typically issued by a financial institution which acts as a guarantee of payment to a beneficiary, or as the source of payment for a specific transaction (for example, wiring funds to a foreign exporter if and when specified merchandise is accepted pursuant to the terms of the letter of credit).",
        "label": "Letter of Credit [Member]",
        "terseLabel": "Letter of Credit"
       }
      }
     },
     "localname": "LetterOfCreditMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LettersOfCreditOutstandingAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The total amount of the contingent obligation under letters of credit outstanding as of the reporting date.",
        "label": "Letters of Credit Outstanding, Amount",
        "terseLabel": "Letters of credit outstanding, amount"
       }
      }
     },
     "localname": "LettersOfCreditOutstandingAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Liabilities": {
     "auth_ref": [
      "r44"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
        "label": "Liabilities",
        "terseLabel": "Liabilities",
        "totalLabel": "Total liabilities"
       }
      }
     },
     "localname": "Liabilities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Liabilities [Abstract]",
        "terseLabel": "Liabilities"
       }
      }
     },
     "localname": "LiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "auth_ref": [
      "r29",
      "r545",
      "r560"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.",
        "label": "Liabilities and Equity",
        "terseLabel": "Liabilities and Equity",
        "totalLabel": "Total liabilities, preferred units and equity"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesCurrent": {
     "auth_ref": [
      "r46"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Total obligations incurred as part of normal operations that are expected to be paid during the following twelve months or within one business cycle, if longer.",
        "label": "Liabilities, Current",
        "terseLabel": "Liabilities, Current",
        "totalLabel": "Total current liabilities"
       }
      }
     },
     "localname": "LiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Liabilities, Current [Abstract]",
        "terseLabel": "Current liabilities:"
       }
      }
     },
     "localname": "LiabilitiesCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LimitedLiabilityCompanyLLCOrLimitedPartnershipLPManagingMemberOrGeneralPartnerOwnershipInterest": {
     "auth_ref": [
      "r167"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Percentage investment held by the managing member or general partner of the limited liability company (LLC) or limited partnership (LP).",
        "label": "Limited Liability Company (LLC) or Limited Partnership (LP), Managing Member or General Partner, Ownership Interest",
        "terseLabel": "Aggregate percentage of general partner interest",
        "verboseLabel": "Limited Liability Company (LLC) or Limited Partnership (LP), Managing Member or General Partner, Ownership Interest"
       }
      }
     },
     "localname": "LimitedLiabilityCompanyLLCOrLimitedPartnershipLPManagingMemberOrGeneralPartnerOwnershipInterest",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_LimitedLiabilityCompanyOrLimitedPartnershipBusinessFormationDate": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Date the limited liability company (LLC) or limited partnership (LP) was formed, in CCYY-MM-DD format.",
        "label": "Limited Liability Company or Limited Partnership, Business, Formation Date",
        "terseLabel": "Date of partnership formation"
       }
      }
     },
     "localname": "LimitedLiabilityCompanyOrLimitedPartnershipBusinessFormationDate",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationDetail"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_LimitedPartnersCapitalAccountAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Limited Partners' Capital Account [Abstract]",
        "terseLabel": "Weighted average limited partner units outstanding:"
       }
      }
     },
     "localname": "LimitedPartnersCapitalAccountAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LimitedPartnersCapitalAccountUnitsIssued": {
     "auth_ref": [
      "r166",
      "r305"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The number of limited partner units issued.",
        "label": "Limited Partners' Capital Account, Units Issued",
        "terseLabel": "Limited Partners' Capital Account, Units Issued",
        "verboseLabel": "Units issued"
       }
      }
     },
     "localname": "LimitedPartnersCapitalAccountUnitsIssued",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_LimitedPartnersCapitalAccountUnitsOutstanding": {
     "auth_ref": [
      "r166",
      "r305"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The number of limited partner units outstanding.",
        "label": "Limited Partners' Capital Account, Units Outstanding",
        "terseLabel": "Units outstanding",
        "verboseLabel": "Common units outstanding"
       }
      }
     },
     "localname": "LimitedPartnersCapitalAccountUnitsOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_LineOfCredit": {
     "auth_ref": [
      "r21",
      "r542",
      "r555"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement.",
        "label": "Long-term Line of Credit",
        "terseLabel": "Outstanding balance",
        "verboseLabel": "Long-term Line of Credit"
       }
      }
     },
     "localname": "LineOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsIntercompanyLoansWithRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity": {
     "auth_ref": [
      "r42"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of current borrowing capacity under the credit facility considering any current restrictions on the amount that could be borrowed (for example, borrowings may be limited by the amount of current assets), but without considering any amounts currently outstanding under the facility.",
        "label": "Line of Credit Facility, Current Borrowing Capacity",
        "terseLabel": "Line of Credit Facility, Current Borrowing Capacity"
       }
      }
     },
     "localname": "LineOfCreditFacilityCurrentBorrowingCapacity",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsIntercompanyLoansWithRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityExpirationDate1": {
     "auth_ref": [
      "r42"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Date the credit facility terminates, in CCYY-MM-DD format.",
        "label": "Line of Credit Facility, Expiration Date",
        "terseLabel": "Expiration date"
       }
      }
     },
     "localname": "LineOfCreditFacilityExpirationDate1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_LineOfCreditFacilityInterestRateDuringPeriod": {
     "auth_ref": [
      "r42"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The effective interest rate during the reporting period.",
        "label": "Line of Credit Facility, Interest Rate During Period",
        "terseLabel": "Interest rate during period"
       }
      }
     },
     "localname": "LineOfCreditFacilityInterestRateDuringPeriod",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsIntercompanyLoansWithRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity": {
     "auth_ref": [
      "r42"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Line of Credit Facility, Maximum Borrowing Capacity",
        "terseLabel": "Maximum borrowing capacity"
       }
      }
     },
     "localname": "LineOfCreditFacilityMaximumBorrowingCapacity",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity": {
     "auth_ref": [
      "r42"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding).",
        "label": "Line of Credit Facility, Remaining Borrowing Capacity",
        "terseLabel": "Remaining borrowing capacity"
       }
      }
     },
     "localname": "LineOfCreditFacilityRemainingBorrowingCapacity",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A contractual arrangement with a lender under which borrowings can be made up to a specific amount at any point in time, and under which borrowings outstanding may be either short-term or long-term, depending upon the particulars.",
        "label": "Line of Credit [Member]",
        "terseLabel": "Line of Credit"
       }
      }
     },
     "localname": "LineOfCreditMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LongTermDebtAndCapitalLeaseObligations": {
     "auth_ref": [
      "r21"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of long-term debt and lease obligation, classified as noncurrent.",
        "label": "Long-term Debt and Lease Obligation",
        "terseLabel": "Long-term debt",
        "verboseLabel": "Total long-term debt due after one year"
       }
      }
     },
     "localname": "LongTermDebtAndCapitalLeaseObligations",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtFairValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The fair value amount of long-term debt whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission.",
        "label": "Long-term Debt, Fair Value",
        "terseLabel": "Long-term debt"
       }
      }
     },
     "localname": "LongTermDebtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsReportedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive": {
     "auth_ref": [
      "r141",
      "r284"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing after the fifth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Long-term Debt, Maturities, Repayments of Principal after Year Five",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtScheduleOfDebtPaymentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths": {
     "auth_ref": [
      "r141",
      "r284"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the next fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Long-term Debt, Maturities, Repayments of Principal in Next Twelve Months",
        "terseLabel": "2020"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtScheduleOfDebtPaymentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour": {
     "auth_ref": [
      "r141",
      "r284"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the fourth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Long-term Debt, Maturities, Repayments of Principal in Year Four",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtScheduleOfDebtPaymentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree": {
     "auth_ref": [
      "r141",
      "r284"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the third fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Long-term Debt, Maturities, Repayments of Principal in Year Three",
        "terseLabel": "2022"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtScheduleOfDebtPaymentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo": {
     "auth_ref": [
      "r141",
      "r284"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the second fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Long-term Debt, Maturities, Repayments of Principal in Year Two",
        "terseLabel": "2021"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtScheduleOfDebtPaymentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturityDate": {
     "auth_ref": [
      "r438"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Maturity date of long-term debt, in CCYY-MM-DD format.",
        "label": "Long-term Debt, Maturity Date",
        "terseLabel": "Long-term Debt, Maturity Date"
       }
      }
     },
     "localname": "LongTermDebtMaturityDate",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_LongtermDebtTypeAxis": {
     "auth_ref": [
      "r49"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of long-term debt.",
        "label": "Long-term Debt, Type [Axis]",
        "terseLabel": "Long-term Debt, Type [Axis]"
       }
      }
     },
     "localname": "LongtermDebtTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongtermDebtTypeDomain": {
     "auth_ref": [
      "r49",
      "r285"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Type of long-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Long-term Debt, Type [Domain]",
        "terseLabel": "Long-term Debt, Type [Domain]"
       }
      }
     },
     "localname": "LongtermDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LossContingenciesByNatureOfContingencyAxis": {
     "auth_ref": [
      "r271",
      "r272",
      "r273",
      "r274",
      "r275",
      "r276",
      "r277",
      "r279",
      "r280"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of existing condition, situation, or set of circumstances involving uncertainty as to possible loss to an enterprise that will ultimately be resolved when one or more future events occur or fail to occur.",
        "label": "Loss Contingency Nature [Axis]",
        "terseLabel": "Loss Contingency Nature [Axis]"
       }
      }
     },
     "localname": "LossContingenciesByNatureOfContingencyAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LossContingencyNatureDomain": {
     "auth_ref": [
      "r271",
      "r272",
      "r273",
      "r274",
      "r275",
      "r276",
      "r277",
      "r279",
      "r280"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "An existing condition, situation, or set of circumstances involving uncertainty as to possible loss to an enterprise that will ultimately be resolved when one or more future events occur or fail to occur. Resolution of the uncertainty may confirm the incurrence of a loss or impairment of an asset or the incurrence of a liability.",
        "label": "Loss Contingency, Nature [Domain]",
        "terseLabel": "Loss Contingency, Nature [Domain]"
       }
      }
     },
     "localname": "LossContingencyNatureDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MajorPropertyClassAxis": {
     "auth_ref": [
      "r473"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of property owned but leased or available for lease to third parties, by major property class.",
        "label": "Major Property Class [Axis]",
        "terseLabel": "Major Property Class [Axis]"
       }
      }
     },
     "localname": "MajorPropertyClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MajorPropertyClassDomain": {
     "auth_ref": [
      "r473"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The major classes of assets leased or available for lease to third parties under operating lease agreements as of the balance sheet date.",
        "label": "Major Property Class [Domain]",
        "terseLabel": "Major Property Class [Domain]"
       }
      }
     },
     "localname": "MajorPropertyClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ManagingMemberOrGeneralPartnerSubsequentDistributionAmount": {
     "auth_ref": [
      "r153",
      "r154",
      "r159"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash or stock or unit payment to a limited liability corporation managing member or limited partnership general partner after the end of the accounting period.",
        "label": "Managing Member or General Partner, Subsequent Distribution Amount",
        "totalLabel": "Total distribution on general partner units and IDRs"
       }
      }
     },
     "localname": "ManagingMemberOrGeneralPartnerSubsequentDistributionAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MaterialReconcilingItemsMember": {
     "auth_ref": [
      "r192",
      "r193"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Items used in reconciling reportable segments' amounts to consolidated amount. Excludes corporate-level activity.",
        "label": "Segment Reconciling Items [Member]",
        "terseLabel": "Segment Reconciling Items"
       }
      }
     },
     "localname": "MaterialReconcilingItemsMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationRevenuesAndAdjustedEbitdaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputDiscountRateMember": {
     "auth_ref": [
      "r436"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Measurement input using interest rate to determine present value of future cash flows.",
        "label": "Measurement Input, Discount Rate [Member]",
        "terseLabel": "Measurement Input, Discount Rate [Member]"
       }
      }
     },
     "localname": "MeasurementInputDiscountRateMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputTypeAxis": {
     "auth_ref": [
      "r436"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Axis]",
        "terseLabel": "Measurement Input Type [Axis]"
       }
      }
     },
     "localname": "MeasurementInputTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MeasurementInputTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Domain]",
        "terseLabel": "Measurement Input Type [Domain]"
       }
      }
     },
     "localname": "MeasurementInputTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders": {
     "auth_ref": [
      "r303"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Decrease in noncontrolling interest balance from payment of dividends or other distributions by the non-wholly owned subsidiary or partially owned entity, included in the consolidation of the parent entity, to the noncontrolling interest holders.",
        "label": "Noncontrolling Interest, Decrease from Distributions to Noncontrolling Interest Holders",
        "negatedTerseLabel": "(Placeholder)",
        "terseLabel": "Noncontrolling Interest, Decrease from Distributions to Noncontrolling Interest Holders"
       }
      }
     },
     "localname": "MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NaturalGasMidstreamMember": {
     "auth_ref": [
      "r320"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Process related to midstream activity for flammable gas occurring naturally underground. Activity includes, but is not limited to, gathering from well, processing to remove impurity, storage, transmission, and sale of natural gas and related products.",
        "label": "Natural Gas, Midstream [Member]",
        "terseLabel": "Natural Gas, Midstream [Member]"
       }
      }
     },
     "localname": "NaturalGasMidstreamMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r112"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
        "label": "Net Cash Provided by (Used in) Financing Activities",
        "terseLabel": "Net Cash Provided by (Used in) Financing Activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Net Cash Provided by (Used in) Financing Activities [Abstract]",
        "terseLabel": "Financing activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "auth_ref": [
      "r112"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.",
        "label": "Net Cash Provided by (Used in) Investing Activities",
        "totalLabel": "Net cash used in investing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Net Cash Provided by (Used in) Investing Activities [Abstract]",
        "terseLabel": "Investing activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r112",
      "r115",
      "r118"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
        "label": "Net Cash Provided by (Used in) Operating Activities",
        "totalLabel": "Net cash provided by operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Net Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "Operating activities:"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetIncomeLoss": {
     "auth_ref": [
      "r72",
      "r75",
      "r83",
      "r118",
      "r157",
      "r552",
      "r567"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.marathonpetroleum.com/role/EquityNetIncomeAllocationDetails": {
       "order": 1.0,
       "parentTag": "mpc_NetIncomeLossAvailableToGeneralAndLimitedPartners",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.",
        "label": "Net Income (Loss) Attributable to Parent",
        "terseLabel": "Net income attributable to MPLX LP",
        "totalLabel": "Net income attributable to MPLX LP",
        "verboseLabel": "Net income (loss) attributable to MPLX LP"
       }
      }
     },
     "localname": "NetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/EquityNetIncomeAllocationDetails",
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail",
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitScheduleOfDistributionsByPartnerClassDetail",
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAllocatedToGeneralPartners": {
     "auth_ref": [
      "r305"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Aggregate amount of net income allocated to general partners.",
        "label": "Net Income (Loss) Allocated to General Partners",
        "terseLabel": "General partner's GP Interest in net income attributable to MPLX LP",
        "verboseLabel": "Less: General partner\u2019s interest in net income attributable to MPLX LP"
       }
      }
     },
     "localname": "NetIncomeLossAllocatedToGeneralPartners",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/EquityNetIncomeAllocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAllocatedToLimitedPartners": {
     "auth_ref": [
      "r307"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Aggregate amount of net income allocated to limited partners.",
        "label": "Net Income (Loss) Allocated to Limited Partners",
        "terseLabel": "Limited partners\u2019 interest in net income attributable to MPLX LP"
       }
      }
     },
     "localname": "NetIncomeLossAllocatedToLimitedPartners",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r72",
      "r75",
      "r400",
      "r403"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome": {
       "order": 2.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of Net Income (Loss) attributable to noncontrolling interest.",
        "label": "Net Income (Loss) Attributable to Noncontrolling Interest",
        "terseLabel": "Less: Net income attributable to noncontrolling interests"
       }
      }
     },
     "localname": "NetIncomeLossAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossNetOfTaxPerOutstandingLimitedPartnershipUnitDiluted": {
     "auth_ref": [
      "r305"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Per unit of ownership amount after tax of income (loss) available to limited partnership (LP) unit-holder and units that would have been outstanding assuming the issuance of limited partner units for dilutive potential units outstanding.",
        "label": "Net Income (Loss), Net of Tax, Per Outstanding Limited Partnership Unit, Diluted",
        "terseLabel": "Diluted (in USD per unit)",
        "verboseLabel": "Common - diluted (in USD per unit)"
       }
      }
     },
     "localname": "NetIncomeLossNetOfTaxPerOutstandingLimitedPartnershipUnitDiluted",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail",
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_NetIncomeLossPerOutstandingLimitedPartnershipUnitBasicNetOfTax": {
     "auth_ref": [
      "r305"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Per unit of ownership amount after tax of income (loss) available to outstanding limited partnership (LP) unit-holder.",
        "label": "Net Income (Loss), Per Outstanding Limited Partnership Unit, Basic, Net of Tax",
        "terseLabel": "Basic (in USD per unit)",
        "verboseLabel": "Common - basic (in USD per unit)"
       }
      }
     },
     "localname": "NetIncomeLossPerOutstandingLimitedPartnershipUnitBasicNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail",
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_NetIncomeLossPerOutstandingLimitedPartnershipUnitOtherDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Net Income (Loss), Per Outstanding Limited Partnership Unit, Basic, Other Disclosures [Abstract]",
        "terseLabel": "Weighted average units outstanding:"
       }
      }
     },
     "localname": "NetIncomeLossPerOutstandingLimitedPartnershipUnitOtherDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetInvestmentInLeaseCurrent": {
     "auth_ref": [
      "r497",
      "r498"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of net investment in sales-type and direct financing lease, classified as current.",
        "label": "Net Investment in Lease, Current",
        "terseLabel": "Net Investment in Lease, Current"
       }
      }
     },
     "localname": "NetInvestmentInLeaseCurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetInvestmentInLeaseNoncurrent": {
     "auth_ref": [
      "r497",
      "r498"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of net investment in sales-type and direct financing lease, classified as noncurrent.",
        "label": "Net Investment in Lease, Noncurrent",
        "terseLabel": "Net Investment in Lease, Noncurrent"
       }
      }
     },
     "localname": "NetInvestmentInLeaseNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NewAccountingPronouncementOrChangeInAccountingPrincipleEffectOfAdoptionQuantification": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Represents the quantification of the effect of adopting the new accounting standard or change in accounting principle expected by the entity to have a significant effect on the entity's financial statements.",
        "label": "New Accounting Pronouncement or Change in Accounting Principle, Effect of Adoption, Quantification",
        "terseLabel": "New Accounting Pronouncement or Change in Accounting Principle, Effect of Adoption, Quantification"
       }
      }
     },
     "localname": "NewAccountingPronouncementOrChangeInAccountingPrincipleEffectOfAdoptionQuantification",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccountingStandardsAsu201602LeasesAndRelatedUpdatesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "New Accounting Pronouncements and Changes in Accounting Principles [Abstract]"
       }
      }
     },
     "localname": "NewAccountingPronouncementsAndChangesInAccountingPrinciplesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock": {
     "auth_ref": [
      "r149"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure of changes in accounting principles, including adoption of new accounting pronouncements, that describes the new methods, amount and effects on financial statement line items.",
        "label": "New Accounting Pronouncements and Changes in Accounting Principles [Text Block]",
        "terseLabel": "Accounting Standards"
       }
      }
     },
     "localname": "NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccountingStandards"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NoncashInvestingAndFinancingItemsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Noncash Investing and Financing Items [Abstract]",
        "terseLabel": "Non-cash investing and financing activities:"
       }
      }
     },
     "localname": "NoncashInvestingAndFinancingItemsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSummaryOfSupplementalCashFlowInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoncontrollingInterestMember": {
     "auth_ref": [
      "r395"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This element represents that portion of equity (net assets) in a subsidiary not attributable, directly or indirectly, to the parent. A noncontrolling interest is sometimes called a minority interest.",
        "label": "Noncontrolling Interest [Member]",
        "terseLabel": "Noncontrolling Interest"
       }
      }
     },
     "localname": "NoncontrollingInterestMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NondesignatedMember": {
     "auth_ref": [
      "r412"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Derivative instrument not designated as hedging instrument under Generally Accepted Accounting Principles (GAAP).",
        "label": "Not Designated as Hedging Instrument [Member]",
        "terseLabel": "Not Designated as Hedging Instrument"
       }
      }
     },
     "localname": "NondesignatedMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativeFinancialInstrumentsVolumeOfDerivativeActivityDetails",
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesBalanceSheetLocationDetails",
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesIncomeStatementLocationDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NumberOfReportableSegments": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements.",
        "label": "Number of Reportable Segments",
        "terseLabel": "Number of reportable segments"
       }
      }
     },
     "localname": "NumberOfReportableSegments",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationDetail",
      "http://www.marathonpetroleum.com/role/SegmentInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_NumberOfReportingUnits": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of reporting units tested for impairment of goodwill. A reporting unit is an operating segment or one level below an operating segment.",
        "label": "Number of Reporting Units",
        "terseLabel": "Number of reporting units"
       }
      }
     },
     "localname": "NumberOfReportingUnits",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillNarrativeDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_OilAndGasRefiningAndMarketingMember": {
     "auth_ref": [
      "r320"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Process related to downstream activity for viscous liquid derived from petroleum and flammable gas occurring naturally underground. Activity includes, but is not limited to, marketing and distribution.",
        "label": "Oil and Gas, Refining and Marketing [Member]",
        "terseLabel": "Oil and Gas, Refining and Marketing [Member]"
       }
      }
     },
     "localname": "OilAndGasRefiningAndMarketingMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OperatingLeaseCost": {
     "auth_ref": [
      "r485",
      "r494"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of single lease cost, calculated by allocation of remaining cost of lease over remaining lease term. Includes, but is not limited to, single lease cost, after impairment of right-of-use asset, calculated by amortization of remaining right-of-use asset and accretion of lease liability.",
        "label": "Operating Lease, Cost",
        "terseLabel": "Operating Lease, Cost"
       }
      }
     },
     "localname": "OperatingLeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLeaseIncome": {
     "auth_ref": [
      "r163",
      "r499",
      "r507"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of operating lease income from lease payments and variable lease payments paid and payable to lessor. Includes, but is not limited to, variable lease payments not included in measurement of lease receivable.",
        "label": "Operating Lease, Lease Income",
        "terseLabel": "Operating Lease, Lease Income"
       }
      }
     },
     "localname": "OperatingLeaseLeaseIncome",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiability": {
     "auth_ref": [
      "r478"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease.",
        "label": "Operating Lease, Liability",
        "terseLabel": "Operating Lease, Liability"
       }
      }
     },
     "localname": "OperatingLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityCurrent": {
     "auth_ref": [
      "r478"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 6.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease, classified as current.",
        "label": "Operating Lease, Liability, Current",
        "terseLabel": "Operating Lease, Liability, Current"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityCurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityNoncurrent": {
     "auth_ref": [
      "r478"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 6.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease, classified as noncurrent.",
        "label": "Operating Lease, Liability, Noncurrent",
        "terseLabel": "Operating Lease, Liability, Noncurrent"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasePayments": {
     "auth_ref": [
      "r482",
      "r488"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash outflow from operating lease, excluding payments to bring another asset to condition and location necessary for its intended use.",
        "label": "Operating Lease, Payments",
        "terseLabel": "Operating Lease, Payments"
       }
      }
     },
     "localname": "OperatingLeasePayments",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSummaryOfSupplementalCashFlowInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseRightOfUseAsset": {
     "auth_ref": [
      "r477"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 6.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of lessee's right to use underlying asset under operating lease.",
        "label": "Operating Lease, Right-of-Use Asset",
        "terseLabel": "Operating Lease, Right-of-Use Asset"
       }
      }
     },
     "localname": "OperatingLeaseRightOfUseAsset",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent": {
     "auth_ref": [
      "r491",
      "r494"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average discount rate for operating lease calculated at point in time.",
        "label": "Operating Lease, Weighted Average Discount Rate, Percent",
        "terseLabel": "Operating Lease, Weighted Average Discount Rate, Percent"
       }
      }
     },
     "localname": "OperatingLeaseWeightedAverageDiscountRatePercent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1": {
     "auth_ref": [
      "r490",
      "r494"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average remaining lease term for operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Operating Lease, Weighted Average Remaining Lease Term",
        "terseLabel": "Operating Lease, Weighted Average Remaining Lease Term"
       }
      }
     },
     "localname": "OperatingLeaseWeightedAverageRemainingLeaseTerm1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_OperatingLeasesFutureMinimumPaymentsDue": {
     "auth_ref": [
      "r463",
      "r472"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of required minimum rental payments for leases having an initial or remaining non-cancelable letter-terms in excess of one year.",
        "label": "Operating Leases, Future Minimum Payments Due",
        "terseLabel": "Operating Leases, Future Minimum Payments Due"
       }
      }
     },
     "localname": "OperatingLeasesFutureMinimumPaymentsDue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent": {
     "auth_ref": [
      "r463",
      "r472"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the next fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Operating Leases, Future Minimum Payments Due, Next Twelve Months",
        "verboseLabel": "Operating Leases, Future Minimum Payments Due, Next Twelve Months"
       }
      }
     },
     "localname": "OperatingLeasesFutureMinimumPaymentsDueCurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears": {
     "auth_ref": [
      "r463",
      "r472"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the fifth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Operating Leases, Future Minimum Payments, Due in Five Years",
        "verboseLabel": "Operating Leases, Future Minimum Payments, Due in Five Years"
       }
      }
     },
     "localname": "OperatingLeasesFutureMinimumPaymentsDueInFiveYears",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears": {
     "auth_ref": [
      "r463",
      "r472"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the fourth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Operating Leases, Future Minimum Payments, Due in Four Years",
        "verboseLabel": "Operating Leases, Future Minimum Payments, Due in Four Years"
       }
      }
     },
     "localname": "OperatingLeasesFutureMinimumPaymentsDueInFourYears",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears": {
     "auth_ref": [
      "r463",
      "r472"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the third fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Operating Leases, Future Minimum Payments, Due in Three Years",
        "verboseLabel": "Operating Leases, Future Minimum Payments, Due in Three Years"
       }
      }
     },
     "localname": "OperatingLeasesFutureMinimumPaymentsDueInThreeYears",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears": {
     "auth_ref": [
      "r463",
      "r472"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the second fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Operating Leases, Future Minimum Payments, Due in Two Years",
        "verboseLabel": "Operating Leases, Future Minimum Payments, Due in Two Years"
       }
      }
     },
     "localname": "OperatingLeasesFutureMinimumPaymentsDueInTwoYears",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter": {
     "auth_ref": [
      "r463",
      "r472"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due after the fifth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Operating Leases, Future Minimum Payments, Due Thereafter",
        "verboseLabel": "Operating Leases, Future Minimum Payments, Due Thereafter"
       }
      }
     },
     "localname": "OperatingLeasesFutureMinimumPaymentsDueThereafter",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasesFutureMinimumPaymentsReceivable": {
     "auth_ref": [
      "r474"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Future minimum rental payments in aggregate as of the balance sheet date under operating leases.",
        "label": "Operating Leases, Future Minimum Payments Receivable",
        "terseLabel": "Operating Leases, Future Minimum Payments Receivable"
       }
      }
     },
     "localname": "OperatingLeasesFutureMinimumPaymentsReceivable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableCurrent": {
     "auth_ref": [
      "r474"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Future rental payments receivable within one year of the balance sheet date under an operating lease.",
        "label": "Operating Leases, Future Minimum Payments Receivable, Current",
        "terseLabel": "Operating Leases, Future Minimum Payments Receivable, Current"
       }
      }
     },
     "localname": "OperatingLeasesFutureMinimumPaymentsReceivableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInFiveYears": {
     "auth_ref": [
      "r474"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Future rental payments receivable within the fifth year from the balance sheet date under an operating lease.",
        "label": "Operating Leases, Future Minimum Payments Receivable, in Five Years",
        "terseLabel": "Operating Leases, Future Minimum Payments Receivable, in Five Years"
       }
      }
     },
     "localname": "OperatingLeasesFutureMinimumPaymentsReceivableInFiveYears",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInFourYears": {
     "auth_ref": [
      "r474"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Future rental payments receivable within the fourth year from the balance sheet date under an operating lease.",
        "label": "Operating Leases, Future Minimum Payments Receivable, in Four Years",
        "terseLabel": "Operating Leases, Future Minimum Payments Receivable, in Four Years"
       }
      }
     },
     "localname": "OperatingLeasesFutureMinimumPaymentsReceivableInFourYears",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInThreeYears": {
     "auth_ref": [
      "r474"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Future rental payments receivable within the third year from the balance sheet date under an operating lease.",
        "label": "Operating Leases, Future Minimum Payments Receivable, in Three Years",
        "terseLabel": "Operating Leases, Future Minimum Payments Receivable, in Three Years"
       }
      }
     },
     "localname": "OperatingLeasesFutureMinimumPaymentsReceivableInThreeYears",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableInTwoYears": {
     "auth_ref": [
      "r474"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Future rental payments receivable within the second year from the balance sheet date under an operating lease.",
        "label": "Operating Leases, Future Minimum Payments Receivable, in Two Years",
        "terseLabel": "Operating Leases, Future Minimum Payments Receivable, in Two Years"
       }
      }
     },
     "localname": "OperatingLeasesFutureMinimumPaymentsReceivableInTwoYears",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableThereafter": {
     "auth_ref": [
      "r474"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Future minimum lease payments receivable under operating leases for periods greater than five years following the balance sheet date.",
        "label": "Operating Leases, Future Minimum Payments Receivable, Thereafter",
        "terseLabel": "Operating Leases, Future Minimum Payments Receivable, Thereafter"
       }
      }
     },
     "localname": "OperatingLeasesFutureMinimumPaymentsReceivableThereafter",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasesIncomeStatementLeaseRevenue": {
     "auth_ref": [
      "r466"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The total amount of revenue recognized for the period from operating leases, including minimum lease revenue, contingent revenue, percentage revenue and sublease revenue.",
        "label": "Operating Leases, Income Statement, Lease Revenue",
        "terseLabel": "Rental income"
       }
      }
     },
     "localname": "OperatingLeasesIncomeStatementLeaseRevenue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/SegmentInformationRevenuesAndAdjustedEbitdaDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasesIncomeStatementMinimumLeaseRevenue": {
     "auth_ref": [
      "r466"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The total amount of lease revenue recognized for the period for which the lessee was obligated under leasing arrangements regardless of any other events or conditions. This amount excludes contingent revenue and sublease revenue.",
        "label": "Operating Leases, Income Statement, Minimum Lease Revenue",
        "terseLabel": "Operating Leases, Income Statement, Minimum Lease Revenue"
       }
      }
     },
     "localname": "OperatingLeasesIncomeStatementMinimumLeaseRevenue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasesOfLessorDisclosureTextBlock": {
     "auth_ref": [
      "r464",
      "r465",
      "r509"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for lessor's operating leases.",
        "label": "Lessor, Operating Leases [Text Block]",
        "terseLabel": "Lessor, Operating Leases [Text Block]"
       }
      }
     },
     "localname": "OperatingLeasesOfLessorDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OperatingLeasesRentExpenseNet": {
     "auth_ref": [
      "r471"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Rental expense for the reporting period incurred under operating leases, including minimum and any contingent rent expense, net of related sublease income.",
        "label": "Operating Leases, Rent Expense, Net",
        "terseLabel": "Operating Leases, Rent Expense, Net"
       }
      }
     },
     "localname": "OperatingLeasesRentExpenseNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingSegmentsMember": {
     "auth_ref": [
      "r183",
      "r195"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Identifies components of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity.",
        "label": "Operating Segments [Member]",
        "terseLabel": "Operating Segments"
       }
      }
     },
     "localname": "OperatingSegmentsMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationAssetsBySegmentDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationRevenuesAndAdjustedEbitdaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherAffiliatesMember": {
     "auth_ref": [
      "r578"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A category that identifies other affiliates.",
        "label": "Other Affiliates [Member]",
        "terseLabel": "Other Affiliates [Member]",
        "verboseLabel": "Other"
       }
      }
     },
     "localname": "OtherAffiliatesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsIntercompanyLoansWithRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfExpensesByIncomeStatementRpLineItemDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfRevenueByIncomeStatementRpLineItemDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherAssetsCurrent": {
     "auth_ref": [
      "r58"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of current assets classified as other.",
        "label": "Other Assets, Current",
        "terseLabel": "Other current assets"
       }
      }
     },
     "localname": "OtherAssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherAssetsNoncurrent": {
     "auth_ref": [
      "r40"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 8.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of noncurrent assets classified as other.",
        "label": "Other Assets, Noncurrent",
        "terseLabel": "Other noncurrent assets"
       }
      }
     },
     "localname": "OtherAssetsNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherCommitmentsAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of other commitment.",
        "label": "Other Commitments [Axis]",
        "terseLabel": "Other Commitments [Axis]"
       }
      }
     },
     "localname": "OtherCommitmentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail",
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesMinimumFuturePaymentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherCommitmentsDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Other future obligation.",
        "label": "Other Commitments [Domain]",
        "terseLabel": "Other Commitments [Domain]"
       }
      }
     },
     "localname": "OtherCommitmentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail",
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesMinimumFuturePaymentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherCommitmentsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Other Commitments [Line Items]",
        "terseLabel": "Other Commitments [Line Items]"
       }
      }
     },
     "localname": "OtherCommitmentsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesMinimumFuturePaymentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherCommitmentsTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about obligations resulting from other commitments.",
        "label": "Other Commitments [Table]",
        "terseLabel": "Other Commitments [Table]"
       }
      }
     },
     "localname": "OtherCommitmentsTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesMinimumFuturePaymentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTax": {
     "auth_ref": [
      "r73",
      "r76",
      "r79",
      "r295"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount after tax and reclassification adjustments of other comprehensive income (loss).",
        "label": "Other Comprehensive Income (Loss), Net of Tax",
        "terseLabel": "Other Comprehensive Income (Loss), Net of Tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeAccumulatedOtherComprehensiveIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Other Comprehensive Income (Loss), Net of Tax [Abstract]",
        "terseLabel": "Other comprehensive income/(loss), net of tax:"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfComprehensiveIncomeStatement"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherCostAndExpenseOperating": {
     "auth_ref": [
      "r93"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The total amount of other operating cost and expense items that are associated with the entity's normal revenue producing operation.",
        "label": "Other Cost and Expense, Operating",
        "negatedTerseLabel": "Other Cost and Expense, Operating"
       }
      }
     },
     "localname": "OtherCostAndExpenseOperating",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherCurrentAssetsMember": {
     "auth_ref": [
      "r414",
      "r430"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Primary financial statement caption encompassing other current assets.",
        "label": "Other Current Assets [Member]",
        "terseLabel": "Other current assets"
       }
      }
     },
     "localname": "OtherCurrentAssetsMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesBalanceSheetLocationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherCurrentLiabilitiesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Primary financial statement caption encompassing other current liabilities.",
        "label": "Other Current Liabilities [Member]",
        "terseLabel": "Other current liabilities"
       }
      }
     },
     "localname": "OtherCurrentLiabilitiesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesBalanceSheetLocationDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherIncomeMember": {
     "auth_ref": [
      "r426"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Primary financial statement caption encompassing other revenue.",
        "label": "Other Income [Member]",
        "terseLabel": "Other Income [Member]"
       }
      }
     },
     "localname": "OtherIncomeMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherInventoriesSpareParts": {
     "auth_ref": [
      "r57"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/InventoriesSummaryOfInventoriesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_InventoryGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Gross amount of components of assembled products that can be sold directly or indirectly through sales of assembled products.",
        "label": "Other Inventories, Spare Parts, Gross",
        "terseLabel": "Spare parts, materials and supplies"
       }
      }
     },
     "localname": "OtherInventoriesSpareParts",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InventoriesSummaryOfInventoriesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilities": {
     "auth_ref": [
      "r548"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of liabilities classified as other.",
        "label": "Other Liabilities",
        "terseLabel": "Other Liabilities"
       }
      }
     },
     "localname": "OtherLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilitiesCurrent": {
     "auth_ref": [
      "r10",
      "r11",
      "r45"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 7.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of liabilities classified as other, due within one year or the normal operating cycle, if longer.",
        "label": "Other Liabilities, Current",
        "terseLabel": "Other current liabilities"
       }
      }
     },
     "localname": "OtherLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilitiesFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fair value portion of other liabilities.",
        "label": "Other Liabilities, Fair Value Disclosure",
        "terseLabel": "SMR liability"
       }
      }
     },
     "localname": "OtherLiabilitiesFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsReportedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherNoncurrentAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Primary financial statement caption encompassing other noncurrent assets.",
        "label": "Other Noncurrent Assets [Member]",
        "terseLabel": "Other noncurrent assets"
       }
      }
     },
     "localname": "OtherNoncurrentAssetsMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesBalanceSheetLocationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherNoncurrentLiabilitiesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Primary financial statement caption encompassing other noncurrent liabilities.",
        "label": "Other Noncurrent Liabilities [Member]",
        "terseLabel": "Other Noncurrent Liabilities [Member]"
       }
      }
     },
     "localname": "OtherNoncurrentLiabilitiesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesBalanceSheetLocationDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherNonoperatingIncomeExpense": {
     "auth_ref": [
      "r95"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome": {
       "order": 4.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of income (expense) related to nonoperating activities, classified as other.",
        "label": "Other Nonoperating Income (Expense)",
        "negatedTerseLabel": "Other financial costs"
       }
      }
     },
     "localname": "OtherNonoperatingIncomeExpense",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherOperatingActivitiesCashFlowStatement": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 17.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Other cash or noncash adjustments to reconcile net income to cash provided by (used in) operating activities that are not separately disclosed in the statement of cash flows (for example,  cash received or cash paid during the current period for miscellaneous operating activities, net change during the reporting period in other assets or other liabilities).",
        "label": "Other Operating Activities, Cash Flow Statement",
        "terseLabel": "All other, net"
       }
      }
     },
     "localname": "OtherOperatingActivitiesCashFlowStatement",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherOperatingIncome": {
     "auth_ref": [
      "r89"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The total amount of other operating income, the components of which are not separately disclosed on the income statement, from items that are associated with the entity's normal revenue producing operation.",
        "label": "Other Operating Income",
        "terseLabel": "Other income"
       }
      }
     },
     "localname": "OtherOperatingIncome",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationRevenuesAndAdjustedEbitdaDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember": {
     "auth_ref": [
      "r330",
      "r335",
      "r336",
      "r338"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Plan designed to provide other postretirement benefits. Includes, but is not limited to, defined benefit and defined contribution plans. Excludes pension benefits.",
        "label": "Other Postretirement Benefits Plan [Member]",
        "terseLabel": "Other Postretirement Benefits Plan [Member]"
       }
      }
     },
     "localname": "OtherPostretirementBenefitPlansDefinedBenefitMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeAccumulatedOtherComprehensiveIncomeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PartiallyOwnedPropertiesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Real estate properties and units within those properties that are partially owned.",
        "label": "Partially Owned Properties [Member]",
        "terseLabel": "Partially Owned Properties"
       }
      }
     },
     "localname": "PartiallyOwnedPropertiesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PartnerCapitalComponentsAxis": {
     "auth_ref": [
      "r303"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by partner capital components which are allocated for example, but not limited to accumulated other comprehensive income or comprehensive income.",
        "label": "Partner Capital Components [Axis]",
        "terseLabel": "Partner Capital Components [Axis]"
       }
      }
     },
     "localname": "PartnerCapitalComponentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PartnerCapitalComponentsDomain": {
     "auth_ref": [
      "r303"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Partner capital components are the parts of the total Partners' Capital balance including that which is allocated to accumulated other comprehensive income, comprehensive income.",
        "label": "Partner Capital Components [Domain]",
        "terseLabel": "Partner Capital Components [Domain]"
       }
      }
     },
     "localname": "PartnerCapitalComponentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PartnerTypeOfPartnersCapitalAccountAxis": {
     "auth_ref": [
      "r165",
      "r304"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type or class of partner's capital account. Examples of classes of partners include, but not limited to, general partners, limited partners, preferred partners, and other ownership interests.",
        "label": "Partner Type [Axis]",
        "terseLabel": "Partner Type [Axis]"
       }
      }
     },
     "localname": "PartnerTypeOfPartnersCapitalAccountAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/EquityAtmProgramDetails",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails",
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail",
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitScheduleOfDistributionsByPartnerClassDetail",
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PartnerTypeOfPartnersCapitalAccountNameDomain": {
     "auth_ref": [
      "r165",
      "r305",
      "r574"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Capital accounts of each type or class of partner. Examples of classes of partners include, but are not limited to, general partners, limited partners, preferred partners, and other ownership interests.",
        "label": "Partner Type of Partners' Capital Account, Name [Domain]",
        "terseLabel": "Partner Type of Partners' Capital Account, Name [Domain]"
       }
      }
     },
     "localname": "PartnerTypeOfPartnersCapitalAccountNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/EquityAtmProgramDetails",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails",
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail",
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitScheduleOfDistributionsByPartnerClassDetail",
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PartnersCapital": {
     "auth_ref": [
      "r166",
      "r167",
      "r303"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_PartnersCapitalIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of ownership interest of different classes of partners in limited partnership.",
        "label": "Partners' Capital",
        "terseLabel": "Total MPLX LP partners\u2019 capital"
       }
      }
     },
     "localname": "PartnersCapital",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PartnersCapitalAccountAcquisitions": {
     "auth_ref": [
      "r302",
      "r303"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Change in the different classes of partners' capital accounts during the year due to acquisitions. Partners include general, limited and preferred partners.",
        "label": "Partners' Capital Account, Acquisitions",
        "verboseLabel": "Distribution to MPC for acquisitions"
       }
      }
     },
     "localname": "PartnersCapitalAccountAcquisitions",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PartnersCapitalAccountDistributions": {
     "auth_ref": [
      "r303",
      "r305"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Total distributions to each class of partners (i.e., general, limited and preferred partners).",
        "label": "Partners' Capital Account, Distributions",
        "negatedTerseLabel": "Noncontrolling interests"
       }
      }
     },
     "localname": "PartnersCapitalAccountDistributions",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PartnersCapitalAccountExchangesAndConversions": {
     "auth_ref": [
      "r303",
      "r305"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Total change in each class of partners' capital accounts during the year due to exchanges and conversions. Partners include general, limited and preferred partners.",
        "label": "Partners' Capital Account, Exchanges and Conversions",
        "negatedTerseLabel": "Unit conversion",
        "terseLabel": "Partners' Capital Account, Exchanges and Conversions"
       }
      }
     },
     "localname": "PartnersCapitalAccountExchangesAndConversions",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PartnersCapitalAccountPublicSaleOfUnitsNetOfOfferingCosts": {
     "auth_ref": [
      "r303",
      "r305"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Monetary value of the issuance of new units of limited partnership interest in a public offering, net of offering costs. This is a parenthetical disclosure.",
        "label": "Partners' Capital Account, Public Sale of Units Net of Offering Costs",
        "terseLabel": "Net proceeds"
       }
      }
     },
     "localname": "PartnersCapitalAccountPublicSaleOfUnitsNetOfOfferingCosts",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityAtmProgramDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PartnersCapitalAccountSaleOfUnits": {
     "auth_ref": [
      "r303",
      "r305"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Total change in each class of partners' capital accounts during the year due to the sale of units. All partners include general, limited and preferred partners.",
        "label": "Partners' Capital Account, Sale of Units",
        "verboseLabel": "Unit issuances under ATM Program"
       }
      }
     },
     "localname": "PartnersCapitalAccountSaleOfUnits",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PartnersCapitalAccountUnits": {
     "auth_ref": [
      "r304",
      "r575",
      "r576"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The number of each class of partnership units outstanding at the balance sheet date. Units represent shares of ownership of the general, limited, and preferred partners.",
        "label": "Partners' Capital Account, Units",
        "periodEndLabel": "Ending balance, number of units",
        "periodStartLabel": "Beginning balance, number of units",
        "terseLabel": "Partners' Capital Account, Units",
        "verboseLabel": "Number of units outstanding"
       }
      }
     },
     "localname": "PartnersCapitalAccountUnits",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails",
      "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsNarrativeDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PartnersCapitalAccountUnitsAcquisitions": {
     "auth_ref": [
      "r168",
      "r303",
      "r389",
      "r390",
      "r391",
      "r392"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Change in the number of units for each class of partners' capital accounts during the year due to acquisitions.  Partners include general, limited and preferred partners.",
        "label": "Partners' Capital Account, Units, Acquisitions",
        "terseLabel": "Partners' Capital Account, Units, Acquisitions",
        "verboseLabel": "Units, acquisitions"
       }
      }
     },
     "localname": "PartnersCapitalAccountUnitsAcquisitions",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PartnersCapitalAccountUnitsConverted": {
     "auth_ref": [
      "r303",
      "r305"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The number of units converted into shares of each class of partners' capital account. Units represent shares of ownership of the general, limited, and preferred partners.",
        "label": "Partners' Capital Account, Units, Converted",
        "negatedTerseLabel": "Partners' Capital Account, Units, Converted",
        "terseLabel": "Partners' Capital Account, Units, Converted",
        "verboseLabel": "Unit conversion"
       }
      }
     },
     "localname": "PartnersCapitalAccountUnitsConverted",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails",
      "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsNarrativeDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PartnersCapitalAccountUnitsSaleOfUnits": {
     "auth_ref": [
      "r167",
      "r303"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Total units issued during the year due to the sale of units. All partners include general, limited and preferred partners.",
        "label": "Partners' Capital Account, Units, Sale of Units",
        "terseLabel": "Units issued",
        "verboseLabel": "Issuance of preferred units"
       }
      }
     },
     "localname": "PartnersCapitalAccountUnitsSaleOfUnits",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityAtmProgramDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails",
      "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsNarrativeDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PartnersCapitalAccountUnitsUnitbasedCompensation": {
     "auth_ref": [
      "r168",
      "r303"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of units issued for unit-based payment arrangement issued by partnership. Partner includes, but is not limited to, general, limited and preferred partners.",
        "label": "Partners' Capital Account, Unit-based Payment Arrangement, Number of Units",
        "terseLabel": "Unit-based compensation awards, in units",
        "verboseLabel": "Partners' Capital Account, Unit-based Payment Arrangement, Number of Units"
       }
      }
     },
     "localname": "PartnersCapitalAccountUnitsUnitbasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PartnersCapitalAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r28",
      "r166",
      "r303",
      "r306",
      "r544",
      "r559"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_PartnersCapitalIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Total of all Partners' Capital (deficit) items which is directly or indirectly attributable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest).",
        "label": "Partners' Capital Attributable to Noncontrolling Interest",
        "terseLabel": "Noncontrolling interests"
       }
      }
     },
     "localname": "PartnersCapitalAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PartnersCapitalIncludingPortionAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r168",
      "r303"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of partners' capital (deficit), including portions attributable to both the parent and noncontrolling interests. Excludes temporary equity and is sometimes called permanent equity.",
        "label": "Partners' Capital, Including Portion Attributable to Noncontrolling Interest",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "terseLabel": "Partners' Capital, Including Portion Attributable to Noncontrolling Interest",
        "totalLabel": "Total equity"
       }
      }
     },
     "localname": "PartnersCapitalIncludingPortionAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PartnershipIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Partnership Income [Abstract]",
        "terseLabel": "Net income attributable to MPLX LP:"
       }
      }
     },
     "localname": "PartnershipIncomeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PaymentsForProceedsFromInvestments": {
     "auth_ref": [
      "r140"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The net cash paid (received) associated with the acquisition or disposal of all investments, including securities and other assets.",
        "label": "Payments for (Proceeds from) Investments",
        "negatedTerseLabel": "Investments - net related party loans"
       }
      }
     },
     "localname": "PaymentsForProceedsFromInvestments",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForProceedsFromOtherInvestingActivities": {
     "auth_ref": [
      "r98",
      "r101",
      "r140"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash (inflow) outflow from investing activities classified as other.",
        "label": "Payments for (Proceeds from) Other Investing Activities",
        "negatedTerseLabel": "All other, net"
       }
      }
     },
     "localname": "PaymentsForProceedsFromOtherInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDebtIssuanceCosts": {
     "auth_ref": [
      "r107"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash outflow paid to third parties in connection with debt origination, which will be amortized over the remaining maturity period of the associated long-term debt.",
        "label": "Payments of Debt Issuance Costs",
        "negatedTerseLabel": "Debt issuance costs"
       }
      }
     },
     "localname": "PaymentsOfDebtIssuanceCosts",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDistributionsToAffiliates": {
     "auth_ref": [
      "r105"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The distributions of earnings to an entity that is affiliated with the reporting entity by means of direct or indirect ownership.",
        "label": "Payments of Distributions to Affiliates",
        "terseLabel": "Payments of Distributions to Affiliates"
       }
      }
     },
     "localname": "PaymentsOfDistributionsToAffiliates",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireBusinessesGross": {
     "auth_ref": [
      "r99",
      "r387"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of business during the period. The cash portion only of the acquisition price.",
        "label": "Payments to Acquire Businesses, Gross",
        "terseLabel": "Payments to Acquire Businesses, Gross"
       }
      }
     },
     "localname": "PaymentsToAcquireBusinessesGross",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired": {
     "auth_ref": [
      "r99"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of a business, net of the cash acquired from the purchase.",
        "label": "Payments to Acquire Businesses, Net of Cash Acquired",
        "negatedTerseLabel": "Acquisitions, net of cash acquired"
       }
      }
     },
     "localname": "PaymentsToAcquireBusinessesNetOfCashAcquired",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireEquityMethodInvestments": {
     "auth_ref": [
      "r99"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash outflow associated with the purchase of or advances to an equity method investments, which are investments in joint ventures and entities in which the entity has an equity ownership interest normally of 20 to 50 percent and exercises significant influence.",
        "label": "Payments to Acquire Equity Method Investments",
        "negatedTerseLabel": "Investments in unconsolidated affiliates",
        "terseLabel": "Payments to acquire equity method investments"
       }
      }
     },
     "localname": "PaymentsToAcquireEquityMethodInvestments",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfMarenBakkenDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.marathonpetroleum.com/role/SegmentInformationRevenuesAndAdjustedEbitdaDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireInterestInJointVenture": {
     "auth_ref": [
      "r99"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash outflow associated with the investment in or advances to an entity in which the reporting entity shares control of the entity with another party or group.",
        "label": "Payments to Acquire Interest in Joint Venture",
        "terseLabel": "Payments to acquire interest in joint venture"
       }
      }
     },
     "localname": "PaymentsToAcquireInterestInJointVenture",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment": {
     "auth_ref": [
      "r100"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets.",
        "label": "Payments to Acquire Property, Plant, and Equipment",
        "negatedLabel": "Additions to property, plant and equipment",
        "terseLabel": "Payments to acquire property, plant, and equipment"
       }
      }
     },
     "localname": "PaymentsToAcquirePropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfOzarkPipelineDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToMinorityShareholders": {
     "auth_ref": [
      "r108"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash outflow to a noncontrolling interest. Includes, but not limited to, reduction of noncontrolling interest ownership. Excludes dividends paid to the noncontrolling interest.",
        "label": "Payments to Noncontrolling Interests",
        "negatedTerseLabel": "Distributions to noncontrolling interests"
       }
      }
     },
     "localname": "PaymentsToMinorityShareholders",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PensionPlansDefinedBenefitMember": {
     "auth_ref": [
      "r329",
      "r335",
      "r336",
      "r338"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Plan designed to provide participant with pension benefits. Includes, but is not limited to, defined benefit and defined contribution plans. Excludes other postretirement benefits.",
        "label": "Pension Plan [Member]",
        "terseLabel": "Pension Plan [Member]"
       }
      }
     },
     "localname": "PensionPlansDefinedBenefitMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeAccumulatedOtherComprehensiveIncomeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PerformanceSharesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Share-based payment arrangement awarded for meeting performance target.",
        "label": "Performance Shares [Member]",
        "terseLabel": "Performance Shares"
       }
      }
     },
     "localname": "PerformanceSharesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationAssumptionsDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPerformanceUnitAwardActivityDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PhantomShareUnitsPSUsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Share-based payment arrangement awarded as phantom share or unit.",
        "label": "Phantom Share Units (PSUs) [Member]",
        "terseLabel": "Phantom Units"
       }
      }
     },
     "localname": "PhantomShareUnitsPSUsMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPerformanceUnitAwardActivityDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPhantomUnitAwardActivityDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfValuesRelatedToVestedAndUnvestedRestrictedStockAwardsDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PlanNameAxis": {
     "auth_ref": [
      "r341",
      "r359"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by plan name for share-based payment arrangement.",
        "label": "Plan Name [Axis]",
        "terseLabel": "Plan Name [Axis]"
       }
      }
     },
     "localname": "PlanNameAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PlanNameDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Plan name for share-based payment arrangement.",
        "label": "Plan Name [Domain]",
        "terseLabel": "Plan Name [Domain]"
       }
      }
     },
     "localname": "PlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PortionAtFairValueFairValueDisclosureMember": {
     "auth_ref": [
      "r448"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Measured at fair value for financial reporting purposes.",
        "label": "Portion at Fair Value Measurement [Member]",
        "terseLabel": "Portion at Fair Value Measurement [Member]"
       }
      }
     },
     "localname": "PortionAtFairValueFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsReportedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PositionAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by position taken for a security.",
        "label": "Position [Axis]",
        "terseLabel": "Position [Axis]"
       }
      }
     },
     "localname": "PositionAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativeFinancialInstrumentsVolumeOfDerivativeActivityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PositionDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Indicates position taken for a security.",
        "label": "Position [Domain]",
        "terseLabel": "Position [Domain]"
       }
      }
     },
     "localname": "PositionDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativeFinancialInstrumentsVolumeOfDerivativeActivityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredClassAMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Outstanding nonredeemable preferred class A stock or outstanding convertible preferred class A stock. Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer. Classified within temporary equity if redemption is outside the control of the issuer.",
        "label": "Preferred Class A [Member]",
        "terseLabel": "Preferred Class A [Member]"
       }
      }
     },
     "localname": "PreferredClassAMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails",
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredClassBMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Outstanding nonredeemable preferred class B stock or outstanding preferred class B stock. Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer. Classified within temporary equity if redemption is outside the control of the issuer.",
        "label": "Preferred Class B [Member]",
        "terseLabel": "Preferred Class B [Member]",
        "verboseLabel": "Preferred Partner [Member]"
       }
      }
     },
     "localname": "PreferredClassBMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails",
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredPartnerMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Partner with preferential rights over the limited partner in areas that could include, but are not limited to, liquidation, redemption, conversion, tax status of distribution or sharing in distributions.",
        "label": "Preferred Partner [Member]",
        "terseLabel": "Preferred Partner [Member]"
       }
      }
     },
     "localname": "PreferredPartnerMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails",
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail",
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitScheduleOfDistributionsByPartnerClassDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredStockDividendPaymentRateVariable": {
     "auth_ref": [
      "r23",
      "r24",
      "r296"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Description of basis of dividend, such as adjustable rate. Excludes percentage rate dividend payments or fixed dollar amounts per share.",
        "label": "Preferred Stock, Dividend Payment Rate, Variable",
        "terseLabel": "Preferred Stock, Dividend Payment Rate, Variable"
       }
      }
     },
     "localname": "PreferredStockDividendPaymentRateVariable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PreferredStockDividendRatePerDollarAmount": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount per share used to calculated dividend payments on preferred stock.",
        "label": "Preferred Stock, Dividend Rate, Per-Dollar-Amount",
        "terseLabel": "Preferred units, dividend rate, per-dollar-amount"
       }
      }
     },
     "localname": "PreferredStockDividendRatePerDollarAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsNarrativeDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_PreferredStockDividendRatePercentage": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The percentage rate used to calculate dividend payments on preferred stock.",
        "label": "Preferred Stock, Dividend Rate, Percentage",
        "terseLabel": "Preferred Stock, Dividend Rate, Percentage"
       }
      }
     },
     "localname": "PreferredStockDividendRatePercentage",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails",
      "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_PreferredUnitsByNameAxis": {
     "auth_ref": [
      "r166",
      "r304",
      "r574"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type or class of preferred units or special units.",
        "label": "Preferred Units by Name [Axis]",
        "terseLabel": "Preferred Units by Name [Axis]"
       }
      }
     },
     "localname": "PreferredUnitsByNameAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails",
      "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsRollforwardOfRedeemablePreferredUnitsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PreferredUnitsClassDomain": {
     "auth_ref": [
      "r166",
      "r305"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Type or class of preferred units or special units.",
        "label": "Preferred Units, Class [Domain]",
        "terseLabel": "Preferred Units, Class [Domain]"
       }
      }
     },
     "localname": "PreferredUnitsClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails",
      "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsRollforwardOfRedeemablePreferredUnitsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredUnitsDescription": {
     "auth_ref": [
      "r166",
      "r167",
      "r304"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Description of the various rights, preferences, and privileges of the preferred partners' ownership units including: redemption, conversion, liquidation, tax status of distribution per unit and the sharing in distributions.",
        "label": "Preferred Units, Description",
        "terseLabel": "Preferred units, description"
       }
      }
     },
     "localname": "PreferredUnitsDescription",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PreferredUnitsOutstanding": {
     "auth_ref": [
      "r166",
      "r305"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The number of preferred units outstanding.",
        "label": "Preferred Units, Outstanding",
        "terseLabel": "Preferred Units, Outstanding"
       }
      }
     },
     "localname": "PreferredUnitsOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PrepaidInsurance": {
     "auth_ref": [
      "r6",
      "r8",
      "r223",
      "r224"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of asset related to consideration paid in advance for insurance that provides economic benefits within a future period of one year or the normal operating cycle, if longer.",
        "label": "Prepaid Insurance",
        "terseLabel": "Prepaid insurance"
       }
      }
     },
     "localname": "PrepaidInsurance",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromContributionsFromAffiliates": {
     "auth_ref": [
      "r104"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash inflow from an entity that is affiliated with the entity by means of direct or indirect ownership.",
        "label": "Proceeds from Contributions from Affiliates",
        "terseLabel": "Proceeds from Contributions from Affiliates"
       }
      }
     },
     "localname": "ProceedsFromContributionsFromAffiliates",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromContributionsFromParent": {
     "auth_ref": [
      "r104"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash inflow from parent as a source of financing that is recorded as additional paid in capital.",
        "label": "Proceeds from Contributions from Parent",
        "terseLabel": "Contributions from MPC"
       }
      }
     },
     "localname": "ProceedsFromContributionsFromParent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital": {
     "auth_ref": [
      "r97",
      "r111"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of distribution received from equity method investee for return of investment, classified as investing activities. Excludes distribution for return on investment, classified as operating activities.",
        "label": "Proceeds from Equity Method Investment, Distribution, Return of Capital",
        "terseLabel": "Distributions from unconsolidated affiliates - return of capital"
       }
      }
     },
     "localname": "ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfLongTermDebt": {
     "auth_ref": [
      "r103"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash inflow from a debt initially having maturity due after one year or beyond the operating cycle, if longer.",
        "label": "Proceeds from Issuance of Long-term Debt",
        "terseLabel": "Long-term debt - borrowings"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfPreferredLimitedPartnersUnits": {
     "auth_ref": [
      "r102"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash inflow from the issuance of preferred limited partners units during the period.",
        "label": "Proceeds from Issuance of Preferred Limited Partners Units",
        "verboseLabel": "Issuance of redeemable preferred units"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfPreferredLimitedPartnersUnits",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsRollforwardOfRedeemablePreferredUnitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOrSaleOfEquity": {
     "auth_ref": [
      "r102"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash inflow from the issuance of common stock, preferred stock, treasury stock, stock options, and other types of equity.",
        "label": "Proceeds from Issuance or Sale of Equity",
        "terseLabel": "Net proceeds from equity offerings"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOrSaleOfEquity",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromLinesOfCredit": {
     "auth_ref": [
      "r103",
      "r136"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash inflow from contractual arrangement with the lender, including but not limited to, letter of credit, standby letter of credit and revolving credit arrangements.",
        "label": "Proceeds from Lines of Credit",
        "terseLabel": "Proceeds from lines of credit"
       }
      }
     },
     "localname": "ProceedsFromLinesOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsIntercompanyLoansWithRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromLongTermLinesOfCredit": {
     "auth_ref": [
      "r103"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash inflow from a contractual arrangement with the lender, including letter of credit, standby letter of credit and revolving credit arrangements, under which borrowings can be made up to a specific amount at any point in time with maturities due beyond one year or the operating cycle, if longer.",
        "label": "Proceeds from Long-term Lines of Credit",
        "terseLabel": "Proceeds from long-term lines of credit"
       }
      }
     },
     "localname": "ProceedsFromLongTermLinesOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromMinorityShareholders": {
     "auth_ref": [
      "r104"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash inflow from a noncontrolling interest. Includes, but is not limited to, purchase of additional shares or other increase in noncontrolling interest ownership.",
        "label": "Proceeds from Noncontrolling Interests",
        "terseLabel": "Contributions from noncontrolling interests"
       }
      }
     },
     "localname": "ProceedsFromMinorityShareholders",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromPaymentsForOtherFinancingActivities": {
     "auth_ref": [
      "r104",
      "r108",
      "r140"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from financing activities classified as other.",
        "label": "Proceeds from (Payments for) Other Financing Activities",
        "terseLabel": "All other, net"
       }
      }
     },
     "localname": "ProceedsFromPaymentsForOtherFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromRelatedPartyDebt": {
     "auth_ref": [
      "r103"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash inflow from a long-term borrowing made from related parties where one party can exercise control or significant influence over another party; including affiliates, owners or officers and their immediate families, pension trusts, and so forth. Alternate caption: Proceeds from Advances from Affiliates.",
        "label": "Proceeds from Related Party Debt",
        "verboseLabel": "Related party debt - borrowings"
       }
      }
     },
     "localname": "ProceedsFromRelatedPartyDebt",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSalesOfAssetsInvestingActivities": {
     "auth_ref": [
      "r98"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Aggregate cash proceeds received from a combination of transactions that are classified as investing activities in which assets, which may include one or more investments, are sold to third-party buyers. This element can be used by entities to aggregate proceeds from all asset sales that are classified as investing activities.",
        "label": "Proceeds from Sales of Assets, Investing Activities",
        "terseLabel": "Disposal of assets"
       }
      }
     },
     "localname": "ProceedsFromSalesOfAssetsInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProductMember": {
     "auth_ref": [
      "r320"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Article or substance produced by nature, labor or machinery.",
        "label": "Product [Member]",
        "terseLabel": "Product [Member]"
       }
      }
     },
     "localname": "ProductMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfRevenueByIncomeStatementRpLineItemDetail",
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationRevenuesAndAdjustedEbitdaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ProfitLoss": {
     "auth_ref": [
      "r72",
      "r75",
      "r110",
      "r186",
      "r196",
      "r397",
      "r399",
      "r401",
      "r403",
      "r404"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfComprehensiveIncomeStatement": {
       "order": 1.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      },
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.",
        "label": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest",
        "terseLabel": "Net income",
        "totalLabel": "Net income",
        "verboseLabel": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest"
       }
      }
     },
     "localname": "ProfitLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfComprehensiveIncomeStatement",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails",
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Property, Plant and Equipment [Abstract]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentAdditions": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of acquisition of long-lived, physical assets used in the normal conduct of business and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment.",
        "label": "Property, Plant and Equipment, Additions",
        "terseLabel": "Property, Plant and Equipment, Additions"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentAdditions",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsIntercompanyLoansWithRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfExpensesByIncomeStatementRpLineItemDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentByTypeAxis": {
     "auth_ref": [
      "r39",
      "r254"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of long-lived, physical assets used to produce goods and services and not intended for resale.",
        "label": "Property, Plant and Equipment, Type [Axis]",
        "terseLabel": "Property, Plant and Equipment, Type [Axis]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSmrTransactionDetails",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentNarrativeDetails",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfExpensesByIncomeStatementRpLineItemDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock": {
     "auth_ref": [
      "r258"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for long-lived, physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, accounting policies and methodology, roll forwards, depreciation, depletion and amortization expense, including composite depreciation, accumulated depreciation, depletion and amortization expense, useful lives and method used, income statement disclosures, assets held for sale and public utility disclosures.",
        "label": "Property, Plant and Equipment Disclosure [Text Block]",
        "terseLabel": "Property, Plant and Equipment"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipment"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentGross": {
     "auth_ref": [
      "r38",
      "r252"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount before accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property, Plant and Equipment, Gross",
        "terseLabel": "Property, plant and equipment, gross"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentGross",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Property, Plant and Equipment [Line Items]",
        "terseLabel": "Property, Plant and Equipment [Line Items]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSmrTransactionDetails",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentNarrativeDetails",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "auth_ref": [
      "r17",
      "r18",
      "r254",
      "r561"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property, Plant and Equipment, Net",
        "terseLabel": "Property, plant and equipment, net",
        "totalLabel": "Property, plant and equipment, net",
        "verboseLabel": "Property, plant and equipment, net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/DebtSmrTransactionDetails",
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentPolicyTextBlock": {
     "auth_ref": [
      "r37",
      "r127",
      "r254"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for long-lived, physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, basis of assets, depreciation and depletion methods used, including composite deprecation, estimated useful lives, capitalization policy, accounting treatment for costs incurred for repairs and maintenance, capitalized interest and the method it is calculated, disposals and impairments.",
        "label": "Property, Plant and Equipment, Policy [Policy Text Block]",
        "terseLabel": "Property, plant and equipment"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTextBlock": {
     "auth_ref": [
      "r17",
      "r254"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Property, Plant and Equipment [Table Text Block]",
        "terseLabel": "Summary of Property, Plant and Equipment"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTypeDomain": {
     "auth_ref": [
      "r17",
      "r252"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Listing of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale. Examples include land, buildings, machinery and equipment, and other types of furniture and equipment including, but not limited to, office equipment, furniture and fixtures, and computer equipment and software.",
        "label": "Property, Plant and Equipment, Type [Domain]",
        "terseLabel": "Property, Plant and Equipment, Type [Domain]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSmrTransactionDetails",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentNarrativeDetails",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfExpensesByIncomeStatementRpLineItemDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentUsefulLife": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment.",
        "label": "Property, Plant and Equipment, Useful Life",
        "terseLabel": "Estimated useful lives"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentUsefulLife",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_PropertySubjectToOperatingLeaseMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Property subject to an operating lease.",
        "label": "Property Subject to Operating Lease [Member]",
        "terseLabel": "Property Subject to Operating Lease"
       }
      }
     },
     "localname": "PropertySubjectToOperatingLeaseMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAccumulatedDepreciation": {
     "auth_ref": [
      "r470",
      "r473"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of accumulated depreciation, by major property class, recorded on property subject to or available for lease as of the balance sheet date.",
        "label": "Property Subject to or Available for Operating Lease, Accumulated Depreciation",
        "terseLabel": "Property Subject to or Available for Operating Lease, Accumulated Depreciation"
       }
      }
     },
     "localname": "PropertySubjectToOrAvailableForOperatingLeaseAccumulatedDepreciation",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertySubjectToOrAvailableForOperatingLeaseGross": {
     "auth_ref": [
      "r469",
      "r473"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount before accumulated depreciation of physical assets used in the normal conduct of business to produce goods and services subject to or available for lease.",
        "label": "Property Subject to or Available for Operating Lease, Gross",
        "terseLabel": "Property Subject to or Available for Operating Lease, Gross"
       }
      }
     },
     "localname": "PropertySubjectToOrAvailableForOperatingLeaseGross",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertySubjectToOrAvailableForOperatingLeaseNet": {
     "auth_ref": [
      "r473"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of property, by major property class, net of accumulated depreciation, subject to or available for lease as of the balance sheet date.",
        "label": "Property Subject to or Available for Operating Lease, Net",
        "terseLabel": "Property Subject to or Available for Operating Lease, Net"
       }
      }
     },
     "localname": "PropertySubjectToOrAvailableForOperatingLeaseNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PurchaseCommitmentRemainingMinimumAmountCommitted": {
     "auth_ref": [
      "r22",
      "r543",
      "r557"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Minimum amount to be expended to satisfy the terms of arrangements in which the entity has agreed to expend funds to procure goods or services, excluding long-term purchase commitments or unconditional purchase obligations.",
        "label": "Purchase Commitment, Remaining Minimum Amount Committed",
        "terseLabel": "Contractual commitments to acquire property, plant and equipment"
       }
      }
     },
     "localname": "PurchaseCommitmentRemainingMinimumAmountCommitted",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_QuarterlyFinancialInformationDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Quarterly Financial Information Disclosure [Abstract]"
       }
      }
     },
     "localname": "QuarterlyFinancialInformationDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_QuarterlyFinancialInformationTextBlock": {
     "auth_ref": [
      "r164"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for quarterly financial data. Includes, but is not limited to, tabular presentation of financial information for fiscal quarters, effect of year-end adjustments, and an explanation of matters or transactions that affect comparability of the information.",
        "label": "Quarterly Financial Information [Text Block]",
        "terseLabel": "Select Quarterly Financial Data"
       }
      }
     },
     "localname": "QuarterlyFinancialInformationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialData"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTable": {
     "auth_ref": [
      "r190",
      "r193"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Identification, description, and amounts of all significant reconciling items in the reconciliation of total assets from reportable segments to the entity's consolidated assets.",
        "label": "Reconciliation of Assets from Segment to Consolidated [Table]",
        "terseLabel": "Reconciliation of Assets from Segment to Consolidated [Table]"
       }
      }
     },
     "localname": "ReconciliationOfAssetsFromSegmentToConsolidatedTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SegmentInformationAssetsBySegmentDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTextBlock": {
     "auth_ref": [
      "r190",
      "r193"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of all significant reconciling items in the reconciliation of total assets from reportable segments to the entity's consolidated assets.",
        "label": "Reconciliation of Assets from Segment to Consolidated [Table Text Block]",
        "terseLabel": "Reconciliation of Assets from Segment to Consolidated [Table Text Block]"
       }
      }
     },
     "localname": "ReconciliationOfAssetsFromSegmentToConsolidatedTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SegmentInformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTextBlock": {
     "auth_ref": [
      "r191",
      "r193"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of each significant reconciling item, other than profit (loss), revenues, or assets, in the reconciliation of totals of such items in reportable segments to the entity's corresponding consolidated amount.",
        "label": "Reconciliation of Other Significant Reconciling Items from Segments to Consolidated [Table Text Block]",
        "terseLabel": "Reconciliation of Other Significant Reconciling Items from Segments to Consolidated [Table Text Block]"
       }
      }
     },
     "localname": "ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SegmentInformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ReconciliationOfRevenueFromSegmentsToConsolidatedTable": {
     "auth_ref": [
      "r189",
      "r193"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Identification, description, and amounts of all significant reconciling items in the reconciliation of total revenues from reportable segments to the entity's consolidated revenues.",
        "label": "Reconciliation of Revenue from Segments to Consolidated [Table]",
        "terseLabel": "Reconciliation of Revenue from Segments to Consolidated [Table]"
       }
      }
     },
     "localname": "ReconciliationOfRevenueFromSegmentsToConsolidatedTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SegmentInformationRevenuesAndAdjustedEbitdaDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RecordedUnconditionalPurchaseObligation": {
     "auth_ref": [
      "r268"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesSmrLiabilityDetails": {
       "order": 1.0,
       "parentTag": "mpc_SteamMethaneReformerLiability",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of the recorded obligation to transfer funds in the future for fixed or minimum amounts or quantities of goods or services at fixed or minimum prices (for example, as in take-or-pay contracts or throughput contracts).",
        "label": "Recorded Unconditional Purchase Obligation",
        "totalLabel": "Total minimum payments"
       }
      }
     },
     "localname": "RecordedUnconditionalPurchaseObligation",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesSmrLiabilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis": {
     "auth_ref": [
      "r267",
      "r268"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Pertinent information about recorded unconditional purchase arrangements to acquire goods or services, by category of goods or services.",
        "label": "Recorded Unconditional Purchase Obligation by Category of Item Purchased [Axis]",
        "terseLabel": "Recorded Unconditional Purchase Obligation by Category of Item Purchased [Axis]"
       }
      }
     },
     "localname": "RecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesSmrLiabilityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RecordedUnconditionalPurchaseObligationDueAfterFifthYear": {
     "auth_ref": [
      "r268"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesSmrLiabilityDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_RecordedUnconditionalPurchaseObligation",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of the recorded unconditional purchase obligation maturing after the fifth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Recorded Unconditional Purchase Obligation Due after Fifth Year",
        "terseLabel": "2023 and thereafter"
       }
      }
     },
     "localname": "RecordedUnconditionalPurchaseObligationDueAfterFifthYear",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesSmrLiabilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RecordedUnconditionalPurchaseObligationDueInFifthYear": {
     "auth_ref": [
      "r268"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesSmrLiabilityDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_RecordedUnconditionalPurchaseObligation",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of the recorded unconditional purchase obligation maturing in the fifth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Recorded Unconditional Purchase Obligation Due in Fifth Year",
        "terseLabel": "2022"
       }
      }
     },
     "localname": "RecordedUnconditionalPurchaseObligationDueInFifthYear",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesSmrLiabilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RecordedUnconditionalPurchaseObligationDueInFourthYear": {
     "auth_ref": [
      "r268"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesSmrLiabilityDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_RecordedUnconditionalPurchaseObligation",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of the recorded unconditional purchase obligation maturing in the fourth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Recorded Unconditional Purchase Obligation Due in Fourth Year",
        "terseLabel": "2021"
       }
      }
     },
     "localname": "RecordedUnconditionalPurchaseObligationDueInFourthYear",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesSmrLiabilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RecordedUnconditionalPurchaseObligationDueInSecondYear": {
     "auth_ref": [
      "r268"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesSmrLiabilityDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_RecordedUnconditionalPurchaseObligation",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of the recorded unconditional purchase obligation maturing in the second fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Recorded Unconditional Purchase Obligation Due in Second Year",
        "terseLabel": "2019"
       }
      }
     },
     "localname": "RecordedUnconditionalPurchaseObligationDueInSecondYear",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesSmrLiabilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RecordedUnconditionalPurchaseObligationDueInThirdYear": {
     "auth_ref": [
      "r268"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesSmrLiabilityDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_RecordedUnconditionalPurchaseObligation",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of the recorded unconditional purchase obligation maturing in the third fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Recorded Unconditional Purchase Obligation Due in Third Year",
        "terseLabel": "2020"
       }
      }
     },
     "localname": "RecordedUnconditionalPurchaseObligationDueInThirdYear",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesSmrLiabilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RecordedUnconditionalPurchaseObligationDueWithinOneYear": {
     "auth_ref": [
      "r268"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesSmrLiabilityDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_RecordedUnconditionalPurchaseObligation",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of the recorded unconditional purchase obligation maturing in the next fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Recorded Unconditional Purchase Obligation Due in Next Twelve Months",
        "terseLabel": "2018"
       }
      }
     },
     "localname": "RecordedUnconditionalPurchaseObligationDueWithinOneYear",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesSmrLiabilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RecordedUnconditionalPurchaseObligationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Recorded Unconditional Purchase Obligation [Line Items]",
        "terseLabel": "Recorded Unconditional Purchase Obligation [Line Items]"
       }
      }
     },
     "localname": "RecordedUnconditionalPurchaseObligationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesSmrLiabilityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RecordedUnconditionalPurchaseObligationTable": {
     "auth_ref": [
      "r267",
      "r268"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Describes each recorded unconditional purchase obligation arrangement to purchase goods and services that extend over multiple periods, any assets pledged to secure payment, and the fixed or determinable amount of payments due in each of the next five years and thereafter.",
        "label": "Recorded Unconditional Purchase Obligation [Table]",
        "terseLabel": "Recorded Unconditional Purchase Obligation [Table]"
       }
      }
     },
     "localname": "RecordedUnconditionalPurchaseObligationTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesSmrLiabilityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RecordedUnconditionalPurchaseObligationsTextBlock": {
     "auth_ref": [
      "r267",
      "r268",
      "r284"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of unconditional purchase obligations that are recognized as a liability on the balance sheet, including the nature and term of the unconditional purchase obligations; the aggregate amount of payments for each of the five years following the date of the latest balance sheet; and the combined aggregate amount of maturities and sinking fund requirements for all long-term borrowings associated with suppliers' financing arrangements.",
        "label": "Recorded Unconditional Purchase Obligations [Table Text Block]",
        "terseLabel": "Schedule of Minimum Amounts Payable Annually Under the Product Supply Agreement"
       }
      }
     },
     "localname": "RecordedUnconditionalPurchaseObligationsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RedeemableNoncontrollingInterestByLegalEntityTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule of redeemable noncontrolling interest (as defined) included in the statement of financial position as either a liability or temporary equity. As of the date of the statement of financial position, such redeemable noncontrolling interest is currently redeemable, as defined, for cash or other assets of the entity at (1) at a fixed or determinable price on a fixed or determinable date, (2) at the option of the holder of the noncontrolling interest, or (3) upon occurrence of an event that is not solely within the control of the entity.",
        "label": "Redeemable Noncontrolling Interest, by Legal Entity [Table]",
        "terseLabel": "Redeemable Noncontrolling Interest, by Legal Entity [Table]"
       }
      }
     },
     "localname": "RedeemableNoncontrollingInterestByLegalEntityTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsRollforwardOfRedeemablePreferredUnitsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RedeemableNoncontrollingInterestLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Redeemable Noncontrolling Interest [Line Items]",
        "terseLabel": "Redeemable Noncontrolling Interest [Line Items]"
       }
      }
     },
     "localname": "RedeemableNoncontrollingInterestLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsRollforwardOfRedeemablePreferredUnitsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyDomain": {
     "auth_ref": [
      "r517"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Related parties include affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party [Domain]",
        "terseLabel": "Related Party [Domain]"
       }
      }
     },
     "localname": "RelatedPartyDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfMarenBakkenDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsTables",
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails",
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/MajorCustomersAndConcentrationOfCreditRiskDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsIntercompanyLoansWithRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfExpensesByIncomeStatementRpLineItemDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfRevenueByIncomeStatementRpLineItemDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsTables",
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail",
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSupplementalCashFlowInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionAxis": {
     "auth_ref": [
      "r334",
      "r511",
      "r513"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of related party transaction.",
        "label": "Related Party Transaction [Axis]",
        "terseLabel": "Related Party Transaction [Axis]"
       }
      }
     },
     "localname": "RelatedPartyTransactionAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Transaction between related party.",
        "label": "Related Party Transaction [Domain]",
        "terseLabel": "Related Party Transaction [Domain]"
       }
      }
     },
     "localname": "RelatedPartyTransactionDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Related Party Transaction [Line Items]",
        "terseLabel": "Related Party Transaction [Line Items]"
       }
      }
     },
     "localname": "RelatedPartyTransactionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsIntercompanyLoansWithRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfExpensesByIncomeStatementRpLineItemDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfRevenueByIncomeStatementRpLineItemDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Reflects the sum of all other revenue and income realized from sales and other transactions (excluding transactions that are eliminated in consolidated or combined financial statements) with related party during the period.",
        "label": "Related Party Transaction, Other Revenues from Transactions with Related Party",
        "terseLabel": "Related Party Transaction, Other Revenues from Transactions with Related Party",
        "verboseLabel": "Other income - related parties"
       }
      }
     },
     "localname": "RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfRevenueByIncomeStatementRpLineItemDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Purchases during the period (excluding transactions that are eliminated in consolidated or combined financial statements) with related party.",
        "label": "Related Party Transaction, Purchases from Related Party",
        "terseLabel": "Purchases from related parties"
       }
      }
     },
     "localname": "RelatedPartyTransactionPurchasesFromRelatedParty",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsIntercompanyLoansWithRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RelatedPartyTransactionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Related Party Transactions [Abstract]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis": {
     "auth_ref": [
      "r334",
      "r511",
      "r513",
      "r526",
      "r527",
      "r528",
      "r529",
      "r530",
      "r531",
      "r532",
      "r533",
      "r534",
      "r535",
      "r536",
      "r537"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of related party. Related parties include, but not limited to, affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party [Axis]",
        "terseLabel": "Related Party [Axis]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsByRelatedPartyAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfMarenBakkenDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsTables",
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesDetail",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails",
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/MajorCustomersAndConcentrationOfCreditRiskDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsIntercompanyLoansWithRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfExpensesByIncomeStatementRpLineItemDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfRevenueByIncomeStatementRpLineItemDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsTables",
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail",
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSupplementalCashFlowInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsDisclosureTextBlock": {
     "auth_ref": [
      "r517"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Related Party Transactions Disclosure [Text Block]",
        "terseLabel": "Related Party Agreements and Transactions"
       }
      }
     },
     "localname": "RelatedPartyTransactionsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactions",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RepaymentsOfLinesOfCredit": {
     "auth_ref": [
      "r106",
      "r136"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash outflow for payment of an obligation from a lender, including but not limited to, letter of credit, standby letter of credit and revolving credit arrangements.",
        "label": "Repayments of Lines of Credit",
        "terseLabel": "Repayments of lines of credit"
       }
      }
     },
     "localname": "RepaymentsOfLinesOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsIntercompanyLoansWithRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfLongTermDebt": {
     "auth_ref": [
      "r106"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash outflow for debt initially having maturity due after one year or beyond the normal operating cycle, if longer.",
        "label": "Repayments of Long-term Debt",
        "negatedTerseLabel": "Long-term debt - repayments",
        "terseLabel": "Long-term debt - repayments"
       }
      }
     },
     "localname": "RepaymentsOfLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail",
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfLongTermLinesOfCredit": {
     "auth_ref": [
      "r106"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash outflow for the settlement of obligation drawn from a contractual arrangement with the lender, including letter of credit, standby letter of credit and revolving credit arrangements, under which borrowings can be made up to a specific amount at any point in time with maturities due beyond one year or the operating cycle, if longer.",
        "label": "Repayments of Long-term Lines of Credit",
        "terseLabel": "Repayments of long-term lines of credit"
       }
      }
     },
     "localname": "RepaymentsOfLongTermLinesOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtCreditAgreementsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfRelatedPartyDebt": {
     "auth_ref": [
      "r106"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash outflow for the payment of a long-term borrowing made from a related party where one party can exercise control or significant influence over another party; including affiliates, owners or officers and their immediate families, pension trusts, and so forth. Alternate caption: Payments for Advances from Affiliates.",
        "label": "Repayments of Related Party Debt",
        "negatedLabel": "Related party debt - repayments"
       }
      }
     },
     "localname": "RepaymentsOfRelatedPartyDebt",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfShortTermDebt": {
     "auth_ref": [
      "r106"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cash outflow for a borrowing having initial term of repayment within one year or the normal operating cycle, if longer.",
        "label": "Repayments of Short-term Debt",
        "terseLabel": "Repayments of Short-term Debt"
       }
      }
     },
     "localname": "RepaymentsOfShortTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ReportingUnitAxis": {
     "auth_ref": [
      "r234",
      "r235"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by reporting unit.",
        "label": "Reporting Unit [Axis]",
        "terseLabel": "Reporting Unit [Axis]"
       }
      }
     },
     "localname": "ReportingUnitAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ReportingUnitDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Level of reporting at which goodwill is tested for impairment.",
        "label": "Reporting Unit [Domain]",
        "terseLabel": "Reporting Unit [Domain]"
       }
      }
     },
     "localname": "ReportingUnitDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ReportingUnitZeroOrNegativeCarryingAmountAmountOfAllocatedGoodwill": {
     "auth_ref": [
      "r234"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of goodwill allocated to reporting unit with zero or negative amount of net assets.",
        "label": "Reporting Unit, Zero or Negative Carrying Amount, Amount of Allocated Goodwill",
        "terseLabel": "Reporting Unit, Zero or Negative Carrying Amount, Amount of Allocated Goodwill"
       }
      }
     },
     "localname": "ReportingUnitZeroOrNegativeCarryingAmountAmountOfAllocatedGoodwill",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedCash": {
     "auth_ref": [
      "r125",
      "r539",
      "r558"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of cash restricted as to withdrawal or usage. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.",
        "label": "Restricted Cash",
        "terseLabel": "Restricted Cash"
       }
      }
     },
     "localname": "RestrictedCash",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSummaryOfSupplementalCashFlowInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings [Member]",
        "terseLabel": "Retained Earnings [Member]",
        "verboseLabel": "Equity of Predecessor"
       }
      }
     },
     "localname": "RetainedEarningsMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetirementPlanTypeAxis": {
     "auth_ref": [
      "r329",
      "r330",
      "r335",
      "r336",
      "r338"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by type of retirement benefit plan. Includes, but is not limited to, retirement benefit arrangement for defined benefit pension and other postretirement plans, retirement benefit arrangement for defined contribution pension and other postretirement plans, and special and contractual termination benefits payable upon retirement.",
        "label": "Retirement Plan Type [Axis]",
        "terseLabel": "Retirement Plan Type [Axis]"
       }
      }
     },
     "localname": "RetirementPlanTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeAccumulatedOtherComprehensiveIncomeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RetirementPlanTypeDomain": {
     "auth_ref": [
      "r329",
      "r330",
      "r335",
      "r336",
      "r338"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Type of plan designed to provide participants with retirement benefits. Includes, but is not limited to, retirement benefit arrangement for defined benefit pension and other postretirement plans, retirement benefit arrangement for defined contribution pension and other postretirement plans, and special and contractual termination benefits payable upon retirement.",
        "label": "Retirement Plan Type [Domain]",
        "terseLabel": "Retirement Plan Type [Domain]"
       }
      }
     },
     "localname": "RetirementPlanTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeAccumulatedOtherComprehensiveIncomeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Revenue from Contract with Customer [Abstract]"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax": {
     "auth_ref": [
      "r317",
      "r318"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise.",
        "label": "Revenue from Contract with Customer, Excluding Assessed Tax",
        "terseLabel": "Revenue from Contract with Customer, Excluding Assessed Tax"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerExcludingAssessedTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationRevenuesAndAdjustedEbitdaDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerTextBlock": {
     "auth_ref": [
      "r328"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure of revenue from contract with customer to transfer good or service and to transfer nonfinancial asset. Includes, but is not limited to, disaggregation of revenue, credit loss recognized from contract with customer, judgment and change in judgment related to contract with customer, and asset recognized from cost incurred to obtain or fulfill contract with customer. Excludes insurance and lease contracts.",
        "label": "Revenue from Contract with Customer [Text Block]",
        "terseLabel": "Revenue from Contract with Customer [Text Block]"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueRevenue"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RevenueFromRelatedParties": {
     "auth_ref": [
      "r88",
      "r577"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of revenue, fees and commissions earned from transactions between (a) a parent company and its subsidiaries; (b) subsidiaries of a common parent; (c) an entity and trusts for the benefit of employees, for example, but not limited to, pension and profit-sharing trusts that are managed by or under the trusteeship of the entity's management; (d) an entity and its principal, owners, management, or members of their immediate families; and (e) affiliates.",
        "label": "Revenue from Related Parties",
        "terseLabel": "Revenue from related parties"
       }
      }
     },
     "localname": "RevenueFromRelatedParties",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsIntercompanyLoansWithRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueRecognitionPolicyTextBlock": {
     "auth_ref": [
      "r128",
      "r129"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for revenue. Includes revenue from contract with customer and from other sources.",
        "label": "Revenue [Policy Text Block]",
        "terseLabel": "Revenue recognition"
       }
      }
     },
     "localname": "RevenueRecognitionPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RevenueRemainingPerformanceObligation": {
     "auth_ref": [
      "r315"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of transaction price allocated to performance obligation that has not been recognized as revenue.",
        "label": "Revenue, Remaining Performance Obligation, Amount",
        "terseLabel": "Revenue, Remaining Performance Obligation, Amount"
       }
      }
     },
     "localname": "RevenueRemainingPerformanceObligation",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueRemainingPerformanceObligationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction [Line Items]",
        "terseLabel": "Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction [Line Items]"
       }
      }
     },
     "localname": "RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueRemainingPerformanceObligationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1": {
     "auth_ref": [
      "r316"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Period in which remaining performance obligation is expected to be recognized as revenue, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Period",
        "terseLabel": "Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Period"
       }
      }
     },
     "localname": "RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueRemainingPerformanceObligationsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about expected timing for satisfying remaining performance obligation.",
        "label": "Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction [Table]",
        "terseLabel": "Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction [Table]"
       }
      }
     },
     "localname": "RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueRemainingPerformanceObligationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTableTextBlock": {
     "auth_ref": [
      "r316"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of expected timing for satisfying remaining performance obligation.",
        "label": "Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction [Table Text Block]",
        "terseLabel": "Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction [Table Text Block]"
       }
      }
     },
     "localname": "RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueRevenueTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_Revenues": {
     "auth_ref": [
      "r80",
      "r182",
      "r183",
      "r194"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss).",
        "label": "Revenues",
        "terseLabel": "Total revenues and other income",
        "verboseLabel": "Total segment revenues and other income"
       }
      }
     },
     "localname": "Revenues",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationRevenuesAndAdjustedEbitdaDetails",
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RightOfUseAssetObtainedInExchangeForFinanceLeaseLiability": {
     "auth_ref": [
      "r489",
      "r494"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of increase in right-of-use asset obtained in exchange for finance lease liability.",
        "label": "Right-of-Use Asset Obtained in Exchange for Finance Lease Liability",
        "terseLabel": "Right-of-Use Asset Obtained in Exchange for Finance Lease Liability"
       }
      }
     },
     "localname": "RightOfUseAssetObtainedInExchangeForFinanceLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSummaryOfSupplementalCashFlowInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability": {
     "auth_ref": [
      "r489",
      "r494"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of increase in right-of-use asset obtained in exchange for operating lease liability.",
        "label": "Right-of-Use Asset Obtained in Exchange for Operating Lease Liability",
        "terseLabel": "Right-of-Use Asset Obtained in Exchange for Operating Lease Liability"
       }
      }
     },
     "localname": "RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSummaryOfSupplementalCashFlowInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RisksAndUncertaintiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Risks and Uncertainties [Abstract]"
       }
      }
     },
     "localname": "RisksAndUncertaintiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SalesRevenueNetMember": {
     "auth_ref": [
      "r174"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Revenue from sale of product and rendering of service and other sources of income, when it serves as benchmark in concentration of risk calculation.",
        "label": "Revenue Benchmark [Member]",
        "terseLabel": "Revenue Benchmark [Member]"
       }
      }
     },
     "localname": "SalesRevenueNetMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/MajorCustomersAndConcentrationOfCreditRiskDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableMaturityTableTextBlock": {
     "auth_ref": [
      "r500"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of maturity of undiscounted cash flows to be received on annual basis for sales-type and direct financing leases receivable. Includes, but is not limited to, reconciliation to lease receivable recognized in statement of financial position.",
        "label": "Sales-type and Direct Financing Leases, Lease Receivable, Maturity [Table Text Block]",
        "terseLabel": "Sales-type and Direct Financing Leases, Lease Receivable, Maturity [Table Text Block]"
       }
      }
     },
     "localname": "SalesTypeAndDirectFinancingLeasesLeaseReceivableMaturityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived": {
     "auth_ref": [
      "r500"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of undiscounted cash flows to be received by lessor for sales-type and direct financing leases.",
        "label": "Sales-type and Direct Financing Leases, Lease Receivable, Payments to be Received",
        "terseLabel": "Sales-type and Direct Financing Leases, Lease Receivable, Payments to be Received"
       }
      }
     },
     "localname": "SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFourYears": {
     "auth_ref": [
      "r500"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of undiscounted cash flows to be received by lessor for sales-type and direct financing leases in fourth fiscal year following latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Sales-type and Direct Financing Leases, Lease Receivable, Payments to be Received, Four Years",
        "terseLabel": "Sales-type and Direct Financing Leases, Lease Receivable, Payments to be Received, Four Years"
       }
      }
     },
     "localname": "SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFourYears",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedNextTwelveMonths": {
     "auth_ref": [
      "r500"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of undiscounted cash flows to be received by lessor for sales-type and direct financing leases in the next fiscal year following latest fiscal year. Excludes interim and annual periods when interim periods are reported on rolling approach, from latest statement of financial position date.",
        "label": "Sales-type and Direct Financing Leases, Lease Receivable, Payments to be Received, Next Twelve Months",
        "terseLabel": "Sales-type and Direct Financing Leases, Lease Receivable, Payments to be Received, Next Twelve Months"
       }
      }
     },
     "localname": "SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThereafter": {
     "auth_ref": [
      "r500"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of undiscounted cash flows to be received by lessor for sales-type and direct financing leases after fifth fiscal year following latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest statement of financial position date.",
        "label": "Sales-type and Direct Financing Leases, Lease Receivable, Payments to be Received, Thereafter",
        "terseLabel": "Sales-type and Direct Financing Leases, Lease Receivable, Payments to be Received, Thereafter"
       }
      }
     },
     "localname": "SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThereafter",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThreeYears": {
     "auth_ref": [
      "r500"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of undiscounted cash flows to be received by lessor for sales-type and direct financing leases in third fiscal year following latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest statement of financial position date.",
        "label": "Sales-type and Direct Financing Leases, Lease Receivable, Payments to be Received, Three Years",
        "terseLabel": "Sales-type and Direct Financing Leases, Lease Receivable, Payments to be Received, Three Years"
       }
      }
     },
     "localname": "SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThreeYears",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedTwoYears": {
     "auth_ref": [
      "r500"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of undiscounted cash flows to be received by lessor for sales-type and direct financing leases in second fiscal year following latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest statement of financial position date.",
        "label": "Sales-type and Direct Financing Leases, Lease Receivable, Payments to be Received, Two Years",
        "terseLabel": "Sales-type and Direct Financing Leases, Lease Receivable, Payments to be Received, Two Years"
       }
      }
     },
     "localname": "SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedTwoYears",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableUndiscountedExcessAmount": {
     "auth_ref": [
      "r500"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of undiscounted lease receivable in excess of discounted receivable for sales-type and direct financing leases.",
        "label": "Sales-type and Direct Financing Leases, Lease Receivable, Undiscounted Excess Amount",
        "terseLabel": "Sales-type and Direct Financing Leases, Lease Receivable, Undiscounted Excess Amount"
       }
      }
     },
     "localname": "SalesTypeAndDirectFinancingLeasesLeaseReceivableUndiscountedExcessAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeLeaseInterestIncome": {
     "auth_ref": [
      "r163",
      "r496",
      "r505"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of interest income from net investment in sales-type lease.",
        "label": "Sales-type Lease, Interest Income",
        "terseLabel": "Sales-type Lease, Interest Income"
       }
      }
     },
     "localname": "SalesTypeLeaseInterestIncome",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeLeaseLeaseIncomeTableTextBlock": {
     "auth_ref": [
      "r163",
      "r507"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of components of income from sales-type lease.",
        "label": "Sales-type Lease, Lease Income [Table Text Block]",
        "terseLabel": "Sales-type Lease, Lease Income [Table Text Block]"
       }
      }
     },
     "localname": "SalesTypeLeaseLeaseIncomeTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SalesTypeLeaseLeaseReceivable": {
     "auth_ref": [
      "r508"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Present value of lease payments not yet received by lessor and amount expected to be derived from underlying asset, following end of lease term guaranteed by lessee or other third party unrelated to lessor, from sales-type lease.",
        "label": "Sales-type Lease, Lease Receivable",
        "terseLabel": "Sales-type Lease, Lease Receivable"
       }
      }
     },
     "localname": "SalesTypeLeaseLeaseReceivable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeLeaseSellingProfitLoss": {
     "auth_ref": [
      "r163",
      "r504"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of profit (loss) recognized at commencement from sales-type lease.",
        "label": "Sales-type Lease, Selling Profit (Loss)",
        "terseLabel": "Sales-type Lease, Selling Profit (Loss)"
       }
      }
     },
     "localname": "SalesTypeLeaseSellingProfitLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSummaryOfSupplementalCashFlowInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeLeaseUnguaranteedResidualAsset": {
     "auth_ref": [
      "r508"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Present value expected to be derived from underlying asset following end of lease term not guaranteed by lessee or other third party unrelated to lessor.",
        "label": "Sales-type Lease, Unguaranteed Residual Asset",
        "terseLabel": "Sales-type Lease, Unguaranteed Residual Asset"
       }
      }
     },
     "localname": "SalesTypeLeaseUnguaranteedResidualAsset",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeLeaseVariableLeaseIncome": {
     "auth_ref": [
      "r163",
      "r506"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of sales-type lease income from variable lease payments paid and payable to lessor, excluding amount included in measurement of lease receivable.",
        "label": "Sales-type Lease, Variable Lease Income",
        "terseLabel": "Sales-type Lease, Variable Lease Income"
       }
      }
     },
     "localname": "SalesTypeLeaseVariableLeaseIncome",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock": {
     "auth_ref": [
      "r70"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the components of accumulated other comprehensive income (loss).",
        "label": "Schedule of Accumulated Other Comprehensive Income (Loss) [Table Text Block]",
        "terseLabel": "Schedule of Accumulated Other Comprehensive Income (Loss) [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeAccumulatedOtherComprehensiveIncomeTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetsByMajorClassTextBlock": {
     "auth_ref": [
      "r239"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the characteristics, including initial carrying value, residual amount, weighted average useful life, of finite-lived intangible assets acquired during the period by major class. A major class is composed of intangible assets that can be grouped together because they are similar, either by nature or by their use in the operations of the company.",
        "label": "Schedule of Acquired Finite-Lived Intangible Assets by Major Class [Table Text Block]",
        "terseLabel": "Schedule of Acquired Finite-Lived Intangible Assets by Major Class"
       }
      }
     },
     "localname": "ScheduleOfAcquiredFiniteLivedIntangibleAssetsByMajorClassTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable": {
     "auth_ref": [
      "r380",
      "r381"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule reflecting each material business combination (or series of individually immaterial business combinations) completed during the period, including background, timing, and recognized assets and liabilities.",
        "label": "Schedule of Business Acquisitions, by Acquisition [Table]",
        "terseLabel": "Schedule of Business Acquisitions, by Acquisition [Table]"
       }
      }
     },
     "localname": "ScheduleOfBusinessAcquisitionsByAcquisitionTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfOzarkPipelineDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of supplemental cash flow information for the periods presented.",
        "label": "Schedule of Cash Flow, Supplemental Disclosures [Table Text Block]",
        "terseLabel": "Summary of Supplemental Cash Flow Information"
       }
      }
     },
     "localname": "ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfComprehensiveIncomeLossTableTextBlock": {
     "auth_ref": [
      "r65"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of components of comprehensive income (loss). Includes, but is not limited to, foreign currency translation adjustments, foreign currency transactions  designated as economic hedges of a net investment in foreign entity, gain (loss) and prior service cost (credit) for pension plans and other postretirement benefit plans.",
        "label": "Comprehensive Income (Loss) [Table Text Block]",
        "terseLabel": "Schedule of Accumulated Other Comprehensive Income (Loss) [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfComprehensiveIncomeLossTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeAccumulatedOtherComprehensiveIncome"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDebtInstrumentsTextBlock": {
     "auth_ref": [
      "r49",
      "r135",
      "r296",
      "r299",
      "r300",
      "r301",
      "r459",
      "r460",
      "r462",
      "r554"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of long-debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the entity, if longer.",
        "label": "Schedule of Long-term Debt Instruments [Table Text Block]",
        "terseLabel": "Schedule of Long-term Debt Instruments [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfDebtInstrumentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDebtTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of information pertaining to short-term and long-debt instruments or arrangements, including but not limited to identification of terms, features, collateral requirements and other information necessary to a fair presentation.",
        "label": "Schedule of Debt [Table Text Block]",
        "terseLabel": "Summary of Outstanding Borrowings"
       }
      }
     },
     "localname": "ScheduleOfDebtTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock": {
     "auth_ref": [
      "r415",
      "r421",
      "r425"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the location and amount of derivative instruments and nonderivative instruments designated as hedging instruments reported before netting adjustments, and the amount of gain (loss) on derivative instruments and nonderivative instruments designated and qualified as hedging instruments.",
        "label": "Derivative Instruments, Gain (Loss) [Table Text Block]",
        "terseLabel": "Derivative Instruments, Gain (Loss) [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock": {
     "auth_ref": [
      "r419"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the location and fair value amounts of derivative instruments (and nonderivative instruments that are designated and qualify as hedging instruments) reported in the statement of financial position.",
        "label": "Schedule of Derivative Instruments in Statement of Financial Position, Fair Value [Table Text Block]",
        "terseLabel": "Schedule of Derivative Instruments in Statement of Financial Position, Fair Value [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock": {
     "auth_ref": [
      "r157"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations.",
        "label": "Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]",
        "terseLabel": "Schedule of Basic and Diluted Earnings Per Unit"
       }
      }
     },
     "localname": "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEquityMethodInvestmentsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Schedule of Equity Method Investments [Line Items]",
        "terseLabel": "Schedule of Equity Method Investments [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfEquityMethodInvestmentsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfMarenBakkenDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfEquityMethodInvestmentsTable": {
     "auth_ref": [
      "r216"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Summarization of information required and determined to be disclosed concerning equity method investments in common stock. The summarized information includes: (a) the name of each investee or group of investees for which combined disclosure is appropriate, (2) the percentage ownership of common stock, (3) the difference, if any, between the carrying amount of an investment and the value of the underlying equity in the net assets and the accounting treatment of difference, if any, and (4) the aggregate value of each identified investment based on its quoted market price, if available.",
        "label": "Schedule of Equity Method Investments [Table]",
        "terseLabel": "Schedule of Equity Method Investments [Table]"
       }
      }
     },
     "localname": "ScheduleOfEquityMethodInvestmentsTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfMarenBakkenDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfExtinguishmentOfDebtTable": {
     "auth_ref": [
      "r289"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A table or schedule providing information pertaining to debt extinguished, including the amount of gain (loss) on the debt extinguished, the income tax effect on the gain (loss), and the amount of gain (loss), net of the related income tax.",
        "label": "Schedule of Extinguishment of Debt [Table]",
        "terseLabel": "Schedule of Extinguishment of Debt [Table]"
       }
      }
     },
     "localname": "ScheduleOfExtinguishmentOfDebtTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfExtinguishmentOfDebtTextBlock": {
     "auth_ref": [
      "r289"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of debt extinguished which may include, amount of gain (loss), the income tax effect and the per share amount of the aggregate gain (loss), net of the related income tax.",
        "label": "Schedule of Extinguishment of Debt [Table Text Block]",
        "terseLabel": "Schedule of Extinguishment of Debt [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfExtinguishmentOfDebtTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock": {
     "auth_ref": [
      "r433",
      "r434"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of assets and liabilities, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, that are measured at fair value on a recurring basis. The disclosures contemplated herein include the fair value measurements at the reporting date by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets (Level 1), significant other observable inputs (Level 2), and significant unobservable inputs (Level 3).",
        "label": "Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block]",
        "terseLabel": "Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable": {
     "auth_ref": [
      "r239",
      "r244"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Schedule of Finite-Lived Intangible Assets [Table]",
        "terseLabel": "Schedule of Finite-Lived Intangible Assets [Table]"
       }
      }
     },
     "localname": "ScheduleOfFiniteLivedIntangibleAssetsTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangibleAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfGoodwillTable": {
     "auth_ref": [
      "r233",
      "r236"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule of goodwill and the changes during the year due to acquisition, sale, impairment or for other reasons.",
        "label": "Schedule of Goodwill [Table]",
        "terseLabel": "Schedule of Goodwill [Table]"
       }
      }
     },
     "localname": "ScheduleOfGoodwillTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillNarrativeDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesReconciliationOfGoodwillDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfGoodwillTextBlock": {
     "auth_ref": [
      "r233",
      "r236"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of goodwill by reportable segment and in total which includes a rollforward schedule.",
        "label": "Schedule of Goodwill [Table Text Block]",
        "terseLabel": "Schedule of Goodwill"
       }
      }
     },
     "localname": "ScheduleOfGoodwillTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfIncentiveDistributionMadeToManagingMemberOrGeneralPartnerTable": {
     "auth_ref": [
      "r153",
      "r154",
      "r159",
      "r303"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule of incentive payments in cash or stock or units paid during the accounting period to managing members or general partners of a limited liability corporation or limited partnership, as governed by the operating or partnership agreement.",
        "label": "Schedule of Incentive Distribution Made to Managing Member or General Partner [Table]",
        "terseLabel": "Schedule of Incentive Distribution Made to Managing Member or General Partner [Table]"
       }
      }
     },
     "localname": "ScheduleOfIncentiveDistributionMadeToManagingMemberOrGeneralPartnerTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfInventoryCurrentTableTextBlock": {
     "auth_ref": [
      "r13",
      "r31",
      "r32",
      "r33"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the carrying amount as of the balance sheet date of merchandise, goods, commodities, or supplies held for future sale or to be used in manufacturing, servicing or production process.",
        "label": "Schedule of Inventory, Current [Table Text Block]",
        "terseLabel": "Summary of Inventories"
       }
      }
     },
     "localname": "ScheduleOfInventoryCurrentTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InventoriesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock": {
     "auth_ref": [
      "r284"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the combined aggregate amount of maturities and sinking fund requirements for all long-term borrowings for each of the five years following the date of the latest balance sheet date presented.",
        "label": "Schedule of Maturities of Long-term Debt [Table Text Block]",
        "terseLabel": "Schedule of Debt Payments"
       }
      }
     },
     "localname": "ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfNotionalAmountsOfOutstandingDerivativePositionsTableTextBlock": {
     "auth_ref": [
      "r409"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the notional amounts of outstanding derivative positions.",
        "label": "Schedule of Notional Amounts of Outstanding Derivative Positions [Table Text Block]",
        "terseLabel": "Schedule of Notional Amounts of Outstanding Derivative Positions [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfNotionalAmountsOfOutstandingDerivativePositionsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfPropertyPlantAndEquipmentTable": {
     "auth_ref": [
      "r39",
      "r254"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Property, Plant and Equipment [Table]",
        "terseLabel": "Schedule of Property, Plant and Equipment [Table]"
       }
      }
     },
     "localname": "ScheduleOfPropertyPlantAndEquipmentTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSmrTransactionDetails",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentNarrativeDetails",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfPropertySubjectToOrAvailableForOperatingLeaseTextBlock": {
     "auth_ref": [
      "r473"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of lessor's property under leasing agreements and property available for lease (not currently under lease) by property class, the gross amount, accumulated depreciation and net amount of  as of the balance sheet date.",
        "label": "Schedule of Property Subject to or Available for Operating Lease [Table Text Block]",
        "terseLabel": "Schedule of Property Subject to or Available for Operating Lease [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfPropertySubjectToOrAvailableForOperatingLeaseTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosuresTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfQuarterlyFinancialInformationTableTextBlock": {
     "auth_ref": [
      "r162"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of quarterly financial data. Includes, but is not limited to, financial information for fiscal quarters, cumulative effect of a change in accounting principle and earnings per share data.",
        "label": "Quarterly Financial Information [Table Text Block]",
        "terseLabel": "Summary of Quarterly Financial Data"
       }
      }
     },
     "localname": "ScheduleOfQuarterlyFinancialInformationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock": {
     "auth_ref": [
      "r384"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the amounts recognized as of the acquisition date for each major class of assets acquired and liabilities assumed. May include but not limited to the following: (a) acquired receivables; (b) contingencies recognized at the acquisition date; and (c) the fair value of noncontrolling interests in the acquiree.",
        "label": "Schedule of Recognized Identified Assets Acquired and Liabilities Assumed [Table Text Block]",
        "terseLabel": "Schedule of Recognized Identified Assets Acquired and Liabilities Assumed"
       }
      }
     },
     "localname": "ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable": {
     "auth_ref": [
      "r133",
      "r511",
      "r513",
      "r514",
      "r515",
      "r516"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule of quantitative and qualitative information pertaining to related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Schedule of Related Party Transactions, by Related Party [Table]",
        "terseLabel": "Schedule of Related Party Transactions, by Related Party [Table]"
       }
      }
     },
     "localname": "ScheduleOfRelatedPartyTransactionsByRelatedPartyTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsIntercompanyLoansWithRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfBalanceSheetByRpLineItemDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfExpensesByIncomeStatementRpLineItemDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfRevenueByIncomeStatementRpLineItemDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable": {
     "auth_ref": [
      "r181",
      "r186",
      "r188",
      "r192",
      "r233"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A table disclosing the profit or loss and total assets for each reportable segment of the entity. An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss.",
        "label": "Schedule of Segment Reporting Information, by Segment [Table]",
        "terseLabel": "Schedule of Segment Reporting Information, by Segment [Table]"
       }
      }
     },
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SegmentInformationDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock": {
     "auth_ref": [
      "r181",
      "r186",
      "r188",
      "r192",
      "r233"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the profit or loss and total assets for each reportable segment. An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss.",
        "label": "Schedule of Segment Reporting Information, by Segment [Table Text Block]",
        "terseLabel": "Schedule of Segment Reporting Information, by Segment [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SegmentInformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationArrangementByShareBasedPaymentAwardRestrictedStockUnitsVestedAndExpectedToVestTableTextBlock": {
     "auth_ref": [
      "r354"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of number, weighted-average exercise price or conversion ratio, aggregate intrinsic value, and weighted-average remaining contractual term for outstanding restricted stock units that are fully vested and expected to vest. Includes, but is not limited to, unvested restricted stock units for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
        "label": "Share-based Compensation Arrangements by Share-based Payment Award, Restricted Stock Units, Vested and Expected to Vest [Table Text Block]",
        "terseLabel": "Schedule of Share-based Compensation Arrangement by Share-based Payment Award, Restricted Stock Units, Vested and Expected to Vest"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationArrangementByShareBasedPaymentAwardRestrictedStockUnitsVestedAndExpectedToVestTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable": {
     "auth_ref": [
      "r341",
      "r359"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of information about share-based payment arrangement.",
        "label": "Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table]",
        "terseLabel": "Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table]"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationAssumptionsDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPerformanceUnitAwardActivityDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfValuesRelatedToVestedAndUnvestedRestrictedStockAwardsDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock": {
     "auth_ref": [
      "r345"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the number and weighted-average grant date fair value for restricted stock units that were outstanding at the beginning and end of the year, and the number of restricted stock units that were granted, vested, or forfeited during the year.",
        "label": "Share-based Payment Arrangement, Restricted Stock Unit, Activity [Table Text Block]",
        "terseLabel": "Summary of Unit Award Activity"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfStockByClassTable": {
     "auth_ref": [
      "r52",
      "r134",
      "r291",
      "r293",
      "r294",
      "r296",
      "r297",
      "r298",
      "r299",
      "r300",
      "r301",
      "r303"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule detailing information related to equity by class of stock. Class of stock includes common, convertible, and preferred stocks which are not redeemable or redeemable solely at the option of the issuer. It also includes preferred stock with redemption features that are solely within the control of the issuer and mandatorily redeemable stock if redemption is required to occur only upon liquidation or termination of the reporting entity.",
        "label": "Schedule of Stock by Class [Table]",
        "terseLabel": "Schedule of Stock by Class [Table]"
       }
      }
     },
     "localname": "ScheduleOfStockByClassTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfStockholdersEquityTableTextBlock": {
     "auth_ref": [
      "r295"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of changes in the separate accounts comprising stockholders' equity (in addition to retained earnings) and of the changes in the number of shares of equity securities during at least the most recent annual fiscal period and any subsequent interim period presented is required to make the financial statements sufficiently informative if both financial position and results of operations are presented.",
        "label": "Schedule of Stockholders Equity [Table Text Block]",
        "terseLabel": "Schedule of Stockholders Equity"
       }
      }
     },
     "localname": "ScheduleOfStockholdersEquityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock": {
     "auth_ref": [
      "r244"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of the amount of amortization expense expected to be recorded in succeeding fiscal years for finite-lived intangible assets.",
        "label": "Schedule of Finite-Lived Intangible Assets, Future Amortization Expense [Table Text Block]",
        "terseLabel": "Schedule of Finite-Lived Intangible Assets, Future Amortization Expense"
       }
      }
     },
     "localname": "ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SegmentDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Components of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity.",
        "label": "Segments [Domain]",
        "terseLabel": "Segments [Domain]"
       }
      }
     },
     "localname": "SegmentDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationDetail",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangibleAssetsDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesReconciliationOfGoodwillDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/MajorCustomersAndConcentrationOfCreditRiskDetails",
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails",
      "http://www.marathonpetroleum.com/role/RevenueRemainingPerformanceObligationsDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationAssetsBySegmentDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationRevenuesAndAdjustedEbitdaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SegmentReportingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Segment Reporting [Abstract]"
       }
      }
     },
     "localname": "SegmentReportingAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SegmentReportingAssetReconcilingItemLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Segment Reporting, Asset Reconciling Item [Line Items]",
        "terseLabel": "Segment Reporting, Asset Reconciling Item [Line Items]"
       }
      }
     },
     "localname": "SegmentReportingAssetReconcilingItemLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SegmentInformationAssetsBySegmentDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SegmentReportingDisclosureTextBlock": {
     "auth_ref": [
      "r200"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for reporting segments including data and tables. Reportable segments include those that meet any of the following quantitative thresholds a) it's reported revenue, including sales to external customers and intersegment sales or transfers is 10 percent or more of the combined revenue, internal and external, of all operating segments b) the absolute amount of its reported profit or loss is 10 percent or more of the greater, in absolute amount of 1) the combined reported profit of all operating segments that did not report a loss or 2) the combined reported loss of all operating segments that did report a loss c) its assets are 10 percent or more of the combined assets of all operating segments.",
        "label": "Segment Reporting Disclosure [Text Block]",
        "terseLabel": "Segment Information"
       }
      }
     },
     "localname": "SegmentReportingDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SegmentInformation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SegmentReportingInformationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Segment Reporting Information [Line Items]",
        "terseLabel": "Segment Reporting Information [Line Items]"
       }
      }
     },
     "localname": "SegmentReportingInformationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SegmentInformationDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SegmentReportingRevenueReconcilingItemLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Segment Reporting, Revenue Reconciling Item [Line Items]",
        "terseLabel": "Segment Reporting, Revenue Reconciling Item [Line Items]"
       }
      }
     },
     "localname": "SegmentReportingRevenueReconcilingItemLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SegmentInformationRevenuesAndAdjustedEbitdaDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SeniorNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Bond that takes priority over other debt securities sold by the issuer. In the event the issuer goes bankrupt, senior debt holders receive priority for (must receive) repayment prior to (relative to) junior and unsecured (general) creditors.",
        "label": "Senior Notes [Member]",
        "terseLabel": "Senior Notes"
       }
      }
     },
     "localname": "SeniorNotesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/DebtSeniorNotesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SeriesAPreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Outstanding nonredeemable series A preferred stock or outstanding series A preferred stock. Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer. Classified within temporary equity if redemption is outside the control of the issuer.",
        "label": "Series A Preferred Stock [Member]",
        "terseLabel": "Series A Preferred Stock [Member]"
       }
      }
     },
     "localname": "SeriesAPreferredStockMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail",
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitScheduleOfDistributionsByPartnerClassDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SeriesBPreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Outstanding nonredeemable series B preferred stock or outstanding series B preferred stock. Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer. Classified within temporary equity if redemption is outside the control of the issuer.",
        "label": "Series B Preferred Stock [Member]",
        "terseLabel": "Series B Preferred Stock [Member]"
       }
      }
     },
     "localname": "SeriesBPreferredStockMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails",
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail",
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitScheduleOfDistributionsByPartnerClassDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ServiceMember": {
     "auth_ref": [
      "r320"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Assistance, including, but not limited to, technology, license and maintenance, license and service, maintenance, oil and gas, and financial service.",
        "label": "Service [Member]",
        "terseLabel": "Service [Member]"
       }
      }
     },
     "localname": "ServiceMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsSummaryOfRevenueByIncomeStatementRpLineItemDetail",
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationRevenuesAndAdjustedEbitdaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ServiceOtherMember": {
     "auth_ref": [
      "r320"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Assistance, including, but not limited to, technology, license and maintenance, license and service, maintenance, oil and gas, financial service, and other financial service, classified as other.",
        "label": "Service, Other [Member]",
        "terseLabel": "Service, Other [Member]"
       }
      }
     },
     "localname": "ServiceOtherMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensation": {
     "auth_ref": [
      "r116"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of noncash expense for share-based payment arrangement.",
        "label": "Share-based Payment Arrangement, Noncash Expense",
        "verboseLabel": "Stock-based compensation plans expenses"
       }
      }
     },
     "localname": "ShareBasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Share-based Payment Arrangement, Noncash Expense [Abstract]",
        "terseLabel": "Compensation Expense"
       }
      }
     },
     "localname": "ShareBasedCompensationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1": {
     "auth_ref": [
      "r342"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Estimated period over which an employee is required to provide service in exchange for the equity-based payment award, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Award Requisite Service Period",
        "terseLabel": "Award requisite service period"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod": {
     "auth_ref": [
      "r350"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that were forfeited during the reporting period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeited in Period",
        "negatedTerseLabel": "Forfeited"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPerformanceUnitAwardActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod": {
     "auth_ref": [
      "r352"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period",
        "terseLabel": "Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPerformanceUnitAwardActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r352"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The weighted average fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value",
        "verboseLabel": "Grant date fair value of performance units granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationAssumptionsDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPerformanceUnitAwardActivityDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPhantomUnitAwardActivityDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfValuesRelatedToVestedAndUnvestedRestrictedStockAwardsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber": {
     "auth_ref": [
      "r351"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The number of non-vested equity-based payment instruments, excluding stock (or unit) options, that validly exist and are outstanding as of the balance sheet date.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number",
        "periodEndLabel": "Outstanding at December 31, 2019",
        "periodStartLabel": "Outstanding at December 31, 2018"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPerformanceUnitAwardActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number of Shares [Roll Forward]",
        "terseLabel": "Number of Units"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPerformanceUnitAwardActivityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod": {
     "auth_ref": [
      "r353"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that vested during the reporting period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period",
        "negatedTerseLabel": "Settled"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPerformanceUnitAwardActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate": {
     "auth_ref": [
      "r355"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The estimated measure of the percentage by which a share price is expected to fluctuate during a period. Volatility also may be defined as a probability-weighted measure of the dispersion of returns about the mean. The volatility of a share price is the standard deviation of the continuously compounded rates of return on the share over a specified period. That is the same as the standard deviation of the differences in the natural logarithms of the stock prices plus dividends, if any, over the period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Volatility Rate",
        "terseLabel": "Expected volatility"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationAssumptionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate": {
     "auth_ref": [
      "r356"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The risk-free interest rate assumption that is used in valuing an option on its own shares.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Risk Free Interest Rate",
        "terseLabel": "Risk-free interest rate"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationAssumptionsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award [Line Items]",
        "terseLabel": "Equity-Based Compensation [Line Items]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationAssumptionsDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPerformanceUnitAwardActivityDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPhantomUnitAwardActivityDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfValuesRelatedToVestedAndUnvestedRestrictedStockAwardsDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsExercised": {
     "auth_ref": [
      "r349"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of non-option equity instruments exercised by participants.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Non-Option Equity Instruments, Exercised",
        "negatedTerseLabel": "Settled"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsExercised",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPhantomUnitAwardActivityDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsForfeitures": {
     "auth_ref": [
      "r350"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of shares under non-option equity instrument agreements that were cancelled as a result of occurrence of a terminating event.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Non-Option Equity Instruments, Forfeitures",
        "negatedTerseLabel": "Forfeited"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsForfeitures",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPhantomUnitAwardActivityDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted": {
     "auth_ref": [
      "r348"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Net number of non-option equity instruments granted to participants.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Non-Option Equity Instruments, Granted",
        "terseLabel": "Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPerformanceUnitAwardActivityDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPhantomUnitAwardActivityDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingNumber": {
     "auth_ref": [
      "r346",
      "r347"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of equity instruments other than options outstanding, including both vested and non-vested instruments.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Non-Option Equity Instruments, Outstanding, Number",
        "periodEndLabel": "Outstanding at December 31, 2019",
        "periodStartLabel": "Outstanding at December 31, 2018"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingNumber",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPhantomUnitAwardActivityDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Non-Option Equity Instruments, Outstanding [Roll Forward]",
        "terseLabel": "Number of Units"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPhantomUnitAwardActivityDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "auth_ref": [
      "r339",
      "r343"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Award under share-based payment arrangement.",
        "label": "Award Type [Domain]",
        "terseLabel": "Award Type [Domain]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationAssumptionsDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPerformanceUnitAwardActivityDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfPhantomUnitAwardActivityDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationSummaryOfValuesRelatedToVestedAndUnvestedRestrictedStockAwardsDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy": {
     "auth_ref": [
      "r127",
      "r341",
      "r344"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for award under share-based payment arrangement. Includes, but is not limited to, methodology and assumption used in measuring cost.",
        "label": "Share-based Payment Arrangement [Policy Text Block]",
        "terseLabel": "Equity-based compensation arrangements"
       }
      }
     },
     "localname": "ShareBasedCompensationOptionAndIncentivePlansPolicy",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SharesIssuedPricePerShare": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Per share or per unit amount of equity securities issued.",
        "label": "Shares Issued, Price Per Share",
        "terseLabel": "Units issued, price per unit"
       }
      }
     },
     "localname": "SharesIssuedPricePerShare",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails",
      "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsNarrativeDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShortTermLeaseCost": {
     "auth_ref": [
      "r486",
      "r494"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of short-term lease cost, excluding expense for lease with term of one month or less.",
        "label": "Short-term Lease, Cost",
        "terseLabel": "Short-term Lease, Cost"
       }
      }
     },
     "localname": "ShortTermLeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SignificantAccountingPoliciesTextBlock": {
     "auth_ref": [
      "r142"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for all significant accounting policies of the reporting entity.",
        "label": "Significant Accounting Policies [Text Block]",
        "terseLabel": "Summary of Principal Accounting Policies"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_StatementBusinessSegmentsAxis": {
     "auth_ref": [
      "r0",
      "r186",
      "r233",
      "r257",
      "r265",
      "r266",
      "r569"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by business segments.",
        "label": "Segments [Axis]",
        "terseLabel": "Segments [Axis]"
       }
      }
     },
     "localname": "StatementBusinessSegmentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationDetail",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangibleAssetsDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesReconciliationOfGoodwillDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestEquityMethodInvestmentsDetails",
      "http://www.marathonpetroleum.com/role/InvestmentsAndNoncontrollingInterestsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/MajorCustomersAndConcentrationOfCreditRiskDetails",
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails",
      "http://www.marathonpetroleum.com/role/RevenueRemainingPerformanceObligationsDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationAssetsBySegmentDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationRevenuesAndAdjustedEbitdaDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementClassOfStockAxis": {
     "auth_ref": [
      "r23",
      "r24",
      "r25",
      "r295"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by the different classes of stock of the entity.",
        "label": "Class of Stock [Axis]",
        "terseLabel": "Class of Stock [Axis]"
       }
      }
     },
     "localname": "StatementClassOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAcquisitionMtAiryTerminalDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsRefiningLogisticsAndFuelsDistributionDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsJointInterestAcquisitionDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsApplicableToPeriodDistributionsWereEarnedDetails",
      "http://www.marathonpetroleum.com/role/EquityReorganizationTransactionsDetails",
      "http://www.marathonpetroleum.com/role/EquityUnitsOutstandingDetails",
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail",
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitScheduleOfDistributionsByPartnerClassDetail",
      "http://www.marathonpetroleum.com/role/SelectQuarterlyFinancialDataDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "auth_ref": [
      "r53",
      "r295"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by component of equity.",
        "label": "Equity Components [Axis]",
        "terseLabel": "Equity Components [Axis]"
       }
      }
     },
     "localname": "StatementEquityComponentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeAccumulatedOtherComprehensiveIncome",
      "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeAccumulatedOtherComprehensiveIncomeDetails",
      "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeAccumulatedOtherComprehensiveIncomeTables",
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/EquityAtmProgramDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "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.",
        "label": "Statement [Line Items]",
        "terseLabel": "Statement [Line Items]"
       }
      }
     },
     "localname": "StatementLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccountingStandardsAsu201602LeasesAndRelatedUpdatesDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/RevenueContractBalanceRollforwardDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Statement of Cash Flows [Abstract]"
       }
      }
     },
     "localname": "StatementOfCashFlowsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Statement of Financial Position [Abstract]"
       }
      }
     },
     "localname": "StatementOfFinancialPositionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Statement of Comprehensive Income [Abstract]"
       }
      }
     },
     "localname": "StatementOfIncomeAndComprehensiveIncomeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Statement of Stockholders' Equity [Abstract]"
       }
      }
     },
     "localname": "StatementOfStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed.",
        "label": "Statement [Table]",
        "terseLabel": "Statement [Table]"
       }
      }
     },
     "localname": "StatementTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccountingStandardsAsu201602LeasesAndRelatedUpdatesDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/RevenueContractBalanceRollforwardDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockOrUnitsAvailableForDistributions": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Number of stock or units eligible for distribution to members or limited partners of the limited liability company (LLC) or limited partnership (LP).",
        "label": "Stock or Units Available for Distributions",
        "terseLabel": "Stock or Units Available for Distributions"
       }
      }
     },
     "localname": "StockOrUnitsAvailableForDistributions",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationNarrativeDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockholdersEquityChangeInReportingEntity": {
     "auth_ref": [
      "r145"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Impact on total stockholders' equity of cumulative effect of change in reporting entity. A change in reporting entity is considered as follows: (1) presenting consolidated statements in place of the financial statements of individual reporting entities; (2) changing the combination of subsidiaries that make up the group for which the consolidated financial statements are presented; and (3) changing the entities included in the combined financial statements. A business combination accounted for under the purchase method and the consolidation of a variable interest entity are not considered a change in reporting entity.",
        "label": "Stockholders' Equity, Change in Reporting Entity",
        "negatedTerseLabel": "Allocation of MPC's net investment at acquisition"
       }
      }
     },
     "localname": "StockholdersEquityChangeInReportingEntity",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest [Abstract]",
        "terseLabel": "Equity"
       }
      }
     },
     "localname": "StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockholdersEquityNoteDisclosureTextBlock": {
     "auth_ref": [
      "r308"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for shareholders' equity comprised of portions attributable to the parent entity and noncontrolling interest, including other comprehensive income. Includes, but is not limited to, balances of common stock, preferred stock, additional paid-in capital, other capital and retained earnings, accumulated balance for each classification of other comprehensive income and amount of comprehensive income.",
        "label": "Stockholders' Equity Note Disclosure [Text Block]",
        "terseLabel": "Equity"
       }
      }
     },
     "localname": "StockholdersEquityNoteDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/Equity"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_StockholdersEquityOther": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "This element represents movements included in the statement of changes in stockholders' equity which are not separately disclosed or provided for elsewhere in the taxonomy.",
        "label": "Stockholders' Equity, Other",
        "terseLabel": "Stockholders' Equity, Other"
       }
      }
     },
     "localname": "StockholdersEquityOther",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SubsequentEventMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Identifies event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event [Member]",
        "terseLabel": "Subsequent Event"
       }
      }
     },
     "localname": "SubsequentEventMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "auth_ref": [
      "r518"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Axis]",
        "terseLabel": "Subsequent Event Type [Axis]"
       }
      }
     },
     "localname": "SubsequentEventTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSupplementalCashFlowInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "auth_ref": [
      "r518"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Domain]",
        "terseLabel": "Subsequent Event Type [Domain]"
       }
      }
     },
     "localname": "SubsequentEventTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSupplementalCashFlowInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SupplementalBalanceSheetDisclosuresTextBlock": {
     "auth_ref": [
      "r64"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for supplemental balance sheet disclosures, including descriptions and amounts for assets, liabilities, and equity.",
        "label": "Supplemental Balance Sheet Disclosures [Text Block]",
        "terseLabel": "Supplemental Balance Sheet Disclosures [Text Block]"
       }
      }
     },
     "localname": "SupplementalBalanceSheetDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosureTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SupplementalCashFlowElementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Supplemental Cash Flow Elements [Abstract]"
       }
      }
     },
     "localname": "SupplementalCashFlowElementsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Supplemental Cash Flow Information [Abstract]",
        "terseLabel": "Net cash provided by operating activities included:"
       }
      }
     },
     "localname": "SupplementalCashFlowInformationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSummaryOfSupplementalCashFlowInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TaxesExcludingIncomeAndExciseTaxes": {
     "auth_ref": [
      "r95"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "All taxes not related to income of the entity or excise or sales taxes levied on the revenue of the entity that are not reported elsewhere. These taxes could include production, real estate, personal property, and pump tax.",
        "label": "Taxes, Miscellaneous",
        "terseLabel": "Other taxes"
       }
      }
     },
     "localname": "TaxesExcludingIncomeAndExciseTaxes",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityCarryingAmountIncludingPortionAttributableToNoncontrollingInterests": {
     "auth_ref": [
      "r51"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Carrying amount, attributable to parent and noncontrolling interests, of an entity's issued and outstanding stock which is not included within permanent equity. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. Includes stock with a put option held by an ESOP and stock redeemable by a holder only in the event of a change in control of the issuer.",
        "label": "Temporary Equity, Carrying Amount, Including Portion Attributable to Noncontrolling Interests",
        "periodEndLabel": "Redeemable preferred units, ending balance",
        "periodStartLabel": "Redeemable preferred units, beginning balance",
        "terseLabel": "Series A preferred units"
       }
      }
     },
     "localname": "TemporaryEquityCarryingAmountIncludingPortionAttributableToNoncontrollingInterests",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionsAndeavorLogisticsLpDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsRollforwardOfRedeemablePreferredUnitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityNetIncome": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The portion of net income or loss attributable to temporary equity interest.",
        "label": "Temporary Equity, Net Income",
        "terseLabel": "Net income allocated"
       }
      }
     },
     "localname": "TemporaryEquityNetIncome",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsRollforwardOfRedeemablePreferredUnitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityTableTextBlock": {
     "auth_ref": [
      "r14",
      "r292"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of temporary equity. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer.",
        "label": "Temporary Equity [Table Text Block]",
        "terseLabel": "Rollforward of Redeemable Preferred Units"
       }
      }
     },
     "localname": "TemporaryEquityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RedeemablePreferredUnitsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_TimingOfTransferOfGoodOrServiceAxis": {
     "auth_ref": [
      "r325"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by timing of transfer of good or service to customer.",
        "label": "Timing of Transfer of Good or Service [Axis]",
        "terseLabel": "Timing of Transfer of Good or Service [Axis]"
       }
      }
     },
     "localname": "TimingOfTransferOfGoodOrServiceAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TimingOfTransferOfGoodOrServiceDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Timing of transfer of good or service to customer. Includes, but is not limited to, at point in time or over time.",
        "label": "Timing of Transfer of Good or Service [Domain]",
        "terseLabel": "Timing of Transfer of Good or Service [Domain]"
       }
      }
     },
     "localname": "TimingOfTransferOfGoodOrServiceDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TradeAndOtherAccountsReceivablePolicy": {
     "auth_ref": [
      "r204",
      "r205",
      "r206",
      "r207",
      "r208",
      "r209"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for accounts receivable.",
        "label": "Accounts Receivable [Policy Text Block]",
        "terseLabel": "Receivables"
       }
      }
     },
     "localname": "TradeAndOtherAccountsReceivablePolicy",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_TypeOfAdoptionMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Adoption and early adoption of sources of change to generally accepted accounting principles (GAAP) in the United States. The FASB released the FASB Accounting Standards Codification as the authoritative source of literature effective for interim and annual periods ending after September 15, 2009. As part of the Codification process, the FASB issues Accounting Standards Updates to amend the Codification but otherwise the Accounting Standards Updates are not authoritative in their own right. All previous accounting standards (such as FASB Statements of Financial Accounting Standards, FASB Interpretations, FASB Staff Positions, Emerging Issues Task Force Consensuses, other pronouncements of the FASB or other designated bodies, or other forms of GAAP are considered accounting pronouncements) were superseded upon the adoption of the Codification. For an interim period, references to the superseded standards are included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.",
        "label": "Type of Adoption [Domain]",
        "terseLabel": "Type of Adoption [Domain]"
       }
      }
     },
     "localname": "TypeOfAdoptionMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccountingStandardsAsu201602LeasesAndRelatedUpdatesDetails",
      "http://www.marathonpetroleum.com/role/RevenueContractBalanceRollforwardDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TypeOfArrangementAxis": {
     "auth_ref": [
      "r394"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by collaborative arrangement and arrangement other than collaborative applicable to revenue-generating activity or operations.",
        "label": "Collaborative Arrangement and Arrangement Other than Collaborative [Axis]",
        "terseLabel": "Collaborative Arrangement and Arrangement Other than Collaborative [Axis]"
       }
      }
     },
     "localname": "TypeOfArrangementAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsNarrativeDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_UnamortizedDebtIssuanceExpense": {
     "auth_ref": [
      "r40"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The remaining balance of debt issuance expenses that were capitalized and are being amortized against income over the lives of the respective bond issues. This does not include the amounts capitalized as part of the cost of the utility plant or asset.",
        "label": "Unamortized Debt Issuance Expense",
        "terseLabel": "Unamortized debt issuance costs"
       }
      }
     },
     "localname": "UnamortizedDebtIssuanceExpense",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain": {
     "auth_ref": [
      "r268"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "General description of the goods or services to be purchased from the counterparty to the unconditional purchase arrangement.",
        "label": "Unconditional Purchase Obligation, Category of Goods or Services Acquired [Domain]",
        "terseLabel": "Unconditional Purchase Obligation, Category of Goods or Services Acquired [Domain]"
       }
      }
     },
     "localname": "UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesSmrLiabilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic": {
     "auth_ref": [
      "r150"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of undistributed earnings (loss) allocated to participating securities for the basic earnings (loss) per share or per unit calculation under the two-class method.",
        "label": "Undistributed Earnings (Loss) Allocated to Participating Securities, Basic",
        "terseLabel": "Undistributed net loss attributable to MPLX LP"
       }
      }
     },
     "localname": "UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitScheduleOfDistributionsByPartnerClassDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UndistributedEarningsLossAvailableToCommonShareholdersBasic": {
     "auth_ref": [
      "r150",
      "r151",
      "r152"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of undistributed earnings (loss) allocated to common stock as if earnings had been distributed. Excludes distributed earnings.",
        "label": "Undistributed Earnings (Loss) Available to Common Shareholders, Basic",
        "terseLabel": "Undistributed net income loss attributable to MPLX LP"
       }
      }
     },
     "localname": "UndistributedEarningsLossAvailableToCommonShareholdersBasic",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrealizedGainLossOnDerivativesAndCommodityContracts": {
     "auth_ref": [
      "r117"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The net change in the difference between the fair value and the carrying value, or in the comparative fair values, of open derivatives, commodity, or energy contracts, held at each balance sheet date, that was included in earnings for the period.",
        "label": "Unrealized Gain (Loss) on Derivatives and Commodity Contracts",
        "terseLabel": "Unrealized Gain (Loss) on Derivatives and Commodity Contracts"
       }
      }
     },
     "localname": "UnrealizedGainLossOnDerivativesAndCommodityContracts",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesIncomeStatementLocationDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationAdjustedEbitdaToNetIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UseOfEstimates": {
     "auth_ref": [
      "r169",
      "r170",
      "r171",
      "r172",
      "r177",
      "r178",
      "r179"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Disclosure of accounting policy for the use of estimates in the preparation of financial statements in conformity with generally accepted accounting principles.",
        "label": "Use of Estimates, Policy [Policy Text Block]",
        "terseLabel": "Use of estimates"
       }
      }
     },
     "localname": "UseOfEstimates",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfPrincipalAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ValuationTechniqueAxis": {
     "auth_ref": [
      "r436"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by valuation approach and technique.",
        "label": "Valuation Approach and Technique [Axis]",
        "terseLabel": "Valuation Approach and Technique [Axis]"
       }
      }
     },
     "localname": "ValuationTechniqueAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ValuationTechniqueDomain": {
     "auth_ref": [
      "r436"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Valuation approach and technique.",
        "label": "Valuation Approach and Technique [Domain]",
        "terseLabel": "Valuation Approach and Technique [Domain]"
       }
      }
     },
     "localname": "ValuationTechniqueDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_VariableLeaseCost": {
     "auth_ref": [
      "r487",
      "r494"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of variable lease cost, excluded from lease liability, recognized when obligation for payment is incurred for finance and operating leases.",
        "label": "Variable Lease, Cost",
        "terseLabel": "Variable Lease, Cost"
       }
      }
     },
     "localname": "VariableLeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLesseeDisclosuresDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_WeightedAverageLimitedPartnershipUnitsOutstanding": {
     "auth_ref": [
      "r305"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average number of limited partnership units outstanding determined by relating the portion of time within a reporting period that limited partnership units have been outstanding to the total time in that period.",
        "label": "Weighted Average Limited Partnership Units Outstanding, Basic",
        "terseLabel": "Common - basic (in units)",
        "verboseLabel": "Basic (shares)"
       }
      }
     },
     "localname": "WeightedAverageLimitedPartnershipUnitsOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageLimitedPartnershipUnitsOutstandingDiluted": {
     "auth_ref": [
      "r305"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Weighted average number of limited partnership units outstanding determined by relating the portion of time within a reporting period that limited partnership units have been outstanding to the total time in that period. Used in the calculation of diluted net income or loss per limited partnership unit.",
        "label": "Weighted Average Limited Partnership Units Outstanding, Diluted",
        "terseLabel": "Common - diluted (in units)",
        "verboseLabel": "Diluted (shares)"
       }
      }
     },
     "localname": "WeightedAverageLimitedPartnershipUnitsOutstandingDiluted",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/NetIncomeLossPerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WhollyOwnedPropertiesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Real estate properties and units within those properties that are wholly owned.",
        "label": "Wholly Owned Properties [Member]",
        "terseLabel": "Wholly Owned Properties"
       }
      }
     },
     "localname": "WhollyOwnedPropertiesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAcquisitionOfHstWhcMplxtDetails"
     ],
     "xbrltype": "domainItemType"
    }
   },
   "unitCount": 11
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=d3e1361-107760"
  },
  "r1": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760"
  },
  "r10": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=118951113&loc=d3e6904-107765"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3213-108585"
  },
  "r101": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3213-108585"
  },
  "r102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3255-108585"
  },
  "r103": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3255-108585"
  },
  "r104": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3255-108585"
  },
  "r105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3291-108585"
  },
  "r106": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3291-108585"
  },
  "r107": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3291-108585"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3291-108585"
  },
  "r109": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3367-108585"
  },
  "r11": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=118951113&loc=d3e6911-107765"
  },
  "r110": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3000-108585"
  },
  "r111": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21D",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=SL94080555-108585"
  },
  "r112": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3521-108585"
  },
  "r113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3536-108585"
  },
  "r114": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3536-108585"
  },
  "r115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3536-108585"
  },
  "r116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3602-108585"
  },
  "r117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3602-108585"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3602-108585"
  },
  "r119": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3044-108585"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=118951113&loc=d3e6935-107765"
  },
  "r120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=98513485&loc=d3e4273-108586"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=98513485&loc=d3e4297-108586"
  },
  "r122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=98513485&loc=d3e4304-108586"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=98513485&loc=d3e4313-108586"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=98513485&loc=d3e4332-108586"
  },
  "r125": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=98513485&loc=SL98516268-108586"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "230",
   "URI": "http://asc.fasb.org/topic&trid=2134446"
  },
  "r127": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=84158767&loc=d3e18780-107790"
  },
  "r128": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=84158767&loc=d3e18823-107790"
  },
  "r129": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=84158767&loc=d3e18823-107790"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6361739&loc=d3e7789-107766"
  },
  "r130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  },
  "r131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(k)(1))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  },
  "r133": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(k))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08.(d),(e))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  },
  "r135": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08.(e),(f))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  },
  "r136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08.(f))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  },
  "r137": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08.(k)(1))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  },
  "r138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08.(n)(2))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  },
  "r139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08.(n))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690"
  },
  "r14": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(27)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r140": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(a))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e24072-122690"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04.(a))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=26873400&loc=d3e24072-122690"
  },
  "r142": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "235",
   "URI": "http://asc.fasb.org/topic&trid=2122369"
  },
  "r143": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22499-107794"
  },
  "r144": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22694-107794"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22624-107794"
  },
  "r146": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22644-107794"
  },
  "r147": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22658-107794"
  },
  "r148": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22663-107794"
  },
  "r149": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "250",
   "URI": "http://asc.fasb.org/topic&trid=2122394"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r150": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=117326831&loc=SL5780133-109256"
  },
  "r151": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "65",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=117326831&loc=d3e2793-109256"
  },
  "r152": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "66",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=117326831&loc=d3e2814-109256"
  },
  "r153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "72",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=6926462&loc=SL5163672-159010"
  },
  "r154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "73",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=6926462&loc=SL5163674-159010"
  },
  "r155": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257"
  },
  "r157": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257"
  },
  "r158": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=6371337&loc=d3e3630-109257"
  },
  "r159": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "103",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=109243028&loc=SL5199526-159011"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(11))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "260",
   "URI": "http://asc.fasb.org/topic&trid=2144383"
  },
  "r161": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "270",
   "URI": "http://asc.fasb.org/extlink&oid=116846552&loc=d3e543-108305"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "270",
   "URI": "http://asc.fasb.org/extlink&oid=118952077&loc=d3e1280-108306"
  },
  "r163": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "270",
   "URI": "http://asc.fasb.org/extlink&oid=118952077&loc=SL77927221-108306"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "270",
   "URI": "http://asc.fasb.org/topic&trid=2126967"
  },
  "r165": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=6828210&loc=d3e70191-108054"
  },
  "r166": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=6373374&loc=d3e70434-108055"
  },
  "r167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=6373374&loc=d3e70478-108055"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=6373374&loc=d3e70478-108055"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(13))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r170": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6161-108592"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6191-108592"
  },
  "r173": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6327-108592"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6404-108592"
  },
  "r176": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6442-108592"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6061-108592"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6132-108592"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6143-108592"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(14))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "275",
   "URI": "http://asc.fasb.org/topic&trid=2134479"
  },
  "r181": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8721-108599"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599"
  },
  "r183": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599"
  },
  "r186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599"
  },
  "r187": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8813-108599"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8813-108599"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8906-108599"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8906-108599"
  },
  "r191": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8906-108599"
  },
  "r192": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8906-108599"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8924-108599"
  },
  "r194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8933-108599"
  },
  "r195": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8933-108599"
  },
  "r196": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=115929826&loc=d3e8933-108599"
  },
  "r197": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=115929826&loc=d3e9031-108599"
  },
  "r198": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=115929826&loc=d3e9038-108599"
  },
  "r199": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=115929826&loc=d3e9054-108599"
  },
  "r2": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "205",
   "URI": "http://asc.fasb.org/topic&trid=2122149"
  },
  "r20": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(20))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "280",
   "URI": "http://asc.fasb.org/topic&trid=2134510"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118952595&loc=d3e4647-111522"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118952595&loc=d3e4428-111522"
  },
  "r203": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118952595&loc=d3e4531-111522"
  },
  "r204": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=d3e4975-111524"
  },
  "r205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=SL6953423-111524"
  },
  "r206": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=d3e5212-111524"
  },
  "r207": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=d3e5033-111524"
  },
  "r208": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=d3e5093-111524"
  },
  "r209": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=84159169&loc=d3e10133-111534"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(22))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r210": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=118954474&loc=d3e32787-111569"
  },
  "r211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=109237563&loc=d3e33749-111570"
  },
  "r212": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33912-111571"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r214": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r215": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r216": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(b)",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "323",
   "URI": "http://asc.fasb.org/topic&trid=2196965"
  },
  "r22": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(25))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "330",
   "URI": "http://asc.fasb.org/extlink&oid=116847112&loc=d3e4492-108314"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "330",
   "URI": "http://asc.fasb.org/extlink&oid=116847112&loc=d3e4556-108314"
  },
  "r222": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "330",
   "URI": "http://asc.fasb.org/topic&trid=2126998"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Topic": "340",
   "URI": "http://asc.fasb.org/extlink&oid=68074540&loc=d3e5865-108316"
  },
  "r224": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Topic": "340",
   "URI": "http://asc.fasb.org/extlink&oid=68074540&loc=d3e5879-108316"
  },
  "r225": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=99380562&loc=d3e13770-109266"
  },
  "r226": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=99380562&loc=d3e13777-109266"
  },
  "r227": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=77989000&loc=SL49117168-202975"
  },
  "r228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=108376223&loc=d3e13816-109267"
  },
  "r229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=108376223&loc=d3e13816-109267"
  },
  "r23": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(27))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=108376223&loc=d3e13816-109267"
  },
  "r231": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=108376223&loc=d3e13816-109267"
  },
  "r232": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=108376223&loc=d3e13816-109267"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=108376223&loc=d3e13816-109267"
  },
  "r234": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=108376223&loc=SL108378252-109267"
  },
  "r235": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=108376223&loc=d3e13854-109267"
  },
  "r236": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=108376223&loc=d3e13854-109267"
  },
  "r237": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=6388964&loc=d3e16212-109274"
  },
  "r238": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=6388964&loc=d3e16225-109274"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r240": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(3)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
  },
  "r241": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
  },
  "r242": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
  },
  "r243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "((a)(1),(b))",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r244": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r245": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r246": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(2)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r247": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(3)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r248": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r249": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "350",
   "URI": "http://asc.fasb.org/topic&trid=2144416"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=109226348&loc=d3e2443-110228"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230"
  },
  "r256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230"
  },
  "r257": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230"
  },
  "r258": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "360",
   "URI": "http://asc.fasb.org/topic&trid=2155823"
  },
  "r259": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "410",
   "URI": "http://asc.fasb.org/extlink&oid=6392692&loc=d3e7535-110849"
  },
  "r26": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3)(a)(2))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r260": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "410",
   "URI": "http://asc.fasb.org/extlink&oid=6393242&loc=d3e13185-110859"
  },
  "r261": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "410",
   "URI": "http://asc.fasb.org/extlink&oid=6393242&loc=d3e13207-110859"
  },
  "r262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "410",
   "URI": "http://asc.fasb.org/extlink&oid=6393242&loc=d3e13231-110859"
  },
  "r263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "410",
   "URI": "http://asc.fasb.org/extlink&oid=6571209&loc=d3e13669-110860"
  },
  "r264": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "30",
   "Topic": "410",
   "URI": "http://asc.fasb.org/subtopic&trid=2175709"
  },
  "r265": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "420",
   "URI": "http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 5.P.4(d))",
   "Topic": "420",
   "URI": "http://asc.fasb.org/extlink&oid=115931487&loc=d3e140904-122747"
  },
  "r267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "440",
   "URI": "http://asc.fasb.org/extlink&oid=77896938&loc=d3e25287-109308"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "440",
   "URI": "http://asc.fasb.org/extlink&oid=77896938&loc=d3e25383-109308"
  },
  "r269": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "440",
   "URI": "http://asc.fasb.org/topic&trid=2144648"
  },
  "r27": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r270": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=6395460&loc=d3e13647-108346"
  },
  "r271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=118942415&loc=d3e14326-108349"
  },
  "r272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=118942415&loc=d3e14615-108349"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=118942415&loc=d3e14394-108349"
  },
  "r274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=118942415&loc=d3e14435-108349"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=118942415&loc=d3e14453-108349"
  },
  "r276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=118942415&loc=d3e14472-108349"
  },
  "r277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=118942415&loc=d3e14557-108349"
  },
  "r278": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "450",
   "URI": "http://asc.fasb.org/topic&trid=2127136"
  },
  "r279": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "460",
   "URI": "http://asc.fasb.org/extlink&oid=118943654&loc=d3e12021-110248"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(31))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "460",
   "URI": "http://asc.fasb.org/extlink&oid=118943654&loc=d3e12053-110248"
  },
  "r281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "460",
   "URI": "http://asc.fasb.org/extlink&oid=118943654&loc=d3e12069-110248"
  },
  "r282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(1)",
   "Topic": "460",
   "URI": "http://asc.fasb.org/extlink&oid=118943654&loc=d3e12069-110248"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "460",
   "URI": "http://asc.fasb.org/extlink&oid=118943654&loc=d3e12069-110248"
  },
  "r284": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=6802200&loc=d3e1835-112601"
  },
  "r285": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=6802200&loc=SL6230698-112601"
  },
  "r286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=109500613&loc=SL6031897-161870"
  },
  "r287": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=109500613&loc=SL6036836-161870"
  },
  "r288": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "40",
   "SubTopic": "50",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=117329964&loc=d3e12317-112629"
  },
  "r289": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=7516071&loc=d3e13374-112631"
  },
  "r29": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(32))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "470",
   "URI": "http://asc.fasb.org/topic&trid=2208564"
  },
  "r291": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(CFRR 211.02)",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=65877616&loc=d3e177068-122764"
  },
  "r292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=65877616&loc=d3e177068-122764"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=65888546&loc=d3e21300-112643"
  },
  "r294": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21553-112644"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644"
  },
  "r296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21475-112644"
  },
  "r297": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21484-112644"
  },
  "r298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21488-112644"
  },
  "r299": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21506-112644"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=118951113&loc=d3e6676-107765"
  },
  "r30": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(5))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r300": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21521-112644"
  },
  "r301": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21538-112644"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.F)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770"
  },
  "r303": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 4.F)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=27012166&loc=d3e187171-122770"
  },
  "r305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.F)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=27012166&loc=d3e187171-122770"
  },
  "r306": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 5.F)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=27012166&loc=d3e187171-122770"
  },
  "r307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=27012166&loc=d3e187171-122770"
  },
  "r308": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "505",
   "URI": "http://asc.fasb.org/topic&trid=2208762"
  },
  "r309": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=118944033&loc=SL49130531-203044"
  },
  "r31": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6)(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r310": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=118944033&loc=SL49130532-203044"
  },
  "r311": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=118944033&loc=SL49130533-203044"
  },
  "r312": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=118956577&loc=SL49130551-203045"
  },
  "r313": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=118956577&loc=SL49130551-203045"
  },
  "r314": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=118956577&loc=SL49130551-203045"
  },
  "r315": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=118956577&loc=SL49130556-203045"
  },
  "r316": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(1)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=118956577&loc=SL49130556-203045"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=118956577&loc=SL49130543-203045"
  },
  "r318": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=118956577&loc=SL49130545-203045"
  },
  "r319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=118956577&loc=SL49130549-203045"
  },
  "r32": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6)(b))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=118944142&loc=SL49130690-203046-203046"
  },
  "r321": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=118944142&loc=SL49130690-203046-203046"
  },
  "r322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=118944142&loc=SL49130690-203046-203046"
  },
  "r323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=118944142&loc=SL49130690-203046-203046"
  },
  "r324": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=118944142&loc=SL49130690-203046-203046"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=118944142&loc=SL49130690-203046-203046"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=118944142&loc=SL49130690-203046-203046"
  },
  "r327": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=113356391&loc=SL49131195-203048"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "606",
   "URI": "http://asc.fasb.org/topic&trid=49130388"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "15",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "712",
   "URI": "http://asc.fasb.org/extlink&oid=6410066&loc=d3e79218-111664"
  },
  "r33": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6)(c))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r330": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "15",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "712",
   "URI": "http://asc.fasb.org/extlink&oid=6410066&loc=d3e79218-111664"
  },
  "r331": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r332": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r333": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(j)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(n)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r335": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
  },
  "r336": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118255775&loc=d3e2410-114920"
  },
  "r337": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=118257860&loc=d3e4179-114921"
  },
  "r338": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "70",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=49170846&loc=d3e28014-114942"
  },
  "r339": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5047-113901"
  },
  "r34": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.1)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r340": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5047-113901"
  },
  "r341": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5047-113901"
  },
  "r342": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r343": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a),(g)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r344": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b),(f)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r345": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r346": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r347": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(ii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r348": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r349": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r35": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.11)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r350": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(3)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r351": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(i)-(ii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r352": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r353": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r354": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r355": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(ii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r356": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iv)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r357": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r358": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r359": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901"
  },
  "r36": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.12)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r360": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 14.F)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=115993241&loc=d3e301413-122809"
  },
  "r361": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "718",
   "URI": "http://asc.fasb.org/topic&trid=2228938"
  },
  "r362": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=116821951&loc=d3e32247-109318"
  },
  "r363": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=116821951&loc=d3e32280-109318"
  },
  "r364": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=116821951&loc=d3e31917-109318"
  },
  "r365": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=116821951&loc=d3e31931-109318"
  },
  "r366": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=116821951&loc=d3e31958-109318"
  },
  "r367": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32809-109319"
  },
  "r368": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32840-109319"
  },
  "r369": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32847-109319"
  },
  "r37": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.13(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r370": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32639-109319"
  },
  "r371": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.7)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=116825942&loc=d3e330036-122817"
  },
  "r372": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=109238882&loc=d3e38679-109324"
  },
  "r373": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "30",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=65884525&loc=d3e40913-109327"
  },
  "r374": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Subparagraph": "(a)-(d)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=6909625&loc=d3e227-128457"
  },
  "r375": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=116868678&loc=d3e961-128460"
  },
  "r376": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r377": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r378": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(2)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r379": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(3)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r38": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.13)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r380": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r381": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1486-128463"
  },
  "r382": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "37",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=116868840&loc=d3e2207-128464"
  },
  "r383": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=116869197&loc=d3e4845-128472"
  },
  "r384": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=116869197&loc=d3e4845-128472"
  },
  "r385": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=77890550&loc=d3e5333-128473"
  },
  "r386": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=77890550&loc=d3e5419-128473"
  },
  "r387": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(1)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479"
  },
  "r388": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(4)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479"
  },
  "r389": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "50",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=66006417&loc=d3e8580-128490"
  },
  "r39": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.14)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r390": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "30",
   "SubTopic": "50",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=66023778&loc=d3e9298-128500"
  },
  "r391": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "30",
   "SubTopic": "50",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=66023778&loc=d3e9334-128500"
  },
  "r392": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "30",
   "SubTopic": "50",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=66023778&loc=d3e9337-128500"
  },
  "r393": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "805",
   "URI": "http://asc.fasb.org/topic&trid=2303972"
  },
  "r394": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "808",
   "URI": "http://asc.fasb.org/extlink&oid=6931272&loc=SL5834143-161434"
  },
  "r395": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=108774443&loc=SL4568447-111683"
  },
  "r396": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=108774443&loc=SL4613673-111683"
  },
  "r397": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=108774443&loc=SL4569616-111683"
  },
  "r398": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=d3e5614-111684"
  },
  "r399": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=118951113&loc=d3e6676-107765"
  },
  "r40": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.17)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r400": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r401": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r402": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c),(3)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r403": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4J",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116874947&loc=SL4591551-111686"
  },
  "r404": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116874947&loc=SL4591552-111686"
  },
  "r405": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3A-02)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116822174&loc=d3e355033-122828"
  },
  "r406": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3A-03)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116822174&loc=d3e355100-122828"
  },
  "r407": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3A-04)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116822174&loc=d3e355119-122828"
  },
  "r408": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5579240-113959"
  },
  "r409": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5579245-113959"
  },
  "r41": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r410": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5579245-113959"
  },
  "r411": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5580258-113959"
  },
  "r412": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=d3e41620-113959"
  },
  "r413": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=d3e41638-113959"
  },
  "r414": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5618551-113959"
  },
  "r415": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5618551-113959"
  },
  "r416": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a),(c)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624163-113959"
  },
  "r417": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624163-113959"
  },
  "r418": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624163-113959"
  },
  "r419": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624163-113959"
  },
  "r42": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(b),22(b))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r420": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624171-113959"
  },
  "r421": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624171-113959"
  },
  "r422": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4CC",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL109998890-113959"
  },
  "r423": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(4)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624177-113959"
  },
  "r424": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624177-113959"
  },
  "r425": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624181-113959"
  },
  "r426": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=SL5624186-113959"
  },
  "r427": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=d3e41641-113959"
  },
  "r428": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=d3e41675-113959"
  },
  "r429": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109980867&loc=d3e41678-113959"
  },
  "r43": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19,20)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r430": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "182",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=116861445&loc=SL5629052-113961"
  },
  "r431": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "25",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=109977999&loc=d3e76258-113986"
  },
  "r432": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "815",
   "URI": "http://asc.fasb.org/topic&trid=2229140"
  },
  "r433": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r434": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r435": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r436": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r437": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(1)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r438": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(2)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r439": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r44": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r440": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r441": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r442": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
  },
  "r443": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19279-110258"
  },
  "r444": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19279-110258"
  },
  "r445": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=SL6742756-110258"
  },
  "r446": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=117815213&loc=SL6742756-110258"
  },
  "r447": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "60",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=7493716&loc=d3e21868-110260"
  },
  "r448": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=116690757&loc=d3e13220-108610"
  },
  "r449": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=118260190&loc=d3e13279-108611"
  },
  "r45": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.20)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r450": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=118260190&loc=d3e13433-108611"
  },
  "r451": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=118260190&loc=d3e13467-108611"
  },
  "r452": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=118260190&loc=d3e13476-108611"
  },
  "r453": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=118260190&loc=d3e13531-108611"
  },
  "r454": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=118260190&loc=d3e13537-108611"
  },
  "r455": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=118260190&loc=d3e13537-108611"
  },
  "r456": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=75031198&loc=d3e14064-108612"
  },
  "r457": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=98513438&loc=d3e33268-110906"
  },
  "r458": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391"
  },
  "r459": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=114775744&loc=d3e28541-108399"
  },
  "r46": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.21)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r460": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=114775744&loc=d3e28551-108399"
  },
  "r461": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=114775744&loc=d3e28555-108399"
  },
  "r462": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400"
  },
  "r463": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(Note 3)",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=82846649&loc=d3e38371-112697"
  },
  "r464": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "Note 1",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=82846649&loc=d3e38371-112697"
  },
  "r465": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "Note 3",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=82846649&loc=d3e38371-112697"
  },
  "r466": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=77902458&loc=d3e39896-112707"
  },
  "r467": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=77902458&loc=d3e39927-112707"
  },
  "r468": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "20",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=77913719&loc=d3e40879-112712"
  },
  "r469": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=77907726&loc=d3e41457-112716"
  },
  "r47": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r470": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=77907726&loc=d3e41460-112716"
  },
  "r471": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=77902758&loc=d3e41499-112717"
  },
  "r472": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=77902758&loc=d3e41502-112717"
  },
  "r473": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=84164653&loc=d3e41551-112718"
  },
  "r474": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=84164653&loc=d3e41551-112718"
  },
  "r475": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=84164817&loc=d3e45280-112737"
  },
  "r476": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=119364159&loc=SL77916155-209984"
  },
  "r477": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=77888419&loc=SL77918627-209977"
  },
  "r478": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=77888419&loc=SL77918627-209977"
  },
  "r479": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=77888419&loc=SL77918638-209977"
  },
  "r48": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(2))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r480": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=77888419&loc=SL77918643-209977"
  },
  "r481": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=77888419&loc=SL77918643-209977"
  },
  "r482": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=77888419&loc=SL77918643-209977"
  },
  "r483": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918673-209980"
  },
  "r484": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918686-209980"
  },
  "r485": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918686-209980"
  },
  "r486": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918686-209980"
  },
  "r487": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918686-209980"
  },
  "r488": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(1)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918686-209980"
  },
  "r489": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(2)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918686-209980"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r490": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(3)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918686-209980"
  },
  "r491": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(4)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918686-209980"
  },
  "r492": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918686-209980"
  },
  "r493": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=77888426&loc=SL77918701-209980"
  },
  "r494": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "53",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=77888399&loc=SL77918982-209971"
  },
  "r495": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/subtopic&trid=77888251"
  },
  "r496": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=118948219&loc=SL77919101-209958"
  },
  "r497": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=77888421&loc=SL77919306-209978"
  },
  "r498": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=77888421&loc=SL77919308-209978"
  },
  "r499": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=77888421&loc=SL77919311-209978"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=118951113&loc=d3e6676-107765"
  },
  "r50": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.25)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r500": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=119202524&loc=SL77919391-209981"
  },
  "r501": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=119202524&loc=SL77919396-209981"
  },
  "r502": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(3)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=119202524&loc=SL77919359-209981"
  },
  "r503": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=119202524&loc=SL77919359-209981"
  },
  "r504": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=119202524&loc=SL77919372-209981"
  },
  "r505": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(2)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=119202524&loc=SL77919372-209981"
  },
  "r506": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=119202524&loc=SL77919372-209981"
  },
  "r507": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=119202524&loc=SL77919372-209981"
  },
  "r508": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=119202524&loc=SL77919379-209981"
  },
  "r509": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "30",
   "Topic": "842",
   "URI": "http://asc.fasb.org/subtopic&trid=77888252"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.27(b))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r510": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r511": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r512": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39599-107864"
  },
  "r513": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864"
  },
  "r514": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39622-107864"
  },
  "r515": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39678-107864"
  },
  "r516": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39691-107864"
  },
  "r517": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "850",
   "URI": "http://asc.fasb.org/topic&trid=2122745"
  },
  "r518": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "http://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662"
  },
  "r519": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "http://asc.fasb.org/extlink&oid=6842918&loc=SL6314020-165662"
  },
  "r52": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.28,29)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r520": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=118948506&loc=d3e107207-111719"
  },
  "r521": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=118948506&loc=d3e107207-111719"
  },
  "r522": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=118948506&loc=SL51823488-111719"
  },
  "r523": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "340",
   "Topic": "928",
   "URI": "http://asc.fasb.org/extlink&oid=6473545&loc=d3e61844-108004"
  },
  "r524": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-10(c)(3)(ii)(A))",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=82851474&loc=d3e511914-122862"
  },
  "r525": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-10(c)(7)(ii))",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=82851474&loc=d3e511914-122862"
  },
  "r526": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=68064819&loc=d3e61929-109447"
  },
  "r527": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=68064819&loc=d3e61929-109447"
  },
  "r528": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=68064819&loc=d3e62059-109447"
  },
  "r529": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=68064819&loc=d3e62059-109447"
  },
  "r53": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29-31)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r530": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=68064819&loc=d3e62395-109447"
  },
  "r531": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=68064819&loc=d3e62395-109447"
  },
  "r532": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=68064819&loc=d3e62479-109447"
  },
  "r533": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=68064819&loc=d3e62479-109447"
  },
  "r534": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=68064819&loc=SL6807758-109447"
  },
  "r535": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=68064819&loc=SL6807758-109447"
  },
  "r536": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(1)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=68064819&loc=d3e61872-109447"
  },
  "r537": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(2)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=68064819&loc=d3e61872-109447"
  },
  "r538": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "940",
   "URI": "http://asc.fasb.org/extlink&oid=68072869&loc=d3e41242-110953"
  },
  "r539": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(1)(a))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r54": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.3(a)(2))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r540": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(11))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r541": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(13))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r542": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(16))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r543": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(17))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r544": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(22))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r545": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(23))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r546": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.13,16)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r547": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15(5))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r548": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r549": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.17)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878"
  },
  "r55": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.6(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r550": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(13)(f))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
  },
  "r551": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(15))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
  },
  "r552": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(22))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260"
  },
  "r553": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "405",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6957935&loc=d3e64057-112817"
  },
  "r554": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=75038535&loc=d3e64711-112823"
  },
  "r555": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(16))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r556": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r557": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(19))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r558": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(2))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r559": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(24))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r56": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.6(b))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r560": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r561": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(8))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r562": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.(a),19)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r563": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.15(a))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r564": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.16)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r565": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.17)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910"
  },
  "r566": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(10))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=116637232&loc=SL114874131-224263"
  },
  "r567": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(18))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=116637232&loc=SL114874131-224263"
  },
  "r568": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(8))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=116637232&loc=SL114874131-224263"
  },
  "r569": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4H",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=116884468&loc=SL65671331-158438"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.6)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r570": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=117419784&loc=SL117783719-158441"
  },
  "r571": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(b)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=117419784&loc=SL117783719-158441"
  },
  "r572": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(c)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=117419784&loc=SL117783719-158441"
  },
  "r573": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "825",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=99380617&loc=SL75241803-196195"
  },
  "r574": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(16))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=6488278&loc=d3e603758-122996"
  },
  "r575": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04.16(a))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=6488278&loc=d3e603758-122996"
  },
  "r576": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04.16(b))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=6488278&loc=d3e603758-122996"
  },
  "r577": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07.1(c))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=116637345&loc=SL114874292-224272"
  },
  "r578": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14(1)(a)(3))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=50485924&loc=d3e611322-123010"
  },
  "r579": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "310",
   "Subparagraph": "(SX 210.12-29(Footnote 4))",
   "Topic": "948",
   "URI": "http://asc.fasb.org/extlink&oid=6589523&loc=d3e617274-123014"
  },
  "r58": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.8)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r580": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "740",
   "Topic": "954",
   "URI": "http://asc.fasb.org/extlink&oid=6491622&loc=d3e9504-115650"
  },
  "r581": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Footnote 2))",
   "Topic": "970",
   "URI": "http://asc.fasb.org/extlink&oid=6590653&loc=d3e638233-123024"
  },
  "r582": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b"
  },
  "r583": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r584": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1-"
  },
  "r585": {
   "Name": "Forms 10-K, 20-F, 40-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "15",
   "Subsection": "d-1"
  },
  "r586": {
   "Name": "Regulation 12B",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r587": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1204",
   "Subparagraph": "(1)"
  },
  "r588": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1204",
   "Subparagraph": "(2)"
  },
  "r589": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "303",
   "Subparagraph": "(5)"
  },
  "r59": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.9)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682"
  },
  "r590": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405"
  },
  "r591": {
   "Footnote": "2",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28"
  },
  "r592": {
   "Footnote": "4",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "29"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(g)(1)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=118951113&loc=d3e6676-107765"
  },
  "r60": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r61": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r62": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313"
  },
  "r63": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226000-175313"
  },
  "r64": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "210",
   "URI": "http://asc.fasb.org/topic&trid=2122208"
  },
  "r65": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=d3e526-108580"
  },
  "r66": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(i),(j),(k)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669646-108580"
  },
  "r67": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669646-108580"
  },
  "r68": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=d3e637-108580"
  },
  "r69": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=d3e681-108580"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=118951113&loc=d3e6676-107765"
  },
  "r70": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669686-108580"
  },
  "r71": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL34724394-108580"
  },
  "r72": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669619-108580"
  },
  "r73": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669619-108580"
  },
  "r74": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669619-108580"
  },
  "r75": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669625-108580"
  },
  "r76": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=SL7669625-108580"
  },
  "r77": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=d3e557-108580"
  },
  "r78": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116657188&loc=SL116659661-227067"
  },
  "r79": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118951672&loc=d3e1436-108581"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=118951113&loc=d3e6787-107765"
  },
  "r80": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(1))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
  },
  "r81": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(10))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
  },
  "r82": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(12))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
  },
  "r83": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(20))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
  },
  "r84": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(4))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
  },
  "r85": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(8))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
  },
  "r86": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(b)(4))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
  },
  "r88": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.1(e))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
  },
  "r89": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.1)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=118951113&loc=d3e6801-107765"
  },
  "r90": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.13)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
  },
  "r91": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.2(a),(d))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
  },
  "r92": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.2)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.3)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
  },
  "r94": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.4)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
  },
  "r95": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.9)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
  },
  "r96": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "8",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3179-108585"
  },
  "r98": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3179-108585"
  },
  "r99": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3213-108585"
  }
 },
 "version": "2.1"
}
