v3.20.1

Debt (Consolidated Debt) (Details) - USD ($) | 12 Months Ended |  |
--- | --- | --- | ---
Dec. 31, 2018 | Dec. 31, 2019 | Feb. 11, 2019
Debt Instrument [Line Items] |  |  |
Short-term Debt, Refinanced, Amount | $ 490,000,000.0 |  |
Debt Instrument, Face Amount | 4,300,000,000 | $ 4,750,000,000 |
Debt Issuance Costs, Net | (27,070,000) | (35,263,000) |
Debt Instrument, Unamortized Discount (Premium), Net | (2,927,000) | (8,662,000) |
Deferred Gain (Loss) on Discontinuation of Interest Rate Fair Value Hedge | 866,000 | 0 |
Long-term Debt | 4,270,869,000 | 4,706,075,000 |
Current portion of long-term debt, net | 59,489,000 | 0 |
Long-term Debt, Excluding Current Maturities | 4,211,380,000 | 4,706,075,000 |
6.55% Notes Due 2019 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount | 550,000,000 | $ 0 | $ 550,000,000.0
Debt Instrument, Interest Rate, Stated Percentage |  | 6.55% | 6.55%
4.25% Notes Due 2021 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount | 550,000,000 | $ 550,000,000 |
Debt Instrument, Interest Rate, Stated Percentage |  | 4.25% |
3.20% Notes Due 2025 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount | 250,000,000 | $ 250,000,000 |
Debt Instrument, Interest Rate, Stated Percentage |  | 3.20% |
5.00% Notes Due 2046 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount | 650,000,000 | $ 650,000,000 |
Debt Instrument, Interest Rate, Stated Percentage |  | 5.00% |
6.40% Notes Due 2037 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount | 250,000,000 | $ 250,000,000 |
Debt Instrument, Interest Rate, Stated Percentage |  | 6.40% |
4.20% Notes Due 2042 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount | 250,000,000 | $ 250,000,000 |
Debt Instrument, Interest Rate, Stated Percentage |  | 4.20% |
5.15% Notes Due 2043 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount | 550,000,000 | $ 550,000,000 |
Debt Instrument, Interest Rate, Stated Percentage |  | 5.15% |
4.20% Notes Due 2045 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount | 250,000,000 | $ 250,000,000 |
Debt Instrument, Interest Rate, Stated Percentage |  | 4.20% |
4.25% Notes Due 2046 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount | 500,000,000 | $ 500,000,000 |
Debt Instrument, Interest Rate, Stated Percentage |  | 4.25% |
4.20% Notes Due 2047 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount | 500,000,000 | $ 500,000,000 |
Debt Instrument, Interest Rate, Stated Percentage |  | 4.20% |
4.85% Notes Due 2049 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount | 0 | $ 500,000,000.0 |
Debt Instrument, Interest Rate, Stated Percentage |  | 4.85% |
3.95% Notes due 2050 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount | 0 | $ 500,000,000.0 |
Debt Instrument, Interest Rate, Stated Percentage |  | 3.95% |
Line of Credit [Member] | Revolving Credit Facility [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Long-term Debt | $ 0 | $ 0 |

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=114775744&loc=d3e28551-108399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + 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.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

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_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after accumulated amortization, of debt discount (premium). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=114775744&loc=d3e28555-108399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=114775744&loc=d3e28551-108399 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=114775744&loc=d3e28567-108399 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=114775744&loc=d3e28541-108399 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + 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.17) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=114775744&loc=d3e28555-108399 + Details
Name: | us-gaap_DeferredFinanceCostsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount as of the balance sheet date of the unamortized adjustment to the carrying value of an interest-bearing hedged item made under an effective interest rate fair value hedge that is amortized upon discontinuation of the interest rate fair value hedge. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 25 -Section 35 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=118957181&loc=d3e75592-113984 + Details
Name: | us-gaap_DeferredGainLossOnDiscontinuationOfInterestRateFairValueHedge
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b)(3) -URI http://asc.fasb.org/extlink&oid=109500613&loc=SL6031897-161870 Reference 2: 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)(16)) -URI http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910 Reference 3: 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(16)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 4: 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(22)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt, classified as current. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations. + 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.19,20) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LongTermDebtCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount after unamortized (discount) premium and debt issuance costs of long-term debt classified as noncurrent and excluding amounts to be repaid within one year or the normal operating cycle, if longer. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations. + 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.22) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LongTermDebtNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of a short-term obligation that has been excluded from current liabilities in the balance sheet because of a refinancing of the obligation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=6802200&loc=d3e1927-112601 + Details
Name: | us-gaap_ShortTermDebtRefinancedAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mmp_SixPointFiveFivePercentageNotesDueTwoThousandNinteenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mmp_FourPointTwoFivePercentageNotesDueTwoThousandTwentyOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mmp_ThreePointTwoPercentageNotesDueTwoThousandTwentyFiveMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mmp_FivePointZeroPercentageNotesDueTwoThousandTwentySixMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mmp_SixPointFourZeroPercentageNotesDueTwoThousandThirtySevenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mmp_FourPointTwoZeroPercentageNotesDueTwoThousandFourtyTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mmp_FivePointOneFivePercentageNotesDueTwoThousandFourtyThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mmp_FourPointTwoPercentageNotesDueTwoThousandFortyFiveMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mmp_FourPointTwoFivePercentageNotesDueTwoThousandFortySixMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mmp_FourPointTwoZeroPercentageNotesDueTwoThousandFortySevenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mmp_FourPointEightFivePercentageNotesDueTwoThousandFortyNineMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mmp_ThreePointNineFivePercentageNotesDueTwoThousandFiftyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_LineOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |