2.4.0.81088 - Disclosure - Derivatives - Additional Information (Detail)truefalsefalse1falsefalsefalseeol_PE846338--1310-Q0005_STD_91_20120331_0_926396x1090291_931308x932138http://www.sec.gov/CIK0001510295duration2012-01-01T00:00:002012-03-31T00:00:00pureStandardhttp://www.xbrl.org/2003/instancepure01false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse1falsetruefalseeol_PE846338--1310-Q0005_STD_91_20120331_0_926396x1090291_931308x932138http://www.sec.gov/CIK0001510295duration2012-01-01T00:00:002012-03-31T00:00:00falsefalseSenior Notes [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_SeniorNotesMemberus-gaap_LongtermDebtTypeAxisexplicitMemberfalsefalse3.50% Senior Notes Due In March 2016 [Member]us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldimpc_ThreePointFiveZeroPercentageSeniorNotesDueInMarchTwoThousandSixteenMemberus-gaap_DebtInstrumentAxisexplicitMemberpureStandardhttp://www.xbrl.org/2003/instancepure0nanafalse02true3us-gaap_DerivativeLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse03false4us-gaap_DebtInstrumentInterestRateStatedPercentageus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truetruefalse0.03500.0350falsefalsefalsenum:percentItemTypepureContractual interest rate for funds borrowed, under the debt agreement.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 22
-Article 5
Reference 2: 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.22(a)(1))
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false04false4us-gaap_DebtInstrumentMaturityDateus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse002016-03-01falsefalsetruexbrli:dateItemTypedateDate when the debt instrument is scheduled to be fully repaid, in CCYY-MM-DD format.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 22
-Article 5
Reference 2: 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.22(a)(2))
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false05false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falseUSDtruefalse$eol_PE846338--1310-Q0005_STD_91_20120331_0_929665x929526http://www.sec.gov/CIK0001510295duration2012-01-01T00:00:002012-03-31T00:00:00falsefalseInterest Rate Swap [Member]us-gaap_DerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_InterestRateSwapMemberus-gaap_DerivativeInstrumentRiskAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse06true3us-gaap_DerivativeLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse07false4invest_DerivativeNotionalAmountinvest_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse500000000500000000USD$falsetruefalsexbrli:monetaryItemTypemonetaryAggregate notional amount specified by the derivative(s). Expressed as an absolute value.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Article 12
-Section 13
-Sentence Column B
false28false4us-gaap_DerivativeDescriptionOfHedgedItemus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse003.50 percent senior notes due in March 2016falsefalsefalsexbrli:stringItemTypestringDescription of the hedged item related to the derivative. Includes the type of instrument hedged, contract amount, term, and so forth.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5579240-113959
false09false4us-gaap_DeferredGainLossOnDiscontinuationOfInterestRateFairValueHedgeus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2000000020000000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount as of the balance sheet date of the unamortized adjustment to the carrying value of an interest-bearing hedged item made under an effective interest rate fair value hedge that is amortized upon discontinuation of the interest rate fair value hedge.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 25
-Section 35
-Paragraph 9
-URI http://asc.fasb.org/extlink&oid=6439857&loc=d3e75592-113984
false210false4us-gaap_GainLossOnInterestRateFairValueHedgeIneffectivenessus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsetruefalsexbrli:monetaryItemTypemonetaryThe net gain (loss) recognized in earnings during the period due to the ineffectiveness on interest rate fair value hedges.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 25
-Section 50
-Paragraph 1
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=6886632&loc=d3e76258-113986
false2falseDerivatives - Additional Information (Detail) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.marathonpetroleum.com/taxonomy/role/DisclosureDerivativesAdditionalInformation110