v3.19.3.a.u2

Subsequent Events (Details) $ / shares in Units, $ in Millions | 3 Months Ended |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Mar. 31, 2020 USD ($) | Feb. 14, 2020 $ / shares | Jan. 21, 2020 Terminal | Dec. 31, 2019 $ / shares | Nov. 14, 2019 $ / shares | Aug. 14, 2019 $ / shares | May 15, 2019 $ / shares | Feb. 14, 2019 $ / shares | Dec. 31, 2018 $ / shares | Nov. 14, 2018 $ / shares | Aug. 14, 2018 $ / shares | May 15, 2018 $ / shares | Feb. 14, 2018 $ / shares | Dec. 31, 2017 $ / shares | Nov. 14, 2017 $ / shares | Aug. 14, 2017 $ / shares | May 15, 2017 $ / shares | Feb. 14, 2017 $ / shares
Subsequent Event [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Partners' Capital Account, Distribution Per Unit of Limited Partner Interest (in dollars per share) | $ / shares |  |  |  | $ 4.0350 | $ 1.0200 | $ 1.0125 | $ 1.0050 | $ 0.9975 | $ 3.7925 | $ 0.9775 | $ 0.9575 | $ 0.9375 | $ 0.9200 | $ 3.5225 | $ 0.9050 | $ 0.8900 | $ 0.8725 | $ 0.8550
Subsequent Event [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Subsequent Event [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Partners' Capital Account, Distribution Per Unit of Limited Partner Interest (in dollars per share) | $ / shares |  | $ 1.0275 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Forecast [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Subsequent Event [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Stock Repurchase Program, Authorized Amount | $ | $ 750 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Buckeye Partners, L.P. [Member] | Subsequent Event [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Subsequent Event [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number Of Marine Terminals Agreed To Be Sold | Terminal |  |  | 3 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Buckeye Partners, L.P. [Member] | Forecast [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Subsequent Event [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Proceeds from Sale of Other Assets | $ | $ 250 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |

X
- Definition Number Of Marine Terminals Agreed To Be Sold + References No definition available. + Details
Name: | mmp_NumberOfMarineTerminalsAgreedToBeSold
Namespace Prefix: | mmp_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition The amount of the distribution per unit of limited partner interest. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 5 -Subparagraph (SAB Topic 4.F) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187171-122770 + Details
Name: | us-gaap_PartnersCapitalAccountDistributionPerUnitOfLimitedPartnerInterest
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of cash inflow from the sale of other assets as part of operating 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 25 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3536-108585 + Details
Name: | us-gaap_ProceedsFromSaleOfOtherAssets1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of stock repurchase plan authorized. + References No definition available. + Details
Name: | us-gaap_StockRepurchaseProgramAuthorizedAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event. + References No definition available. + Details
Name: | us-gaap_SubsequentEventLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementScenarioAxis=srt_ScenarioForecastMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=mmp_BuckeyePartnersL.P.Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |