v3.20.1

Employee Benefit Plans (Amounts Recognized In Consolidated Balance Sheets) (Details) - USD ($) $ in Thousands | Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2017 | Dec. 31, 2016
--- | --- | --- | --- | ---
Amounts recognized in consolidated balance sheet: |  |  |  |
Long-term pension and benefit cost | $ 145,992 | $ 122,580 |  |
Accumulated other comprehensive loss: |  |  |  |
Accumulated Other Comprehensive Income (Loss), Net of Tax | (162,077) | (120,491) |  |
Pension Plan [Member] |  |  |  |
Amounts recognized in consolidated balance sheet: |  |  |  |
Current accrued benefit cost | 0 | 0 |  |
Long-term pension and benefit cost | 131,947 | 111,359 |  |
Net amount recognized in consolidated balance sheet | 131,947 | 111,359 |  |
Accumulated other comprehensive loss: |  |  |  |
Net actuarial loss | (107,625) | (91,669) |  |
Prior service credit | 2,886 | 3,067 |  |
Accumulated Other Comprehensive Income (Loss), Net of Tax | (104,739) | (88,602) | $ (97,226) | $ (58,584)
Amount of Liabilities and Accumulated Other Comprehensive Loss Recognized in Consolidated Balance Sheet | 27,208 | 22,757 |  |
Other Postretirement Benefits [Member] |  |  |  |
Amounts recognized in consolidated balance sheet: |  |  |  |
Current accrued benefit cost | 1,162 | 859 |  |
Long-term pension and benefit cost | 14,045 | 11,221 |  |
Net amount recognized in consolidated balance sheet | 15,207 | 12,080 |  |
Accumulated other comprehensive loss: |  |  |  |
Net actuarial loss | (8,378) | (5,409) |  |
Prior service credit | 0 | 0 |  |
Accumulated Other Comprehensive Income (Loss), Net of Tax | (8,378) | (5,409) | $ (6,597) | $ (7,881)
Amount of Liabilities and Accumulated Other Comprehensive Loss Recognized in Consolidated Balance Sheet | $ 6,829 | $ 6,671 |  |

X
- Definition Amount of Liabilities and Accumulated Other Comprehensive Loss Recognized in Consolidated Balance Sheet + References No definition available. + Details
Name: | mmp_AmountofLiabilitiesandAccumulatedOtherComprehensiveLossRecognizedinConsolidatedBalanceSheet
Namespace Prefix: | mmp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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=118930883&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=118930883&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=118930883&loc=d3e681-108580 + Details
Name: | us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after tax, of accumulated other comprehensive income (loss) for gain (loss) of defined benefit plan, that has not been recognized in net periodic benefit (cost) credit. + References Reference 1: 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=118930883&loc=SL7669686-108580 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (j) -URI http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920 + Details
Name: | us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesAfterTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, after tax, of accumulated other comprehensive (income) loss for cost (credit) of benefit change attributable to participants' prior service from plan amendment or plan initiation of defined benefit plan, that has not been recognized in net periodic benefit cost (credit). + 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 (j) -URI http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920 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=118930883&loc=SL7669686-108580 + Details
Name: | us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditAfterTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of asset (liability), recognized in statement of financial position, for defined benefit pension and other postretirement plans. + 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=118255775&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 + Details
Name: | us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of liability, recognized in statement of financial position, for defined benefit pension and other postretirement plans, classified as current. + References Reference 1: 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 2: 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(20)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 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 715 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920 + Details
Name: | us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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=118255775&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_RetirementPlanTypeAxis=us-gaap_PensionPlansDefinedBenefitMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |