v3.19.1

Investments in Non-Controlled Entities (Details) - USD ($) $ in Thousands | 3 Months Ended |
--- | --- | ---
Mar. 31, 2019 | Mar. 31, 2018 | Dec. 31, 2018
Schedule of Equity Method Investments [Line Items] |  |  |
Revenues | $ 628,935 | $ 678,779 |
Operating | 146,025 | 143,296 |
Trade accounts receivable | 134,120 |  | $ 104,164
Other accounts receivable | 31,937 |  | 25,007
Long-term receivables | 20,646 |  | 20,844
Change in Equity Method Investments [Roll Forward] |  |  |
Investments at December 31, 2018 | 1,076,306 |  |
Additional investment | 76,634 |  |
Indemnification settlement | (5,000) |  |
Proportionate share of earnings | 31,719 |  |
Amortization of excess investment and capitalized interest | (464) |  |
Earnings of non-controlled entities | 31,255 | 34,538 |
Distributions from operations of non-controlled entities | 43,069 | 51,754 |
Distributions from returns of investments in non-controlled entities | 7,500 | 0 |
Investments at March 31, 2019 | 1,128,626 |  |
Service [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Revenues | 460,792 | 431,937 |
Product [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Revenues | 162,995 | 241,592 |
Equity Method Investee [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Related Party Transaction, Other Revenues from Transactions with Related Party | $ 1,500 | 500 |
BridgeTex [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Interest in equity method investment | 30.00% |  |
BridgeTex [Member] | Equity Method Investee [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Trade accounts receivable | $ 284 |  | 318
Other accounts receivable | 779 |  | 1,549
Accounts Payable, Other, Current | 179 |  |
BridgeTex [Member] | Equity Method Investee [Member] | Service [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Revenues | $ 10,145 | 9,864 |
Double Eagle Pipeline Llc [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Interest in equity method investment | 50.00% |  |
Double Eagle Pipeline Llc [Member] | Equity Method Investee [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Trade accounts receivable | $ 583 |  | 546
Double Eagle Pipeline Llc [Member] | Equity Method Investee [Member] | Service [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Revenues | $ 1,659 | 1,544 |
HoustonLink Pipeline Company LLC [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Interest in equity method investment | 50.00% |  |
MVP Terminalling, LLC [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Interest in equity method investment | 50.00% |  |
MVP Terminalling, LLC [Member] | Equity Method Investee [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Other accounts receivable | $ 361 |  | 397
Powder Springs Logistics, LLC [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Interest in equity method investment | 50.00% |  |
Powder Springs Logistics, LLC [Member] | Equity Method Investee [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Other accounts receivable | $ 269 |  |
Long-term receivables | 2,725 |  | 2,221
Powder Springs Logistics, LLC [Member] | Equity Method Investee [Member] | Product [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Revenues | $ 0 | 2,719 |
Saddlehorn Pipeline Company [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Interest in equity method investment | 40.00% |  |
Saddlehorn Pipeline Company [Member] | Equity Method Investee [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Other accounts receivable | $ 109 |  | 183
Saddlehorn Pipeline Company [Member] | Equity Method Investee [Member] | Service [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Revenues | $ 552 | 538 |
Seabrook Logistics, LLC [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Interest in equity method investment | 50.00% |  |
Seabrook Logistics, LLC [Member] | Equity Method Investee [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Operating | $ 6,909 | $ 0 |
Accounts Payable, Other, Current | $ 1,646 |  | $ 1,140
Texas Frontera Llc [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Interest in equity method investment | 50.00% |  |
Texas Frontera Llc [Member] | Equity Method Investee [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Accounts Payable, Other, Current | $ 83 |  |

X
- Definition Additional Investment in NonControlled Entities + References No definition available. + Details
Name: | mmp_AdditionalInvestmentinNonControlledEntities
Namespace Prefix: | mmp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amortization of Excess Investment and Capitalized Interest + References No definition available. + Details
Name: | mmp_AmortizationofExcessInvestmentandCapitalizedInterest
Namespace Prefix: | mmp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Change in Equity Method Investments [Roll Forward] + References No definition available. + Details
Name: | mmp_ChangeInEquityMethodInvestmentsRollForward
Namespace Prefix: | mmp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Proportionate Share of Equity Earnings + References No definition available. + Details
Name: | mmp_ProportionateShareOfEquityEarnings
Namespace Prefix: | mmp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount, after allowance, receivable from customers, clients, or other third-parties, and receivables classified as other due within one year or the normal operating cycle, if longer. + References No definition available. + Details
Name: | us-gaap_AccountsAndOtherReceivablesNetCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of obligations incurred classified as other, payable within one year or the normal operating cycle, if longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=82887183&loc=d3e6935-107765 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.19(a)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_AccountsPayableOtherCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount due from customers or clients, within one year of the balance sheet date (or the normal operating cycle, whichever is longer), for goods or services (including trade receivables) that have been delivered or sold in the normal course of business, reduced to the estimated net realizable fair value by an allowance established by the entity of the amount it deems uncertain of collection. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 8 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=109196051&loc=SL49130549-203045 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(3)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_AccountsReceivableNetCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The aggregate direct operating costs incurred during the reporting period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.2) -URI http://asc.fasb.org/extlink&oid=115205541&loc=SL114868664-224227 + Details
Name: | us-gaap_DirectOperatingCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of distribution received from equity method investee for return on investment, classified as operating activities. Excludes distribution for return of investment, classified as investing activities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109223946&loc=d3e3602-108585 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(10)) -URI http://asc.fasb.org/extlink&oid=114873790&loc=SL114874131-224263 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(12)) -URI http://asc.fasb.org/extlink&oid=115205541&loc=SL114868664-224227 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 21D -URI http://asc.fasb.org/extlink&oid=109223946&loc=SL94080555-108585 + Details
Name: | us-gaap_EquityMethodInvestmentDividendsOrDistributions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The percentage of ownership of common stock or equity participation in the investee accounted for under the equity method of accounting. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 + Details
Name: | us-gaap_EquityMethodInvestmentOwnershipPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of the entity's equity method investment which has been sold. + References No definition available. + Details
Name: | us-gaap_EquityMethodInvestmentSoldCarryingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition This item represents the entity's proportionate share for the period of the net income (loss) of its investee (such as unconsolidated subsidiaries and joint ventures) to which the equity method of accounting is applied. This item includes income or expense related to stock-based compensation based on the investor's grant of stock to employees of an equity method investee. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(12)) -URI http://asc.fasb.org/extlink&oid=115205541&loc=SL114868664-224227 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(10)) -URI http://asc.fasb.org/extlink&oid=114873790&loc=SL114874131-224263 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109223946&loc=d3e3602-108585 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(13)(f)) -URI http://asc.fasb.org/extlink&oid=114873765&loc=SL114874048-224260 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -Subparagraph (g) -URI http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=109237563&loc=d3e33749-111570 + Details
Name: | us-gaap_IncomeLossFromEquityMethodInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of investment in equity method investee and investment in and advance to affiliate. + References Reference 1: 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.12) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The total amount of investments that are intended to be held for an extended period of time (longer than one operating cycle) and amount due to the Entity from outside sources, including trade accounts receivable, notes and loans receivable, as well as any other types of receivables, net of allowances established for the purpose of reducing such investments and receivables to an amount that approximates their net realizable value. + References Reference 1: 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.12) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LongTermInvestmentsAndReceivablesNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of distribution received from equity method investee for return of investment, classified as investing activities. Excludes distribution for return on investment, classified as operating activities. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 21D -URI http://asc.fasb.org/extlink&oid=109223946&loc=SL94080555-108585 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109223946&loc=d3e3179-108585 + Details
Name: | us-gaap_ProceedsFromEquityMethodInvestmentDividendsOrDistributionsReturnOfCapital
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Reflects the sum of all other revenue and income realized from sales and other transactions (excluding transactions that are eliminated in consolidated or combined financial statements) with related party during the period. + References No definition available. + Details
Name: | us-gaap_RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.1) -URI http://asc.fasb.org/extlink&oid=115205541&loc=SL114868664-224227 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=115929826&loc=d3e8933-108599 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599 + Details
Name: | us-gaap_Revenues
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_ScheduleOfEquityMethodInvestmentsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_ProductOrServiceAxis=us-gaap_ServiceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=us-gaap_ProductMember
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: |

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

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

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

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

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

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=mmp_SaddlehornPipelineCompanyMember
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: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=mmp_TexasFronteraLlcMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |