v3.19.3.a.u2

Long-Term Incentive Plan (Vested Unit Awards) (Details) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2017
Share-based Payment Arrangement [Abstract] |  |  |
Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Nonvested Total Unit Award Accrual Number (in shares) | 436,629 | 317,037 | 266,028
Fair Value of Unit Awards on Vesting Date (in millions) | $ 31.0 | $ 22.1 | $ 19.9
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Aggregate Intrinsic Value, Vested | $ 27.5 | $ 18.1 | $ 18.9

X
- Definition Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments, Other Than Options, Vested Number, As Adjusted + References No definition available. + Details
Name: | mmp_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedNumberAsAdjusted
Namespace Prefix: | mmp_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Fair value of share-based awards for which the grantee gained the right by satisfying service and performance requirements, to receive or retain shares or units, other instruments, or cash. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (d)(2) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Intrinsic value of vested award under share-based payment arrangement. Excludes share and unit options. + References No definition available. + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration