v3.19.3

Investments in Non-Controlled Entities (Details) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended |
--- | --- | --- | ---
Sep. 30, 2019 | Sep. 30, 2018 | Sep. 30, 2019 | Sep. 30, 2018 | Dec. 31, 2018
Schedule of Equity Method Investments [Line Items] |  |  |  |  |
Revenues | $ 656,596 | $ 638,020 | $ 1,987,230 | $ 1,960,890 |
Operating | 169,387 | 172,115 | 484,341 | 475,256 |
Cost of product sales | 108,757 | 120,510 | 430,727 | 473,781 |
Other operating income (expense) | (379) | 0 | 1,538 | 0 |
Trade accounts receivable | 131,746 |  | 131,746 |  | $ 104,164
Other accounts receivable | 22,379 |  | 22,379 |  | 25,007
Long-term receivables | 20,789 |  | 20,789 |  | 20,844
Change in Equity Method Investments [Roll Forward] |  |  |  |  |
Investments at December 31, 2018 |  |  | 1,076,306 |  |
Additional investment |  |  | 158,145 |  |
Indemnification settlement |  |  | (5,000) |  |
Proportionate share of earnings |  |  | 123,621 |  |
Amortization of excess investment and capitalized interest |  |  | (1,392) |  |
Earnings of non-controlled entities | 50,189 | 53,795 | 122,229 | 130,843 |
Distributions from operations of non-controlled entities |  |  | 138,140 | 147,950 |
Distributions from returns of investments in non-controlled entities |  |  | 7,500 | 1,786 |
Investments at June 30, 2019 | 1,206,040 |  | 1,206,040 |  |
Service [Member] |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |
Revenues | 506,432 | 488,775 | 1,473,629 | 1,392,960 |
Product [Member] |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |
Revenues | 144,807 | 144,403 | 497,791 | 552,792 |
Equity Method Investee [Member] |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |
Related Party Transaction, Other Revenues from Transactions with Related Party | $ 1,200 | 900 | $ 3,800 | 2,600 |
BridgeTex [Member] |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |
Interest in equity method investment | 30.00% |  | 30.00% |  |
BridgeTex [Member] | Equity Method Investee [Member] |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |
Trade accounts receivable | $ 385 |  | $ 385 |  | 318
Other accounts receivable | 31 |  | 31 |  | 1,549
Other Accounts Payable | 530 |  | 530 |  |
BridgeTex [Member] | Equity Method Investee [Member] | Service [Member] |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |
Revenues | $ 10,737 | 9,958 | $ 31,063 | 29,519 |
Double Eagle Pipeline Llc [Member] |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |
Interest in equity method investment | 50.00% |  | 50.00% |  |
Double Eagle Pipeline Llc [Member] | Equity Method Investee [Member] |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |
Trade accounts receivable | $ 440 |  | $ 440 |  | 546
Double Eagle Pipeline Llc [Member] | Equity Method Investee [Member] | Service [Member] |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |
Revenues | $ 1,582 | 1,005 | $ 4,813 | 3,892 |
HoustonLink Pipeline Company LLC [Member] |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |
Interest in equity method investment | 50.00% |  | 50.00% |  |
HoustonLink Pipeline Company LLC [Member] | Equity Method Investee [Member] |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |
Trade accounts receivable | $ 77 |  | $ 77 |  |
MVP Terminalling, LLC [Member] |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |
Interest in equity method investment | 50.00% |  | 50.00% |  |
MVP Terminalling, LLC [Member] | Equity Method Investee [Member] |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |
Other operating income (expense) | $ 289 | 0 | $ 289 | 0 |
Other accounts receivable | $ 364 |  | $ 364 |  | 397
Powder Springs Logistics, LLC [Member] |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |
Interest in equity method investment | 50.00% |  | 50.00% |  |
Powder Springs Logistics, LLC [Member] | Equity Method Investee [Member] |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |
Cost of product sales | $ 0 | 0 | $ 0 | 410 |
Other accounts receivable | 10 |  | 10 |  |
Long-term receivables | 4,892 |  | 4,892 |  | 2,221
Powder Springs Logistics, LLC [Member] | Equity Method Investee [Member] | Product [Member] |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |
Revenues | $ 0 | 0 | $ 0 | 4,899 |
Saddlehorn Pipeline Company [Member] |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |
Interest in equity method investment | 40.00% |  | 40.00% |  |
Saddlehorn Pipeline Company [Member] | Equity Method Investee [Member] |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |
Other accounts receivable | $ 120 |  | $ 120 |  | 183
Saddlehorn Pipeline Company [Member] | Equity Method Investee [Member] | Service [Member] |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |
Revenues | $ 566 | 552 | $ 1,669 | 1,628 |
Seabrook Logistics, LLC [Member] |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |
Interest in equity method investment | 50.00% |  | 50.00% |  |
Seabrook Logistics, LLC [Member] | Equity Method Investee [Member] |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |
Operating | $ 6,267 | $ 3,982 | $ 19,417 | $ 3,982 |
Trade accounts receivable | 753 |  | 753 |  |
Other accounts receivable | 332 |  | 332 |  |
Other Accounts Payable | $ 1,223 |  | $ 1,223 |  | $ 1,140
Texas Frontera Llc [Member] |  |  |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |  |  |
Interest in equity method investment | 50.00% |  | 50.00% |  |

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=118951113&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, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business, classified as current. + 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=118956577&loc=SL49130549-203045 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=118952595&loc=d3e4428-111522 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -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 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=118951113&loc=d3e6676-107765 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 45 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=118952595&loc=d3e4531-111522 + Details
Name: | us-gaap_AccountsReceivableNetCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The aggregate costs related to goods produced and sold and services rendered by an entity during the reporting period. This excludes costs incurred during the reporting period related to financial services rendered and other revenue generating activities. + 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(a),(d)) -URI http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227 + Details
Name: | us-gaap_CostOfGoodsAndServicesSold
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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=116634182&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=118932676&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=116637232&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=116634182&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=118932676&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 Amount of income (loss) for proportionate share of equity method investee's income (loss). + 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=116634182&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=116637232&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=118932676&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=116637391&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 The net amount of other operating income and expenses, the components of which are not separately disclosed on the income statement, from items that are associated with the entity's normal revenue producing operations. + References No definition available. + Details
Name: | us-gaap_OtherOperatingIncomeExpenseNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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=118932676&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=118932676&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://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 3: 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 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -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=116634182&loc=SL114868664-224227 + 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: |