v3.20.1

Employee Benefit Plans (Weighted-Average Rate Assumptions Used) (Details) | 12 Months Ended
--- | ---
Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2017
Defined Benefit Plan Disclosure [Line Items] |  |  |
Defined Benefit Plan, Assumptions Used Calculating Benefit Obligation, Discount Rate | 3.06% | 4.08% |
Salaried Plan [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Defined Benefit Plan, Assumptions Used Calculating Benefit Obligation, Discount Rate | 3.02% | 3.99% |
Defined Benefit Plan, Assumptions Used Calculating Benefit Obligation, Rate of Compensation Increase | 4.72% | 6.90% |
Defined Benefit Plan, Assumptions Used Calculating Net Periodic Benefit Cost, Discount Rate | 3.99% | 3.70% | 4.21%
Defined Benefit Plan, Assumptions Used Calculating Net Periodic Benefit Cost, Expected Long-term Rate of Return on Plan Assets | 4.60% | 6.00% | 6.00%
Defined Benefit Plan, Assumptions Used Calculating Net Periodic Benefit Cost, Rate of Compensation Increase | 6.90% | 6.80% |
U S W Plan [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Defined Benefit Plan, Assumptions Used Calculating Benefit Obligation, Discount Rate | 2.96% | 3.94% |
Defined Benefit Plan, Assumptions Used Calculating Benefit Obligation, Rate of Compensation Increase | 3.28% | 3.50% |
Defined Benefit Plan, Assumptions Used Calculating Net Periodic Benefit Cost, Discount Rate | 3.73% | 3.63% | 4.04%
Defined Benefit Plan, Assumptions Used Calculating Net Periodic Benefit Cost, Expected Long-term Rate of Return on Plan Assets | 4.60% | 6.00% | 6.00%
Defined Benefit Plan, Assumptions Used Calculating Net Periodic Benefit Cost, Rate of Compensation Increase | 3.50% | 3.50% | 3.50%
I U O E Plan [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Defined Benefit Plan, Assumptions Used Calculating Benefit Obligation, Discount Rate | 3.09% | 4.12% |
Defined Benefit Plan, Assumptions Used Calculating Benefit Obligation, Rate of Compensation Increase | 4.78% | 5.00% |
Defined Benefit Plan, Assumptions Used Calculating Net Periodic Benefit Cost, Discount Rate | 4.12% | 3.79% | 4.41%
Defined Benefit Plan, Assumptions Used Calculating Net Periodic Benefit Cost, Expected Long-term Rate of Return on Plan Assets | 4.70% | 6.00% | 6.00%
Defined Benefit Plan, Assumptions Used Calculating Net Periodic Benefit Cost, Rate of Compensation Increase | 5.00% | 5.00% | 5.00%
Other Retirement Plan [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Defined Benefit Plan, Assumptions Used Calculating Net Periodic Benefit Cost, Discount Rate | 4.08% | 3.43% | 3.85%
Minimum [Member] | Salaried Plan [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Defined Benefit Plan, Assumptions Used Calculating Net Periodic Benefit Cost, Rate of Compensation Increase |  |  | 4.00%
Maximum [Member] | Salaried Plan [Member] |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Defined Benefit Plan, Assumptions Used Calculating Net Periodic Benefit Cost, Rate of Compensation Increase |  |  | 11.00%

X
- Definition Weighted average rate for present value of future retirement benefits cash flows, used to determine benefit obligation of defined benefit plan. + 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 (k)(1) -URI http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920 + Details
Name: | us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Weighted average rate increase of compensation, used to determine benefit obligation of defined benefit plan. Plan includes, but is not limited to, pay-related defined benefit plan. + 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 (k)(2) -URI http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920 + Details
Name: | us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Weighted average rate for present value of future retirement benefits cash flows, used to determine net periodic benefit cost of defined benefit plan. + 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 (k)(1) -URI http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920 + Details
Name: | us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average rate of return on plan assets, reflecting average rate of earnings expected on existing plan assets and expected contributions, used to determine net periodic benefit cost of defined benefit plan. + 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 (k)(3) -URI http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920 + Details
Name: | us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average rate of compensation increase used to determine net periodic benefit cost of defined benefit plan. Plan includes, but is not limited to, pay-related defined benefit plan. + 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 (k)(2) -URI http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920 + Details
Name: | us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostRateOfCompensationIncrease
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DefinedBenefitPlanDisclosureLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=mmp_SalariedPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=mmp_USWPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=mmp_IUOEPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=mmp_OtherRetirementPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |