v3.20.1

Investments in Non-Controlled Entities (Equity Method Investments) (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2017
Schedule of Equity Method Investments [Line Items] |  |  |
Revenues | $ 2,727,912 | $ 2,826,573 | $ 2,507,661
Operating expenses | 634,081 | 649,436 | 577,978
Cost of product sales | 619,279 | 704,313 | 635,617
Accounts Receivable, after Allowance for Credit Loss, Current | 125,440 | 104,164 |
Other accounts receivable | 23,887 | 25,007 |
Long-term receivables | 20,782 | 20,844 |
Change in Equity Method Investments [Roll Forward] |  |  |
Investments at December 31, 2017 | 1,076,306 | 1,082,511 |
Additional Investments | 212,380 |  |
Equity Method Investment, Amount Sold | (5,000) |  |
Proportionate Share of Equity Earnings | 170,814 |  |
Amortization of Excess Investment and Capitalized Interest | (1,853) |  |
Income (Loss) from Equity Method Investments | 168,961 | 181,117 | 120,994
Distributions from operations of non-controlled entities | 203,602 | 196,686 | 146,211
Distributions from returns of investments in non-controlled entities | 8,494 | 1,786 | 55,931
Investments at December 31, 2018 | 1,240,551 | 1,076,306 | 1,082,511
Equity Method Investment, Summarized Financial Information, Current Assets | 260,033 | 258,698 |
Equity Method Investment, Summarized Financial Information, Noncurrent Assets | 2,768,696 | 2,461,456 |
Equity Method Investment, Summarized Financial Information, Assets | 3,028,729 | 2,720,154 |
Equity Method Investment, Summarized Financial Information, Current Liabilities | 160,566 | 170,558 |
Equity Method Investment, Summarized Financial Information, Noncurrent Liabilities | 60,886 | 73,700 |
Equity Method Investment, Summarized Financial Information, Liabilities | 221,452 | 244,258 |
Equity Method Investment Summarized Financial Information, Equity | 2,807,277 | 2,475,896 |
Equity Method Investment, Summarized Financial Information, Revenue | 782,013 | 631,420 | 419,214
Equity Method Investment, Summarized Financial Information, Net Income (Loss) | 507,464 | 416,128 | 256,423
Other operating income (expense) | 2,975 | 0 | 0
Equity Method Investee [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Related Party Transaction, Other Revenues from Transactions with Related Party | $ 5,300 | 3,900 | 3,600
BridgeTex [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Equity Method Investment, Ownership Percentage | 30.00% |  |
BridgeTex [Member] | Equity Method Investee [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Cost of product sales |  |  | 14,450
Accounts Receivable, after Allowance for Credit Loss, Current | $ 392 | 318 |
Other accounts receivable | $ 26 | 1,549 |
Double Eagle Pipeline Llc [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Equity Method Investment, Ownership Percentage | 50.00% |  |
Double Eagle Pipeline Llc [Member] | Equity Method Investee [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Accounts Receivable, after Allowance for Credit Loss, Current | $ 445 | 546 |
HoustonLink Pipeline Company LLC [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Equity Method Investment, Ownership Percentage | 50.00% |  |
HoustonLink Pipeline Company LLC [Member] | Equity Method Investee [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Accounts Receivable, after Allowance for Credit Loss, Current | $ 60 |  |
MVP Terminalling, LLC [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Equity Method Investment, Ownership Percentage | 50.00% |  |
MVP Terminalling, LLC [Member] | Equity Method Investee [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Operating expenses |  | (2,161) |
Other accounts receivable | $ 418 | 397 |
Change in Equity Method Investments [Roll Forward] |  |  |
Other operating income (expense) | $ 289 |  |
Powder Springs Logistics, LLC [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Equity Method Investment, Ownership Percentage | 50.00% |  |
Powder Springs Logistics, LLC [Member] | Equity Method Investee [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Cost of product sales |  | 410 |
Accounts Receivable, after Allowance for Credit Loss, Current | $ 161 |  |
Long-term receivables | $ 6,006 | 2,221 |
Saddlehorn Pipeline Company [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Equity Method Investment, Ownership Percentage | 40.00% |  |
Saddlehorn Pipeline Company [Member] | Equity Method Investee [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Other accounts receivable | $ 126 | 183 |
Seabrook Logistics, LLC [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Equity Method Investment, Ownership Percentage | 50.00% |  |
Seabrook Logistics, LLC [Member] | Equity Method Investee [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Operating expenses | $ 25,851 | 10,572 |
Accounts Receivable, after Allowance for Credit Loss, Current | 941 |  |
Accounts Payable, Other | $ 1,349 | 1,140 |
Texas Frontera Llc [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Equity Method Investment, Ownership Percentage | 50.00% |  |
Service [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Revenues | $ 1,970,630 | 1,878,988 | 1,731,775
Service [Member] | BridgeTex [Member] | Equity Method Investee [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Revenues | 41,806 | 39,596 | 36,129
Service [Member] | Double Eagle Pipeline Llc [Member] | Equity Method Investee [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Revenues | 6,213 | 5,250 | 4,673
Service [Member] | Saddlehorn Pipeline Company [Member] | Equity Method Investee [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Revenues | 2,234 | 2,180 | 2,126
Product [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Revenues | 736,092 | 927,220 | $ 758,206
Product [Member] | Powder Springs Logistics, LLC [Member] | Equity Method Investee [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Revenues |  | $ 4,899 |
Product [Member] | Seabrook Logistics, LLC [Member] | Equity Method Investee [Member] |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Revenues | $ 328 |  |

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 and payable classified as other. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.15(a)) -URI http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.15(5)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 + Details
Name: | us-gaap_AccountsPayableOtherCurrentAndNoncurrent
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 The amount of assets reported by an equity method investment of the entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=114001798&loc=d3e33912-111571 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(g)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=75031198&loc=d3e14064-108612 + Details
Name: | us-gaap_EquityMethodInvestmentSummarizedFinancialInformationAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of current assets reported by an equity method investment of the entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=114001798&loc=d3e33912-111571 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=75031198&loc=d3e14064-108612 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(g)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_EquityMethodInvestmentSummarizedFinancialInformationCurrentAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of current liabilities reported by an equity method investment of the entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=114001798&loc=d3e33912-111571 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(g)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=75031198&loc=d3e14064-108612 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 + Details
Name: | us-gaap_EquityMethodInvestmentSummarizedFinancialInformationCurrentLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of equity, including noncontrolling interest, reported by an equity method investment of the entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.g) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=75031198&loc=d3e14064-108612 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=75031198&loc=d3e14064-108612 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 + Details
Name: | us-gaap_EquityMethodInvestmentSummarizedFinancialInformationEquity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of liabilities reported by an equity method investment of the entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=114001798&loc=d3e33912-111571 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=75031198&loc=d3e14064-108612 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(g)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760 + Details
Name: | us-gaap_EquityMethodInvestmentSummarizedFinancialInformationLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of net income (loss) reported by an equity method investment of the entity. + 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 (c) -URI http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(g)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=75031198&loc=d3e14064-108612 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=114001798&loc=d3e33912-111571 + Details
Name: | us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of noncurrent assets reported by an equity method investment of the entity. + 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 (c) -URI http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=75031198&loc=d3e14064-108612 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(g)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=114001798&loc=d3e33912-111571 + Details
Name: | us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNoncurrentAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of noncurrent liabilities reported by an equity method investment of the entity. + 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 (c) -URI http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=114001798&loc=d3e33912-111571 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(g)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=75031198&loc=d3e14064-108612 + Details
Name: | us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNoncurrentLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of revenue from sale of product and rendering of service reported by equity method investee. + 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 (c) -URI http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760 + Details
Name: | us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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: | 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: |

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: |