v3.10.0.1

Leases (Investment in Direct Financing Lease) (Details) $ in Millions | Dec. 31, 2018 USD ($) mi | Dec. 31, 2017 USD ($)
--- | --- | ---
Direct Financing Lease [Line Items] |  |
Direct Financing Lease, Minimum Payments to be Received | $ 17.5 | $ 19.2
Direct Financing Lease, Unearned Income | 3.5 | 4.1
Direct Financing Lease, Net Investment | 14.0 | 15.1
Direct Financing Leases, Future Minimum Payments Receivable, Next Twelve Months | 1.7 |
Direct Financing Leases, Future Minimum Payments, Receivable in Two Years |  | 1.7
Direct Financing Leases, Future Minimum Payments Due in Three Years |  | 1.7
Direct Financing Leases, Future Minimum Payments, Receivable in Four Years |  | 1.7
Direct Financing Leases, Future Minimum Payments Due in Five Years |  | 1.7
Other Current Assets [Member] |  |
Direct Financing Lease [Line Items] |  |
Direct Financing Lease, Net Investment | 1.1 | 1.1
Other Noncurrent Assets [Member] |  |
Direct Financing Lease [Line Items] |  |
Direct Financing Lease, Net Investment | $ 12.9 | $ 14.0
Texas and New Mexico Pipeline (Leased) [Member] |  |
Direct Financing Lease [Line Items] |  |
Pipeline, Length | mi | 40 |

X
- Definition [Line Items] for Direct Financing Lease [Table] + References No definition available. + Details
Name: | mmp_DirectFinancingLeaseLineItems
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 minimum lease payments for capital leases 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 30 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=84164817&loc=d3e45280-112737 + Details
Name: | us-gaap_CapitalLeasesFutureMinimumPaymentsDueInFiveYears
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of minimum lease payments for capital leases 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 30 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=84164817&loc=d3e45280-112737 + Details
Name: | us-gaap_CapitalLeasesFutureMinimumPaymentsDueInThreeYears
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of minimum lease payments to be received by the lessor for capital leases 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 30 -Section 50 -Paragraph 4 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=84165051&loc=d3e45377-112738 + Details
Name: | us-gaap_CapitalLeasesFutureMinimumPaymentsReceivableCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of minimum lease payments to be received by the lessor for capital leases 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 30 -Section 50 -Paragraph 4 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=84165051&loc=d3e45377-112738 + Details
Name: | us-gaap_CapitalLeasesFutureMinimumPaymentsReceivableInFourYears
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of minimum lease payments to be received by the lessor for capital leases 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 30 -Section 50 -Paragraph 4 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=84165051&loc=d3e45377-112738 + Details
Name: | us-gaap_CapitalLeasesFutureMinimumPaymentsReceivableInTwoYears
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The net investment in direct financing leases as of the balance sheet date consisting of: (a) minimum lease payments due on direct financing leases, (b) unguaranteed residual value, and (c) any unamortized initial direct costs; less: (i) executory costs, (ii) unearned income, and (iii) the accumulated allowance for uncollectible minimum lease payments. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 30 -Section 50 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=84165051&loc=d3e45377-112738 + Details
Name: | us-gaap_CapitalLeasesNetInvestmentInDirectFinancingLeases
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The remaining (unamortized) difference between the gross investment in a direct financing lease and the cost or carrying amount, if different, of the leased property as of the balance sheet date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 30 -Section 50 -Paragraph 4 -Subparagraph (a)(4) -URI http://asc.fasb.org/extlink&oid=84165051&loc=d3e45377-112738 + Details
Name: | us-gaap_CapitalLeasesNetInvestmentInDirectFinancingLeasesDeferredIncome
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of remaining payments as of the balance sheet date that lessees are obligated to make or can be required to make under direct financing leases, including any guarantee of residual value and executory costs. The amount also includes any guaranteed rental payments by an unrelated third-party provided that are financially capable of making such payments. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 30 -Section 50 -Paragraph 4 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=84165051&loc=d3e45377-112738 + Details
Name: | us-gaap_CapitalLeasesNetInvestmentInDirectFinancingLeasesMinimumPaymentsToBeReceived
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

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

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