v3.10.0.1

Leases (Narrative) (Details) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2018 USD ($) mi | Dec. 31, 2017 USD ($) | Dec. 31, 2016 USD ($)
Operating Leases [Line Items] |  |  |
Operating Leases, Future Minimum Payments Due, Next Twelve Months | $ 33.8 |  |
Operating Leases, Income Statement, Contingent Revenue | 51.8 | $ 24.9 |
Total rent expense | 42.1 | $ 34.8 | $ 30.2
Operating Leases, Future Minimum Payments, Due in Two Years | 32.3 |  |
Operating Leases, Future Minimum Payments, Due in Three Years | 30.2 |  |
Operating Leases, Future Minimum Payments, Due in Four Years | 27.4 |  |
Operating Leases, Future Minimum Payments, Due in Five Years | 26.7 |  |
Operating Leases, Future Minimum Payments, Due Thereafter | $ 132.2 |  |
Texas and New Mexico Pipeline (Leased) [Member] |  |  |
Operating Leases [Line Items] |  |  |
Pipeline, Length | mi | 40 |  |
Seabrook Logistics, LLC [Member] | Equity Method Investee [Member] |  |  |
Operating Leases [Line Items] |  |  |
Operating Leases, Future Minimum Payments Due, Next Twelve Months | $ 11.0 |  |
Total rent expense | 10.6 |  |
Operating Leases, Future Minimum Payments, Due in Two Years | 11.0 |  |
Operating Leases, Future Minimum Payments, Due in Three Years | 9.4 |  |
Operating Leases, Future Minimum Payments, Due in Four Years | 6.6 |  |
Operating Leases, Future Minimum Payments, Due in Five Years | 6.6 |  |
Operating Leases, Future Minimum Payments, Due Thereafter | $ 37.5 |  |

X
- Definition [Line Items] for Operating Leases [Table] + References No definition available. + Details
Name: | mmp_OperatingLeasesLineItems
Namespace Prefix: | mmp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Pipeline, length + References No definition available. + Details
Name: | mmp_PipelineLength
Namespace Prefix: | mmp_
Data Type: | num:lengthItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the next fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=77902758&loc=d3e41502-112717 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 10 -Section 55 -Paragraph 40 -Subparagraph (Note 3) -URI http://asc.fasb.org/extlink&oid=82846649&loc=d3e38371-112697 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the fifth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=77902758&loc=d3e41502-112717 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 10 -Section 55 -Paragraph 40 -Subparagraph (Note 3) -URI http://asc.fasb.org/extlink&oid=82846649&loc=d3e38371-112697 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the fourth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 10 -Section 55 -Paragraph 40 -Subparagraph (Note 3) -URI http://asc.fasb.org/extlink&oid=82846649&loc=d3e38371-112697 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=77902758&loc=d3e41502-112717 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the third fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 10 -Section 55 -Paragraph 40 -Subparagraph (Note 3) -URI http://asc.fasb.org/extlink&oid=82846649&loc=d3e38371-112697 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=77902758&loc=d3e41502-112717 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the second fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 10 -Section 55 -Paragraph 40 -Subparagraph (Note 3) -URI http://asc.fasb.org/extlink&oid=82846649&loc=d3e38371-112697 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=77902758&loc=d3e41502-112717 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due after the fifth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=77902758&loc=d3e41502-112717 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 10 -Section 55 -Paragraph 40 -Subparagraph (Note 3) -URI http://asc.fasb.org/extlink&oid=82846649&loc=d3e38371-112697 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of contingent rental revenue recognized for the period under lease, based on the occurrences of an event or condition. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=84164653&loc=d3e41551-112718 + Details
Name: | us-gaap_OperatingLeasesIncomeStatementContingentRevenue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Rental expense for the reporting period incurred under operating leases, including minimum and any contingent rent expense, net of related sublease income. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=77902758&loc=d3e41499-112717 + Details
Name: | us-gaap_OperatingLeasesRentExpenseNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | dei_EntityByLocationAxis=mmp_TexasandNewMexicoPipelineLeasedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=mmp_SeabrookLogisticsLLCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=us-gaap_EquityMethodInvesteeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |