2.4.0.81105 - Disclosure - Commitments and Contingencies - Additional Information 1 (Detail)truefalseIn Millions, unless otherwise specifiedfalse1falseUSDfalsefalse$eol_PE846338--1310-Q0005_STD_181_20130630_0http://www.sec.gov/CIK0001510295duration2013-01-01T00:00:002013-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falseUSDfalsefalse$eol_PE846338--1310-Q0005_STD_0_20121231_0http://www.sec.gov/CIK0001510295instant2012-12-31T00:00:000001-01-01T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true3us-gaap_LossContingenciesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false4us-gaap_RecordedThirdPartyEnvironmentalRecoveriesReceivableus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse4900000049USD$falsetruefalse2truefalsefalse5100000051USD$falsetruefalsexbrli:monetaryItemTypemonetaryCarrying amount as of the balance sheet date of known and reasonably estimable amounts of recoveries from third-parties pertaining to an entity's environmental remediation obligations. An entity's balance sheet may include several assets that relate to an environmental remediation obligation. Among them are the following: a. Receivables from other potentially responsible parties that are not providing initial funding; b. anticipated recoveries from insurers; and c. anticipated recoveries from prior owners as a result of indemnification agreements.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 410
-SubTopic 30
-Section 50
-Paragraph 7
-URI http://asc.fasb.org/extlink&oid=6393242&loc=d3e13207-110859
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 410
-SubTopic 30
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6393211&loc=d3e13022-110858
false23false4us-gaap_LongTermPurchaseCommitmentAmountus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse870000000870USD$falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe minimum amount the entity agreed to spend under the long-term purchase commitment.No definition available.false24false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falseUSDtruefalse$eol_PE846338--1310-Q0005_STD_0_20130630_0_928576x1003439http://www.sec.gov/CIK0001510295instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseGalveston Bay Refinery and Related Assets [Member]us-gaap_BusinessAcquisitionAxisxbrldihttp://xbrl.org/2006/xbrldimpc_GalvestonBayRefineryAndRelatedAssetsMemberus-gaap_BusinessAcquisitionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse05true3us-gaap_LossContingenciesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse06false4us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHighus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse700000000700USD$falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFor contingent consideration arrangements recognized in connection with a business combination, this element represents an estimate of the high-end of the potential range (undiscounted) of the consideration which may be paid.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 805
-SubTopic 30
-Section 50
-Paragraph 1
-Subparagraph (c)(3)
-URI http://asc.fasb.org/extlink&oid=7488404&loc=d3e6927-128479
false27false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse4falseUSDtruefalseeol_PE846338--1310-Q0005_STD_181_20130630_0_931188x944478_931737x931998_932803x923722http://www.sec.gov/CIK0001510295duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseStandby Letters Of Credit [Member]us-gaap_LossContingenciesByNatureOfContingencyAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_StandbyLettersOfCreditMemberus-gaap_LossContingenciesByNatureOfContingencyAxisexplicitMemberfalsefalseTAME [Member]us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxisxbrldihttp://xbrl.org/2006/xbrldimpc_AndersonsMarathonEthanolLlcMemberus-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxisexplicitMemberfalsefalseFinancial Guarantee [Member]us-gaap_GuaranteeObligationsByNatureAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FinancialGuaranteeMemberus-gaap_GuaranteeObligationsByNatureAxisexplicitMemberpureStandardhttp://www.xbrl.org/2003/instancepure0iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$nanafalse08true3us-gaap_LossContingenciesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse09false4us-gaap_LineOfCreditFacilityExpirationDate1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse002018-12-31falsefalsetrue2falsefalsefalse00falsefalsefalsexbrli:dateItemTypedateDate the credit facility terminates, in CCYY-MM-DD format.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.19(b),22(b))
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 19, 22
-Article 5
false010false4us-gaap_GuaranteeObligationsMaximumExposureus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2500000025USD$falsetruefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryMaximum 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.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 460
-SubTopic 10
-Section 50
-Paragraph 4
-Subparagraph (b)(1)
-URI http://asc.fasb.org/extlink&oid=6851643&loc=d3e12069-110248
false211false4mpc_LineOfCreditFacilityPercentageOfCreditFacilityGuaranteedmpc_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truetruefalse0.500.50falsefalsefalse2falsefalsefalse00falsefalsefalsenum:percentItemTypepureLine Of Credit Facility Percentage Of Credit Facility GuaranteedNo definition available.false0falseCommitments and Contingencies - Additional Information 1 (Detail) (USD $)MillionsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.marathonpetroleum.com/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformation1211