v3.10.0.1

Summary of Significant Accounting Policies (Narrative) (Details) - USD ($) $ in Thousands |  | 12 Months Ended
--- | --- | ---
Jan. 01, 2019 | Dec. 31, 2018 | Dec. 31, 2017 | Dec. 31, 2016
Summary of Significant Accounting Policies [Line Items] |  |  |  |
Operating expenses |  | $ 649,436 | $ 577,978 | $ 528,672
General and administrative |  | 194,283 | 165,717 | 147,165
Other Nonoperating Income (Expense) |  | (13,868) | (4,139) | $ 6,466
Long-term pension and benefits |  | 122,580 | 111,305 |
Accumulated other comprehensive loss |  | (120,491) | $ (137,578) |
Error in Actuarial Assumptions [Member] |  |  |  |
Summary of Significant Accounting Policies [Line Items] |  |  |  |
Defined Benefit Plan, Net Periodic Benefit Cost (Credit) |  | 19,400 |  |
Operating expenses |  | 7,800 |  |
General and administrative |  | 4,700 |  |
Other Nonoperating Income (Expense) |  | 6,900 |  |
Long-term pension and benefits |  | 22,200 |  |
Accumulated other comprehensive loss |  | $ 2,800 |  |
Assets, Total [Member] | Accounting Standards Update 2016-02 [Member] | Scenario, Forecast [Member] |  |  |  |
Summary of Significant Accounting Policies [Line Items] |  |  |  |
New Accounting Pronouncement or Change in Accounting Principle, Effect on Financial Statement [Fixed List] | $ 180,000 |  |  |
Liabilities, Total [Member] | Accounting Standards Update 2016-02 [Member] | Scenario, Forecast [Member] |  |  |  |
Summary of Significant Accounting Policies [Line Items] |  |  |  |
New Accounting Pronouncement or Change in Accounting Principle, Effect on Financial Statement [Fixed List] | $ 180,000 |  |  |

X
- Definition [Line Items] for Summary of Significant Accounting Policies [Table] + References No definition available. + Details
Name: | mmp_SummaryOfSignificantAccountingPoliciesLineItems
Namespace Prefix: | mmp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition 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. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=114867106&loc=d3e637-108580 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 14A -URI http://asc.fasb.org/extlink&oid=114867106&loc=SL7669686-108580 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 14 -URI http://asc.fasb.org/extlink&oid=114867106&loc=d3e681-108580 + Details
Name: | us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of net periodic benefit cost (credit) for defined benefit plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 50 -Paragraph 6 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=108410482&loc=d3e2709-114920 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 55 -Paragraph 17 -URI http://asc.fasb.org/extlink&oid=112275985&loc=d3e4179-114921 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (h) -URI http://asc.fasb.org/extlink&oid=108410482&loc=d3e1928-114920 + Details
Name: | us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The aggregate direct operating costs incurred during the reporting period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.2) -URI http://asc.fasb.org/extlink&oid=115205541&loc=SL114868664-224227 + Details
Name: | us-gaap_DirectOperatingCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition 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. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.4) -URI http://asc.fasb.org/extlink&oid=115205541&loc=SL114868664-224227 + Details
Name: | us-gaap_GeneralAndAdministrativeExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Represents the quantification of the effect of adopting the new accounting standard or change in accounting principle expected by the entity to have a significant effect on the entity's financial statements. + References No definition available. + Details
Name: | us-gaap_NewAccountingPronouncementOrChangeInAccountingPrincipleEffectOfAdoptionQuantification
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of income (expense) related to nonoperating activities, classified as other. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.9) -URI http://asc.fasb.org/extlink&oid=115205541&loc=SL114868664-224227 + Details
Name: | us-gaap_OtherNonoperatingIncomeExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of liability, recognized in statement of financial position, for defined benefit pension and other postretirement plans, classified as noncurrent. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=108410482&loc=d3e1928-114920 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109237824&loc=d3e1703-114919 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=109237824&loc=d3e1731-114919 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(24)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis=mmp_ErrorinActuarialAssumptionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_AssetsTotalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=us-gaap_AccountingStandardsUpdate201602Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementScenarioAxis=us-gaap_ScenarioForecastMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_LiabilitiesTotalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |