v3.19.3.a.u2

Segment Disclosures (Segment Reporting Information By Segment) (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2017
Segment Reporting Information [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
Other operating (income) expense | (2,975) | 0 | 0
(Earnings) losses of non-controlled entities | (168,961) | (181,117) | (120,994)
Operating margin | 1,646,488 | 1,653,941 | 1,415,060
Depreciation and amortization expense | 246,134 | 265,077 | 196,630
G&A expenses | 196,650 | 194,283 | 165,717
Operating profit | 1,203,704 | 1,194,581 | 1,052,713
Additions to long-lived assets | 980,575 | 562,296 | 572,744
Total assets | 8,437,729 | 7,747,537 | 7,394,375
Goodwill | 53,260 | 53,260 | 53,260
Investments in non-controlled entities | 1,240,551 | 1,076,306 | 1,082,511
Operating Segments [Member] |  |  |
Segment Reporting Information [Line Items] |  |  |
Additions to long-lived assets | 880,137 | 506,354 | 564,687
Total assets | 8,306,653 | 7,491,246 | 7,188,235
Operating Segments [Member] | Refined Products Segment [Member] |  |  |
Segment Reporting Information [Line Items] |  |  |
Revenues | 1,888,479 | 2,025,636 | 1,814,568
Operating expenses | 411,849 | 424,851 | 400,439
Cost of product sales | 582,271 | 650,071 | 586,751
Other operating (income) expense | (2,555) |  |
(Earnings) losses of non-controlled entities | (4,140) | (16,039) | 1,632
Operating margin | 901,054 | 966,753 | 825,746
Depreciation and amortization expense | 136,861 | 168,954 | 109,434
G&A expenses | 117,291 | 118,491 | 103,225
Operating profit | 646,902 | 679,308 | 613,087
Additions to long-lived assets | 761,135 | 298,502 | 269,369
Total assets | 4,302,945 | 3,715,653 | 3,499,492
Goodwill | 38,369 | 38,369 | 38,369
Investments in non-controlled entities | 24,457 | 37,574 | 29,578
Operating Segments [Member] | Crude Oil Pipeline and Terminals Segment [Member] |  |  |
Segment Reporting Information [Line Items] |  |  |
Revenues | 644,796 | 611,448 | 507,458
Operating expenses | 164,236 | 166,213 | 120,920
Cost of product sales | 28,051 | 44,128 | 41,325
Other operating (income) expense | 7,213 |  |
(Earnings) losses of non-controlled entities | (160,891) | (162,233) | (120,173)
Operating margin | 606,187 | 563,340 | 465,386
Depreciation and amortization expense | 63,315 | 54,318 | 48,796
G&A expenses | 53,310 | 51,523 | 41,490
Operating profit | 489,562 | 457,499 | 375,100
Additions to long-lived assets | 66,452 | 142,108 | 168,306
Total assets | 2,791,035 | 2,710,068 | 2,817,186
Goodwill | 12,082 | 12,082 | 12,082
Investments in non-controlled entities | 818,167 | 783,486 | 961,032
Operating Segments [Member] | Marine Storage Segment [Member] |  |  |
Segment Reporting Information [Line Items] |  |  |
Revenues | 200,054 | 193,180 | 189,038
Operating expenses | 68,919 | 68,010 | 65,296
Cost of product sales | 8,957 | 10,114 | 7,541
Other operating (income) expense | (7,633) |  |
(Earnings) losses of non-controlled entities | (3,930) | (2,845) | (2,453)
Operating margin | 133,741 | 117,901 | 118,654
Depreciation and amortization expense | 40,452 | 35,858 | 33,126
G&A expenses | 26,049 | 24,269 | 21,002
Operating profit | 67,240 | 57,774 | 64,526
Additions to long-lived assets | 52,550 | 65,744 | 127,012
Total assets | 1,212,673 | 1,065,525 | 871,557
Goodwill | 2,809 | 2,809 | 2,809
Investments in non-controlled entities | 397,927 | 255,246 | 91,901
Corporate, Non-Segment [Member] |  |  |
Segment Reporting Information [Line Items] |  |  |
Total assets | 131,076 | 256,291 | 206,140
Intersegment Eliminations [Member] |  |  |
Segment Reporting Information [Line Items] |  |  |
Revenues | (5,417) | (3,691) | (3,403)
Operating expenses | (10,923) | (9,638) | (8,677)
Cost of product sales | 0 | 0 | 0
Other operating (income) expense | 0 |  |
(Earnings) losses of non-controlled entities | 0 | 0 | 0
Operating margin | 5,506 | 5,947 | 5,274
Depreciation and amortization expense | 5,506 | 5,947 | 5,274
G&A expenses | 0 | 0 | 0
Operating profit | 0 | 0 | 0
Service [Member] |  |  |
Segment Reporting Information [Line Items] |  |  |
Revenues | 1,970,630 | 1,878,988 | 1,731,775
Service [Member] | Operating Segments [Member] | Refined Products Segment [Member] |  |  |
Segment Reporting Information [Line Items] |  |  |
Revenues | 1,186,966 | 1,151,980 | 1,096,040
Service [Member] | Operating Segments [Member] | Crude Oil Pipeline and Terminals Segment [Member] |  |  |
Segment Reporting Information [Line Items] |  |  |
Revenues | 602,045 | 549,849 | 458,455
Service [Member] | Operating Segments [Member] | Marine Storage Segment [Member] |  |  |
Segment Reporting Information [Line Items] |  |  |
Revenues | 187,036 | 180,850 | 180,683
Service [Member] | Intersegment Eliminations [Member] |  |  |
Segment Reporting Information [Line Items] |  |  |
Revenues | (5,417) | (3,691) | (3,403)
Product [Member] |  |  |
Segment Reporting Information [Line Items] |  |  |
Revenues | 736,092 | 927,220 | 758,206
Product [Member] | Operating Segments [Member] | Refined Products Segment [Member] |  |  |
Segment Reporting Information [Line Items] |  |  |
Revenues | 699,766 | 872,144 | 717,140
Product [Member] | Operating Segments [Member] | Crude Oil Pipeline and Terminals Segment [Member] |  |  |
Segment Reporting Information [Line Items] |  |  |
Revenues | 28,280 | 46,767 | 35,053
Product [Member] | Operating Segments [Member] | Marine Storage Segment [Member] |  |  |
Segment Reporting Information [Line Items] |  |  |
Revenues | 8,046 | 8,309 | 6,013
Product [Member] | Intersegment Eliminations [Member] |  |  |
Segment Reporting Information [Line Items] |  |  |
Revenues | 0 | 0 | 0
Product and Service, Other [Member] |  |  |
Segment Reporting Information [Line Items] |  |  |
Revenues | 21,190 | 20,365 | 17,680
Product and Service, Other [Member] | Operating Segments [Member] | Refined Products Segment [Member] |  |  |
Segment Reporting Information [Line Items] |  |  |
Revenues | 1,747 | 1,512 | 1,388
Product and Service, Other [Member] | Operating Segments [Member] | Crude Oil Pipeline and Terminals Segment [Member] |  |  |
Segment Reporting Information [Line Items] |  |  |
Revenues | 14,471 | 14,832 | 13,950
Product and Service, Other [Member] | Operating Segments [Member] | Marine Storage Segment [Member] |  |  |
Segment Reporting Information [Line Items] |  |  |
Revenues | 4,972 | 4,021 | 2,342
Product and Service, Other [Member] | Intersegment Eliminations [Member] |  |  |
Segment Reporting Information [Line Items] |  |  |
Revenues | $ 0 | $ 0 | $ 0

X
- Definition Operating margin (loss) + References No definition available. + Details
Name: | mmp_OperatingMarginLoss
Namespace Prefix: | mmp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events. + References Reference 1: 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(11)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -URI http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599 Reference 3: 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(a)(12)) -URI http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910 + Details
Name: | us-gaap_Assets
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 expense recognized in the current period that allocates the cost of tangible assets, intangible assets, or depleting assets to periods that benefit from use of the assets. + 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 (e) -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 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3602-108585 + Details
Name: | us-gaap_DepreciationDepletionAndAmortization
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 The aggregate total of expenses of managing and administering the affairs of an entity, including affiliates of the reporting entity, which are not directly or indirectly associated with the manufacture, sale or creation of a product or product line. + 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.4) -URI http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227 + Details
Name: | us-gaap_GeneralAndAdministrativeExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=77989000&loc=SL49117168-202975 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=99380562&loc=d3e13770-109266 + Details
Name: | us-gaap_Goodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 net result for the period of deducting operating expenses from operating revenues. + References No definition available. + Details
Name: | us-gaap_OperatingIncomeLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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 acquisition of long-lived, physical assets used in the normal conduct of business and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment. + References No definition available. + Details
Name: | us-gaap_PropertyPlantAndEquipmentAdditions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_SegmentReportingInformationLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_ConsolidationItemsAxis=us-gaap_OperatingSegmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=mmp_RefinedProductsSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=mmp_CrudeOilPipelineandTerminalsSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=mmp_MarineStorageSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidationItemsAxis=us-gaap_CorporateNonSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidationItemsAxis=us-gaap_IntersegmentEliminationMember
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: |

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