v3.19.2

Debt (Consolidated Debt) (Details) - USD ($) | Jun. 30, 2019 | Mar. 31, 2019 | Feb. 11, 2019 | Dec. 31, 2018
--- | --- | --- | --- | ---
Debt Instrument [Line Items] |  |  |  |
Debt Instrument, Face Amount | $ 4,447,000,000 |  |  | $ 4,300,000,000
Unamortized debt issuance costs | (31,195,000) |  |  | (27,070,000)
Net unamortized premium (discount) | (8,012,000) |  |  | (2,927,000)
Net unamortized amount of gains from historical fair value hedges | 0 |  |  | 866,000
Long-term Debt | 4,407,793,000 |  |  | 4,270,869,000
Current portion of long-term debt, net | 0 |  |  | 59,489,000
Long-term debt, net | 4,407,793,000 |  |  | 4,211,380,000
6.55% Notes due 2019 [Member] |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Debt Instrument, Face Amount | $ 0 |  | $ 550,000,000.0 | 550,000,000
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 2026 [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 | $ 500,000,000.0 | $ 500,000,000.0 |  | 0
Debt Instrument, Interest Rate, Stated Percentage | 4.85% | 4.85% |  |
Commercial Paper [Member] |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Debt Instrument, Face Amount | $ 197,000,000 |  |  | $ 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
- 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_FivePointOneFivePercentageNotesDueTwoThousandFortyThreeMember
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_CreditFacilityAxis=us-gaap_CommercialPaperMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |