{
 "instance": {
  "mplx-2020331x10q.htm": {
   "axisCustom": 4,
   "axisStandard": 40,
   "contextCount": 417,
   "dts": {
    "calculationLink": {
     "local": [
      "mpc-20200331_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "mpc-20200331_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-2020331x10q.htm"
     ]
    },
    "labelLink": {
     "local": [
      "mpc-20200331_lab.xml"
     ],
     "remote": [
      "https://xbrl.sec.gov/dei/2019/dei-doc-2019-01-31.xml",
      "http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-doc-2019-01-31.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "mpc-20200331_pre.xml"
     ]
    },
    "referenceLink": {
     "remote": [
      "http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-ref-2019-01-31.xml",
      "https://xbrl.sec.gov/dei/2019/dei-ref-2019-01-31.xml"
     ]
    },
    "schema": {
     "local": [
      "mpc-20200331.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/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/reference-2009-12-16.xsd",
      "http://xbrl.fasb.org/us-gaap/2019/elts/us-parts-codification-2019-01-31.xsd",
      "http://www.xbrl.org/lrr/role/deprecated-2009-12-16.xsd"
     ]
    }
   },
   "elementCount": 723,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2019-01-31": 47,
    "http://www.marathonpetroleum.com/20200331": 4,
    "http://xbrl.sec.gov/dei/2019-01-31": 5,
    "total": 56
   },
   "keyCustom": 70,
   "keyStandard": 383,
   "memberCustom": 71,
   "memberStandard": 46,
   "nsprefix": "mpc",
   "nsuri": "http://www.marathonpetroleum.com/20200331",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentTransitionReport",
      "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",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentTransitionReport",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2104100 - Disclosure - Accounting Standards Accounting Standards",
     "role": "http://www.marathonpetroleum.com/role/AccountingStandardsAccountingStandards",
     "shortName": "Accounting Standards Accounting Standards",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessCombinationDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2105100 - Disclosure - Acquisitions",
     "role": "http://www.marathonpetroleum.com/role/Acquisitions",
     "shortName": "Acquisitions",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessCombinationDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EquityMethodInvestmentsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2106100 - Disclosure - Equity Method Investments",
     "role": "http://www.marathonpetroleum.com/role/EquityMethodInvestments",
     "shortName": "Equity Method Investments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EquityMethodInvestmentsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2107100 - Disclosure - Related Party Agreements and Transactions",
     "role": "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactions",
     "shortName": "Related Party Agreements and Transactions",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2109100 - Disclosure - Net Income Per Limited Partner Unit",
     "role": "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnit",
     "shortName": "Net Income Per Limited Partner Unit",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2110100 - Disclosure - Equity",
     "role": "http://www.marathonpetroleum.com/role/Equity",
     "shortName": "Equity",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "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 - Series A Preferred Units",
     "role": "http://www.marathonpetroleum.com/role/SeriesPreferredUnits",
     "shortName": "Series A Preferred Units",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "mpc:TemporaryEquityDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "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-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InventoryDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2116100 - Disclosure - Inventories",
     "role": "http://www.marathonpetroleum.com/role/Inventories",
     "shortName": "Inventories",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InventoryDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2117100 - 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-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "link:footnote",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EquityMethodInvestmentOtherThanTemporaryImpairment",
      "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-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "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-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2118100 - Disclosure - Goodwill and Intangibles (Notes)",
     "role": "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesNotes",
     "shortName": "Goodwill and Intangibles (Notes)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2120100 - 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-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2121100 - 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-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2122100 - Disclosure - Debt",
     "role": "http://www.marathonpetroleum.com/role/Debt",
     "shortName": "Debt",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RevenueFromContractWithCustomerTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2123100 - Disclosure - Revenue",
     "role": "http://www.marathonpetroleum.com/role/Revenue",
     "shortName": "Revenue",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RevenueFromContractWithCustomerTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CashFlowSupplementalDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2124100 - 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-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CashFlowSupplementalDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ComprehensiveIncomeNoteTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2125100 - Disclosure - Accumulated Other Comprehensive Income",
     "role": "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncome",
     "shortName": "Accumulated Other Comprehensive Income",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ComprehensiveIncomeNoteTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2126100 - Disclosure - Equity-Based Compensation Plan",
     "role": "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlan",
     "shortName": "Equity-Based Compensation Plan",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LeasesOfLessorDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2127100 - Disclosure - Leases Leases (Notes)",
     "role": "http://www.marathonpetroleum.com/role/LeasesLeasesNotes",
     "shortName": "Leases Leases (Notes)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LeasesOfLessorDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2128100 - 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-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": null,
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1001001 - Statement - Consolidated Statements of Income (Parenthetical)",
     "role": "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncomeParenthetical",
     "shortName": "Consolidated Statements of Income (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2201201 - Disclosure - Description of the Business and Basis of Presentation Accounting Policies (Policies)",
     "role": "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationAccountingPoliciesPolicies",
     "shortName": "Description of the Business and Basis of Presentation Accounting Policies (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:UseOfEstimates",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerSharePolicyTextBlock",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2209201 - Disclosure - Net Income Per Limited Partner Unit Accounting Policy (Policies)",
     "role": "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitAccountingPolicyPolicies",
     "shortName": "Net Income Per Limited Partner Unit Accounting Policy (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": null
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EquityMethodInvestmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2306301 - Disclosure - Equity Method Investments (Tables)",
     "role": "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsTables",
     "shortName": "Equity Method Investments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EquityMethodInvestmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2307301 - 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": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "mpc:ScheduleofDistributionsByPartnerByClassTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2309302 - Disclosure - Net Income Per Limited Partner Unit (Tables)",
     "role": "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitTables",
     "shortName": "Net Income Per Limited Partner Unit (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "mpc:ScheduleofDistributionsByPartnerByClassTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfStockholdersEquityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2310301 - Disclosure - Equity (Tables)",
     "role": "http://www.marathonpetroleum.com/role/EquityTables",
     "shortName": "Equity (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfStockholdersEquityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "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 - Series A Preferred Units (Tables)",
     "role": "http://www.marathonpetroleum.com/role/SeriesPreferredUnitsTables",
     "shortName": "Series A Preferred Units (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:TemporaryEquityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
      "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": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfInventoryCurrentTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2316301 - Disclosure - Inventories (Tables)",
     "role": "http://www.marathonpetroleum.com/role/InventoriesTables",
     "shortName": "Inventories (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfInventoryCurrentTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2317301 - Disclosure - Property, Plant and Equipment (Tables)",
     "role": "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentTables",
     "shortName": "Property, Plant and Equipment (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "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",
     "role": "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfComprehensiveIncome",
     "shortName": "Consolidated Statements of Comprehensive Income",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-6",
      "lang": null,
      "name": "mpc:OtherComprehensiveIncomeLossPensionandOtherPostretirementBenefitPlansNetUnamortizedGainLossAdjustmentNetofTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2318301 - Disclosure - Goodwill and Intangibles (Tables)",
     "role": "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesTables",
     "shortName": "Goodwill and Intangibles (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfGoodwillTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2318302 - Disclosure - Goodwill and Intangibles Goodwill and Intangibles (Tables)",
     "role": "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillAndIntangiblesTables",
     "shortName": "Goodwill and Intangibles Goodwill and Intangibles (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfGoodwillTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2320301 - 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-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfNotionalAmountsOfOutstandingDerivativePositionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2321301 - 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-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfNotionalAmountsOfOutstandingDerivativePositionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2322301 - Disclosure - Debt (Tables)",
     "role": "http://www.marathonpetroleum.com/role/DebtTables",
     "shortName": "Debt (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisaggregationOfRevenueTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2323301 - Disclosure - Revenue (Tables)",
     "role": "http://www.marathonpetroleum.com/role/RevenueTables",
     "shortName": "Revenue (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisaggregationOfRevenueTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2324301 - 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-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2325301 - Disclosure - Accumulated Other Comprehensive Income (Tables)",
     "role": "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeTables",
     "shortName": "Accumulated Other Comprehensive Income (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD_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": "2326301 - Disclosure - Equity-Based Compensation Plan (Tables)",
     "role": "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanTables",
     "shortName": "Equity-Based Compensation Plan (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD_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"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:SalesTypeLeaseLeaseIncomeTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OperatingLeaseLeaseIncomeTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2327301 - Disclosure - Leases Lessor Disclosure (Tables)",
     "role": "http://www.marathonpetroleum.com/role/LeasesLessorDisclosureTables",
     "shortName": "Leases Lessor Disclosure (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:SalesTypeLeaseLeaseIncomeTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OperatingLeaseLeaseIncomeTableTextBlock",
      "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-2020331x10q.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1004000 - 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-2020331x10q.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-6",
      "lang": null,
      "name": "mpc:AccruedPropertyPlantAndEquipmentCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfGoodwillTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:GoodwillImpairmentLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2401402 - Disclosure - Description of Business and Basis of Presentation - Additional Information (Detail)",
     "role": "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetail",
     "shortName": "Description of Business and Basis of Presentation - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-6",
      "lang": null,
      "name": "mpc:ImpairmentCharges",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccountsReceivableNetCurrent",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2404401 - Disclosure - Accounting Standards Impact of Adoption (Details)",
     "role": "http://www.marathonpetroleum.com/role/AccountingStandardsImpactOfAdoptionDetails",
     "shortName": "Accounting Standards Impact of Adoption (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:AllowanceForDoubtfulAccountsReceivable",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ReconciliationOfAssetsFromSegmentToConsolidatedTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2405402 - Disclosure - Acquisitions Andeavor Logistics (Details)",
     "role": "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
     "shortName": "Acquisitions Andeavor Logistics (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2019Q1QTD_us-gaap_BusinessAcquisitionAxis_mpc_AndeavorLogisticsMember",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:EquityMethodInvestments",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2406402 - Disclosure - Equity Method Investments - Summary of Equity Method Investment Financial Information (Details)",
     "role": "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails",
     "shortName": "Equity Method Investments - 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-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:EquityMethodInvestmentSummarizedFinancialInformationRevenue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "I2019Q2Jul31_us-gaap_DebtInstrumentAxis_mpc_RelatedPartyRevolvingCreditAgreementMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_mpc_MPCInvestmentMember",
      "decimals": "-8",
      "first": true,
      "lang": null,
      "name": "us-gaap:LineOfCreditFacilityCurrentBorrowingCapacity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2407403 - Disclosure - Related Party Agreements and Transactions MPC Loan Agreement (Details)",
     "role": "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsMpcLoanAgreementDetails",
     "shortName": "Related Party Agreements and Transactions MPC Loan Agreement (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "I2019Q2Jul31_us-gaap_DebtInstrumentAxis_mpc_RelatedPartyRevolvingCreditAgreementMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_mpc_MPCInvestmentMember",
      "decimals": "-8",
      "first": true,
      "lang": null,
      "name": "us-gaap:LineOfCreditFacilityCurrentBorrowingCapacity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "mpc:OperatingLeaseIncomeStatementLeaseRevenueRelatedParties",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2407404 - Disclosure - Sales to Related Parties (Detail)",
     "role": "http://www.marathonpetroleum.com/role/SalesToRelatedPartiesDetail",
     "shortName": "Sales to Related Parties (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "mpc:ScheduleofEntityWideInformationSalestoRelatedPartiesTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1QTD_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_mpc_MarathonPetroleumCorporationMember",
      "decimals": "-6",
      "lang": null,
      "name": "mpc:OperatingLeaseIncomeStatementLeaseRevenueRelatedParties",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "mpc:ScheduleOfEntityWideInformationAllocatedRelatedPartyEmployeeBenefitCostsByIncomeStatementLineTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1QTD_us-gaap_IncomeStatementLocationAxis_mpc_PurchasesFromRelatedPartiesMember",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:LaborAndRelatedExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2407405 - Disclosure - Summary of Charges for Employee Services and Omnibus Agreements (Detail)",
     "role": "http://www.marathonpetroleum.com/role/SummaryOfChargesForEmployeeServicesAndOmnibusAgreementsDetail",
     "shortName": "Summary of Charges for Employee Services and Omnibus Agreements (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "mpc:ScheduleOfEntityWideInformationAllocatedRelatedPartyEmployeeBenefitCostsByIncomeStatementLineTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1QTD_us-gaap_IncomeStatementLocationAxis_mpc_PurchasesFromRelatedPartiesMember",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:LaborAndRelatedExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:OtherAssetsCurrent",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2407406 - Disclosure - Other Assets and Liabilities from Related Parties (Detail)",
     "role": "http://www.marathonpetroleum.com/role/OtherAssetsAndLiabilitiesFromRelatedPartiesDetail",
     "shortName": "Other Assets and Liabilities from Related Parties (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2020Q1_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_mpc_MarathonPetroleumCorporationMember",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:AccountsReceivableRelatedPartiesCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "mpc:ScheduleofDistributionsByPartnerByClassTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "mpc:EarningsPerUnitPotentiallyDilutiveUnits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2409403 - Disclosure - Net Income Per Limited Partner Unit - Schedule of Distributions by Partner by Class (Detail)",
     "role": "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitScheduleOfDistributionsByPartnerByClassDetail",
     "shortName": "Net Income Per Limited Partner Unit - Schedule of Distributions by Partner by Class (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "mpc:ScheduleofDistributionsByPartnerByClassTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "mpc:EarningsPerUnitPotentiallyDilutiveUnits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:UndistributedEarningsLossAvailableToCommonShareholdersBasic",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2409404 - Disclosure - Net Income Per Limited Partner Unit - Basic and Diluted Earnings Per Unit (Detail)",
     "role": "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail",
     "shortName": "Net Income Per Limited Partner Unit - Basic and Diluted Earnings Per Unit (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R6": {
     "firstAnchor": null,
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1004001 - 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",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "mpc:NetIncomeLossIncludingPortionAttributabletoNoncontrollingInterestExcludingPortionAttributabletoTemporaryEquity",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2410402 - 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": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:ScheduleOfStockholdersEquityTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1QTD_us-gaap_PartnerTypeOfPartnersCapitalAccountAxis_mpc_LimitedPartnersCommonUnitsMember",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:PartnersCapitalAccountUnitsUnitbasedCompensation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R61": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "mpc:CapitalContributionByRelatedParty",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2410403 - Disclosure - Equity - Cash Distributions (Details)",
     "role": "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
     "shortName": "Equity - Cash Distributions (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:DistributionsMadeToLimitedPartnerByDistributionTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1QTD_us-gaap_StatementClassOfStockAxis_mpc_LimitedPartnersCommonUnitsMember",
      "decimals": "-6",
      "lang": null,
      "name": "mpc:PartnersTotalSubsequentDistributionAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R62": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "D2016Q2Q116DistPd_us-gaap_PreferredUnitsByNameAxis_mpc_SeriesAConvertiblePreferredUnitsMember",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:PartnersCapitalAccountUnitsSaleOfUnits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2413402 - Disclosure - Series A Preferred Units (Narrative) (Details)",
     "role": "http://www.marathonpetroleum.com/role/SeriesPreferredUnitsNarrativeDetails",
     "shortName": "Series A Preferred Units (Narrative) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "D2016Q2Q116DistPd_us-gaap_PreferredUnitsByNameAxis_mpc_SeriesAConvertiblePreferredUnitsMember",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:PartnersCapitalAccountUnitsSaleOfUnits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R63": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:TemporaryEquityCarryingAmountIncludingPortionAttributableToNoncontrollingInterests",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2413403 - Disclosure - Series A Preferred Units (Rollforward of Redeemable Preferred Units) (Details)",
     "role": "http://www.marathonpetroleum.com/role/SeriesPreferredUnitsRollforwardOfRedeemablePreferredUnitsDetails",
     "shortName": "Series A Preferred Units (Rollforward of Redeemable Preferred Units) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2019Q4_us-gaap_PreferredUnitsByNameAxis_mpc_SeriesAConvertiblePreferredUnitsMember",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:TemporaryEquityCarryingAmountIncludingPortionAttributableToNoncontrollingInterests",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R64": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "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
    },
    "R65": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:Depreciation",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2414403 - Disclosure - Segment Information - Segment Adjusted EBITDA (Details)",
     "role": "http://www.marathonpetroleum.com/role/SegmentInformationSegmentAdjustedEbitdaDetails",
     "shortName": "Segment Information - Segment 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-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD_us-gaap_StatementBusinessSegmentsAxis_mpc_LogisticsandStorageMember",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:PaymentsToAcquireEquityMethodInvestments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R66": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ReconciliationOfAssetsFromSegmentToConsolidatedTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2020Q1",
      "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-2020331x10q.htm",
      "contextRef": "FI2020Q1_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"
     }
    },
    "R67": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "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 to Net Income (Details)",
     "role": "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationToNetIncomeDetails",
     "shortName": "Segment Information - Reconciliation 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-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:AllocatedShareBasedCompensationExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R68": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "us-gaap:ScheduleOfInventoryCurrentTableTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:EnergyRelatedInventoryNaturalGasLiquids",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2416402 - 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-2020331x10q.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:EnergyRelatedInventoryNaturalGasLiquids",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R69": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:ImpairmentOfLongLivedAssetsHeldForUse",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2417402 - Disclosure - Property, Plant and Equipment (Summary of Property, Plant and Equipment) (Details)",
     "role": "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails",
     "shortName": "Property, Plant and Equipment (Summary of Property, Plant and Equipment) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:PropertyPlantAndEquipmentGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "link:footnote",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EquityMethodInvestmentOtherThanTemporaryImpairment",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1006000 - 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-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:ProceedsFromContributionsFromParent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R70": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfGoodwillTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:GoodwillGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2418404 - Disclosure - Goodwill and Intangibles Goodwill (Details)",
     "role": "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillDetails",
     "shortName": "Goodwill and Intangibles Goodwill (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfGoodwillTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:GoodwillGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R71": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "link:footnote",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-6",
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ImpairmentOfIntangibleAssetsFinitelived",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2418405 - Disclosure - Goodwill and Intangibles Intangibles (Details)",
     "role": "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangiblesDetails",
     "shortName": "Goodwill and Intangibles Intangibles (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R72": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2020Q1_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": "2420402 - 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-2020331x10q.htm",
      "contextRef": "FI2020Q1_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsRecurringMember",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R73": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "mpc:FairValueInputsAssetsAndLiabilitiesQuantitativeInformationTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2020Q1",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeAverageForwardPrice",
      "reportCount": 1,
      "unique": true,
      "unitRef": "iso4217_USD_per_gal",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2420403 - Disclosure - Fair Value Measurments - Recurring - Significant Unobservable Inputs in Level 3 Valuation (Details)",
     "role": "http://www.marathonpetroleum.com/role/FairValueMeasurmentsRecurringSignificantUnobservableInputsInLevel3ValuationDetails",
     "shortName": "Fair Value Measurments - 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-2020331x10q.htm",
      "contextRef": "FI2020Q1",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeAverageForwardPrice",
      "reportCount": 1,
      "unique": true,
      "unitRef": "iso4217_USD_per_gal",
      "xsiNil": "false"
     }
    },
    "R74": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2019Q4_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisWithUnobservableInputs",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2420404 - 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-2020331x10q.htm",
      "contextRef": "FI2019Q4_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisWithUnobservableInputs",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R75": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2020Q1_us-gaap_FairValueByMeasurementBasisAxis_us-gaap_CarryingReportedAmountFairValueDisclosureMember",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2420405 - 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-2020331x10q.htm",
      "contextRef": "FI2020Q1_us-gaap_FairValueByMeasurementBasisAxis_us-gaap_CarryingReportedAmountFairValueDisclosureMember",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R76": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2020Q1_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": "2421402 - 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-2020331x10q.htm",
      "contextRef": "FI2020Q1_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"
     }
    },
    "R77": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2020Q1_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_HedgingDesignationAxis_us-gaap_NondesignatedMember",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeFairValueOfDerivativeAsset",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2421403 - 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",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2020Q1_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_HedgingDesignationAxis_us-gaap_NondesignatedMember",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeFairValueOfDerivativeAsset",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R78": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2421404 - Disclosure - Derivatives Financial Instruments - Derivative Income Statement Location (Details)",
     "role": "http://www.marathonpetroleum.com/role/DerivativesFinancialInstrumentsDerivativeIncomeStatementLocationDetails",
     "shortName": "Derivatives Financial Instruments - Derivative 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-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R79": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtAndCapitalLeaseObligations",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2422402 - Disclosure - Debt - Summary of Outstanding Borrowings (Detail)",
     "role": "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail",
     "shortName": "Debt - Summary of Outstanding Borrowings (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtAndCapitalLeaseObligations",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2018Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:PartnersCapitalIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1007000 - 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-2020331x10q.htm",
      "contextRef": "FI2018Q4_us-gaap_StatementEquityComponentsAxis_us-gaap_AccumulatedOtherComprehensiveIncomeMember",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:PartnersCapitalIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R80": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2020Q1_srt_RangeAxis_srt_MinimumMember_us-gaap_LongtermDebtTypeAxis_us-gaap_SeniorNotesMember",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentInterestRateStatedPercentage",
      "reportCount": 1,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2422403 - Disclosure - Debt Debt - Summary of Outstanding Borrowings - Interest Rates and Table Due Dates (Details)",
     "role": "http://www.marathonpetroleum.com/role/DebtDebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
     "shortName": "Debt Debt - Summary of Outstanding Borrowings - Interest Rates and Table Due Dates (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R81": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:RepaymentsOfLongTermDebt",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2422404 - Disclosure - Debt - Additional Information (Detail)",
     "role": "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail",
     "shortName": "Debt - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "I2019Q2Jul30_us-gaap_DebtInstrumentAxis_mpc_MPLXRevolvingCreditFacilitydueJuly2024Member",
      "decimals": "-8",
      "lang": null,
      "name": "us-gaap:LineOfCreditFacilityCurrentBorrowingCapacity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R82": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:DisaggregationOfRevenueTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2423402 - 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-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:RevenueNotFromContractWithCustomerOther",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R83": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2019Q4",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:DeferredRevenueNoncurrent",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2423403 - Disclosure - Revenue Contract Balances (Details)",
     "role": "http://www.marathonpetroleum.com/role/RevenueContractBalancesDetails",
     "shortName": "Revenue Contract Balances (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "link:footnote",
       "td",
       "tr",
       "table",
       "us-gaap:ContractWithCustomerAssetAndLiabilityTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-6",
      "lang": "en-US",
      "name": "us-gaap:ContractWithCustomerLiabilityChangeInTimeframePerformanceObligationSatisfiedRevenueRecognized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R84": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:ContractWithCustomerLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2423404 - 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-2020331x10q.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:ContractWithCustomerLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R85": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestPaidNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2424402 - Disclosure - Supplemental Cash Flow Information - Summary of Supplemental Cash Flow Information (Detail)",
     "role": "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSummaryOfSupplementalCashFlowInformationDetail",
     "shortName": "Supplemental Cash Flow Information - Summary of Supplemental Cash Flow Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestPaidNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R86": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "mpc:IncreaseDecreaseInCapitalAccruals",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2424403 - 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",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "mpc:IncreaseDecreaseInCapitalAccruals",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R87": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccumulatedOtherComprehensiveIncomeLossNetOfTax",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2425402 - Disclosure - Accumulated Other Comprehensive Income (Details)",
     "role": "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeDetails",
     "shortName": "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-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:OtherComprehensiveIncomeLossNetOfTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R88": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2019Q4_us-gaap_AwardTypeAxis_us-gaap_PhantomShareUnitsPSUsMember",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2426402 - Disclosure - Equity-Based Compensation Plan - Summary of Phantom Unit Award Activity (Details)",
     "role": "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPhantomUnitAwardActivityDetails",
     "shortName": "Equity-Based Compensation Plan - Summary of Phantom 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-2020331x10q.htm",
      "contextRef": "FI2019Q4_us-gaap_AwardTypeAxis_us-gaap_PhantomShareUnitsPSUsMember",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R89": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD_srt_TitleOfIndividualAxis_srt_OfficerMember_us-gaap_AwardTypeAxis_us-gaap_PerformanceSharesMember_us-gaap_PlanNameAxis_mpc_MplxTwoThousandTwelveIncentiveCompensationPlanMember",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "mpc:ShareBasedCompensationArrangementByShareBasedPaymentAwardPercentagePaidOutInCash",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2426403 - Disclosure - Equity-Based Compensation Plan - Additional Information (Detail)",
     "role": "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanAdditionalInformationDetail",
     "shortName": "Equity-Based Compensation Plan - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD_srt_TitleOfIndividualAxis_srt_OfficerMember_us-gaap_AwardTypeAxis_us-gaap_PerformanceSharesMember_us-gaap_PlanNameAxis_mpc_MplxTwoThousandTwelveIncentiveCompensationPlanMember",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "mpc:ShareBasedCompensationArrangementByShareBasedPaymentAwardPercentagePaidOutInCash",
      "reportCount": 1,
      "unique": true,
      "unitRef": "number",
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1YTD",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
      "reportCount": 1,
      "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": null
    },
    "R90": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2019Q4_us-gaap_AwardTypeAxis_us-gaap_PerformanceSharesMember",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2426404 - Disclosure - Equity-Based Compensation Plan - Summary of Performance Unit Award Activity (Detail)",
     "role": "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPerformanceUnitAwardActivityDetail",
     "shortName": "Equity-Based Compensation Plan - Summary of Performance 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-2020331x10q.htm",
      "contextRef": "FI2019Q4_us-gaap_AwardTypeAxis_us-gaap_PerformanceSharesMember",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": "shares",
      "xsiNil": "false"
     }
    },
    "R91": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:LessorSalesTypeLeaseAssumptionsAndJudgmentsValueOfUnderlyingAssetAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2427402 - Disclosure - Leases Leases Narrative (Details)",
     "role": "http://www.marathonpetroleum.com/role/LeasesLeasesNarrativeDetails",
     "shortName": "Leases Leases Narrative (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:LessorSalesTypeLeaseAssumptionsAndJudgmentsValueOfUnderlyingAssetAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R92": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:SalesTypeLeaseLeaseReceivable",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2427403 - Disclosure - Leases Lessor Maturity Table (Details)",
     "role": "http://www.marathonpetroleum.com/role/LeasesLessorMaturityTableDetails",
     "shortName": "Leases Lessor Maturity Table (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:SalesTypeAndDirectFinancingLeasesLeaseReceivableMaturityTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2020Q1_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_mpc_MarathonPetroleumCorporationMember",
      "decimals": "-6",
      "lang": null,
      "name": "mpc:SalestypeandDirectFinancingLeasesLeaseReceivablePaymentstobeReceivedCurrentYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R93": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:OperatingLeaseLeaseIncomeTableTextBlock",
       "us-gaap:SalesTypeLeaseLeaseIncomeTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1QTD_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_mpc_MarathonPetroleumCorporationMember",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseLeaseIncome",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2427404 - Disclosure - Leases Lessor Lease Revenues (Details)",
     "role": "http://www.marathonpetroleum.com/role/LeasesLessorLeaseRevenuesDetails",
     "shortName": "Leases Lessor Lease Revenues (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "us-gaap:OperatingLeaseLeaseIncomeTableTextBlock",
       "us-gaap:SalesTypeLeaseLeaseIncomeTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FD2020Q1QTD_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_mpc_MarathonPetroleumCorporationMember",
      "decimals": "-6",
      "lang": null,
      "name": "us-gaap:SalesTypeLeaseInterestIncome",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R94": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccrualForEnvironmentalLossContingencies",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2428401 - Disclosure - Commitments and Contingencies - Additional Information (Detail)",
     "role": "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesAdditionalInformationDetail",
     "shortName": "Commitments and Contingencies - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "mplx-2020331x10q.htm",
      "contextRef": "FI2020Q1",
      "decimals": "-6",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccrualForEnvironmentalLossContingencies",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 126,
   "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_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_DocumentInformationLineItems": {
     "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": "Document Information [Line Items]",
        "terseLabel": "Document Information [Line Items]"
       }
      }
     },
     "localname": "DocumentInformationLineItems",
     "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_DocumentQuarterlyReport": {
     "auth_ref": [
      "r442"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an quarterly report.",
        "label": "Document Quarterly Report",
        "terseLabel": "Document Quarterly Report"
       }
      }
     },
     "localname": "DocumentQuarterlyReport",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r443"
     ],
     "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_EntitiesTable": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Container to assemble all relevant information about each entity associated with the document instance",
        "label": "Entities [Table]",
        "terseLabel": "Entities [Table]"
       }
      }
     },
     "localname": "EntitiesTable",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "stringItemType"
    },
    "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": [
      "r444"
     ],
     "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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/DebtDebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/LeasesLeasesNarrativeDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsMpcLoanAgreementDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r444"
     ],
     "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": [
      "r444"
     ],
     "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_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r445"
     ],
     "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_EntityListingsExchangeAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the domain members or categories in the table and the line items or concepts that complete the table.",
        "label": "Entity Listings, Exchange [Axis]",
        "terseLabel": "Entity Listings, Exchange [Axis]"
       }
      }
     },
     "localname": "EntityListingsExchangeAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r444"
     ],
     "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": [
      "r444"
     ],
     "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": [
      "r444"
     ],
     "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": [
      "r444"
     ],
     "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_ExchangeDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The set of all exchanges. MIC exchange codes are drawn from ISO 10383.",
        "label": "Exchange [Domain]",
        "terseLabel": "Exchange [Domain]"
       }
      }
     },
     "localname": "ExchangeDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "domainItemType"
    },
    "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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/DebtDebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/LeasesLeasesNarrativeDetails",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsMpcLoanAgreementDetails"
     ],
     "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": [
      "r440"
     ],
     "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": [
      "r441"
     ],
     "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_A2018Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "2018 [Member] Performance Units granted during 2018",
        "label": "2018 [Member]",
        "terseLabel": "2018 [Member]"
       }
      }
     },
     "localname": "A2018Member",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_A2020Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "2020 [Member] Performance Units granted during 2020",
        "label": "2020 [Member]",
        "terseLabel": "2020 [Member]"
       }
      }
     },
     "localname": "A2020Member",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanAdditionalInformationDetail"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/DebtDebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail",
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPhantomUnitAwardActivityDetails",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitScheduleOfDistributionsByPartnerByClassDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsMpcLoanAgreementDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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 Current"
       }
      }
     },
     "localname": "AccruedPropertyPlantAndEquipmentCurrent",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationToNetIncomeDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationSegmentAdjustedEbitdaDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SegmentInformationSegmentAdjustedEbitdaDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationToNetIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_BakkenPipelineSystemMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Bakken Pipeline System [Member]",
        "label": "Bakken Pipeline System [Member]",
        "terseLabel": "Bakken Pipeline System [Member]"
       }
      }
     },
     "localname": "BakkenPipelineSystemMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_BargesandtowingvesselsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Barges and towing vessels [Member]",
        "label": "Barges and towing vessels [Member]",
        "terseLabel": "Marine"
       }
      }
     },
     "localname": "BargesandtowingvesselsMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_CapitalContributionByRelatedParty": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Capital Contribution By Related Party",
        "label": "Capital Contribution By Related Party",
        "terseLabel": "Contributions from:"
       }
      }
     },
     "localname": "CapitalContributionByRelatedParty",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitScheduleOfDistributionsByPartnerByClassDetail"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SegmentInformationSegmentAdjustedEbitdaDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_CentrahomaProcessingLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Centrahoma Processing LLC [Member]",
        "label": "Centrahoma Processing LLC [Member]",
        "terseLabel": "Centrahoma Processing LLC [Member]"
       }
      }
     },
     "localname": "CentrahomaProcessingLLCMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesAdditionalInformationDetail"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesAdditionalInformationDetail"
     ],
     "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/20200331",
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsEmbeddedDerivativesInCommodityContractsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPhantomUnitAwardActivityDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "mpc_ComprehensiveIncomeLossNetofTaxAttributabletoNonredeemableNoncontrollingInterest": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_ComprehensiveIncomelossNetofTaxAttributabletoPredecessor": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "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": "Comprehensive Income (loss), Net of Tax, Attributable to Predecessor"
       }
      }
     },
     "localname": "ComprehensiveIncomelossNetofTaxAttributabletoPredecessor",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfComprehensiveIncome"
     ],
     "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 assets, additions/(deletions)"
       }
      }
     },
     "localname": "ContractwithCustomerAssetIncreaseDecrease",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueContractBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_ContractwithCustomerBalanceAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Contract with Customer, Balance [Axis]",
        "label": "Contract with Customer, Balance [Axis]",
        "terseLabel": "Contract with Customer, Balance [Axis]"
       }
      }
     },
     "localname": "ContractwithCustomerBalanceAxis",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueContractBalancesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_ContractwithCustomerBalanceDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "[Domain] for Contract with Customer, Balance [Axis]",
        "label": "Contract with Customer, Balance [Domain]",
        "terseLabel": "Contract with Customer, Balance [Domain]"
       }
      }
     },
     "localname": "ContractwithCustomerBalanceDomain",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueContractBalancesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20200331",
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_CrudeGatheringMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Crude Gathering [Member] reporting unit for impairment analysis",
        "label": "Crude Gathering [Member]",
        "terseLabel": "Crude Gathering [Member]"
       }
      }
     },
     "localname": "CrudeGatheringMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/OtherAssetsAndLiabilitiesFromRelatedPartiesDetail"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/OtherAssetsAndLiabilitiesFromRelatedPartiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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": "Deferred revenue - related parties, ending balance",
        "periodStartLabel": "Deferred revenue - related parties, beginning balance"
       }
      }
     },
     "localname": "DeferredRevenueCurrentRelatedParties",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueContractBalancesDetails"
     ],
     "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": "Long-term deferred revenue, additions/(deletions)"
       }
      }
     },
     "localname": "DeferredRevenueNoncurrentPeriodIncreaseDecrease",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueContractBalancesDetails"
     ],
     "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": "Long-term deferred revenue - related parties, ending balance",
        "periodStartLabel": "Long-term deferred revenue - related parties, beginning balance",
        "terseLabel": "Deferred Revenue, Noncurrent, Related Parties"
       }
      }
     },
     "localname": "DeferredRevenueNoncurrentRelatedParties",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/OtherAssetsAndLiabilitiesFromRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/RevenueContractBalancesDetails"
     ],
     "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": "Long-term deferred revenue - related parties, revenue recognized"
       }
      }
     },
     "localname": "DeferredRevenueNoncurrentRelatedPartiesRevenueRecognized",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueContractBalancesDetails"
     ],
     "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": "Long-term deferred revenue - related party, additions/(deletions)"
       }
      }
     },
     "localname": "DeferredRevenueNoncurrentRelatedPartyPeriodIncreaseDecrease",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueContractBalancesDetails"
     ],
     "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": "Long-term deferred revenue, revenue recognized"
       }
      }
     },
     "localname": "DeferredRevenueNoncurrentRevenueRecognized",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueContractBalancesDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/OtherAssetsAndLiabilitiesFromRelatedPartiesDetail"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueContractBalancesDetails"
     ],
     "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, additions/(deletions)"
       }
      }
     },
     "localname": "DeferredRevenueRelatedPartyPeriodIncreaseDecrease",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueContractBalancesDetails"
     ],
     "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 gain (loss)"
       }
      }
     },
     "localname": "DerivativeInstrumentsNotDesignatedasHedgingInstrumentsRealizedGainLossNet",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativesFinancialInstrumentsDerivativeIncomeStatementLocationDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetail"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "mpc_DirectOwnershipInterestMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Direct ownership interest [Member]",
        "label": "Direct Ownership Interest [Member]",
        "terseLabel": "Direct Ownership Interest [Member]"
       }
      }
     },
     "localname": "DirectOwnershipInterestMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20200331",
     "xbrltype": "stringItemType"
    },
    "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 units"
       }
      }
     },
     "localname": "EarningsPerUnitPotentiallyDilutiveUnits",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitScheduleOfDistributionsByPartnerByClassDetail"
     ],
     "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/20200331",
     "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"
       }
      }
     },
     "localname": "EmbeddedDerivativeRenewalTerm",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsEmbeddedDerivativesInCommodityContractsDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurmentsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurmentsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "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": "Difference between carrying amount and underlying equity portion related to goodwill"
       }
      }
     },
     "localname": "EquityMethodInvestmentDifferenceBetweenCarryingAmountAndUnderlyingEquityPortionRelatedToGoodwillandOtherAssetsNotAmortized",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_EquityTransactionsAndShareBasedCompensationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Equity Transactions And Share Based Compensation [Line Items]",
        "label": "Equity Transactions And Share Based Compensation [Line Items]",
        "terseLabel": "Equity Transactions And Share Based Compensation [Line Items]"
       }
      }
     },
     "localname": "EquityTransactionsAndShareBasedCompensationLineItems",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPhantomUnitAwardActivityDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanTables"
     ],
     "xbrltype": "stringItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPhantomUnitAwardActivityDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanTables"
     ],
     "xbrltype": "stringItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillDetails"
     ],
     "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/20200331",
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurmentsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurmentsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "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 Forward Commodity Price"
       }
      }
     },
     "localname": "FairValueInputsForwardCommodityPrice",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurmentsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurmentsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurmentsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "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 gains (losses) for the period included in earnings attributable to the change in unrealized losses relating to liabilities still held at end of period"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetAndLiabilitiesNetChangeInUnrealizedGainLossIncludedInEarningsContractHeld",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringChangesInLevel3MeasurementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtDebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_FixedRateSeniorNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Fixed Rate Senior Notes [Member]",
        "label": "Fixed Rate Senior Notes [Member]",
        "terseLabel": "Fixed Rate Senior Notes [Member]"
       }
      }
     },
     "localname": "FixedRateSeniorNotesMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail"
     ],
     "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]"
       }
      }
     },
     "localname": "FloatingRateSeniorNotesDueSeptember2021Member",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/DebtDebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/DebtDebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail"
     ],
     "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": "Pipelines"
       }
      }
     },
     "localname": "GasGatheringAndTransmissionEquipmentAndFacilitiesMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_GatheringandProcessingMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Gathering and Processing [Member]",
        "label": "Gathering and Processing [Member]",
        "terseLabel": "G&amp;P"
       }
      }
     },
     "localname": "GatheringandProcessingMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangiblesDetails",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails",
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationAssetsBySegmentDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationToNetIncomeDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationSegmentAdjustedEbitdaDetails"
     ],
     "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 expenses"
       }
      }
     },
     "localname": "GeneralandAdministrativeExpenseRelatedPartyMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfChargesForEmployeeServicesAndOmnibusAgreementsDetail"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_ImpairmentCharges": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Total impairment charges, which may include impairments for goodwill, property plant &amp; equipment, intangibles and equity method investments.",
        "label": "Impairment Charges",
        "terseLabel": "Impairment Charges"
       }
      }
     },
     "localname": "ImpairmentCharges",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetail"
     ],
     "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": "Income (Loss) Attributable to Predecessor"
       }
      }
     },
     "localname": "IncomeLossAttributabletoPredecessor",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome"
     ],
     "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": "(Decrease)/increase in capital accruals"
       }
      }
     },
     "localname": "IncreaseDecreaseInCapitalAccruals",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "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 [Member]"
       }
      }
     },
     "localname": "IndirectOwnershipInterestMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20200331",
     "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",
        "negatedTerseLabel": "Interest and Other Financial Costs"
       }
      }
     },
     "localname": "InterestandOtherFinancialCosts",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationToNetIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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 and other"
       }
      }
     },
     "localname": "LandBuildingOfficeEquipmentAndOtherMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/OtherAssetsAndLiabilitiesFromRelatedPartiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20200331",
     "presentation": [
      "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/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitScheduleOfDistributionsByPartnerByClassDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "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": "Line of Credit Facility, Remaining Borrowing Capacity, Percentage"
       }
      }
     },
     "localname": "LineofCreditFacilityRemainingBorrowingCapacityPercentage",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "mpc_LogisticsandStorageMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Logistics and Storage [Member]",
        "label": "Logistics and Storage [Member]",
        "terseLabel": "L&amp;S"
       }
      }
     },
     "localname": "LogisticsandStorageMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangiblesDetails",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails",
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationAssetsBySegmentDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationToNetIncomeDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationSegmentAdjustedEbitdaDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "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/20200331",
     "presentation": [
      "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 [Member]"
       }
      }
     },
     "localname": "MPCInvestmentMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsMpcLoanAgreementDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_MPLXLPMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "MPLX LP [Member]",
        "label": "MPLX LP [Member]",
        "terseLabel": "MPLX LP"
       }
      }
     },
     "localname": "MPLXLPMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/DebtDebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_MPLXRevolverdueJuly2022Member": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "MPLX Revolver due July 2022",
        "label": "MPLX Revolver due July 2022 [Member]",
        "terseLabel": "Bank revolving credit facility due 2022"
       }
      }
     },
     "localname": "MPLXRevolverdueJuly2022Member",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/DebtDebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/DebtDebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_MPLXTermLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "MPLX Term Loan [Member]",
        "label": "MPLX Term Loan [Member]",
        "terseLabel": "MPLX Term Loan [Member]"
       }
      }
     },
     "localname": "MPLXTermLoanMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_MarEnBakkenCompanyLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "MarEn Bakken Company LLC [Member]",
        "label": "MarEn Bakken Company LLC [Member]",
        "terseLabel": "MarEn Bakken Company LLC [Member]"
       }
      }
     },
     "localname": "MarEnBakkenCompanyLLCMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_MarathonPetroleumCorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Marathon petroleum corporation.",
        "label": "Marathon Petroleum Corporation [Member]",
        "terseLabel": "MPC"
       }
      }
     },
     "localname": "MarathonPetroleumCorporationMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/LeasesLeasesNarrativeDetails",
      "http://www.marathonpetroleum.com/role/LeasesLessorLeaseRevenuesDetails",
      "http://www.marathonpetroleum.com/role/LeasesLessorMaturityTableDetails",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitScheduleOfDistributionsByPartnerByClassDetail",
      "http://www.marathonpetroleum.com/role/OtherAssetsAndLiabilitiesFromRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/SalesToRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/SummaryOfChargesForEmployeeServicesAndOmnibusAgreementsDetail"
     ],
     "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 [Member]"
       }
      }
     },
     "localname": "MarathonPipeLineLlcMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtDebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail"
     ],
     "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": "Jefferson Dry Gas"
       }
      }
     },
     "localname": "MarkWestEMGJeffersonDryGasGatheringCompanyL.L.C.Member",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_MarkWestMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "MarkWest [Member]",
        "label": "MarkWest [Member]",
        "terseLabel": "MarkWest [Member]"
       }
      }
     },
     "localname": "MarkWestMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/DebtDebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_MarkWestUticaEMGMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "MarkWest Utica EMG [Member]",
        "label": "MarkWest Utica EMG [Member]",
        "terseLabel": "MarkWest Utica EMG"
       }
      }
     },
     "localname": "MarkWestUticaEMGMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/OtherAssetsAndLiabilitiesFromRelatedPartiesDetail"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "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 LP 2012 Incentive Compensation Plan [Member]"
       }
      }
     },
     "localname": "MplxTwoThousandTwelveIncentiveCompensationPlanMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanAdditionalInformationDetail"
     ],
     "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": "Natural Gas [Member]"
       }
      }
     },
     "localname": "NaturalGasMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/InventoriesSummaryOfInventoriesDetails"
     ],
     "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",
        "negatedLabel": "Distributions to:",
        "negatedTerseLabel": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest, Excluding Portion Attributable to Temporary Equity"
       }
      }
     },
     "localname": "NetIncomeLossIncludingPortionAttributabletoNoncontrollingInterestExcludingPortionAttributabletoTemporaryEquity",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails"
     ],
     "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 per limited partner unit:"
       }
      }
     },
     "localname": "NetIncomeLossPerOutstandingLimitedPartnershipUnitBasicAndDilutedAbstract",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitScheduleOfDistributionsByPartnerByClassDetail"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitScheduleOfDistributionsByPartnerByClassDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "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 (to) materials and supplies inventories"
       }
      }
     },
     "localname": "NonCashNetTransfersOfMaterialsAndSuppliesInventories",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationSummaryOfSupplementalCashFlowInformationDetail"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/LeasesLessorLeaseRevenuesDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/LeasesLessorLeaseRevenuesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_NonVIEsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Non-VIEs [Member]",
        "label": "Non-VIEs [Member]",
        "terseLabel": "Non-VIEs [Member]"
       }
      }
     },
     "localname": "NonVIEsMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsEmbeddedDerivativesInCommodityContractsDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/SalesToRelatedPartiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/OtherAssetsAndLiabilitiesFromRelatedPartiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_OtherComprehensiveIncomeLossPensionandOtherPostretirementBenefitPlansNetUnamortizedGainLossAdjustmentNetofTax": {
     "auth_ref": [],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "mpc_OtherVIEsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Other VIEs [Member]",
        "label": "Other VIEs [Member]",
        "terseLabel": "Other VIEs [Member]"
       }
      }
     },
     "localname": "OtherVIEsMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "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": "Partners, Total Subsequent Distribution Amount"
       }
      }
     },
     "localname": "PartnersTotalSubsequentDistributionAmount",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails"
     ],
     "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",
        "negatedTerseLabel": "Distributions to preferred unitholders"
       }
      }
     },
     "localname": "PaymentsofDistributionsonPreferredUnits",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "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",
        "terseLabel": "Payments of Distributions on Preferred Units from Predecessor"
       }
      }
     },
     "localname": "PaymentsofDistributionsonPreferredUnitsfromPredecessor",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPerformanceUnitAwardActivityDetail"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPerformanceUnitAwardActivityDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_PipelinesAndRelatedAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Pipelines and related assets.",
        "label": "Pipelines And Related Assets [Member]",
        "terseLabel": "Terminals"
       }
      }
     },
     "localname": "PipelinesAndRelatedAssetsMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativesFinancialInstrumentsDerivativeIncomeStatementLocationDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPhantomUnitAwardActivityDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPhantomUnitAwardActivityDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPhantomUnitAwardActivityDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativesFinancialInstrumentsDerivativeIncomeStatementLocationDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfChargesForEmployeeServicesAndOmnibusAgreementsDetail"
     ],
     "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"
       }
      }
     },
     "localname": "RefineriesandrelatedassetsMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLeasesNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_ReimbursableProjectsMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Reimbursable Projects [Member]",
        "label": "Reimbursable Projects [Member]",
        "terseLabel": "Reimbursable Projects [Member]"
       }
      }
     },
     "localname": "ReimbursableProjectsMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/OtherAssetsAndLiabilitiesFromRelatedPartiesDetail"
     ],
     "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 [Member]"
       }
      }
     },
     "localname": "RelatedPartyRevolvingCreditAgreementMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsMpcLoanAgreementDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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"
       }
      }
     },
     "localname": "RentalcostofsalesrelatedpartiesMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfChargesForEmployeeServicesAndOmnibusAgreementsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails",
      "http://www.marathonpetroleum.com/role/SalesToRelatedPartiesDetail"
     ],
     "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/20200331",
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "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": "Product sales to MPC that net to zero"
       }
      }
     },
     "localname": "SalesRevenueGoodsRelatedPartyNetZero",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SalesToRelatedPartiesDetail"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorMaturityTableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail"
     ],
     "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 Employee Services Expenses from Related Parties"
       }
      }
     },
     "localname": "ScheduleOfEntityWideInformationAllocatedRelatedPartyEmployeeBenefitCostsByIncomeStatementLineTableTextBlock",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsTables"
     ],
     "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 Reconciliation of Additions to Property, Plant and Equipment to Total Capital Expenditures [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfReconciliationOfAdditionsToPropertyPlantAndEquipmentToTotalCapitalExpendituresTableTextBlock",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationTables"
     ],
     "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 Distributions By Partner By Class"
       }
      }
     },
     "localname": "ScheduleofDistributionsByPartnerByClassTableTextBlock",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitTables"
     ],
     "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": "Schedule of Sales to Related Parties"
       }
      }
     },
     "localname": "ScheduleofEntityWideInformationSalestoRelatedPartiesTableTextBlock",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtDebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "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]"
       }
      }
     },
     "localname": "SeniorNotesDueOctober2022Member",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtDebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SeriesPreferredUnitsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/SeriesPreferredUnitsRollforwardOfRedeemablePreferredUnitsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsWeightedAverageGrantDateFairValueForfeited",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPhantomUnitAwardActivityDetails"
     ],
     "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"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsWeightedAverageGrantDateFairValueIssued",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPhantomUnitAwardActivityDetails"
     ],
     "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 March 31, 2020",
        "periodStartLabel": "Outstanding at December 31, 2019"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsWeightedAverageGrantDateFairValueOutstanding",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPhantomUnitAwardActivityDetails"
     ],
     "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": "Percentage paid out in cash"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardPercentagePaidOutInCash",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanAdditionalInformationDetail"
     ],
     "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": "Share Based Compensation Arrangement By Share Based Payment Award Percentage Paid Out In Stock"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardPercentagePaidOutInStock",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPhantomUnitAwardActivityDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_SherwoodMidstreamLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Sherwood Midstream LLC",
        "label": "Sherwood Midstream LLC [Member]",
        "terseLabel": "Sherwood Midstream"
       }
      }
     },
     "localname": "SherwoodMidstreamLLCMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "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 [Table Text Block]"
       }
      }
     },
     "localname": "SummarizedFinancialInformationForEquityMethodInvesteesTableTableTextBlock",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsTables"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SeriesPreferredUnits"
     ],
     "xbrltype": "textBlockItemType"
    },
    "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_ThirdPartyMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Third Party [Member]",
        "label": "Third Party [Member]",
        "terseLabel": "Third Party [Member]"
       }
      }
     },
     "localname": "ThirdPartyMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorLeaseRevenuesDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationSegmentAdjustedEbitdaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_TotalNumberofReportingUnits": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Total Number of Reporting Units including reporting units that don't have goodwill assigned.",
        "label": "Total Number of Reporting Units",
        "terseLabel": "Total Number of Reporting Units"
       }
      }
     },
     "localname": "TotalNumberofReportingUnits",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "mpc_VariableRateSeniorNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Variable Rate Senior Notes [Member]",
        "label": "Variable Rate Senior Notes [Member]",
        "terseLabel": "Variable Rate Senior Notes [Member]"
       }
      }
     },
     "localname": "VariableRateSeniorNotesMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "mpc_W2WHoldingsLLCMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "W2W Holdings LLC [Member]",
        "label": "W2W Holdings LLC [Member]",
        "terseLabel": "W2W Holdings LLC [Member]"
       }
      }
     },
     "localname": "W2WHoldingsLLCMember",
     "nsuri": "http://www.marathonpetroleum.com/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "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/20200331",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ConsolidationItemsAxis": {
     "auth_ref": [
      "r148",
      "r160"
     ],
     "lang": {
      "en-US": {
       "role": {
        "label": "Consolidation Items [Axis]",
        "terseLabel": "Consolidation Items [Axis]"
       }
      }
     },
     "localname": "ConsolidationItemsAxis",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillAndIntangiblesTables",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangiblesDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesTables",
      "http://www.marathonpetroleum.com/role/SegmentInformationAssetsBySegmentDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationToNetIncomeDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationSegmentAdjustedEbitdaDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ConsolidationItemsDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Consolidation Items [Domain]",
        "terseLabel": "Consolidation Items [Domain]"
       }
      }
     },
     "localname": "ConsolidationItemsDomain",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillAndIntangiblesTables",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangiblesDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesTables",
      "http://www.marathonpetroleum.com/role/SegmentInformationAssetsBySegmentDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationToNetIncomeDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationSegmentAdjustedEbitdaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_EquityMethodInvesteeNameDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Investment, Name [Domain]",
        "terseLabel": "Investment, Name [Domain]"
       }
      }
     },
     "localname": "EquityMethodInvesteeNameDomain",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails",
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsTables",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MajorCustomersAxis": {
     "auth_ref": [
      "r163",
      "r261",
      "r264",
      "r434"
     ],
     "lang": {
      "en-US": {
       "role": {
        "label": "Customer [Axis]",
        "terseLabel": "Customer [Axis]"
       }
      }
     },
     "localname": "MajorCustomersAxis",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SegmentInformationSegmentAdjustedEbitdaDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Maximum [Member]",
        "terseLabel": "Maximum [Member]"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/DebtDebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPerformanceUnitAwardActivityDetail",
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringFinancialInstrumentsByValuationHierarchyDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurmentsRecurringSignificantUnobservableInputsInLevel3ValuationDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangiblesDetails",
      "http://www.marathonpetroleum.com/role/LeasesLeasesNarrativeDetails",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MinimumMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Minimum [Member]",
        "terseLabel": "Minimum [Member]"
       }
      }
     },
     "localname": "MinimumMember",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/DebtDebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail",
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringFinancialInstrumentsByValuationHierarchyDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurmentsRecurringSignificantUnobservableInputsInLevel3ValuationDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangiblesDetails",
      "http://www.marathonpetroleum.com/role/LeasesLeasesNarrativeDetails",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_NameOfMajorCustomerDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Customer [Domain]",
        "terseLabel": "Customer [Domain]"
       }
      }
     },
     "localname": "NameOfMajorCustomerDomain",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SegmentInformationSegmentAdjustedEbitdaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_OfficerMember": {
     "auth_ref": [
      "r165"
     ],
     "lang": {
      "en-US": {
       "role": {
        "label": "Officer [Member]",
        "terseLabel": "Officer"
       }
      }
     },
     "localname": "OfficerMember",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_OwnershipAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Ownership [Axis]",
        "terseLabel": "Ownership [Axis]"
       }
      }
     },
     "localname": "OwnershipAxis",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_OwnershipDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Ownership [Domain]",
        "terseLabel": "Ownership [Domain]"
       }
      }
     },
     "localname": "OwnershipDomain",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ProductOrServiceAxis": {
     "auth_ref": [
      "r162",
      "r261",
      "r263",
      "r432",
      "r433"
     ],
     "lang": {
      "en-US": {
       "role": {
        "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/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails",
      "http://www.marathonpetroleum.com/role/SalesToRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/SegmentInformationSegmentAdjustedEbitdaDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ProductsAndServicesDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "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/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails",
      "http://www.marathonpetroleum.com/role/SalesToRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/SegmentInformationSegmentAdjustedEbitdaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Statistical Measurement [Axis]",
        "terseLabel": "Statistical Measurement [Axis]"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/DebtDebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPerformanceUnitAwardActivityDetail",
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringFinancialInstrumentsByValuationHierarchyDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurmentsRecurringSignificantUnobservableInputsInLevel3ValuationDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillAndIntangiblesTables",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangiblesDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesTables",
      "http://www.marathonpetroleum.com/role/LeasesLeasesNarrativeDetails",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Statistical Measurement [Domain]",
        "terseLabel": "Statistical Measurement [Domain]"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/DebtDebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPerformanceUnitAwardActivityDetail",
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringFinancialInstrumentsByValuationHierarchyDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurmentsRecurringSignificantUnobservableInputsInLevel3ValuationDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillAndIntangiblesTables",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangiblesDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesTables",
      "http://www.marathonpetroleum.com/role/LeasesLeasesNarrativeDetails",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RestatementAxis": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Restatement [Axis]",
        "terseLabel": "Restatement [Axis]"
       }
      }
     },
     "localname": "RestatementAxis",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RestatementDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Restatement [Domain]",
        "terseLabel": "Restatement [Domain]"
       }
      }
     },
     "localname": "RestatementDomain",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis": {
     "auth_ref": [
      "r172"
     ],
     "lang": {
      "en-US": {
       "role": {
        "label": "Investment, Name [Axis]",
        "terseLabel": "Investment, Name [Axis]"
       }
      }
     },
     "localname": "ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis",
     "nsuri": "http://fasb.org/srt/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails",
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsTables",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_TitleOfIndividualAxis": {
     "auth_ref": [
      "r165",
      "r380"
     ],
     "lang": {
      "en-US": {
       "role": {
        "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/EquityBasedCompensationPlanAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_TitleOfIndividualWithRelationshipToEntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "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/EquityBasedCompensationPlanAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingChangesAndErrorCorrectionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Accounting Changes and Error Corrections [Abstract]"
       }
      }
     },
     "localname": "AccountingChangesAndErrorCorrectionsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "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": [
      "r265"
     ],
     "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": "ASC 606"
       }
      }
     },
     "localname": "AccountingStandardsUpdate201409Member",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueContractBalancesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountsPayableCurrent": {
     "auth_ref": [
      "r37"
     ],
     "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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsReceivableNetCurrent": {
     "auth_ref": [
      "r5",
      "r24",
      "r166",
      "r167",
      "r262"
     ],
     "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/AccountingStandardsImpactOfAdoptionDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsReceivableRelatedPartiesCurrent": {
     "auth_ref": [
      "r49",
      "r115",
      "r378",
      "r381",
      "r382"
     ],
     "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",
        "verboseLabel": "Receivables - related parties"
       }
      }
     },
     "localname": "AccountsReceivableRelatedPartiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/OtherAssetsAndLiabilitiesFromRelatedPartiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccrualForEnvironmentalLossContingencies": {
     "auth_ref": [
      "r218",
      "r222",
      "r223"
     ],
     "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": "Accrued liabilities for environmental remediation"
       }
      }
     },
     "localname": "AccrualForEnvironmentalLossContingencies",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedLiabilitiesCurrent": {
     "auth_ref": [
      "r41"
     ],
     "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, Current"
       }
      }
     },
     "localname": "AccruedLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember": {
     "auth_ref": [
      "r58",
      "r62",
      "r63",
      "r271",
      "r309"
     ],
     "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/AccumulatedOtherComprehensiveIncomeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment": {
     "auth_ref": [
      "r35",
      "r211"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails": {
       "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": "Less accumulated depreciation(1)"
       }
      }
     },
     "localname": "AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails"
     ],
     "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/AccumulatedOtherComprehensiveIncome",
      "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeDetails",
      "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax": {
     "auth_ref": [
      "r60",
      "r61",
      "r62"
     ],
     "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/AccumulatedOtherComprehensiveIncomeDetails",
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "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/AccumulatedOtherComprehensiveIncome",
      "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeDetails",
      "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeMember": {
     "auth_ref": [
      "r59",
      "r62",
      "r63",
      "r309"
     ],
     "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": "Accumulated Other Comprehensive Loss"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AcquisitionCosts": {
     "auth_ref": [
      "r391",
      "r392"
     ],
     "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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationToNetIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsForNewAccountingPronouncementsAxis": {
     "auth_ref": [
      "r119"
     ],
     "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/RevenueContractBalancesDetails"
     ],
     "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/(loss) 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": [
      "r278",
      "r290",
      "r292"
     ],
     "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": "Share-based Payment Arrangement, Expense"
       }
      }
     },
     "localname": "AllocatedShareBasedCompensationExpense",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationToNetIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForDoubtfulAccountsReceivable": {
     "auth_ref": [
      "r168",
      "r178",
      "r179",
      "r180"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of allowance for credit loss on accounts receivable.",
        "label": "Accounts Receivable, Allowance for Credit Loss",
        "terseLabel": "Accounts Receivable, Allowance for Credit Loss"
       }
      }
     },
     "localname": "AllowanceForDoubtfulAccountsReceivable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccountingStandardsImpactOfAdoptionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmortizationOfFinancingCosts": {
     "auth_ref": [
      "r76",
      "r103",
      "r359"
     ],
     "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",
        "negatedTerseLabel": "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/SegmentInformationReconciliationToNetIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmortizationOfIntangibleAssets": {
     "auth_ref": [
      "r103",
      "r196",
      "r202"
     ],
     "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/GoodwillAndIntangiblesIntangiblesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails",
      "http://www.marathonpetroleum.com/role/SummaryOfChargesForEmployeeServicesAndOmnibusAgreementsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r151",
      "r406",
      "r421"
     ],
     "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": "Assets",
        "totalLabel": "Total assets"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "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",
      "r53"
     ],
     "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/AcquisitionsAndeavorLogisticsDetails",
      "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_AwardDateAxis": {
     "auth_ref": [
      "r279",
      "r291"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by date or year award under share-based payment arrangement is granted.",
        "label": "Award Date [Axis]",
        "terseLabel": "Award Date [Axis]"
       }
      }
     },
     "localname": "AwardDateAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AwardDateDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Date or year award under share-based payment arrangement is granted.",
        "label": "Award Date [Domain]",
        "terseLabel": "Award Date [Domain]"
       }
      }
     },
     "localname": "AwardDateDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AwardTypeAxis": {
     "auth_ref": [
      "r279",
      "r291"
     ],
     "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/EquityBasedCompensationPlanAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPerformanceUnitAwardActivityDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPhantomUnitAwardActivityDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanTables"
     ],
     "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/DerivativeFinancialInstrumentsDerivativesBalanceSheetLocationDetails",
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsEmbeddedDerivativesInCommodityContractsDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurmentsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationDomain": {
     "auth_ref": [
      "r319",
      "r323"
     ],
     "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/DerivativeFinancialInstrumentsDerivativesBalanceSheetLocationDetails",
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsEmbeddedDerivativesInCommodityContractsDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurmentsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitScheduleOfDistributionsByPartnerByClassDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BusinessAcquisitionAxis": {
     "auth_ref": [
      "r300",
      "r301"
     ],
     "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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitScheduleOfDistributionsByPartnerByClassDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "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/AcquisitionsAndeavorLogisticsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessCombinationDisclosureTextBlock": {
     "auth_ref": [
      "r302"
     ],
     "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_BusinessCombinationSeparatelyRecognizedTransactionsAxis": {
     "auth_ref": [
      "r299"
     ],
     "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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPhantomUnitAwardActivityDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessCombinationSeparatelyRecognizedTransactionsDomain": {
     "auth_ref": [
      "r299"
     ],
     "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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPhantomUnitAwardActivityDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails"
     ],
     "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_BusinessDescriptionAndBasisOfPresentationTextBlock": {
     "auth_ref": [
      "r3",
      "r118",
      "r145"
     ],
     "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",
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CarryingReportedAmountFairValueDisclosureMember": {
     "auth_ref": [
      "r352",
      "r353"
     ],
     "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": [
      "r4",
      "r31",
      "r105"
     ],
     "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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/SegmentInformationAssetsBySegmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsPeriodIncreaseDecreaseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Cash and Cash Equivalents, Period Increase (Decrease) [Abstract]",
        "terseLabel": "Increase/(decrease) in cash, cash equivalents and restricted cash"
       }
      }
     },
     "localname": "CashAndCashEquivalentsPeriodIncreaseDecreaseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r99",
      "r105",
      "r107"
     ],
     "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",
        "periodEndLabel": "Cash, cash equivalents and restricted cash at end of period",
        "periodStartLabel": "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"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect": {
     "auth_ref": [
      "r99",
      "r355"
     ],
     "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": [
      "r108"
     ],
     "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 [Text Block]"
       }
      }
     },
     "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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitScheduleOfDistributionsByPartnerByClassDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommitmentsAndContingencies": {
     "auth_ref": [
      "r46",
      "r223",
      "r414",
      "r426"
     ],
     "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 21)"
       }
      }
     },
     "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": [
      "r221",
      "r230"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for commitments and contingencies.",
        "label": "Commitments and Contingencies Disclosure [Text Block]",
        "terseLabel": "Commitments and Contingencies Disclosure [Text Block]"
       }
      }
     },
     "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": [
      "r269",
      "r328"
     ],
     "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/DerivativeFinancialInstrumentsDerivativesBalanceSheetLocationDetails",
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsEmbeddedDerivativesInCommodityContractsDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringChangesInLevel3MeasurementsDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringFinancialInstrumentsByValuationHierarchyDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurmentsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ComprehensiveIncomeNetOfTax": {
     "auth_ref": [
      "r66",
      "r68",
      "r69"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "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/(loss) attributable to MPLX LP"
       }
      }
     },
     "localname": "ComprehensiveIncomeNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfComprehensiveIncome"
     ],
     "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/ConsolidatedStatementsOfComprehensiveIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r66",
      "r68",
      "r305",
      "r311"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "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/(loss)"
       }
      }
     },
     "localname": "ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ComprehensiveIncomeNoteTextBlock": {
     "auth_ref": [
      "r87"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for comprehensive income, which includes, but is not limited to, 1) the amount of income tax expense or benefit allocated to each component of other comprehensive income, including reclassification adjustments, 2) the reclassification adjustments for each classification of other comprehensive income and 3) the ending accumulated balances for each component of comprehensive income.",
        "label": "Comprehensive Income (Loss) Note [Text Block]",
        "terseLabel": "Schedule of Accumulated Other Comprehensive Income (Loss) [Table Text Block]"
       }
      }
     },
     "localname": "ComprehensiveIncomeNoteTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncome"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ContractWithCustomerAssetAndLiabilityTableTextBlock": {
     "auth_ref": [
      "r257"
     ],
     "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/RevenueTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ContractWithCustomerAssetGross": {
     "auth_ref": [
      "r252",
      "r254",
      "r262"
     ],
     "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": "Contract assets, ending balance",
        "periodStartLabel": "Contract assets, beginning balance"
       }
      }
     },
     "localname": "ContractWithCustomerAssetGross",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueContractBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractWithCustomerAssetReclassifiedToReceivable": {
     "auth_ref": [
      "r255"
     ],
     "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 assets, revenue recognized"
       }
      }
     },
     "localname": "ContractWithCustomerAssetReclassifiedToReceivable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueContractBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractWithCustomerLiability": {
     "auth_ref": [
      "r252",
      "r253",
      "r262"
     ],
     "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": [
      "r256"
     ],
     "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": "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/RevenueContractBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CostOfGoodsAndServicesSold": {
     "auth_ref": [
      "r81"
     ],
     "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/DerivativesFinancialInstrumentsDerivativeIncomeStatementLocationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CostsAndExpenses": {
     "auth_ref": [
      "r78"
     ],
     "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": [
      "r82"
     ],
     "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/DebtAdditionalInformationDetail"
     ],
     "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/DebtAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtAndCapitalLeaseObligations": {
     "auth_ref": [
      "r412",
      "r428"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of short-term and long-term debt and lease obligation.",
        "label": "Debt and Lease Obligation",
        "terseLabel": "Total"
       }
      }
     },
     "localname": "DebtAndCapitalLeaseObligations",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtCurrent": {
     "auth_ref": [
      "r39"
     ],
     "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",
        "negatedTerseLabel": "Amounts due within one year"
       }
      }
     },
     "localname": "DebtCurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail"
     ],
     "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": [
      "r239"
     ],
     "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": [
      "r17",
      "r18",
      "r19",
      "r407",
      "r408",
      "r420"
     ],
     "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/DebtAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/DebtDebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsMpcLoanAgreementDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentCarryingAmount": {
     "auth_ref": [
      "r19",
      "r237",
      "r408",
      "r420"
     ],
     "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"
       }
      }
     },
     "localname": "DebtInstrumentCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail"
     ],
     "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/DebtAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsMpcLoanAgreementDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentInterestRateEffectivePercentage": {
     "auth_ref": [
      "r43",
      "r238",
      "r358"
     ],
     "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": "Debt Instrument, Interest Rate, Effective Percentage"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateEffectivePercentage",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentInterestRateStatedPercentage": {
     "auth_ref": [
      "r43"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Contractual interest rate for funds borrowed, under the debt agreement.",
        "label": "Debt Instrument, Interest Rate, Stated Percentage",
        "terseLabel": "Debt Instrument, Interest Rate, Stated Percentage"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateStatedPercentage",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/DebtDebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail"
     ],
     "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/DebtAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/DebtDebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentMaturityDate": {
     "auth_ref": [
      "r44",
      "r341"
     ],
     "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/DebtDebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "auth_ref": [
      "r45"
     ],
     "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/DebtAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/DebtDebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsMpcLoanAgreementDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtInstrumentTable": {
     "auth_ref": [
      "r45",
      "r113",
      "r242",
      "r243",
      "r244",
      "r245",
      "r357",
      "r358",
      "r360",
      "r419"
     ],
     "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/DebtAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/DebtDebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentTerm": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Debt Instrument, Term",
        "terseLabel": "Debt Instrument, Term"
       }
      }
     },
     "localname": "DebtInstrumentTerm",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_DebtInstrumentUnamortizedDiscount": {
     "auth_ref": [
      "r357",
      "r360"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount, after accumulated amortization, of debt discount.",
        "label": "Debt Instrument, Unamortized Discount",
        "negatedTerseLabel": "Unamortized discount/premium"
       }
      }
     },
     "localname": "DebtInstrumentUnamortizedDiscount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail"
     ],
     "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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r103",
      "r111",
      "r296",
      "r297"
     ],
     "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_DeferredIncomeTaxLiabilitiesNet": {
     "auth_ref": [
      "r294",
      "r295"
     ],
     "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.",
        "label": "Deferred Income Tax Liabilities, Net",
        "terseLabel": "Deferred income taxes"
       }
      }
     },
     "localname": "DeferredIncomeTaxLiabilitiesNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "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/OtherAssetsAndLiabilitiesFromRelatedPartiesDetail"
     ],
     "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/OtherAssetsAndLiabilitiesFromRelatedPartiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DeferredRevenueCurrent": {
     "auth_ref": [
      "r27"
     ],
     "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": "Deferred revenue, ending balance",
        "periodStartLabel": "Deferred revenue, beginning balance"
       }
      }
     },
     "localname": "DeferredRevenueCurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueContractBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredRevenueNoncurrent": {
     "auth_ref": [
      "r27"
     ],
     "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": "Long-term deferred revenue, ending balance",
        "periodStartLabel": "Long-term deferred revenue, beginning balance",
        "terseLabel": "Long-term deferred revenue"
       }
      }
     },
     "localname": "DeferredRevenueNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/RevenueContractBalancesDetails"
     ],
     "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, additions/(deletions)"
       }
      }
     },
     "localname": "DeferredRevenuePeriodIncreaseDecrease",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueContractBalancesDetails"
     ],
     "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/RevenueContractBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Depreciation": {
     "auth_ref": [
      "r103",
      "r209"
     ],
     "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",
        "negatedTerseLabel": "Depreciation and amortization",
        "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/SegmentInformationReconciliationToNetIncomeDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationSegmentAdjustedEbitdaDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssets": {
     "auth_ref": [
      "r55",
      "r56",
      "r351"
     ],
     "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": "Derivative asset"
       }
      }
     },
     "localname": "DerivativeAssets",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringFinancialInstrumentsByValuationHierarchyDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAverageForwardPrice": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The average forward price on the group of price risk forward or futures contracts, such as gas futures contracts.",
        "label": "Derivative, Average Forward Price",
        "terseLabel": "Derivative, Average Forward Price"
       }
      }
     },
     "localname": "DerivativeAverageForwardPrice",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurmentsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "xbrltype": "perUnitItemType"
    },
    "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/DerivativeFinancialInstrumentsDerivativesBalanceSheetLocationDetails",
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsEmbeddedDerivativesInCommodityContractsDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringChangesInLevel3MeasurementsDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringFinancialInstrumentsByValuationHierarchyDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurmentsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeAsset": {
     "auth_ref": [
      "r54",
      "r57",
      "r321",
      "r389"
     ],
     "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": [
      "r54",
      "r57",
      "r321",
      "r389"
     ],
     "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",
        "terseLabel": "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": [
      "r320",
      "r322",
      "r326",
      "r329"
     ],
     "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/DerivativeFinancialInstrumentsDerivativesBalanceSheetLocationDetails",
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsEmbeddedDerivativesInCommodityContractsDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringChangesInLevel3MeasurementsDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringFinancialInstrumentsByValuationHierarchyDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurmentsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "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": [
      "r335"
     ],
     "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 Instruments and Hedging Activities Disclosure [Text Block]"
       }
      }
     },
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstruments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet": {
     "auth_ref": [
      "r325",
      "r327"
     ],
     "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",
        "verboseLabel": "Total gain (loss)"
       }
      }
     },
     "localname": "DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativesFinancialInstrumentsDerivativeIncomeStatementLocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilities": {
     "auth_ref": [
      "r55",
      "r56",
      "r351"
     ],
     "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",
        "terseLabel": "Derivative liability"
       }
      }
     },
     "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/DerivativeFinancialInstrumentsEmbeddedDerivativesInCommodityContractsDetails",
      "http://www.marathonpetroleum.com/role/DerivativesFinancialInstrumentsDerivativeIncomeStatementLocationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeTable": {
     "auth_ref": [
      "r116",
      "r313",
      "r315",
      "r316",
      "r317",
      "r318",
      "r324",
      "r326",
      "r331",
      "r332",
      "r334"
     ],
     "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/DerivativeFinancialInstrumentsEmbeddedDerivativesInCommodityContractsDetails",
      "http://www.marathonpetroleum.com/role/DerivativesFinancialInstrumentsDerivativeIncomeStatementLocationDetails"
     ],
     "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_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": [
      "r261"
     ],
     "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/RevenueTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock": {
     "auth_ref": [
      "r293"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for share-based payment arrangement.",
        "label": "Share-based Payment Arrangement [Text Block]",
        "terseLabel": "Equity-Based Compensation Plan"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlan"
     ],
     "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_DisclosureTextBlockAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Disclosure Text Block [Abstract]"
       }
      }
     },
     "localname": "DisclosureTextBlockAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DisposalGroupClassificationAxis": {
     "auth_ref": [
      "r1"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Information by disposal group classification.",
        "label": "Disposal Group Classification [Axis]",
        "terseLabel": "Disposal Group Classification [Axis]"
       }
      }
     },
     "localname": "DisposalGroupClassificationAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DisposalGroupClassificationDomain": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Component or group of components disposed of, including but not limited to, disposal group held-for-sale or disposed of by sale, disposed of by means other than sale, and discontinued operations.",
        "label": "Disposal Group Classification [Domain]",
        "terseLabel": "Disposal Group Classification [Domain]"
       }
      }
     },
     "localname": "DisposalGroupClassificationDomain",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DistributionMadeToLimitedPartnerCashDistributionsDeclared": {
     "auth_ref": [
      "r135",
      "r136",
      "r246"
     ],
     "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": "Distribution Made to Limited Partner, Cash Distributions Declared",
        "verboseLabel": "Less: Distribution declared"
       }
      }
     },
     "localname": "DistributionMadeToLimitedPartnerCashDistributionsDeclared",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitScheduleOfDistributionsByPartnerByClassDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DistributionMadeToLimitedPartnerCashDistributionsPaid": {
     "auth_ref": [
      "r135",
      "r136",
      "r246"
     ],
     "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",
        "negatedLabel": "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/SeriesPreferredUnitsRollforwardOfRedeemablePreferredUnitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DistributionMadeToLimitedPartnerDateOfRecord": {
     "auth_ref": [
      "r135",
      "r136",
      "r246"
     ],
     "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": "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": [
      "r135",
      "r136",
      "r246"
     ],
     "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/SeriesPreferredUnitsNarrativeDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DistributionMadeToLimitedPartnerDistributionDate": {
     "auth_ref": [
      "r135",
      "r136",
      "r246"
     ],
     "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 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": [
      "r135",
      "r136",
      "r246"
     ],
     "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",
        "verboseLabel": "Distribution Made to Limited Partner, Distributions Declared, Per Unit"
       }
      }
     },
     "localname": "DistributionMadeToLimitedPartnerDistributionsDeclaredPerUnit",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/SeriesPreferredUnitsNarrativeDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_DistributionsMadeToLimitedPartnerByDistributionTableTextBlock": {
     "auth_ref": [
      "r135",
      "r136",
      "r246"
     ],
     "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 [Table Text Block]"
       }
      }
     },
     "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": [
      "r246",
      "r418"
     ],
     "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",
        "terseLabel": "Dividends, Preferred Stock"
       }
      }
     },
     "localname": "DividendsPreferredStock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueFromRelatedPartiesNoncurrent": {
     "auth_ref": [
      "r32",
      "r115",
      "r378"
     ],
     "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/OtherAssetsAndLiabilitiesFromRelatedPartiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueToRelatedPartiesCurrent": {
     "auth_ref": [
      "r37",
      "r115",
      "r378"
     ],
     "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"
       }
      }
     },
     "localname": "DueToRelatedPartiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/CommitmentsAndContingenciesAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/OtherAssetsAndLiabilitiesFromRelatedPartiesDetail"
     ],
     "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": "Net income (loss) attributable to MPLX LP per limited partner unit:"
       }
      }
     },
     "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": [
      "r109",
      "r128",
      "r129",
      "r130"
     ],
     "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": "Earnings Per Share, Policy [Policy Text Block]"
       }
      }
     },
     "localname": "EarningsPerSharePolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationAccountingPoliciesPolicies",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitAccountingPolicyPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EarningsPerShareTextBlock": {
     "auth_ref": [
      "r132"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for earnings per share.",
        "label": "Earnings Per Share [Text Block]",
        "terseLabel": "Net Income Per Limited Partner Unit"
       }
      }
     },
     "localname": "EarningsPerShareTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnit"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EarningsPerUnitAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Earnings Per Unit [Abstract]",
        "terseLabel": "Per Unit Data (See Note 6)"
       }
      }
     },
     "localname": "EarningsPerUnitAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "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/FairValueMeasurmentsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EnergyRelatedInventoryNaturalGasLiquids": {
     "auth_ref": [
      "r50"
     ],
     "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_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": [
      "r241"
     ],
     "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/AccumulatedOtherComprehensiveIncome",
      "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeDetails",
      "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeTables",
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityMethodInvestmentDifferenceBetweenCarryingAmountAndUnderlyingEquity": {
     "auth_ref": [
      "r173"
     ],
     "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": "Difference between carrying amount and underlying equity"
       }
      }
     },
     "localname": "EquityMethodInvestmentDifferenceBetweenCarryingAmountAndUnderlyingEquity",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentDividendsOrDistributions": {
     "auth_ref": [
      "r74",
      "r98",
      "r103",
      "r429"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 8.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",
        "negatedTerseLabel": "Proceeds from Equity Method Investment, Distribution, Return of Capital",
        "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/SegmentInformationReconciliationToNetIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentOtherThanTemporaryImpairment": {
     "auth_ref": [
      "r169"
     ],
     "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/ConsolidatedStatementsOfCashFlows",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentOwnershipPercentage": {
     "auth_ref": [
      "r172"
     ],
     "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/CommitmentsAndContingenciesAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EquityMethodInvestmentSummarizedFinancialInformationCurrentAssets": {
     "auth_ref": [
      "r2",
      "r110",
      "r171",
      "r175",
      "r354"
     ],
     "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/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentSummarizedFinancialInformationCurrentLiabilities": {
     "auth_ref": [
      "r2",
      "r110",
      "r171",
      "r175",
      "r354"
     ],
     "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/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems": {
     "auth_ref": [
      "r2",
      "r110",
      "r171",
      "r175"
     ],
     "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/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss": {
     "auth_ref": [
      "r2",
      "r110",
      "r171",
      "r175",
      "r354"
     ],
     "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/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNoncurrentAssets": {
     "auth_ref": [
      "r2",
      "r110",
      "r171",
      "r175",
      "r354"
     ],
     "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/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNoncurrentLiabilities": {
     "auth_ref": [
      "r2",
      "r110",
      "r171",
      "r175",
      "r354"
     ],
     "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/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue": {
     "auth_ref": [
      "r2",
      "r175"
     ],
     "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": "Revenues and other income"
       }
      }
     },
     "localname": "EquityMethodInvestmentSummarizedFinancialInformationRevenue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestments": {
     "auth_ref": [
      "r33",
      "r152",
      "r170"
     ],
     "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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails"
     ],
     "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": [
      "r177",
      "r312"
     ],
     "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 [Text Block]"
       }
      }
     },
     "localname": "EquityMethodInvestmentsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityMethodInvestments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EquityMethodInvestmentsTextBlock": {
     "auth_ref": [
      "r176"
     ],
     "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 [Table Text Block]"
       }
      }
     },
     "localname": "EquityMethodInvestmentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EstimateOfFairValueFairValueDisclosureMember": {
     "auth_ref": [
      "r351"
     ],
     "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_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": [
      "r336",
      "r337",
      "r338",
      "r347"
     ],
     "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": [
      "r342"
     ],
     "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/GoodwillAndIntangiblesGoodwillDetails"
     ],
     "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": [
      "r336",
      "r347"
     ],
     "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/GoodwillAndIntangiblesGoodwillDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByBalanceSheetGroupingTable": {
     "auth_ref": [
      "r336",
      "r352",
      "r353"
     ],
     "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": [
      "r336",
      "r352"
     ],
     "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 Carrying 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": [
      "r269",
      "r270",
      "r275",
      "r337",
      "r387"
     ],
     "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/FairValueMeasurmentsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementBasisAxis": {
     "auth_ref": [
      "r336",
      "r348"
     ],
     "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": [
      "r336",
      "r337",
      "r340",
      "r341",
      "r349"
     ],
     "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": [
      "r345"
     ],
     "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": [
      "r269",
      "r270",
      "r275",
      "r337",
      "r388"
     ],
     "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": "Fair Value, Inputs, Level 3 [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel3Member",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringFinancialInstrumentsByValuationHierarchyDetails",
      "http://www.marathonpetroleum.com/role/FairValueMeasurmentsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "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_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/FairValueMeasurmentsRecurringSignificantUnobservableInputsInLevel3ValuationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsRecurringMember": {
     "auth_ref": [
      "r345",
      "r349"
     ],
     "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": "Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]"
       }
      }
     },
     "localname": "FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/FairValueMeasurementsRecurringChangesInLevel3MeasurementsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTable": {
     "auth_ref": [
      "r342",
      "r346"
     ],
     "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": [
      "r342",
      "r346"
     ],
     "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": "Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Input Reconciliation [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": [
      "r343",
      "r346"
     ],
     "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"
       }
      }
     },
     "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": [
      "r344",
      "r346"
     ],
     "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": [
      "r336",
      "r346"
     ],
     "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_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable": {
     "auth_ref": [
      "r319",
      "r324",
      "r333"
     ],
     "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_FinanceLeaseLiability": {
     "auth_ref": [
      "r364",
      "r365"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from finance lease.",
        "label": "Finance Lease, Liability",
        "verboseLabel": "Financing lease obligations(1)"
       }
      }
     },
     "localname": "FinanceLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangiblesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization": {
     "auth_ref": [
      "r201"
     ],
     "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": "Finite-Lived Intangible Assets, Accumulated Amortization"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAccumulatedAmortization",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangiblesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive": {
     "auth_ref": [],
     "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": "Finite-Lived Intangible Assets, Amortization Expense, after Year Five"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangiblesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear": {
     "auth_ref": [],
     "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 in the remainder of the 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, Remainder of Fiscal Year",
        "terseLabel": "Finite-Lived Intangible Assets, Amortization Expense, Next Twelve Months"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangiblesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive": {
     "auth_ref": [
      "r203"
     ],
     "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",
        "terseLabel": "Finite-Lived Intangible Assets, Amortization Expense, Year Five"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearFive",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangiblesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour": {
     "auth_ref": [
      "r203"
     ],
     "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": "Finite-Lived Intangible Assets, Amortization Expense, Year Four"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearFour",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangiblesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree": {
     "auth_ref": [
      "r203"
     ],
     "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": "Finite-Lived Intangible Assets, Amortization Expense, Year Three"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearThree",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangiblesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo": {
     "auth_ref": [
      "r203"
     ],
     "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": "Finite-Lived Intangible Assets, Amortization Expense, Year Two"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangiblesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis": {
     "auth_ref": [
      "r197",
      "r198",
      "r201",
      "r204",
      "r390"
     ],
     "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/GoodwillAndIntangiblesIntangiblesDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsGross": {
     "auth_ref": [
      "r201",
      "r390"
     ],
     "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": "Finite-Lived Intangible Assets, Gross"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsGross",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangiblesDetails"
     ],
     "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/GoodwillAndIntangiblesIntangiblesDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain": {
     "auth_ref": [
      "r197",
      "r200"
     ],
     "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/GoodwillAndIntangiblesIntangiblesDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsNet": {
     "auth_ref": [
      "r201"
     ],
     "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",
        "terseLabel": "Finite-Lived Intangible Assets, Net"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangiblesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnDispositionOfAssets": {
     "auth_ref": [
      "r103",
      "r208",
      "r214"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 6.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",
        "negatedTerseLabel": "(Gain)/loss 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": [
      "r84"
     ],
     "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_Goodwill": {
     "auth_ref": [
      "r184",
      "r186"
     ],
     "calculation": {
      "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",
        "terseLabel": "Goodwill"
       }
      }
     },
     "localname": "Goodwill",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillAcquiredDuringPeriod": {
     "auth_ref": [
      "r188"
     ],
     "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": "Goodwill, Acquired During Period"
       }
      }
     },
     "localname": "GoodwillAcquiredDuringPeriod",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillDetails"
     ],
     "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",
        "terseLabel": "Goodwill and Intangible Asset Impairment"
       }
      }
     },
     "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/SegmentInformationReconciliationToNetIncomeDetails"
     ],
     "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": [
      "r206"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for goodwill and intangible assets.",
        "label": "Goodwill and Intangible Assets Disclosure [Text Block]",
        "terseLabel": "Goodwill and Intangible Assets Disclosure [Text Block]"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesNotes"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GoodwillGross": {
     "auth_ref": [
      "r187",
      "r190"
     ],
     "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": "Goodwill, Gross"
       }
      }
     },
     "localname": "GoodwillGross",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillImpairedAccumulatedImpairmentLoss": {
     "auth_ref": [
      "r187",
      "r190"
     ],
     "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": "Goodwill, Impaired, Accumulated Impairment Loss"
       }
      }
     },
     "localname": "GoodwillImpairedAccumulatedImpairmentLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillImpairmentLoss": {
     "auth_ref": [
      "r103",
      "r185",
      "r189",
      "r193"
     ],
     "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": "Goodwill, Impairment Loss",
        "terseLabel": "Goodwill, Impairment Loss"
       }
      }
     },
     "localname": "GoodwillImpairmentLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillDetails"
     ],
     "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/GoodwillAndIntangiblesGoodwillAndIntangiblesTables",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillDetails"
     ],
     "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 [Member]"
       }
      }
     },
     "localname": "GoodwillMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GuaranteeObligationsByNatureAxis": {
     "auth_ref": [
      "r235"
     ],
     "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/CommitmentsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_GuaranteeObligationsMaximumExposure": {
     "auth_ref": [
      "r234"
     ],
     "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/CommitmentsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GuaranteeObligationsNatureDomain": {
     "auth_ref": [
      "r233"
     ],
     "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/CommitmentsAndContingenciesAdditionalInformationDetail"
     ],
     "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/CommitmentsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_HedgingDesignationAxis": {
     "auth_ref": [
      "r317",
      "r330"
     ],
     "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/DerivativeFinancialInstrumentsDerivativesBalanceSheetLocationDetails",
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsEmbeddedDerivativesInCommodityContractsDetails",
      "http://www.marathonpetroleum.com/role/DerivativesFinancialInstrumentsDerivativeIncomeStatementLocationDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationToNetIncomeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_HedgingDesignationDomain": {
     "auth_ref": [
      "r317"
     ],
     "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/DerivativeFinancialInstrumentsDerivativesBalanceSheetLocationDetails",
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsEmbeddedDerivativesInCommodityContractsDetails",
      "http://www.marathonpetroleum.com/role/DerivativesFinancialInstrumentsDerivativeIncomeStatementLocationDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationToNetIncomeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ImpairmentOfIntangibleAssetsFinitelived": {
     "auth_ref": [
      "r103",
      "r205"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The amount of impairment loss recognized in the period resulting from the write-down of the carrying amount of a finite-lived intangible asset to fair value.",
        "label": "Impairment of Intangible Assets, Finite-lived",
        "terseLabel": "Impairment of Intangible Assets, Finite-lived"
       }
      }
     },
     "localname": "ImpairmentOfIntangibleAssetsFinitelived",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangiblesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairmentOfLongLivedAssetsHeldForUse": {
     "auth_ref": [
      "r103",
      "r207",
      "r213",
      "r439"
     ],
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The aggregate amount of write-downs for impairments recognized during the period for long lived assets held for use (including those held for disposal by means other than sale).",
        "label": "Impairment of Long-Lived Assets Held-for-use",
        "terseLabel": "Impairment of Long-Lived Assets Held-for-use"
       }
      }
     },
     "localname": "ImpairmentOfLongLivedAssetsHeldForUse",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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_IncomeApproachValuationTechniqueMember": {
     "auth_ref": [
      "r339"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Valuation approach converting future amounts to single current discounted amount.",
        "label": "Valuation, Income Approach [Member]",
        "terseLabel": "Valuation, Income Approach [Member]"
       }
      }
     },
     "localname": "IncomeApproachValuationTechniqueMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperations": {
     "auth_ref": [
      "r80",
      "r104",
      "r127",
      "r304"
     ],
     "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",
        "totalLabel": "Income/(loss) from operations"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperations",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "auth_ref": [
      "r73",
      "r120",
      "r405",
      "r416",
      "r431"
     ],
     "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/(loss) 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": [
      "r74",
      "r103",
      "r149",
      "r170",
      "r415",
      "r429"
     ],
     "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 income (loss) for proportionate share of equity method investee's income (loss).",
        "label": "Income (Loss) from Equity Method Investments",
        "negatedLabel": "Loss/(income) from equity method investments(2)",
        "terseLabel": "Income/(loss) from equity method investments(2)"
       }
      }
     },
     "localname": "IncomeLossFromEquityMethodInvestments",
     "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/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationToNetIncomeDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationSegmentAdjustedEbitdaDetails"
     ],
     "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": [
      "r215"
     ],
     "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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/DerivativesFinancialInstrumentsDerivativeIncomeStatementLocationDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillAndIntangiblesTables",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillDetails",
      "http://www.marathonpetroleum.com/role/SummaryOfChargesForEmployeeServicesAndOmnibusAgreementsDetail"
     ],
     "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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/DerivativesFinancialInstrumentsDerivativeIncomeStatementLocationDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillAndIntangiblesTables",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillDetails",
      "http://www.marathonpetroleum.com/role/SummaryOfChargesForEmployeeServicesAndOmnibusAgreementsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r111",
      "r150",
      "r298"
     ],
     "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)",
        "negatedTerseLabel": "Income Tax Expense (Benefit)",
        "terseLabel": "(Benefit)/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/SegmentInformationReconciliationToNetIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities": {
     "auth_ref": [
      "r102"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 12.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": [
      "r102"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 9.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": [
      "r102"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 15.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": [
      "r102"
     ],
     "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 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": [
      "r102"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 13.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",
        "negatedTerseLabel": "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": [
      "r102"
     ],
     "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 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",
        "negatedLabel": "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": [
      "r102"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 14.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": [
      "r195",
      "r199"
     ],
     "calculation": {
      "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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangiblesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestCostsCapitalized": {
     "auth_ref": [
      "r356"
     ],
     "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/ConsolidatedStatementsOfIncomeParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseDebtExcludingAmortization": {
     "auth_ref": [
      "r86"
     ],
     "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 $13 million and $11 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": [
      "r96",
      "r100",
      "r106"
     ],
     "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/SupplementalCashFlowInformationSummaryOfSupplementalCashFlowInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPayableCurrentAndNoncurrent": {
     "auth_ref": [
      "r413",
      "r427"
     ],
     "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/AcquisitionsAndeavorLogisticsDetails",
      "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": [
      "r181"
     ],
     "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": [
      "r50"
     ],
     "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": "Inventories",
        "totalLabel": "Total inventories"
       }
      }
     },
     "localname": "InventoryGross",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/InventoriesSummaryOfInventoriesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LaborAndRelatedExpense": {
     "auth_ref": [
      "r77"
     ],
     "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": "Labor and Related Expense"
       }
      }
     },
     "localname": "LaborAndRelatedExpense",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SummaryOfChargesForEmployeeServicesAndOmnibusAgreementsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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_LeasesOfLessorDisclosureTextBlock": {
     "auth_ref": [
      "r362"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The entire disclosure for lessor entity's leasing arrangements for operating, capital and leveraged leases.",
        "label": "Leases of Lessor Disclosure [Text Block]",
        "terseLabel": "Leases of Lessor Disclosure [Text Block]"
       }
      }
     },
     "localname": "LeasesOfLessorDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLeasesNotes"
     ],
     "xbrltype": "textBlockItemType"
    },
    "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/LeasesLessorLeaseRevenuesDetails",
      "http://www.marathonpetroleum.com/role/LeasesLessorMaturityTableDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LessorLeaseDescriptionTable": {
     "auth_ref": [
      "r372"
     ],
     "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/LeasesLessorLeaseRevenuesDetails",
      "http://www.marathonpetroleum.com/role/LeasesLessorMaturityTableDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LessorSalesTypeLeaseAssumptionsAndJudgmentsValueOfUnderlyingAssetAmount": {
     "auth_ref": [
      "r371"
     ],
     "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/LeasesLeasesNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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"
       }
      }
     },
     "localname": "LettersOfCreditOutstandingAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Liabilities": {
     "auth_ref": [
      "r40"
     ],
     "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/AcquisitionsAndeavorLogisticsDetails",
      "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": [
      "r26",
      "r411",
      "r424"
     ],
     "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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesCurrent": {
     "auth_ref": [
      "r42"
     ],
     "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/AcquisitionsAndeavorLogisticsDetails",
      "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_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": [
      "r135",
      "r248"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The number of limited partner units issued.",
        "label": "Limited Partners' Capital Account, Units Issued",
        "terseLabel": "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/EquityChangesInPartnersCapitalUnitRollforwardDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_LimitedPartnersCapitalAccountUnitsOutstanding": {
     "auth_ref": [
      "r135",
      "r248"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The number of limited partner units outstanding.",
        "label": "Limited Partners' Capital Account, Units Outstanding",
        "terseLabel": "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/EquityChangesInPartnersCapitalUnitRollforwardDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_LineOfCredit": {
     "auth_ref": [
      "r19",
      "r408",
      "r420"
     ],
     "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": "Long-term Line of Credit"
       }
      }
     },
     "localname": "LineOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsMpcLoanAgreementDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity": {
     "auth_ref": [
      "r38"
     ],
     "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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsMpcLoanAgreementDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityExpirationDate1": {
     "auth_ref": [
      "r38"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Date the credit facility terminates, in CCYY-MM-DD format.",
        "label": "Line of Credit Facility, Expiration Date",
        "terseLabel": "Line of Credit Facility, Expiration Date"
       }
      }
     },
     "localname": "LineOfCreditFacilityExpirationDate1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtDebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_LineOfCreditFacilityInterestRateDuringPeriod": {
     "auth_ref": [
      "r38"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "The effective interest rate during the reporting period.",
        "label": "Line of Credit Facility, Interest Rate During Period",
        "terseLabel": "Line of Credit Facility, Interest Rate During Period"
       }
      }
     },
     "localname": "LineOfCreditFacilityInterestRateDuringPeriod",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsMpcLoanAgreementDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity": {
     "auth_ref": [
      "r38"
     ],
     "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": "Line of Credit Facility, Maximum Borrowing Capacity"
       }
      }
     },
     "localname": "LineOfCreditFacilityMaximumBorrowingCapacity",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity": {
     "auth_ref": [
      "r38"
     ],
     "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": "Line of Credit Facility, Remaining Borrowing Capacity"
       }
      }
     },
     "localname": "LineOfCreditFacilityRemainingBorrowingCapacity",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail"
     ],
     "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 [Member]"
       }
      }
     },
     "localname": "LineOfCreditMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtDebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LongTermDebtAndCapitalLeaseObligations": {
     "auth_ref": [
      "r19"
     ],
     "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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail"
     ],
     "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_LongTermDebtMaturityDate": {
     "auth_ref": [
      "r341"
     ],
     "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/DebtAdditionalInformationDetail"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_LongtermDebtTypeAxis": {
     "auth_ref": [
      "r45"
     ],
     "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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/DebtDebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongtermDebtTypeDomain": {
     "auth_ref": [
      "r45",
      "r236"
     ],
     "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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/DebtDebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LossContingenciesByNatureOfContingencyAxis": {
     "auth_ref": [
      "r223",
      "r224",
      "r225",
      "r226",
      "r227",
      "r228",
      "r229",
      "r231",
      "r232"
     ],
     "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/CommitmentsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LossContingencyNatureDomain": {
     "auth_ref": [
      "r223",
      "r224",
      "r225",
      "r226",
      "r227",
      "r228",
      "r229",
      "r231",
      "r232"
     ],
     "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/CommitmentsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MaterialReconcilingItemsMember": {
     "auth_ref": [
      "r157",
      "r158"
     ],
     "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 [Member]"
       }
      }
     },
     "localname": "MaterialReconcilingItemsMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationToNetIncomeDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationSegmentAdjustedEbitdaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputDiscountRateMember": {
     "auth_ref": [
      "r339"
     ],
     "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/GoodwillAndIntangiblesGoodwillDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputTypeAxis": {
     "auth_ref": [
      "r339"
     ],
     "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/GoodwillAndIntangiblesGoodwillDetails"
     ],
     "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/GoodwillAndIntangiblesGoodwillDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders": {
     "auth_ref": [
      "r246"
     ],
     "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",
        "negatedLabel": "Noncontrolling interests",
        "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/EquityCashDistributionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NaturalGasMidstreamMember": {
     "auth_ref": [
      "r263"
     ],
     "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": [
      "r99"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 3.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 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": [
      "r99"
     ],
     "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": [
      "r99",
      "r101",
      "r104"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 1.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": [
      "r64",
      "r67",
      "r75",
      "r104",
      "r129",
      "r417",
      "r430"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "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 (Loss) Attributable to Parent",
        "totalLabel": "Net income (loss) attributable to MPLX LP",
        "verboseLabel": "Net income attributable to MPLX LP"
       }
      }
     },
     "localname": "NetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitScheduleOfDistributionsByPartnerByClassDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAllocatedToLimitedPartners": {
     "auth_ref": [
      "r250"
     ],
     "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' interest in net income (loss) 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": [
      "r64",
      "r67",
      "r307",
      "r310"
     ],
     "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 (loss) attributable to noncontrolling interest"
       }
      }
     },
     "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": [
      "r248"
     ],
     "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": "Common - diluted (in USD per unit)",
        "verboseLabel": "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/NetIncomePerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_NetIncomeLossPerOutstandingLimitedPartnershipUnitBasicNetOfTax": {
     "auth_ref": [
      "r248"
     ],
     "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/NetIncomePerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail"
     ],
     "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/NetIncomePerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetInvestmentInLeaseCurrent": {
     "auth_ref": [
      "r367",
      "r368"
     ],
     "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": "Sales-type Lease, Interest Income"
       }
      }
     },
     "localname": "NetInvestmentInLeaseCurrent",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/OtherAssetsAndLiabilitiesFromRelatedPartiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetInvestmentInLeaseNoncurrent": {
     "auth_ref": [
      "r367",
      "r368"
     ],
     "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/OtherAssetsAndLiabilitiesFromRelatedPartiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock": {
     "auth_ref": [
      "r121"
     ],
     "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": "New Accounting Pronouncements and Changes in Accounting Principles [Text Block]"
       }
      }
     },
     "localname": "NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AccountingStandardsAccountingStandards"
     ],
     "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/SupplementalCashFlowInformationSummaryOfSupplementalCashFlowInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoncontrollingInterestMember": {
     "auth_ref": [
      "r303"
     ],
     "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 Interests"
       }
      }
     },
     "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": [
      "r317"
     ],
     "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 [Member]"
       }
      }
     },
     "localname": "NondesignatedMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesBalanceSheetLocationDetails",
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsEmbeddedDerivativesInCommodityContractsDetails",
      "http://www.marathonpetroleum.com/role/DerivativesFinancialInstrumentsDerivativeIncomeStatementLocationDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationToNetIncomeDetails"
     ],
     "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/DescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetail",
      "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/GoodwillAndIntangiblesGoodwillDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_OilAndGasRefiningAndMarketingMember": {
     "auth_ref": [
      "r263"
     ],
     "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_OperatingLeaseLeaseIncome": {
     "auth_ref": [
      "r133",
      "r369",
      "r376"
     ],
     "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/LeasesLeasesNarrativeDetails",
      "http://www.marathonpetroleum.com/role/LeasesLessorLeaseRevenuesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLeaseIncomeTableTextBlock": {
     "auth_ref": [
      "r133",
      "r376"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of components of income from operating lease.",
        "label": "Operating Lease, Lease Income [Table Text Block]",
        "terseLabel": "Operating Lease, Lease Income [Table Text Block]"
       }
      }
     },
     "localname": "OperatingLeaseLeaseIncomeTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorDisclosureTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OperatingLeaseLiabilityCurrent": {
     "auth_ref": [
      "r364"
     ],
     "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/OtherAssetsAndLiabilitiesFromRelatedPartiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityNoncurrent": {
     "auth_ref": [
      "r364"
     ],
     "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/OtherAssetsAndLiabilitiesFromRelatedPartiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseRightOfUseAsset": {
     "auth_ref": [
      "r363"
     ],
     "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/OtherAssetsAndLiabilitiesFromRelatedPartiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasesIncomeStatementLeaseRevenue": {
     "auth_ref": [
      "r361"
     ],
     "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/SegmentInformationSegmentAdjustedEbitdaDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingSegmentsMember": {
     "auth_ref": [
      "r148",
      "r160"
     ],
     "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/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationAssetsBySegmentDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationToNetIncomeDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationSegmentAdjustedEbitdaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherAffiliatesMember": {
     "auth_ref": [
      "r438"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "A category that identifies other affiliates.",
        "label": "Other Affiliates [Member]",
        "terseLabel": "Other Affiliates [Member]"
       }
      }
     },
     "localname": "OtherAffiliatesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/OtherAssetsAndLiabilitiesFromRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/SalesToRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/SummaryOfChargesForEmployeeServicesAndOmnibusAgreementsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherAssetsCurrent": {
     "auth_ref": [
      "r52"
     ],
     "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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/OtherAssetsAndLiabilitiesFromRelatedPartiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherAssetsNoncurrent": {
     "auth_ref": [
      "r36"
     ],
     "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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTax": {
     "auth_ref": [
      "r65",
      "r68",
      "r70",
      "r241"
     ],
     "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/AccumulatedOtherComprehensiveIncomeDetails"
     ],
     "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/ConsolidatedStatementsOfComprehensiveIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherCostAndExpenseOperating": {
     "auth_ref": [
      "r83"
     ],
     "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",
        "terseLabel": "Other Cost and Expense, Operating"
       }
      }
     },
     "localname": "OtherCostAndExpenseOperating",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationToNetIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherCurrentAssetsMember": {
     "auth_ref": [
      "r319",
      "r333"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Primary financial statement caption encompassing other current assets.",
        "label": "Other Current Assets [Member]",
        "terseLabel": "Other current assets [Member]"
       }
      }
     },
     "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 Noncurrent Liabilities [Member]"
       }
      }
     },
     "localname": "OtherCurrentLiabilitiesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DerivativeFinancialInstrumentsDerivativesBalanceSheetLocationDetails",
      "http://www.marathonpetroleum.com/role/OtherAssetsAndLiabilitiesFromRelatedPartiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherInventoriesSpareParts": {
     "auth_ref": [
      "r51"
     ],
     "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_OtherLiabilitiesCurrent": {
     "auth_ref": [
      "r10",
      "r11",
      "r41"
     ],
     "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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "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 [Member]"
       }
      }
     },
     "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/DerivativeFinancialInstrumentsEmbeddedDerivativesInCommodityContractsDetails",
      "http://www.marathonpetroleum.com/role/OtherAssetsAndLiabilitiesFromRelatedPartiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherNonoperatingIncomeExpense": {
     "auth_ref": [
      "r85"
     ],
     "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": 16.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": [
      "r79"
     ],
     "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",
        "verboseLabel": "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/SegmentInformationSegmentAdjustedEbitdaDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember": {
     "auth_ref": [
      "r268",
      "r273",
      "r274",
      "r276"
     ],
     "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/AccumulatedOtherComprehensiveIncomeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PartnerCapitalComponentsAxis": {
     "auth_ref": [
      "r246"
     ],
     "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/EquityChangesInPartnersCapitalUnitRollforwardDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PartnerCapitalComponentsDomain": {
     "auth_ref": [
      "r246"
     ],
     "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/EquityChangesInPartnersCapitalUnitRollforwardDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PartnerTypeOfPartnersCapitalAccountAxis": {
     "auth_ref": [
      "r134",
      "r247"
     ],
     "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/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/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitScheduleOfDistributionsByPartnerByClassDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PartnerTypeOfPartnersCapitalAccountNameDomain": {
     "auth_ref": [
      "r134",
      "r248",
      "r435"
     ],
     "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/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/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitScheduleOfDistributionsByPartnerByClassDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PartnersCapital": {
     "auth_ref": [
      "r135",
      "r136",
      "r246"
     ],
     "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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PartnersCapitalAccountDistributions": {
     "auth_ref": [
      "r246",
      "r248"
     ],
     "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",
        "negatedLabel": "Unitholders and general partner",
        "negatedTerseLabel": "Noncontrolling Interest, Decrease from Distributions to Noncontrolling Interest Holders",
        "terseLabel": "Partners' Capital Account, Distributions"
       }
      }
     },
     "localname": "PartnersCapitalAccountDistributions",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PartnersCapitalAccountUnits": {
     "auth_ref": [
      "r247",
      "r436",
      "r437"
     ],
     "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": "Balance at March 31, 2020",
        "periodStartLabel": "Balance at December 31, 2019",
        "terseLabel": "Partners' Capital Account, Units"
       }
      }
     },
     "localname": "PartnersCapitalAccountUnits",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/SeriesPreferredUnitsNarrativeDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PartnersCapitalAccountUnitsSaleOfUnits": {
     "auth_ref": [
      "r136",
      "r246"
     ],
     "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",
        "verboseLabel": "Issuance of preferred units"
       }
      }
     },
     "localname": "PartnersCapitalAccountUnitsSaleOfUnits",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SeriesPreferredUnitsNarrativeDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PartnersCapitalAccountUnitsUnitbasedCompensation": {
     "auth_ref": [
      "r137",
      "r246"
     ],
     "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"
       }
      }
     },
     "localname": "PartnersCapitalAccountUnitsUnitbasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PartnersCapitalAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r25",
      "r135",
      "r246",
      "r249",
      "r410",
      "r423"
     ],
     "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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PartnersCapitalIncludingPortionAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r137",
      "r246"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 3.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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PartnershipIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Partnership Income [Abstract]",
        "terseLabel": "Net income (loss) attributable to MPLX LP:"
       }
      }
     },
     "localname": "PartnershipIncomeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PaymentsToAcquireEquityMethodInvestments": {
     "auth_ref": [
      "r90"
     ],
     "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 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"
       }
      }
     },
     "localname": "PaymentsToAcquireEquityMethodInvestments",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.marathonpetroleum.com/role/SegmentInformationSegmentAdjustedEbitdaDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment": {
     "auth_ref": [
      "r91"
     ],
     "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"
       }
      }
     },
     "localname": "PaymentsToAcquirePropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToMinorityShareholders": {
     "auth_ref": [
      "r95"
     ],
     "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",
        "negatedLabel": "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": [
      "r267",
      "r273",
      "r274",
      "r276"
     ],
     "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/AccumulatedOtherComprehensiveIncomeDetails"
     ],
     "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 [Member]"
       }
      }
     },
     "localname": "PerformanceSharesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPerformanceUnitAwardActivityDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanTables"
     ],
     "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/EquityBasedCompensationPlanSummaryOfPhantomUnitAwardActivityDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PlanNameAxis": {
     "auth_ref": [
      "r279",
      "r291"
     ],
     "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/EquityBasedCompensationPlanAdditionalInformationDetail"
     ],
     "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/EquityBasedCompensationPlanAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PortionAtFairValueFairValueDisclosureMember": {
     "auth_ref": [
      "r350"
     ],
     "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_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 Units"
       }
      }
     },
     "localname": "PreferredClassAMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails"
     ],
     "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]"
       }
      }
     },
     "localname": "PreferredClassBMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails"
     ],
     "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]",
        "verboseLabel": "Series A Preferred Stock [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/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitScheduleOfDistributionsByPartnerByClassDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredStockDividendPaymentRateVariable": {
     "auth_ref": [
      "r21",
      "r22",
      "r242"
     ],
     "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/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails"
     ],
     "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": "Dividend rate, per-dollar-amount"
       }
      }
     },
     "localname": "PreferredStockDividendRatePerDollarAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SeriesPreferredUnitsNarrativeDetails"
     ],
     "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": "Dividend rate, percentage",
        "verboseLabel": "Preferred Stock, Dividend Rate, Percentage"
       }
      }
     },
     "localname": "PreferredStockDividendRatePercentage",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/SeriesPreferredUnitsNarrativeDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_PreferredUnitsByNameAxis": {
     "auth_ref": [
      "r135",
      "r247",
      "r435"
     ],
     "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/SeriesPreferredUnitsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/SeriesPreferredUnitsRollforwardOfRedeemablePreferredUnitsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PreferredUnitsClassDomain": {
     "auth_ref": [
      "r135",
      "r248"
     ],
     "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/SeriesPreferredUnitsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/SeriesPreferredUnitsRollforwardOfRedeemablePreferredUnitsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredUnitsDescription": {
     "auth_ref": [
      "r135",
      "r136",
      "r247"
     ],
     "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": "Description"
       }
      }
     },
     "localname": "PreferredUnitsDescription",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SeriesPreferredUnitsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PreferredUnitsOutstanding": {
     "auth_ref": [
      "r135",
      "r248"
     ],
     "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/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PrepaidInsurance": {
     "auth_ref": [
      "r6",
      "r8",
      "r182",
      "r183"
     ],
     "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/OtherAssetsAndLiabilitiesFromRelatedPartiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromContributionsFromParent": {
     "auth_ref": [
      "r93"
     ],
     "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": "Proceeds from Contributions from Parent"
       }
      }
     },
     "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": [
      "r88",
      "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": "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": [
      "r92"
     ],
     "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_ProceedsFromLinesOfCredit": {
     "auth_ref": [
      "r92",
      "r114"
     ],
     "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/RelatedPartyAgreementsAndTransactionsMpcLoanAgreementDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromLongTermLinesOfCredit": {
     "auth_ref": [
      "r92"
     ],
     "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",
        "verboseLabel": "Proceeds from Lines of Credit"
       }
      }
     },
     "localname": "ProceedsFromLongTermLinesOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromMinorityShareholders": {
     "auth_ref": [
      "r93"
     ],
     "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",
        "negatedTerseLabel": "Contributions 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": [
      "r93",
      "r95",
      "r117"
     ],
     "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_ProceedsFromPreviousAcquisition": {
     "auth_ref": [
      "r89"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Cash inflow representing an adjustment to the purchase price of a previous acquisition.",
        "label": "Proceeds from Previous Acquisition",
        "terseLabel": "Proceeds from Contributions from Affiliates"
       }
      }
     },
     "localname": "ProceedsFromPreviousAcquisition",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromRelatedPartyDebt": {
     "auth_ref": [
      "r92"
     ],
     "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",
        "terseLabel": "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": [
      "r89"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 2.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": [
      "r263"
     ],
     "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/RevenueDisaggregationOfRevenueDetails",
      "http://www.marathonpetroleum.com/role/SalesToRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/SegmentInformationSegmentAdjustedEbitdaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ProfitLoss": {
     "auth_ref": [
      "r64",
      "r67",
      "r97",
      "r151",
      "r161",
      "r305",
      "r306",
      "r308",
      "r310",
      "r311"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "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/(loss)",
        "totalLabel": "Net income",
        "verboseLabel": "Net income"
       }
      }
     },
     "localname": "ProfitLoss",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationToNetIncomeDetails"
     ],
     "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/SalesToRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/SummaryOfChargesForEmployeeServicesAndOmnibusAgreementsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentByTypeAxis": {
     "auth_ref": [
      "r35",
      "r212"
     ],
     "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/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails",
      "http://www.marathonpetroleum.com/role/SummaryOfChargesForEmployeeServicesAndOmnibusAgreementsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock": {
     "auth_ref": [
      "r217"
     ],
     "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": [
      "r34",
      "r210"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails": {
       "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/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails"
     ],
     "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/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "auth_ref": [
      "r15",
      "r16",
      "r212",
      "r425"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails": {
       "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"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentNet",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTextBlock": {
     "auth_ref": [
      "r15",
      "r212"
     ],
     "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": [
      "r15",
      "r210"
     ],
     "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/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails",
      "http://www.marathonpetroleum.com/role/SummaryOfChargesForEmployeeServicesAndOmnibusAgreementsDetail"
     ],
     "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": "Property, Plant and Equipment, Useful Life"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentUsefulLife",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_PurchaseCommitmentRemainingMinimumAmountCommitted": {
     "auth_ref": [
      "r20",
      "r409",
      "r422"
     ],
     "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/CommitmentsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTextBlock": {
     "auth_ref": [
      "r155",
      "r158"
     ],
     "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_ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTable": {
     "auth_ref": [
      "r156",
      "r158"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Identification, description, and amounts of all significant reconciling items in the reconciliation of a significant segment item of information disclosed (for example, liabilities) other than profit (loss), revenues, or assets, between reportable segments in total and the entity's consolidated total for that significant segment item disclosed.",
        "label": "Reconciliation of Other Significant Reconciling Items from Segments to Consolidated [Table]",
        "terseLabel": "Reconciliation of Other Significant Reconciling Items from Segments to Consolidated [Table]"
       }
      }
     },
     "localname": "ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SegmentInformationAssetsBySegmentDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ReconciliationOfOtherSignificantReconcilingItemsFromSegmentsToConsolidatedTextBlock": {
     "auth_ref": [
      "r156",
      "r158"
     ],
     "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": [
      "r154",
      "r158"
     ],
     "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/SegmentInformationReconciliationToNetIncomeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "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/SeriesPreferredUnitsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/SeriesPreferredUnitsRollforwardOfRedeemablePreferredUnitsDetails"
     ],
     "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/SeriesPreferredUnitsNarrativeDetails",
      "http://www.marathonpetroleum.com/role/SeriesPreferredUnitsRollforwardOfRedeemablePreferredUnitsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyDomain": {
     "auth_ref": [
      "r385"
     ],
     "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/CommitmentsAndContingenciesAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/LeasesLeasesNarrativeDetails",
      "http://www.marathonpetroleum.com/role/LeasesLessorLeaseRevenuesDetails",
      "http://www.marathonpetroleum.com/role/LeasesLessorMaturityTableDetails",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitScheduleOfDistributionsByPartnerByClassDetail",
      "http://www.marathonpetroleum.com/role/OtherAssetsAndLiabilitiesFromRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsMpcLoanAgreementDetails",
      "http://www.marathonpetroleum.com/role/SalesToRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/SummaryOfChargesForEmployeeServicesAndOmnibusAgreementsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionAxis": {
     "auth_ref": [
      "r272",
      "r379",
      "r381"
     ],
     "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/RelatedPartyAgreementsAndTransactionsMpcLoanAgreementDetails"
     ],
     "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/RelatedPartyAgreementsAndTransactionsMpcLoanAgreementDetails"
     ],
     "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/OtherAssetsAndLiabilitiesFromRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsMpcLoanAgreementDetails",
      "http://www.marathonpetroleum.com/role/SalesToRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/SummaryOfChargesForEmployeeServicesAndOmnibusAgreementsDetail"
     ],
     "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": "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/SalesToRelatedPartiesDetail"
     ],
     "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": [
      "r272",
      "r379",
      "r381",
      "r393",
      "r394",
      "r395",
      "r396",
      "r397",
      "r398",
      "r399",
      "r400",
      "r401",
      "r402",
      "r403",
      "r404"
     ],
     "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/CommitmentsAndContingenciesAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/LeasesLeasesNarrativeDetails",
      "http://www.marathonpetroleum.com/role/LeasesLessorLeaseRevenuesDetails",
      "http://www.marathonpetroleum.com/role/LeasesLessorMaturityTableDetails",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitScheduleOfDistributionsByPartnerByClassDetail",
      "http://www.marathonpetroleum.com/role/OtherAssetsAndLiabilitiesFromRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsMpcLoanAgreementDetails",
      "http://www.marathonpetroleum.com/role/SalesToRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/SummaryOfChargesForEmployeeServicesAndOmnibusAgreementsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsDisclosureTextBlock": {
     "auth_ref": [
      "r385"
     ],
     "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"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RepaymentsOfLinesOfCredit": {
     "auth_ref": [
      "r94",
      "r114"
     ],
     "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/RelatedPartyAgreementsAndTransactionsMpcLoanAgreementDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfLongTermDebt": {
     "auth_ref": [
      "r94"
     ],
     "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": "Repayments of Long-term Debt"
       }
      }
     },
     "localname": "RepaymentsOfLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfLongTermLinesOfCredit": {
     "auth_ref": [
      "r94"
     ],
     "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/DebtAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfRelatedPartyDebt": {
     "auth_ref": [
      "r94"
     ],
     "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",
        "negatedTerseLabel": "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_ReportingUnitAxis": {
     "auth_ref": [
      "r192",
      "r193"
     ],
     "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/GoodwillAndIntangiblesGoodwillAndIntangiblesTables",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillDetails"
     ],
     "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/GoodwillAndIntangiblesGoodwillAndIntangiblesTables",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ReportingUnitPercentageOfFairValueInExcessOfCarryingAmount": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Percentage of fair value of reporting unit in excess of carrying amount.",
        "label": "Reporting Unit, Percentage of Fair Value in Excess of Carrying Amount",
        "terseLabel": "Reporting Unit, Percentage of Fair Value in Excess of Carrying Amount"
       }
      }
     },
     "localname": "ReportingUnitPercentageOfFairValueInExcessOfCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ReportingUnitZeroOrNegativeCarryingAmountAmountOfAllocatedGoodwill": {
     "auth_ref": [
      "r192"
     ],
     "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/GoodwillAndIntangiblesGoodwillDetails"
     ],
     "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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetirementPlanTypeAxis": {
     "auth_ref": [
      "r267",
      "r268",
      "r273",
      "r274",
      "r276"
     ],
     "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/AccumulatedOtherComprehensiveIncomeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RetirementPlanTypeDomain": {
     "auth_ref": [
      "r267",
      "r268",
      "r273",
      "r274",
      "r276"
     ],
     "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/AccumulatedOtherComprehensiveIncomeDetails"
     ],
     "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": [
      "r260",
      "r261"
     ],
     "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": "Total revenues from contracts with customers"
       }
      }
     },
     "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/SegmentInformationSegmentAdjustedEbitdaDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerTextBlock": {
     "auth_ref": [
      "r266"
     ],
     "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/Revenue"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RevenueNotFromContractWithCustomerOther": {
     "auth_ref": [
      "r71"
     ],
     "crdr": "credit",
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Amount of revenue that is not accounted for under Topic 606, classified as other.",
        "label": "Revenue Not from Contract with Customer, Other",
        "terseLabel": "Operating Income (Loss)"
       }
      }
     },
     "localname": "RevenueNotFromContractWithCustomerOther",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueRemainingPerformanceObligation": {
     "auth_ref": [
      "r258"
     ],
     "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": [
      "r259"
     ],
     "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": "Remaining performance obligation, expected timing of satisfaction, years"
       }
      }
     },
     "localname": "RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueRemainingPerformanceObligationsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis": {
     "auth_ref": [
      "r259"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Start date of time band for expected timing of satisfaction of remaining performance obligation, in CCYY-MM-DD format.",
        "label": "Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]",
        "terseLabel": "Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]"
       }
      }
     },
     "localname": "RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RevenueRemainingPerformanceObligationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "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": [
      "r259"
     ],
     "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/RevenueTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_Revenues": {
     "auth_ref": [
      "r72",
      "r147",
      "r148",
      "r159"
     ],
     "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",
        "negatedLabel": "Total segment revenues and other income",
        "terseLabel": "Revenues",
        "verboseLabel": "Total segment revenues and other income"
       }
      }
     },
     "localname": "Revenues",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationSegmentAdjustedEbitdaDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableMaturityTableTextBlock": {
     "auth_ref": [
      "r370"
     ],
     "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/LeasesLessorDisclosureTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceived": {
     "auth_ref": [
      "r370"
     ],
     "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/LeasesLessorMaturityTableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFourYears": {
     "auth_ref": [
      "r370"
     ],
     "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/LeasesLessorMaturityTableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedNextTwelveMonths": {
     "auth_ref": [
      "r370"
     ],
     "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/LeasesLessorMaturityTableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThereafter": {
     "auth_ref": [
      "r370"
     ],
     "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/LeasesLessorMaturityTableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThreeYears": {
     "auth_ref": [
      "r370"
     ],
     "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/LeasesLessorMaturityTableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedTwoYears": {
     "auth_ref": [
      "r370"
     ],
     "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, Three Years"
       }
      }
     },
     "localname": "SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedTwoYears",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/LeasesLessorMaturityTableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeAndDirectFinancingLeasesLeaseReceivableUndiscountedExcessAmount": {
     "auth_ref": [
      "r370"
     ],
     "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/LeasesLessorMaturityTableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeLeaseInterestIncome": {
     "auth_ref": [
      "r133",
      "r366",
      "r374"
     ],
     "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/LeasesLessorLeaseRevenuesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeLeaseLeaseIncomeTableTextBlock": {
     "auth_ref": [
      "r133",
      "r376"
     ],
     "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/LeasesLessorDisclosureTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SalesTypeLeaseLeaseReceivable": {
     "auth_ref": [
      "r377"
     ],
     "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/LeasesLeasesNarrativeDetails",
      "http://www.marathonpetroleum.com/role/LeasesLessorMaturityTableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeLeaseSellingProfitLoss": {
     "auth_ref": [
      "r133",
      "r373"
     ],
     "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/LeasesLeasesNarrativeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeLeaseUnguaranteedResidualAsset": {
     "auth_ref": [
      "r377"
     ],
     "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/LeasesLeasesNarrativeDetails",
      "http://www.marathonpetroleum.com/role/OtherAssetsAndLiabilitiesFromRelatedPartiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SalesTypeLeaseVariableLeaseIncome": {
     "auth_ref": [
      "r133",
      "r375"
     ],
     "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/LeasesLessorLeaseRevenuesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock": {
     "auth_ref": [
      "r62"
     ],
     "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/AccumulatedOtherComprehensiveIncomeTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable": {
     "auth_ref": [
      "r300",
      "r301"
     ],
     "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/AcquisitionsAndeavorLogisticsDetails"
     ],
     "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 [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SupplementalCashFlowInformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDebtInstrumentsTextBlock": {
     "auth_ref": [
      "r45",
      "r113",
      "r242",
      "r243",
      "r244",
      "r245",
      "r357",
      "r358",
      "r360",
      "r419"
     ],
     "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": "Other Long-term Debt, Noncurrent"
       }
      }
     },
     "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": [
      "r320",
      "r326",
      "r330"
     ],
     "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": [
      "r324"
     ],
     "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": [
      "r129"
     ],
     "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/NetIncomePerLimitedPartnerUnitTables"
     ],
     "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/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails",
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfEquityMethodInvestmentsTable": {
     "auth_ref": [
      "r174"
     ],
     "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/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails",
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock": {
     "auth_ref": [
      "r336",
      "r337"
     ],
     "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": [
      "r197",
      "r200"
     ],
     "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/GoodwillAndIntangiblesIntangiblesDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock": {
     "auth_ref": [
      "r197",
      "r200"
     ],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of assets, excluding financial assets and goodwill, lacking physical substance with a finite life, by either major class or business segment.",
        "label": "Schedule of Finite-Lived Intangible Assets [Table Text Block]",
        "terseLabel": "Schedule of Finite-Lived Intangible Assets [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfGoodwillTable": {
     "auth_ref": [
      "r191",
      "r194"
     ],
     "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/GoodwillAndIntangiblesGoodwillAndIntangiblesTables",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfGoodwillTextBlock": {
     "auth_ref": [
      "r191",
      "r194"
     ],
     "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 [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfGoodwillTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillAndIntangiblesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfIncentiveDistributionMadeToManagingMemberOrGeneralPartnerTable": {
     "auth_ref": [
      "r125",
      "r126",
      "r131",
      "r246"
     ],
     "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",
      "r28",
      "r29",
      "r30"
     ],
     "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_ScheduleOfNotionalAmountsOfOutstandingDerivativePositionsTableTextBlock": {
     "auth_ref": [
      "r314"
     ],
     "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": [
      "r35",
      "r212"
     ],
     "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": "Property, Plant and Equipment [Table]"
       }
      }
     },
     "localname": "ScheduleOfPropertyPlantAndEquipmentTable",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable": {
     "auth_ref": [
      "r112",
      "r379",
      "r381",
      "r382",
      "r383",
      "r384"
     ],
     "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/OtherAssetsAndLiabilitiesFromRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsMpcLoanAgreementDetails",
      "http://www.marathonpetroleum.com/role/SalesToRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/SummaryOfChargesForEmployeeServicesAndOmnibusAgreementsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "documentation": "Tabular disclosure of related party transactions. Examples of related party transactions include, but are not limited to, 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 [Table Text Block]",
        "terseLabel": "Schedule of Related Party Transactions [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfRelatedPartyTransactionsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/RelatedPartyAgreementsAndTransactionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable": {
     "auth_ref": [
      "r146",
      "r151",
      "r153",
      "r157",
      "r191"
     ],
     "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/SegmentInformationSegmentAdjustedEbitdaDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock": {
     "auth_ref": [
      "r146",
      "r151",
      "r153",
      "r157",
      "r191"
     ],
     "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_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable": {
     "auth_ref": [
      "r279",
      "r291"
     ],
     "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/EquityBasedCompensationPlanSummaryOfPerformanceUnitAwardActivityDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock": {
     "auth_ref": [
      "r281"
     ],
     "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 Share-based Compensation, Restricted Stock Units Award Activity"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfStockholdersEquityTableTextBlock": {
     "auth_ref": [
      "r241"
     ],
     "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 [Table Text Block]"
       }
      }
     },
     "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": [
      "r200"
     ],
     "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 [Table Text Block]"
       }
      }
     },
     "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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillAndIntangiblesTables",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangiblesDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesTables",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails",
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationAssetsBySegmentDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationToNetIncomeDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationSegmentAdjustedEbitdaDetails"
     ],
     "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_SegmentReportingDisclosureTextBlock": {
     "auth_ref": [
      "r164"
     ],
     "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 Reporting Disclosure [Text Block]"
       }
      }
     },
     "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/SegmentInformationSegmentAdjustedEbitdaDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SegmentReportingOtherSignificantReconcilingItemLineItems": {
     "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, Other Significant Reconciling Item [Line Items]",
        "terseLabel": "Segment Reporting, Other Significant Reconciling Item [Line Items]"
       }
      }
     },
     "localname": "SegmentReportingOtherSignificantReconcilingItemLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/SegmentInformationAssetsBySegmentDetails"
     ],
     "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/SegmentInformationReconciliationToNetIncomeDetails"
     ],
     "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 [Member]"
       }
      }
     },
     "localname": "SeniorNotesMember",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/DebtAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/DebtDebtSummaryOfOutstandingBorrowingsInterestRatesAndTableDueDatesDetails",
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail"
     ],
     "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/NetIncomePerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitScheduleOfDistributionsByPartnerByClassDetail"
     ],
     "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/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitScheduleOfDistributionsByPartnerByClassDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ServiceMember": {
     "auth_ref": [
      "r263"
     ],
     "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/RevenueDisaggregationOfRevenueDetails",
      "http://www.marathonpetroleum.com/role/SalesToRelatedPartiesDetail",
      "http://www.marathonpetroleum.com/role/SegmentInformationSegmentAdjustedEbitdaDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ServiceOtherMember": {
     "auth_ref": [
      "r263"
     ],
     "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_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod": {
     "auth_ref": [
      "r286"
     ],
     "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/EquityBasedCompensationPlanSummaryOfPerformanceUnitAwardActivityDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod": {
     "auth_ref": [
      "r288"
     ],
     "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/EquityBasedCompensationPlanSummaryOfPerformanceUnitAwardActivityDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r288"
     ],
     "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": "Performance units grant date fair value (in USD per unit)",
        "verboseLabel": "Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPhantomUnitAwardActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber": {
     "auth_ref": [
      "r287"
     ],
     "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 March 31, 2020",
        "periodStartLabel": "Outstanding at December 31, 2019"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPerformanceUnitAwardActivityDetail"
     ],
     "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": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number of Shares [Roll Forward]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPerformanceUnitAwardActivityDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod": {
     "auth_ref": [
      "r289"
     ],
     "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",
        "terseLabel": "Settled"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPerformanceUnitAwardActivityDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "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 Transactions And Share Based Compensation [Line Items]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPerformanceUnitAwardActivityDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsExercised": {
     "auth_ref": [
      "r285"
     ],
     "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",
        "terseLabel": "Settled"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsExercised",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPhantomUnitAwardActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsForfeitures": {
     "auth_ref": [
      "r286"
     ],
     "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",
        "terseLabel": "Forfeited"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsForfeitures",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPhantomUnitAwardActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted": {
     "auth_ref": [
      "r284"
     ],
     "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",
        "verboseLabel": "Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPhantomUnitAwardActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingNumber": {
     "auth_ref": [
      "r282",
      "r283"
     ],
     "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 March 31, 2020",
        "periodStartLabel": "Outstanding at December 31, 2019"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingNumber",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPhantomUnitAwardActivityDetails"
     ],
     "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/EquityBasedCompensationPlanSummaryOfPhantomUnitAwardActivityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "auth_ref": [
      "r277",
      "r280"
     ],
     "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/EquityBasedCompensationPlanAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPerformanceUnitAwardActivityDetail",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanSummaryOfPhantomUnitAwardActivityDetails",
      "http://www.marathonpetroleum.com/role/EquityBasedCompensationPlanTables"
     ],
     "xbrltype": "domainItemType"
    },
    "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": "Price per share"
       }
      }
     },
     "localname": "SharesIssuedPricePerShare",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/SeriesPreferredUnitsNarrativeDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_StatementBusinessSegmentsAxis": {
     "auth_ref": [
      "r0",
      "r151",
      "r191",
      "r216",
      "r219",
      "r220",
      "r432"
     ],
     "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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/EquityMethodInvestmentsSummaryOfEquityMethodInvestmentFinancialInformationDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillAndIntangiblesTables",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesGoodwillDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesIntangiblesDetails",
      "http://www.marathonpetroleum.com/role/GoodwillAndIntangiblesTables",
      "http://www.marathonpetroleum.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails",
      "http://www.marathonpetroleum.com/role/RevenueDisaggregationOfRevenueDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationAssetsBySegmentDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationToNetIncomeDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationSegmentAdjustedEbitdaDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementClassOfStockAxis": {
     "auth_ref": [
      "r21",
      "r22",
      "r23",
      "r241"
     ],
     "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/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitScheduleOfDistributionsByPartnerByClassDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "auth_ref": [
      "r48",
      "r241"
     ],
     "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/AccumulatedOtherComprehensiveIncome",
      "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeDetails",
      "http://www.marathonpetroleum.com/role/AccumulatedOtherComprehensiveIncomeTables",
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfEquity",
      "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/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/LeasesLeasesNarrativeDetails",
      "http://www.marathonpetroleum.com/role/RevenueContractBalancesDetails"
     ],
     "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/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/LeasesLeasesNarrativeDetails",
      "http://www.marathonpetroleum.com/role/RevenueContractBalancesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "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": [
      "r251"
     ],
     "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": "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/DebtAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/SeriesPreferredUnitsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "auth_ref": [
      "r386"
     ],
     "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/DebtAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/SeriesPreferredUnitsNarrativeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "auth_ref": [
      "r386"
     ],
     "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/DebtAdditionalInformationDetail",
      "http://www.marathonpetroleum.com/role/EquityCashDistributionsDetails",
      "http://www.marathonpetroleum.com/role/EquityChangesInPartnersCapitalUnitRollforwardDetails",
      "http://www.marathonpetroleum.com/role/SeriesPreferredUnitsNarrativeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/SupplementalCashFlowInformationSummaryOfSupplementalCashFlowInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TaxesExcludingIncomeAndExciseTaxes": {
     "auth_ref": [
      "r85"
     ],
     "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": [
      "r47"
     ],
     "calculation": {
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets": {
       "order": 2.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": "Balance at March 31, 2020",
        "periodStartLabel": "Balance at December 31, 2019",
        "terseLabel": "Series A preferred units"
       }
      }
     },
     "localname": "TemporaryEquityCarryingAmountIncludingPortionAttributableToNoncontrollingInterests",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/AcquisitionsAndeavorLogisticsDetails",
      "http://www.marathonpetroleum.com/role/ConsolidatedBalanceSheets",
      "http://www.marathonpetroleum.com/role/SeriesPreferredUnitsRollforwardOfRedeemablePreferredUnitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-US": {
       "role": {
        "label": "Temporary Equity Disclosure [Abstract]"
       }
      }
     },
     "localname": "TemporaryEquityDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "xbrltype": "stringItemType"
    },
    "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/SeriesPreferredUnitsRollforwardOfRedeemablePreferredUnitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityTableTextBlock": {
     "auth_ref": [
      "r14",
      "r240"
     ],
     "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/SeriesPreferredUnitsTables"
     ],
     "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/RevenueContractBalancesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UnamortizedDebtIssuanceExpense": {
     "auth_ref": [
      "r36"
     ],
     "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",
        "negatedTerseLabel": "Unamortized debt issuance costs"
       }
      }
     },
     "localname": "UnamortizedDebtIssuanceExpense",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DebtSummaryOfOutstandingBorrowingsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic": {
     "auth_ref": [
      "r122"
     ],
     "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/NetIncomePerLimitedPartnerUnitScheduleOfDistributionsByPartnerByClassDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UndistributedEarningsLossAvailableToCommonShareholdersBasic": {
     "auth_ref": [
      "r122",
      "r123",
      "r124"
     ],
     "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/NetIncomePerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitScheduleOfDistributionsByPartnerByClassDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrealizedGainLossOnDerivativesAndCommodityContracts": {
     "auth_ref": [
      "r103"
     ],
     "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/DerivativesFinancialInstrumentsDerivativeIncomeStatementLocationDetails",
      "http://www.marathonpetroleum.com/role/SegmentInformationReconciliationToNetIncomeDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UseOfEstimates": {
     "auth_ref": [
      "r138",
      "r139",
      "r140",
      "r141",
      "r142",
      "r143",
      "r144"
     ],
     "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, Policy [Policy Text Block]"
       }
      }
     },
     "localname": "UseOfEstimates",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/DescriptionOfBusinessAndBasisOfPresentationAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ValuationTechniqueAxis": {
     "auth_ref": [
      "r339"
     ],
     "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/GoodwillAndIntangiblesGoodwillDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ValuationTechniqueDomain": {
     "auth_ref": [
      "r339"
     ],
     "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/GoodwillAndIntangiblesGoodwillDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_WeightedAverageLimitedPartnershipUnitsOutstanding": {
     "auth_ref": [
      "r248"
     ],
     "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 shares)"
       }
      }
     },
     "localname": "WeightedAverageLimitedPartnershipUnitsOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageLimitedPartnershipUnitsOutstandingDiluted": {
     "auth_ref": [
      "r248"
     ],
     "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 shares)"
       }
      }
     },
     "localname": "WeightedAverageLimitedPartnershipUnitsOutstandingDiluted",
     "nsuri": "http://fasb.org/us-gaap/2019-01-31",
     "presentation": [
      "http://www.marathonpetroleum.com/role/ConsolidatedStatementsOfIncome",
      "http://www.marathonpetroleum.com/role/NetIncomePerLimitedPartnerUnitBasicAndDilutedEarningsPerUnitDetail"
     ],
     "xbrltype": "sharesItemType"
    }
   },
   "unitCount": 5
  }
 },
 "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": "5C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(2)",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721675-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": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3536-108585"
  },
  "r101": {
   "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"
  },
  "r102": {
   "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"
  },
  "r103": {
   "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"
  },
  "r104": {
   "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"
  },
  "r105": {
   "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"
  },
  "r106": {
   "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"
  },
  "r107": {
   "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"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "230",
   "URI": "http://asc.fasb.org/topic&trid=2134446"
  },
  "r109": {
   "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"
  },
  "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": "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"
  },
  "r111": {
   "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"
  },
  "r112": {
   "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"
  },
  "r113": {
   "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"
  },
  "r114": {
   "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"
  },
  "r115": {
   "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"
  },
  "r116": {
   "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"
  },
  "r117": {
   "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"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "235",
   "URI": "http://asc.fasb.org/topic&trid=2122369"
  },
  "r119": {
   "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"
  },
  "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": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22694-107794"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "250",
   "URI": "http://asc.fasb.org/topic&trid=2122394"
  },
  "r122": {
   "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"
  },
  "r123": {
   "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"
  },
  "r124": {
   "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"
  },
  "r125": {
   "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"
  },
  "r126": {
   "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"
  },
  "r127": {
   "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"
  },
  "r128": {
   "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"
  },
  "r129": {
   "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"
  },
  "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": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=6371337&loc=d3e3630-109257"
  },
  "r131": {
   "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"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "260",
   "URI": "http://asc.fasb.org/topic&trid=2144383"
  },
  "r133": {
   "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"
  },
  "r134": {
   "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"
  },
  "r135": {
   "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"
  },
  "r136": {
   "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"
  },
  "r137": {
   "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"
  },
  "r138": {
   "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"
  },
  "r139": {
   "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"
  },
  "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": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6161-108592"
  },
  "r141": {
   "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"
  },
  "r142": {
   "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"
  },
  "r143": {
   "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"
  },
  "r144": {
   "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"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "275",
   "URI": "http://asc.fasb.org/topic&trid=2134479"
  },
  "r146": {
   "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"
  },
  "r147": {
   "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"
  },
  "r148": {
   "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"
  },
  "r149": {
   "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"
  },
  "r15": {
   "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"
  },
  "r150": {
   "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"
  },
  "r151": {
   "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"
  },
  "r152": {
   "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"
  },
  "r153": {
   "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"
  },
  "r154": {
   "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"
  },
  "r155": {
   "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"
  },
  "r156": {
   "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"
  },
  "r157": {
   "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"
  },
  "r158": {
   "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"
  },
  "r159": {
   "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"
  },
  "r16": {
   "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"
  },
  "r160": {
   "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"
  },
  "r161": {
   "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"
  },
  "r162": {
   "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"
  },
  "r163": {
   "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"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "280",
   "URI": "http://asc.fasb.org/topic&trid=2134510"
  },
  "r165": {
   "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"
  },
  "r166": {
   "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"
  },
  "r167": {
   "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"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=118936363&loc=d3e5074-111524"
  },
  "r169": {
   "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"
  },
  "r17": {
   "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"
  },
  "r170": {
   "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"
  },
  "r171": {
   "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"
  },
  "r172": {
   "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"
  },
  "r173": {
   "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"
  },
  "r174": {
   "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"
  },
  "r175": {
   "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"
  },
  "r176": {
   "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"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "323",
   "URI": "http://asc.fasb.org/topic&trid=2196965"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=118955202&loc=SL82895884-210446"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919249-210447"
  },
  "r18": {
   "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"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=119407570&loc=SL82919249-210447"
  },
  "r181": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "330",
   "URI": "http://asc.fasb.org/topic&trid=2126998"
  },
  "r182": {
   "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"
  },
  "r183": {
   "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"
  },
  "r184": {
   "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"
  },
  "r185": {
   "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"
  },
  "r186": {
   "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"
  },
  "r187": {
   "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"
  },
  "r188": {
   "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"
  },
  "r189": {
   "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"
  },
  "r19": {
   "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"
  },
  "r190": {
   "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"
  },
  "r191": {
   "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"
  },
  "r192": {
   "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"
  },
  "r193": {
   "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"
  },
  "r194": {
   "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"
  },
  "r195": {
   "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"
  },
  "r196": {
   "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"
  },
  "r197": {
   "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"
  },
  "r198": {
   "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"
  },
  "r199": {
   "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"
  },
  "r2": {
   "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"
  },
  "r20": {
   "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"
  },
  "r200": {
   "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"
  },
  "r201": {
   "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"
  },
  "r202": {
   "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"
  },
  "r203": {
   "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"
  },
  "r204": {
   "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"
  },
  "r205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16373-109275"
  },
  "r206": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "350",
   "URI": "http://asc.fasb.org/topic&trid=2144416"
  },
  "r207": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=109226348&loc=d3e2420-110228"
  },
  "r208": {
   "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"
  },
  "r209": {
   "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"
  },
  "r21": {
   "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"
  },
  "r210": {
   "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"
  },
  "r211": {
   "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"
  },
  "r212": {
   "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"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=109226691&loc=d3e2921-110230"
  },
  "r214": {
   "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"
  },
  "r215": {
   "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"
  },
  "r216": {
   "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"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "360",
   "URI": "http://asc.fasb.org/topic&trid=2155823"
  },
  "r218": {
   "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"
  },
  "r219": {
   "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"
  },
  "r22": {
   "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"
  },
  "r220": {
   "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"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "440",
   "URI": "http://asc.fasb.org/topic&trid=2144648"
  },
  "r222": {
   "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"
  },
  "r223": {
   "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"
  },
  "r224": {
   "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"
  },
  "r225": {
   "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"
  },
  "r226": {
   "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"
  },
  "r227": {
   "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"
  },
  "r228": {
   "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"
  },
  "r229": {
   "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"
  },
  "r23": {
   "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"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "450",
   "URI": "http://asc.fasb.org/topic&trid=2127136"
  },
  "r231": {
   "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"
  },
  "r232": {
   "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"
  },
  "r233": {
   "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"
  },
  "r234": {
   "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"
  },
  "r235": {
   "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"
  },
  "r236": {
   "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"
  },
  "r237": {
   "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"
  },
  "r238": {
   "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"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "470",
   "URI": "http://asc.fasb.org/topic&trid=2208564"
  },
  "r24": {
   "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"
  },
  "r240": {
   "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"
  },
  "r241": {
   "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"
  },
  "r242": {
   "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"
  },
  "r243": {
   "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"
  },
  "r244": {
   "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"
  },
  "r245": {
   "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"
  },
  "r246": {
   "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"
  },
  "r247": {
   "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"
  },
  "r248": {
   "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"
  },
  "r249": {
   "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"
  },
  "r25": {
   "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"
  },
  "r250": {
   "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"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "505",
   "URI": "http://asc.fasb.org/topic&trid=2208762"
  },
  "r252": {
   "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"
  },
  "r253": {
   "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"
  },
  "r254": {
   "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"
  },
  "r255": {
   "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"
  },
  "r256": {
   "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"
  },
  "r257": {
   "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"
  },
  "r258": {
   "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"
  },
  "r259": {
   "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"
  },
  "r26": {
   "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"
  },
  "r260": {
   "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"
  },
  "r261": {
   "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"
  },
  "r262": {
   "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"
  },
  "r263": {
   "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"
  },
  "r264": {
   "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"
  },
  "r265": {
   "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"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "606",
   "URI": "http://asc.fasb.org/topic&trid=49130388"
  },
  "r267": {
   "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"
  },
  "r268": {
   "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"
  },
  "r269": {
   "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"
  },
  "r27": {
   "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"
  },
  "r270": {
   "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"
  },
  "r271": {
   "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"
  },
  "r272": {
   "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"
  },
  "r273": {
   "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"
  },
  "r274": {
   "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"
  },
  "r275": {
   "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"
  },
  "r276": {
   "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"
  },
  "r277": {
   "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"
  },
  "r278": {
   "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"
  },
  "r279": {
   "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"
  },
  "r28": {
   "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"
  },
  "r280": {
   "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"
  },
  "r281": {
   "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"
  },
  "r282": {
   "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"
  },
  "r283": {
   "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"
  },
  "r284": {
   "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"
  },
  "r285": {
   "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"
  },
  "r286": {
   "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"
  },
  "r287": {
   "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"
  },
  "r288": {
   "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"
  },
  "r289": {
   "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"
  },
  "r29": {
   "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"
  },
  "r290": {
   "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"
  },
  "r291": {
   "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"
  },
  "r292": {
   "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"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "718",
   "URI": "http://asc.fasb.org/topic&trid=2228938"
  },
  "r294": {
   "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"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32537-109319"
  },
  "r296": {
   "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"
  },
  "r297": {
   "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"
  },
  "r298": {
   "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"
  },
  "r299": {
   "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"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "205",
   "URI": "http://asc.fasb.org/topic&trid=2122149"
  },
  "r30": {
   "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"
  },
  "r300": {
   "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"
  },
  "r301": {
   "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"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "805",
   "URI": "http://asc.fasb.org/topic&trid=2303972"
  },
  "r303": {
   "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"
  },
  "r304": {
   "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"
  },
  "r305": {
   "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"
  },
  "r306": {
   "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"
  },
  "r307": {
   "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"
  },
  "r308": {
   "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"
  },
  "r309": {
   "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"
  },
  "r31": {
   "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"
  },
  "r310": {
   "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"
  },
  "r311": {
   "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"
  },
  "r312": {
   "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"
  },
  "r313": {
   "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"
  },
  "r314": {
   "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"
  },
  "r315": {
   "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"
  },
  "r316": {
   "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"
  },
  "r317": {
   "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"
  },
  "r318": {
   "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"
  },
  "r319": {
   "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"
  },
  "r32": {
   "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"
  },
  "r320": {
   "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"
  },
  "r321": {
   "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"
  },
  "r322": {
   "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"
  },
  "r323": {
   "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"
  },
  "r324": {
   "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"
  },
  "r325": {
   "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"
  },
  "r326": {
   "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"
  },
  "r327": {
   "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"
  },
  "r328": {
   "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"
  },
  "r329": {
   "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"
  },
  "r33": {
   "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"
  },
  "r330": {
   "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"
  },
  "r331": {
   "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"
  },
  "r332": {
   "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"
  },
  "r333": {
   "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"
  },
  "r334": {
   "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"
  },
  "r335": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "815",
   "URI": "http://asc.fasb.org/topic&trid=2229140"
  },
  "r336": {
   "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"
  },
  "r337": {
   "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"
  },
  "r338": {
   "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"
  },
  "r339": {
   "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"
  },
  "r34": {
   "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"
  },
  "r340": {
   "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"
  },
  "r341": {
   "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"
  },
  "r342": {
   "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"
  },
  "r343": {
   "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"
  },
  "r344": {
   "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"
  },
  "r345": {
   "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"
  },
  "r346": {
   "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"
  },
  "r347": {
   "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"
  },
  "r348": {
   "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"
  },
  "r349": {
   "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"
  },
  "r35": {
   "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"
  },
  "r350": {
   "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"
  },
  "r351": {
   "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"
  },
  "r352": {
   "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"
  },
  "r353": {
   "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"
  },
  "r354": {
   "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"
  },
  "r355": {
   "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"
  },
  "r356": {
   "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"
  },
  "r357": {
   "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"
  },
  "r358": {
   "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"
  },
  "r359": {
   "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"
  },
  "r36": {
   "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"
  },
  "r360": {
   "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"
  },
  "r361": {
   "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"
  },
  "r362": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "840",
   "URI": "http://asc.fasb.org/topic&trid=2208923"
  },
  "r363": {
   "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"
  },
  "r364": {
   "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"
  },
  "r365": {
   "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"
  },
  "r366": {
   "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"
  },
  "r367": {
   "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"
  },
  "r368": {
   "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"
  },
  "r369": {
   "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"
  },
  "r37": {
   "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"
  },
  "r370": {
   "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"
  },
  "r371": {
   "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"
  },
  "r372": {
   "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"
  },
  "r373": {
   "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"
  },
  "r374": {
   "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"
  },
  "r375": {
   "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"
  },
  "r376": {
   "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"
  },
  "r377": {
   "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"
  },
  "r378": {
   "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"
  },
  "r379": {
   "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"
  },
  "r38": {
   "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"
  },
  "r380": {
   "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"
  },
  "r381": {
   "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"
  },
  "r382": {
   "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"
  },
  "r383": {
   "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"
  },
  "r384": {
   "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"
  },
  "r385": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "850",
   "URI": "http://asc.fasb.org/topic&trid=2122745"
  },
  "r386": {
   "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"
  },
  "r387": {
   "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"
  },
  "r388": {
   "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"
  },
  "r389": {
   "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"
  },
  "r39": {
   "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"
  },
  "r390": {
   "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"
  },
  "r391": {
   "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"
  },
  "r392": {
   "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"
  },
  "r393": {
   "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"
  },
  "r394": {
   "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"
  },
  "r395": {
   "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"
  },
  "r396": {
   "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"
  },
  "r397": {
   "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"
  },
  "r398": {
   "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"
  },
  "r399": {
   "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"
  },
  "r4": {
   "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"
  },
  "r40": {
   "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"
  },
  "r400": {
   "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"
  },
  "r401": {
   "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"
  },
  "r402": {
   "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"
  },
  "r403": {
   "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"
  },
  "r404": {
   "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"
  },
  "r405": {
   "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"
  },
  "r406": {
   "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"
  },
  "r407": {
   "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"
  },
  "r408": {
   "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"
  },
  "r409": {
   "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"
  },
  "r41": {
   "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"
  },
  "r410": {
   "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"
  },
  "r411": {
   "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"
  },
  "r412": {
   "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"
  },
  "r413": {
   "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"
  },
  "r414": {
   "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"
  },
  "r415": {
   "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"
  },
  "r416": {
   "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"
  },
  "r417": {
   "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"
  },
  "r418": {
   "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"
  },
  "r419": {
   "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"
  },
  "r42": {
   "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"
  },
  "r420": {
   "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"
  },
  "r421": {
   "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"
  },
  "r422": {
   "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"
  },
  "r423": {
   "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"
  },
  "r424": {
   "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"
  },
  "r425": {
   "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"
  },
  "r426": {
   "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"
  },
  "r427": {
   "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"
  },
  "r428": {
   "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"
  },
  "r429": {
   "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"
  },
  "r43": {
   "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"
  },
  "r430": {
   "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"
  },
  "r431": {
   "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"
  },
  "r432": {
   "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"
  },
  "r433": {
   "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"
  },
  "r434": {
   "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"
  },
  "r435": {
   "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"
  },
  "r436": {
   "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"
  },
  "r437": {
   "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"
  },
  "r438": {
   "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"
  },
  "r439": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "220",
   "Subparagraph": "(a)",
   "Topic": "958",
   "URI": "http://asc.fasb.org/extlink&oid=114873921&loc=SL114875236-224282"
  },
  "r44": {
   "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"
  },
  "r440": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b"
  },
  "r441": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r442": {
   "Name": "Form 10-Q",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-13"
  },
  "r443": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1-"
  },
  "r444": {
   "Name": "Regulation 12B",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r445": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405"
  },
  "r45": {
   "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"
  },
  "r46": {
   "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"
  },
  "r47": {
   "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"
  },
  "r48": {
   "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"
  },
  "r49": {
   "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"
  },
  "r5": {
   "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"
  },
  "r50": {
   "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"
  },
  "r51": {
   "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"
  },
  "r52": {
   "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"
  },
  "r53": {
   "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"
  },
  "r54": {
   "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"
  },
  "r55": {
   "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"
  },
  "r56": {
   "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"
  },
  "r57": {
   "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"
  },
  "r58": {
   "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"
  },
  "r59": {
   "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"
  },
  "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": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118930883&loc=d3e637-108580"
  },
  "r61": {
   "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"
  },
  "r62": {
   "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"
  },
  "r63": {
   "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"
  },
  "r64": {
   "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"
  },
  "r65": {
   "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"
  },
  "r66": {
   "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"
  },
  "r67": {
   "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"
  },
  "r68": {
   "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"
  },
  "r69": {
   "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"
  },
  "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": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=118951672&loc=d3e1436-108581"
  },
  "r71": {
   "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"
  },
  "r72": {
   "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"
  },
  "r73": {
   "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"
  },
  "r74": {
   "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"
  },
  "r75": {
   "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"
  },
  "r76": {
   "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"
  },
  "r77": {
   "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"
  },
  "r78": {
   "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"
  },
  "r79": {
   "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"
  },
  "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.13)",
   "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.2(a),(d))",
   "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.2)",
   "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.3)",
   "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.9)",
   "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": "8",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "220",
   "URI": "http://asc.fasb.org/topic&trid=2134417"
  },
  "r88": {
   "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"
  },
  "r89": {
   "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"
  },
  "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": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=118932676&loc=d3e3213-108585"
  },
  "r91": {
   "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"
  },
  "r92": {
   "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"
  },
  "r93": {
   "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"
  },
  "r94": {
   "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"
  },
  "r95": {
   "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"
  },
  "r96": {
   "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"
  },
  "r97": {
   "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"
  },
  "r98": {
   "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"
  },
  "r99": {
   "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"
  }
 },
 "version": "2.1"
}
