v2.4.0.8

Derivative Financial Instruments (Narrative) (Details) (USD $) | 3 Months Ended | 6 Months Ended |  | 3 Months Ended | 12 Months Ended |  | 6 Months Ended
--- | --- | --- | --- | --- | --- | --- | ---
Jun. 30, 2014 | Jun. 30, 2013 | Jun. 30, 2014 | Jun. 30, 2013 | Dec. 31, 2013 | Jun. 30, 2014 Cash Flow Hedging [Member] Interest Rate Contract [Member] | Mar. 31, 2014 Cash Flow Hedging [Member] Interest Rate Contract [Member] | Dec. 31, 2012 Cash Flow Hedging [Member] Interest Rate Contract [Member] | Jun. 30, 2014 Fair Value Hedging [Member] bbl | Jun. 30, 2014 Fair Value Hedging [Member] NYMEX Commodity Contracts [Member] bbl | Jun. 30, 2014 Fair Value Hedging [Member] NYMEX Commodity Contracts [Member] Other Noncurrent Assets [Member] | Jun. 30, 2014 Fair Value Hedging [Member] NYMEX Commodity Contracts [Member] Other Current Assets [Member]
Derivative [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, Notional Amount |  |  |  |  |  |  |  |  |  |  | $ 200,000,000 |  |  |  |  |
Debt Instrument, Face Amount | 2,900,000,000.0 |  |  |  | 2,900,000,000.0 |  |  |  | 2,700,000,000.0 |  | 250,000,000 |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  |  |  |  |  |  | 5.15% |  |  |  |  |
Net loss on cash flow hedges(1) | 0 | [1] | 0 | [1] | (3,613,000) | [1] | (4,560,000) | [1] |  |  | (3,613,000) | 11,000,000 |  |  |  |
Derivative Instruments, Gain (Loss) Recognized in Income, Ineffective Portion and Amount Excluded from Effectiveness Testing, Net |  |  |  |  |  |  |  |  |  | 183,000 |  |  |  |  |  |
Energy commodity derivatives deposits | 29,070,000 |  |  |  | 29,070,000 |  |  |  | 14,782,000 |  |  |  |  |  |  |
Derivative, Nonmonetary Notional Amount |  |  |  |  |  |  |  |  |  |  |  |  | 700,000 | 700,000 |  |
Unrealized Gain (Loss) From Fair Value Hedge Agreements |  |  |  |  |  |  |  |  |  |  |  |  |  | (14,900,000) | (14,700,000) | (200,000)
Cash Flow Hedge Gain (Loss) to be Reclassified within Twelve Months |  |  |  |  | $ (300,000) |  |  |  |  |  |  |  |  |  |  |
[1] | See Note 9–Derivative Financial Instruments for details of the amount of gain/loss recognized in accumulated other comprehensive loss ("AOCL") on derivatives and the amount of gain/loss reclassified from AOCL into income.

X
- Definition Aggregate notional amount of derivative expressed in nonmonetary units. For example, the number of barrels specified in a fuel oil forward purchase contract. + References 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 + Details
Name: | invest_DerivativeNonmonetaryNotionalAmount
Namespace Prefix: | invest_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Definition Aggregate notional amount specified by the derivative(s). Expressed as an absolute value. + References 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 + Details
Name: | invest_DerivativeNotionalAmount
Namespace Prefix: | invest_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition Unrealized Gain (Loss) From Fair Value Hedge Agreements + References No definition available. + Details
Name: | mmp_UnrealizedGainLossFromFairValueHedgeAgreements
Namespace Prefix: | mmp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The estimated net amount of existing gains or losses on cash flow hedges at the reporting date expected to be reclassified to earnings within the next 12 months. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=7668309&loc=d3e80748-113994 + Details
Name: | us-gaap_CashFlowHedgeGainLossToBeReclassifiedWithinTwelveMonths
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28551-108399 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6584090&loc=d3e28878-108400 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References 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 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The portion of gains and losses (net) on derivative instruments designated and qualifying as hedging instruments representing (a) the amount of the hedge ineffectiveness and (b) the amount, if any, excluded from the assessment of hedge effectiveness. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5624171-113959 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 25 -Section 50 -Paragraph 1 -Subparagraph (a)(1),(2) -URI http://asc.fasb.org/extlink&oid=6886632&loc=d3e76258-113986 + Details
Name: | us-gaap_DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_DerivativeLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of right to receive cash and securities on deposit with broker-dealers to demonstrate an intention to complete a purchase (good faith deposit) and collateral deposited by counterparty to cover the credit risk assumed (margin deposit). + References No definition available. + Details
Name: | us-gaap_GoodFaithAndMarginDepositsWithBrokerDealers
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount after tax of increase (decrease) in accumulated gain (loss) from derivative instruments designated and qualifying as the effective portion of cash flow hedges and an entity's share of an equity investee's increase (decrease) in deferred hedging gain (loss). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e637-108580 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 10A -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=28358780&loc=SL7669646-108580 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6441202&loc=d3e80720-113993 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5624171-113959 + Details
Name: | us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration