2.4.0.81093 - Disclosure - Debt - Additional Information (Detail)truefalseIn Millions, unless otherwise specifiedfalse1false USDfalsefalse$eol_PE846338--1310-Q0005_STD_0_20130630_0_924420x923286http://www.sec.gov/CIK0001510295instant2013-06-30T00:00:000001-01-01T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false USDfalsefalse$eol_PE846338--1310-Q0005_STD_0_20121231_0_924420x923286http://www.sec.gov/CIK0001510295instant2012-12-31T00:00:000001-01-01T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse1false USDtruefalse$eol_PE846338--1310-Q0005_STD_0_20130630_0_924420x923286http://www.sec.gov/CIK0001510295instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseRevolving Credit Agreement Due 2017 [Member]us-gaap_CreditFacilityAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RevolvingCreditFacilityMemberus-gaap_CreditFacilityAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse02true 3us-gaap_LineOfCreditFacilityLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse03false 4us-gaap_LineOfCreditFacilityAmountOutstandingus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse00USD$falsetruefalse2truefalsefalse00USD$falsetruefalsexbrli:monetaryItemTypemonetaryAmount borrowed under the credit facility as of the balance sheet date.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19, 22 -Article 5 false24false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3false USDtruefalse$eol_PE846338--1310-Q0005_STD_0_20130630_0_924420x1060146http://www.sec.gov/CIK0001510295instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseTrade Receivables Securitization [Member]us-gaap_CreditFacilityAxisxbrldihttp://xbrl.org/2006/xbrldimpc_TradeReceivablesSecuritizationMemberus-gaap_CreditFacilityAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse05true 3us-gaap_LineOfCreditFacilityLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse06false 4us-gaap_SecuredDebtus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsetruefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying value as of the balance sheet date, including the current and noncurrent portions, of collateralized debt obligations (with maturities initially due after one year or beyond the operating cycle, if longer). Such obligations include mortgage loans, chattel loans, and any other borrowings secured by assets of the borrower.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.16) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 16 -Article 9 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19, 20, 22 -Article 5 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.16) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 false2falseDebt - Additional Information (Detail) (USD $)MillionsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.marathonpetroleum.com/taxonomy/role/DisclosureDebtAdditionalInformation26